<commit_before>/*
  RailsAdmin main CSS
  Keep it clean, people
*/

body.rails_admin {
  
  /* room for upper navbar */
  padding-top: 60px;
  
  /* Application name */
  .navbar .brand {
    small {
      color:$red;
      font-weight:bold;
    }
  }
  
  .sidebar-nav {
    padding: 9px 0;
  }
  
  /* fat labels in forms */
  .label.form-label {
    padding: 7px 7px 8px 7px;
  }
  
  /* new/edit/export forms */
  .form-horizontal {
    /* We want input size to be used, unfixate input width */
    input, textarea {
      width:auto;
    }
    .help-block {
      clear:left;
    }
    input[type=file] {
      display:block;
    }
    .thumbnail {
      float:left;
      & + * {
        clear:left;
      }
    }
    
    legend {
      margin-left: 0px; padding-left: 0px; padding-top: 10px; border-bottom-width: 0px; margin-bottom: 0px;
      text-align:right;
      width:140px;
    }
    
    /* nested forms */
    .tab-content .tab-pane {
      border-left:5px solid $blue;
      padding-left:5px;
      fieldset {
        margin-left:-10px;
        .control-group > label, legend {
          padding-left:10px;
          width:130px;
        }
      }
    }
    
    /* double nesting, guys. Easy. */
    .tab-content .tab-content .tab-pane {
      border-color:lighten($blue, 20%);
      margin-left:10px;
      fieldset {
        margin-left:-20px;
        margin-bottom: -18px;
        .control-group > label, legend {
          padding-left:20px;
          width:120px;
        }
      }
    }
    
    /* triple nesting!*/
    .tab-content .tab-content .tab-content .tab-pane {
      border-color:lighten($blue, 30%);
      margin-left:20px;
      fieldset {
        margin-left:-30px;
        .control-group > label, legend {
          padding-left:30px;
          width:110px;
        }
      }
    }
    
    /* totally awesome! nesting on 4 levels! */
    .tab-content .tab-content .tab-content  .tab-content .tab-pane {
      border-color:lighten($blue, 40%);
      margin-left:30px;
      fieldset {
        margin-left:-40px;
        .control-group > label, legend {
          padding-left:40px;
          width:100px;
        }
      }
    }
  }

  .modal {
    width: 750px;
    margin-left: -375px;
  }
  
  /* needed while https://github.com/thomas-mcdonald/bootstrap-sass/commit/6c37fa981b14502748f0935bd385e11ccc965a3f isn't released */
  .nav-list .active > a:hover {
    color: $white;
    text-shadow: 0 -1px 0 rgba(0,0,0,.2);
    background-color: $linkColor;
  }
  
  /* nested nav */<commit_msg>fix broken legend in some cases<commit_after>/*
  RailsAdmin main CSS
  Keep it clean, people
*/

body.rails_admin {
  
  /* room for upper navbar */
  padding-top: 60px;
  
  /* Application name */
  .navbar .brand {
    small {
      color:$red;
      font-weight:bold;
    }
  }
  
  .sidebar-nav {
    padding: 9px 0;
  }
  
  /* fat labels in forms */
  .label.form-label {
    padding: 7px 7px 8px 7px;
  }
  
  /* new/edit/export forms */
  .form-horizontal {
    /* We want input size to be used, unfixate input width */
    input, textarea {
      width:auto;
    }
    .help-block {
      clear:left;
    }
    input[type=file] {
      display:block;
    }
    .thumbnail {
      float:left;
      & + * {
        clear:left;
      }
    }
    
    /* nested forms */
    .tab-content .tab-pane {
      border-left:5px solid $blue;
      padding-left:5px;
      fieldset {
        margin-left:-10px;
        .control-group > label {
          padding-left:10px;
          width:130px;
        }
        legend {
          float:left;
          margin-left:10px;
        }
      }
    }
    
    /* double nesting, guys. Easy. */
    .tab-content .tab-content .tab-pane {
      border-color:lighten($blue, 20%);
      margin-left:10px;
      fieldset {
        margin-left:-20px;
        margin-bottom: -18px;
        .control-group > label {
          padding-left:20px;
          width:120px;
        }
        legend {
          margin-left:20px;
        }
      }
    }
    
    /* triple nesting!*/
    .tab-content .tab-content .tab-content .tab-pane {
      border-color:lighten($blue, 30%);
      margin-left:20px;
      fieldset {
        margin-left:-30px;
        .control-group > label {
          padding-left:30px;
          width:110px;
        }
        legend {
          margin-left:30px;
        }
      }
    }
    
    /* totally awesome! nesting on 4 levels! */
    .tab-content .tab-content .tab-content  .tab-content .tab-pane {
      border-color:lighten($blue, 40%);
      margin-left:30px;
      fieldset {
        margin-left:-40px;
        .control-group > label {
          padding-left:40px;
          width:100px;
        }
        legend {
          margin-left:40px;
        }
      }
    }
  }

  .modal {
    width: 750px;
    margin-left: -375px;
  }
  
  /* needed while https://github.com/thomas-mcdonald/bootstrap-sass/commit/6c37fa981b14502748f0935bd385e11ccc965a3f isn't released */
  .nav-list .active > a:hover {
    color: $white;
    text-shadow: 0 -1px 0 rgba(0,0,0,.2);
    background-color: $linkColor;
  }
  
  /* nested nav */
{'fraction_non_alphanumeric': 0.1318616917366673, 'fraction_numerical': 0.03965618284821254, 'mean_word_length': 1.5884732052578363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '2400009', 'n_tokens_mistral': 1925, 'n_tokens_neox': 1774, 'n_words': 331}