<commit_before>@import "compass/css3";
@import "colors";
@import "mixins";
@import "alerts";
@import "read";
@import "reply";
@import "compose";
@import "security";


#logo {
  color: #FFF;
}

#logout {
  color: #FFF;
}

.search-highlight {
  background-color: $search-highlight;
}


@mixin list-actions {
  #list-actions {
    width: 100%;
    height: 34px;
    margin: 0;
    border-top: 1px solid #FFF;
    border-bottom: 2px solid lighten($top_pane, 30%);
    background: darken($top_pane, 5%);
    clear: both;
    overflow: hidden;
    li {
      display: inline-block;
      margin: 1px -3px;
      vertical-align: top;
      input[type=checkbox] {
        @include check-box;
        margin: 7px 8px;
      }
      select {
        padding: 1px 3px;
        margin: 0;
      }
      input[type=button] {
        margin: 2px;
        padding: 4px 10px;
        background: lighten($contrast, 70%);
        color: #333;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 0.8em;
        opacity: 0.7;
        border: 1px solid darken($contrast, 10%);
        @include border-radius(1px);
        @include btn-transition;
        &:hover {
          opacity: 1;
        }
        &[disabled=disabled] {
          opacity: 0.5;
          cursor: default;
        }
      }
    }

    #pagination-trigger {
      cursor: pointer;
      margin: 4px 12px 0 5px;

      span {
        padding-left: 5px;
      }
    }
  }
}

@mixin email-list {
  ul#mail-list {
    clear: both;
    li {
      height: 75px;
      position: relative;
      padding: 12px 10px;
      background: $contrast;
      border-bottom: 1px solid white;
      cursor: pointer;
      font-weight: bold;
      transition: background-color 150ms ease-out;
      span {
        display: inline-block;
        vertical-align: top;
        &:last-child {
          width: 92%;
        }
        input[type=checkbox] {
          @include check-box;
          margin-right: 2px;
        }
        a {
          color: #333;
        }
      }
      .subject-and-tags {
        display: block;
        width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        @include tags;
        ul.tags {
          display: block;
          line-height: 1.2;
          margin: -3px 0 0 0;
          li {
            background-color: #DDD;
            color: black;
            display: inline-block;
            height: auto;
            font-weight: 400;
            border: none;
            &.tag:hover {
              text-decoration: none;
            }
          }
        }
      }

      .received-date, .sent-date {
        position: absolute;
        right: 10px;
        font-size: 0.7em;
      }

      .attachment-indicator {
        margin: 2px 0 0 25px;
        font-size: initial;
      }
      .from {
        white-space: nowrap;
        font-size: 0.8em;
        width: 80%;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      &.status-read {
        a {
          font-weight: normal;
          color: #555;
        }
      }
      &:hover {
        background: darken($contrast, 5%);
      }
      &.selected {
        background: #FFF;
        z-index: 3;
        a {
          color: #333;
        }
      }
    }
  }
}

@mixin mail-count($bg_color) {
  background: $bg_color;
  color: #FFF;
  padding: 2px 5px;
  font-size: 0.7em;
  margin-left: 5px;
  font-weight: 700;
  position: relative;
  @include border-radius(100px);
}

section {
  display: inline-block;
  vertical-align: top;
  height: 100vh;
  overflow-y: scroll;
  &#top-pane {
    height: auto;
    overflow: hidden;
    background: darken($top_pane, 10%);
    border-top: 1px solid $top_pane;
    @include list-actions;
    #compose-search-trigger {
      padding: 4px;
    }
    #actions {
      ul {
        margin: 0;
        li {
          display: inline-block;
          margin-right: -5px;
          a {
            transition: background-color 150ms ease-out;
            background: lighten($top_pane, 10%);
            color: #FFF;
            font-size: 1.5em;
            display: block;
            padding: 14px 20px;
            margin: 0 1px 0px;
            opacity: 0.35;
            &.selected {
              background: $top_pane;
              opacity: 1;
              cursor: default;
            }
            &:hover {
              opacity: 1;
            }
          }
        }
      }
    }
    #search-trigger {
      padding: 5px;
      padding-left: 0;
      input {
        margin: 0;
        padding: 8px 30px;
        color: $secondary;
        background: white;
        border: none;
        transition: background-color 150ms ease-out;
        &:hover {
          background: darken(white, 2%);
        }
        &:focus {
          background: darken(white, 5%);
        }
      }
      &:before {
        font-family: "FontAwesome";
        content: "\f002";
        position: absolute;
        padding: 0 10px;
        top: 15px;
        color: #999;
      }
    }
  }

  &#left-pane {
    background-color: $secondary;
    color: white;
    nav {
      border-right: 1px solid lighten($secondary, 10%);
      ul#default-tag-list, #custom-tag-list {
        li {
          transition: background-color 150ms ease-out;
          padding: 2px 10px;
          cursor: pointer;
          &:hover {
            background: #CCC;
            color: $secondary;
          }
          &.selected {
            font-weight: bold;
            background: $contrast;
            color: $secondary;
          }
        }
      }

      ul#default-tag-list {
          .unread-count, .total-count {
          font-size: 0.7em;
          padding: 0px 5px 0;
          top: 1px;
          left: 0;
          border: 1px solid #FFF;
          border-bottom: 1px solid white;
          position: absolute;
          opacity: 0.95;
        }
        .total-count {
          background: #999;
        }
        span.tag-label {
          padding-left: 2px;
        }
        li {
          padding: 5px 10px 5px 16px;
          position: relative;
          @include searching(4px, 19px, #333, 0.7em);

          &:before {
            font-size: 1.5em;
            font-family: "FontAwesome";
            margin-right: 13px;
            font-weight: normal;
            position: relative;
            top: 2px;
          }
          &:nth-child(1) {
            &:before {
              content: "\f01c";
            }
          }
          &:nth-child(2) {
            &:before {
              content: "\f1d8";
            }
          }
          &:nth-child(3) {
            &:before {
              content: "\f040";
            }
          }
          &:nth-child(4) {
            &:before {
              content: "\f014";
            }
          }
          &:nth-child(5) {
            &:before {
              content: "\f187";
            }
          }
        }
      }

      ul#custom-tag-list {
        visibility: hidden;
        opacity: 0;
        transition-duration: 500ms;

        li {
          white-space: nowrap;
          overflow: hidden;
          font-size: 0.8em;
          padding: 5px 10px 5px 15px;

          span.tag-label {
            padding: 5px 20px 5px 38px;
          }
        }
      }

      ul#custom-tag-list.expanded {
        visibility: visible;
        opacity: 1;
      }

      div.tags-icon {
        border-top: 1px solid white;
        padding-top: 25px;
        margin-bottom: 20px;
        i {
          font-size: 1.5em;
          font-family: "FontAwesome";
          margin-right: 13px;
          font-weight: normal;
          position: relative;
          top: 2px;
          left: 16px;
        }
        span.tag-label {
          font-size: 0.9rem;
          padding-left: 16px;
          margin-bottom: 10px;
        }
      }

      ul#logout {
        li {
          color: $action_buttons;
          background-color: $secondary;
          padding: 5px 10px;
          position: relative;
          @include searching(4px, 19px, #333, 0.7em);

          &:hover {
          background-color: $action_buttons;
          color: $secondary;
          }

          div {
            padding-left: 7px;
            &:before {
              font-size: 1.5em;
              font-family: "FontAwesome";
              margin-right: 13px;
              font-weight: normal;
              position: relative;
              top: 2px;
            }
          }
        }
      }

      h3 {
        color: white;
        text-transform: uppercase;
        font-size: 0.6em;
        padding: 5px;
        font-weight: 600;
        margin: 0 10px;
        border-bottom: 1px dotted lighten($secondary, 10%);
      }
    }
  }

  &#middle-pane {
    background: lighten($contrast, 2%);
    @include email-list;
  }

  &#right-pane {
    padding: 0 10px 60px 0px;
    background: #FFF;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.12);
    z-index: 2;
    overflow-y: auto;
    @include read-msg;
    [id^=fullView-] {
      position: relative;
    }
  }
}

.unread-count {
  @include mail-count($secondary_callout);
}
.total-count {
  @include mail-count(#999);
}


/* ACTIONS */
#refresh-mails-trigger {
  i {
    margin-top: 3px;
    cursor: pointer;
    opacity: 0.9;
    padding: 4px;
    &:hover {
      opacity: 1;
      &:after {
        content: "\f021";
      }
      &:before {
        content: "refresh";
        font-size: 0.8em;
        padding-right: 5px;
      }
    }
  }
}

.buttons-group {
  clear: both;
  margin: 20px 0 0;
  padding: 0;
}

#draft-save-status {
  float: right;
  padding: 0.4rem 1.1rem;
  color: #91C2D1;
}

button {
  border: 1px solid transparent;
  i {
    margin-left: 5px;
  }
  &#trash-button, &#draft-button {
    background: #FFF;
    border: 1px solid #999;
    color: #999;
    float: right;
    margin-left: 5px;
    &:hover, &:focus {
      background: #EEE;
    }
  }
  &.close-mail-button {
    background: transparent;
    color: #999;
    float: right;
    &:hover {
      color: darken(#999, 10%);
    }
  }
  &.close-mail-button {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 3px 6px 5px;
    background: #DDD;
    opacity: 0.7;
    @include border-radius(0);
    &:hover {
      opacity: 1;
    }
    i {
      margin: 0;
    }
  }
  &.no-style {
    background: transparent;
    color: #999;
    padding: 0;
    margin: 0;
    i {
      margin: 0;
      padding: 0;
      vertical-align: middle;
    }
  }
}

.side-nav-toggle, .side-nav-toggle-icon {
  color: white;
  cursor: pointer;

  &:hover, &:focus {
    color: white;
  }
  background: $secondary;
  &.logout {
    color: $action_buttons;
  }
}

.side-nav-toggle-icon {
  padding: 9px 0px 8px 19px;
  display: block;
  left: 0;
  top: 0;
  position: relative;
}

.left-off-canvas-logo {
  img {
    padding: 9px 6px 6px 6px;
    width: 163px;
  }
}

.collapsed-nav {
  width: 50px;
  position: absolute;
  height: 100vh;
  background: $secondary;
<commit_msg>Attempting to fix phantomJS functional tests where logo stretches out by setting a limit height to the image<commit_after>@import "compass/css3";
@import "colors";
@import "mixins";
@import "alerts";
@import "read";
@import "reply";
@import "compose";
@import "security";


#logo {
  color: #FFF;
}

#logout {
  color: #FFF;
}

.search-highlight {
  background-color: $search-highlight;
}


@mixin list-actions {
  #list-actions {
    width: 100%;
    height: 34px;
    margin: 0;
    border-top: 1px solid #FFF;
    border-bottom: 2px solid lighten($top_pane, 30%);
    background: darken($top_pane, 5%);
    clear: both;
    overflow: hidden;
    li {
      display: inline-block;
      margin: 1px -3px;
      vertical-align: top;
      input[type=checkbox] {
        @include check-box;
        margin: 7px 8px;
      }
      select {
        padding: 1px 3px;
        margin: 0;
      }
      input[type=button] {
        margin: 2px;
        padding: 4px 10px;
        background: lighten($contrast, 70%);
        color: #333;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 0.8em;
        opacity: 0.7;
        border: 1px solid darken($contrast, 10%);
        @include border-radius(1px);
        @include btn-transition;
        &:hover {
          opacity: 1;
        }
        &[disabled=disabled] {
          opacity: 0.5;
          cursor: default;
        }
      }
    }

    #pagination-trigger {
      cursor: pointer;
      margin: 4px 12px 0 5px;

      span {
        padding-left: 5px;
      }
    }
  }
}

@mixin email-list {
  ul#mail-list {
    clear: both;
    li {
      height: 75px;
      position: relative;
      padding: 12px 10px;
      background: $contrast;
      border-bottom: 1px solid white;
      cursor: pointer;
      font-weight: bold;
      transition: background-color 150ms ease-out;
      span {
        display: inline-block;
        vertical-align: top;
        &:last-child {
          width: 92%;
        }
        input[type=checkbox] {
          @include check-box;
          margin-right: 2px;
        }
        a {
          color: #333;
        }
      }
      .subject-and-tags {
        display: block;
        width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        @include tags;
        ul.tags {
          display: block;
          line-height: 1.2;
          margin: -3px 0 0 0;
          li {
            background-color: #DDD;
            color: black;
            display: inline-block;
            height: auto;
            font-weight: 400;
            border: none;
            &.tag:hover {
              text-decoration: none;
            }
          }
        }
      }

      .received-date, .sent-date {
        position: absolute;
        right: 10px;
        font-size: 0.7em;
      }

      .attachment-indicator {
        margin: 2px 0 0 25px;
        font-size: initial;
      }
      .from {
        white-space: nowrap;
        font-size: 0.8em;
        width: 80%;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      &.status-read {
        a {
          font-weight: normal;
          color: #555;
        }
      }
      &:hover {
        background: darken($contrast, 5%);
      }
      &.selected {
        background: #FFF;
        z-index: 3;
        a {
          color: #333;
        }
      }
    }
  }
}

@mixin mail-count($bg_color) {
  background: $bg_color;
  color: #FFF;
  padding: 2px 5px;
  font-size: 0.7em;
  margin-left: 5px;
  font-weight: 700;
  position: relative;
  @include border-radius(100px);
}

section {
  display: inline-block;
  vertical-align: top;
  height: 100vh;
  overflow-y: scroll;
  &#top-pane {
    height: auto;
    overflow: hidden;
    background: darken($top_pane, 10%);
    border-top: 1px solid $top_pane;
    @include list-actions;
    #compose-search-trigger {
      padding: 4px;
    }
    #actions {
      ul {
        margin: 0;
        li {
          display: inline-block;
          margin-right: -5px;
          a {
            transition: background-color 150ms ease-out;
            background: lighten($top_pane, 10%);
            color: #FFF;
            font-size: 1.5em;
            display: block;
            padding: 14px 20px;
            margin: 0 1px 0px;
            opacity: 0.35;
            &.selected {
              background: $top_pane;
              opacity: 1;
              cursor: default;
            }
            &:hover {
              opacity: 1;
            }
          }
        }
      }
    }
    #search-trigger {
      padding: 5px;
      padding-left: 0;
      input {
        margin: 0;
        padding: 8px 30px;
        color: $secondary;
        background: white;
        border: none;
        transition: background-color 150ms ease-out;
        &:hover {
          background: darken(white, 2%);
        }
        &:focus {
          background: darken(white, 5%);
        }
      }
      &:before {
        font-family: "FontAwesome";
        content: "\f002";
        position: absolute;
        padding: 0 10px;
        top: 15px;
        color: #999;
      }
    }
  }

  &#left-pane {
    background-color: $secondary;
    color: white;
    nav {
      border-right: 1px solid lighten($secondary, 10%);
      ul#default-tag-list, #custom-tag-list {
        li {
          transition: background-color 150ms ease-out;
          padding: 2px 10px;
          cursor: pointer;
          &:hover {
            background: #CCC;
            color: $secondary;
          }
          &.selected {
            font-weight: bold;
            background: $contrast;
            color: $secondary;
          }
        }
      }

      ul#default-tag-list {
          .unread-count, .total-count {
          font-size: 0.7em;
          padding: 0px 5px 0;
          top: 1px;
          left: 0;
          border: 1px solid #FFF;
          border-bottom: 1px solid white;
          position: absolute;
          opacity: 0.95;
        }
        .total-count {
          background: #999;
        }
        span.tag-label {
          padding-left: 2px;
        }
        li {
          padding: 5px 10px 5px 16px;
          position: relative;
          @include searching(4px, 19px, #333, 0.7em);

          &:before {
            font-size: 1.5em;
            font-family: "FontAwesome";
            margin-right: 13px;
            font-weight: normal;
            position: relative;
            top: 2px;
          }
          &:nth-child(1) {
            &:before {
              content: "\f01c";
            }
          }
          &:nth-child(2) {
            &:before {
              content: "\f1d8";
            }
          }
          &:nth-child(3) {
            &:before {
              content: "\f040";
            }
          }
          &:nth-child(4) {
            &:before {
              content: "\f014";
            }
          }
          &:nth-child(5) {
            &:before {
              content: "\f187";
            }
          }
        }
      }

      ul#custom-tag-list {
        visibility: hidden;
        opacity: 0;
        transition-duration: 500ms;

        li {
          white-space: nowrap;
          overflow: hidden;
          font-size: 0.8em;
          padding: 5px 10px 5px 15px;

          span.tag-label {
            padding: 5px 20px 5px 38px;
          }
        }
      }

      ul#custom-tag-list.expanded {
        visibility: visible;
        opacity: 1;
      }

      div.tags-icon {
        border-top: 1px solid white;
        padding-top: 25px;
        margin-bottom: 20px;
        i {
          font-size: 1.5em;
          font-family: "FontAwesome";
          margin-right: 13px;
          font-weight: normal;
          position: relative;
          top: 2px;
          left: 16px;
        }
        span.tag-label {
          font-size: 0.9rem;
          padding-left: 16px;
          margin-bottom: 10px;
        }
      }

      ul#logout {
        li {
          color: $action_buttons;
          background-color: $secondary;
          padding: 5px 10px;
          position: relative;
          @include searching(4px, 19px, #333, 0.7em);

          &:hover {
          background-color: $action_buttons;
          color: $secondary;
          }

          div {
            padding-left: 7px;
            &:before {
              font-size: 1.5em;
              font-family: "FontAwesome";
              margin-right: 13px;
              font-weight: normal;
              position: relative;
              top: 2px;
            }
          }
        }
      }

      h3 {
        color: white;
        text-transform: uppercase;
        font-size: 0.6em;
        padding: 5px;
        font-weight: 600;
        margin: 0 10px;
        border-bottom: 1px dotted lighten($secondary, 10%);
      }
    }
  }

  &#middle-pane {
    background: lighten($contrast, 2%);
    @include email-list;
  }

  &#right-pane {
    padding: 0 10px 60px 0px;
    background: #FFF;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.12);
    z-index: 2;
    overflow-y: auto;
    @include read-msg;
    [id^=fullView-] {
      position: relative;
    }
  }
}

.unread-count {
  @include mail-count($secondary_callout);
}
.total-count {
  @include mail-count(#999);
}


/* ACTIONS */
#refresh-mails-trigger {
  i {
    margin-top: 3px;
    cursor: pointer;
    opacity: 0.9;
    padding: 4px;
    &:hover {
      opacity: 1;
      &:after {
        content: "\f021";
      }
      &:before {
        content: "refresh";
        font-size: 0.8em;
        padding-right: 5px;
      }
    }
  }
}

.buttons-group {
  clear: both;
  margin: 20px 0 0;
  padding: 0;
}

#draft-save-status {
  float: right;
  padding: 0.4rem 1.1rem;
  color: #91C2D1;
}

button {
  border: 1px solid transparent;
  i {
    margin-left: 5px;
  }
  &#trash-button, &#draft-button {
    background: #FFF;
    border: 1px solid #999;
    color: #999;
    float: right;
    margin-left: 5px;
    &:hover, &:focus {
      background: #EEE;
    }
  }
  &.close-mail-button {
    background: transparent;
    color: #999;
    float: right;
    &:hover {
      color: darken(#999, 10%);
    }
  }
  &.close-mail-button {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 3px 6px 5px;
    background: #DDD;
    opacity: 0.7;
    @include border-radius(0);
    &:hover {
      opacity: 1;
    }
    i {
      margin: 0;
    }
  }
  &.no-style {
    background: transparent;
    color: #999;
    padding: 0;
    margin: 0;
    i {
      margin: 0;
      padding: 0;
      vertical-align: middle;
    }
  }
}

.side-nav-toggle, .side-nav-toggle-icon {
  color: white;
  cursor: pointer;

  &:hover, &:focus {
    color: white;
  }
  background: $secondary;
  &.logout {
    color: $action_buttons;
  }
}

.side-nav-toggle-icon {
  padding: 9px 0px 8px 19px;
  display: block;
  left: 0;
  top: 0;
  position: relative;
}

.left-off-canvas-logo {
  img {
    padding: 9px 6px 6px 6px;
    width: 163px;
    height: 59px;
  }
}

.collapsed-nav {
  width: 50px;
  position: absolute;
  height: 100vh;
  background: $secondary;

{'fraction_non_alphanumeric': 0.12333649118058375, 'fraction_numerical': 0.034826543961744935, 'mean_word_length': 1.3759914255091104, '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': '4525321', 'n_tokens_mistral': 7961, 'n_tokens_neox': 7186, 'n_words': 1631}