<commit_before>@import "colors";
@import "mixins";

/** Layout **/

body,
#activity-modal,
#main-nav,
#notifications,
#notifications .alert {
  min-width: 320px;
}

// Word wrapping everywhere, except for table header of "datatables.js"
body,
table.dataTable td {
  text-overflow: ellipsis;
  word-break: break-word;
}

// All tables are fixed, except for table of "datatables.js"
table {
  table-layout: fixed;
}

#alert-container {
  margin-bottom: 20px;
}

#main-nav {
  margin-bottom: 0;
}

#project-archive-btn {
  margin-left: 15px;
}

#projects-toolbar {
  margin: 15px 0;
}

#projects-toolbar .form-group {
  width: 100%;
}

.form-inline {
  .form-group .dropdown {
    display: inline-block;
  }
}

#fluid-content {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 80px;
}

.spacer {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

#content-wrapper {
  margin-top: 50px;

  &.alert-shown {
    margin-top: 102px;
  }
}

.center-block-narrow {
  max-width: 400px;
}

#notifications-dropdown {
  .fa-bell {
    font-size: 15px;
  }

  #count-notifications {
    background-color: $color-theme-primary;
    border-radius: 5px;
    color: $color-wild-sand;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    margin-top: -10px;
    padding-left: 4px;
    padding-right: 4px;
    position: fixed;
    z-index: 999999;
    display: none;
  }
}

@media(max-width:768px) {
  #count-notifications {
    position: absolute !important;
    margin-left: -4px !important;
    margin-top: 10px !important;
  }
}

.dropdown-notifications {
  max-height: 500px;
  min-width: 450px;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-bottom: 0;
  padding-top: 0;

  .notification {
    border-bottom: 1px solid $color-alto;
    padding-bottom: 10px;
    padding-top: 10px;

    &:hover {
      background-color: $color-concrete;
    }
  }

  .unseen {
    border-left: 4px solid $color-theme-primary;
  }

  .text-center {
    margin-left: 10px;
    padding-top: 10px;
  }

  .assignment {
    background-color: $color-theme-primary;
    border-radius: 50%;
    color: $color-wild-sand;
    font-size: 15px;
    padding: 7px;
  }

  .system_message {<commit_msg>add word wrapping to notifications dropdown [fixes SCI-532]<commit_after>@import "colors";
@import "mixins";

/** Layout **/

body,
#activity-modal,
#main-nav,
#notifications,
#notifications .alert {
  min-width: 320px;
}

// Word wrapping everywhere, except for table header of "datatables.js"
body,
table.dataTable td {
  text-overflow: ellipsis;
  word-break: break-word;
}

// All tables are fixed, except for table of "datatables.js"
table {
  table-layout: fixed;
}

#alert-container {
  margin-bottom: 20px;
}

#main-nav {
  margin-bottom: 0;
}

#project-archive-btn {
  margin-left: 15px;
}

#projects-toolbar {
  margin: 15px 0;
}

#projects-toolbar .form-group {
  width: 100%;
}

.form-inline {
  .form-group .dropdown {
    display: inline-block;
  }
}

#fluid-content {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 80px;
}

.spacer {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

#content-wrapper {
  margin-top: 50px;

  &.alert-shown {
    margin-top: 102px;
  }
}

.center-block-narrow {
  max-width: 400px;
}

#notifications-dropdown {
  .fa-bell {
    font-size: 15px;
  }

  #count-notifications {
    background-color: $color-theme-primary;
    border-radius: 5px;
    color: $color-wild-sand;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    margin-top: -10px;
    padding-left: 4px;
    padding-right: 4px;
    position: fixed;
    z-index: 999999;
    display: none;
  }
}

@media(max-width:768px) {
  #count-notifications {
    position: absolute !important;
    margin-left: -4px !important;
    margin-top: 10px !important;
  }
}

@media(max-width:450px) {
  .dropdown-notifications {
    width: 100%;
  }
}

.dropdown-notifications {
  max-height: 500px;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-bottom: 0;
  padding-top: 0;
  width: 450px;
  word-wrap: break-word;

  .notification {
    border-bottom: 1px solid $color-alto;
    padding-bottom: 10px;
    padding-top: 10px;

    &:hover {
      background-color: $color-concrete;
    }
  }

  .unseen {
    border-left: 4px solid $color-theme-primary;
  }

  .text-center {
    margin-left: 10px;
    padding-top: 10px;
  }

  .assignment {
    background-color: $color-theme-primary;
    border-radius: 50%;
    color: $color-wild-sand;
    font-size: 15px;
    padding: 7px;
  }

  .system_message {
{'fraction_non_alphanumeric': 0.14737773843770746, 'fraction_numerical': 0.036512502766098694, 'mean_word_length': 2.8435374149659864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1875045', 'n_tokens_mistral': 1905, 'n_tokens_neox': 1723, 'n_words': 355}