<commit_before>@import "ui-variables";

.styleguide {

  // Icons ---------------

  [data-name="icons"] {
    .example-rendered {
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
    }

    .example-code {
      display: none; // remove, doesn't make much sense here
    }

    .icon {
      position: relative;
      flex: 1 0 200px;
      padding: 10px 0 10px 40px;
      color: @text-color-subtle;
      &:before {
        position: absolute;
        margin-left: -32px;
        color: @text-color-highlight;
        text-align: center;
      }
      &:hover {
        color: @text-color-highlight;
        &:before {
          color: @text-color-selected;
          font-size: 32px;
          width: 32px;
          height: 32px;
          margin-top: -8px;
          margin-left: -40px; // 32px (initial) + 8px (grow)
        }
      }
    }

    // Shift the GitHub logo since it's quite wide
    .icon-logo-github {
      &:before {
        margin-left: -60px;
      }
      &:hover:before {
        margin-left: -100px;
      }
    }
  }

  // Site colors ---------------

  .ui-site-1,
  .ui-site-2,
  .ui-site-3,
  .ui-site-4,
  .ui-site-5 {
    height: 10px;
    width: 100px;
  }


  // Misc ---------------

  .popover-list {
    position: relative;
  }

  .popover-list,
  .select-list {
    atom-text-editor[mini] { height: 27px; }
  }

  .tooltip {
    position: relative;
    opacity: 1;
    display: inline-block;
    margin-right: @component-padding;
  }

  [data-name="error-messages"] .example-rendered {
    min-height: 60px; // don't cut off centered messages
  }

}<commit_msg>Responsive modals<commit_after>@import "ui-variables";

.styleguide {

  // Icons ---------------

  [data-name="icons"] {
    .example-rendered {
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
    }

    .example-code {
      display: none; // remove, doesn't make much sense here
    }

    .icon {
      position: relative;
      flex: 1 0 200px;
      padding: 10px 0 10px 40px;
      color: @text-color-subtle;
      &:before {
        position: absolute;
        margin-left: -32px;
        color: @text-color-highlight;
        text-align: center;
      }
      &:hover {
        color: @text-color-highlight;
        &:before {
          color: @text-color-selected;
          font-size: 32px;
          width: 32px;
          height: 32px;
          margin-top: -8px;
          margin-left: -40px; // 32px (initial) + 8px (grow)
        }
      }
    }

    // Shift the GitHub logo since it's quite wide
    .icon-logo-github {
      &:before {
        margin-left: -60px;
      }
      &:hover:before {
        margin-left: -100px;
      }
    }
  }

  // Site colors ---------------

  .ui-site-1,
  .ui-site-2,
  .ui-site-3,
  .ui-site-4,
  .ui-site-5 {
    height: 10px;
    width: 100px;
  }


  // Modals ---------------

  atom-panel.modal {
    // makde them responsive in the styleguide
    position: relative;
    max-width: 100%;
    left: 0;
    margin: 0;
  }


  // Misc ---------------

  .popover-list {
    position: relative;
  }

  .popover-list,
  .select-list {
    atom-text-editor[mini] { height: 27px; }
  }

  .tooltip {
    position: relative;
    opacity: 1;
    display: inline-block;
    margin-right: @component-padding;
  }

  [data-name="error-messages"] .example-rendered {
    min-height: 60px; // don't cut off centered messages
  }

}
{'fraction_non_alphanumeric': 0.16540697674418606, 'fraction_numerical': 0.02819767441860465, 'mean_word_length': 1.5376106194690264, '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': '200766', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1167, 'n_words': 251}