<commit_before>@import "../../styles/variables.less";
@import "../../../bower_components/bootstrap/less/mixins.less";
@import "../../styles/themes/cdap/mixins.less";

body.state-dashboard {

  .widget {
    background-color: transparent;
    border: 0;
    .panel-heading {
      padding: 10px;
      position: relative;
      text-align: center;
      .border-radius(8px 8px 0 0);
      .dropdown {
        color: white;
        font-size: 16px;
        position: absolute;
        top: 10px;
        left: 15px;
        &.open {
          .dropdown-toggle {
            background-color: @cdap-header;
            color: white;
            .border-radius(8px 8px 0 0);
          }
        }
        .dropdown-toggle {
          cursor: pointer;
          padding: 0 5px 5px;
          span { vertical-align: bottom; }
        }
        .dropdown-menu {
          background-color: transparent;
          border: 0;
          margin: 0;
          padding: 0;
          top: 25px !important;
          left: 1px !important;
          > li {
            &:first-child a { .border-radius(0 8px 0 0); }
            &:last-child a { .border-radius(0 0 8px 8px ); }
            > a {
              color: white;
              padding: 10px;
              background-color: @cdap-header;
              &:focus { outline: none; }
              &:hover {
                background-color: white;
                color: @cdap-header;
                font-weight: 500;
              }
              > span {
                margin-top: 1px;
                margin-right: 0;
              }
            }
          }

        }
      }
      > span {
        font-size: 16px;
        font-weight: 400;
        max-width: 60%;
        display: inline-block;
        text-overflow: ellipsis;
        overflow: hidden;
        vertical-align: middle;
        text-transform: uppercase;
      }
    }
    .panel-body {
      background-color: white;
      overflow-x: scroll;
      .border-radius(0 0 8px 8px);
    }
    .panel-footer dl {
      margin: 0;
      white-space: nowrap;
      dt {
        float: left;
        clear: left;
        min-width: 70px;
        &:after { content: ':\00a0'; }
      }
      dd {
        overflow: hidden;<commit_msg>adds dropdown menu mixins to existing widget styles<commit_after>@import "../../styles/variables.less";
@import "../../../bower_components/bootstrap/less/mixins.less";
@import "../../styles/themes/cdap/mixins.less";

body.state-dashboard {

  .widget {
    background-color: transparent;
    border: 0;
    .panel-heading {
      padding: 10px;
      position: relative;
      text-align: center;
      .border-radius(8px 8px 0 0);
      .dropdown {
        color: white;
        font-size: 16px;
        position: absolute;
        top: 10px;
        left: 15px;
        &.open {
          .dropdown-toggle {
            background-color: @cdap-header;
            color: white;
            .border-radius(8px 8px 0 0);
            + .dropdown-menu {
              .border-radius(0);
              > li:first-child a { .border-radius(0 8px 0 0); }
            }
          }
        }
        .dropdown-toggle {
          padding: 0 5px 5px;
          span { vertical-align: bottom; }
          .dropdown-defaults();
          .dropdown-blue();
        }
      }
      > span {
        font-size: 16px;
        font-weight: 400;
        max-width: 60%;
        display: inline-block;
        text-overflow: ellipsis;
        overflow: hidden;
        vertical-align: middle;
        text-transform: uppercase;
      }
    }
    .panel-body {
      background-color: white;
      overflow-x: scroll;
      .border-radius(0 0 8px 8px);
    }
    .panel-footer dl {
      margin: 0;
      white-space: nowrap;
      dt {
        float: left;
        clear: left;
        min-width: 70px;
        &:after { content: ':\00a0'; }
      }
      dd {
        overflow: hidden;
{'fraction_non_alphanumeric': 0.12608695652173912, 'fraction_numerical': 0.02557544757033248, 'mean_word_length': 1.3224465558194773, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7139445', 'n_tokens_mistral': 1256, 'n_tokens_neox': 1165, 'n_words': 262}