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

/*
Resource list.

A group of related objects that are created
in a usual CRUD style manner.
They usually have links to the resource and perhaps
links to edit and delete etc.
================================================== */

@mixin list-row {
  margin: 0;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;

  @include transition(background-color);

  &:last-child {
    border-bottom: 1px solid #bbb;
  }

  &:hover {
    background: #f9f9f9;
  }
}

.actions {
  background: #eee;
  border: 1px solid #e6e6e6;
  padding: 6px 10px 8px 0;
  @include rounded;

  .label {
    display: inline;
    font-size: 12px;
    line-height: 8px;
    margin-left: 10px;
    color: #555;
    text-transform: uppercase;
  }

  form {
    margin-bottom: 0;
  }

  input[type=submit] {
    margin-bottom: 0;
  }

  a.button, form {
    margin-bottom: 0;
    margin-left: 5px;
  }

  &:after {
    @include clearfix;
  }
}

section.resource_list {

  h1 {
    font-size: 21px;
    line-height: 30px;
    margin-bottom: 0;
    margin-top: 0;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: 1px solid #eee;
    background: #eee;
    padding: 10px 20px 10px 20px;
  }

  nav {
    .states {
      padding-top: 17px;

      a {
        display: block;
        float: left;
        padding: 0.5em 1em;
        border: 1px solid #ddd;
        border-left: 0;
        border-bottom: 0;
        text-decoration: none;
        color: #555;

        &:hover {
         background: #f5f5f5;
        }

        &.current {
          background: #eee;
          font-weight: bold;

        }

        &:first-child {
          border-left: 1px solid #ddd;
          @include rounded_specific(3px, 0, 0, 0);
        }

        &:last-child {
          @include rounded_specific(0, 3px, 0, 0);
        }
      }
    }

    .actions {

    }
  }

  ul, table {
    margin: 0;
    background: #fefefe;
  }

  ul {
    li {
      @include list-row;
    }
  }

  table {
    width: 100%;

    tr {
      @include list-row;
      border-left: 1px solid #ddd;
      border-right: 1px solid #ddd;
    }

    thead tr:hover {
      background: transparent;
    }

    th, td {
      text-align: left;
      padding: 10px 20px;
      line-height: 20px;<commit_msg>Make action buttons display inline.<commit_after>@import "utils";
@import "mixins";

/*
Resource list.

A group of related objects that are created
in a usual CRUD style manner.
They usually have links to the resource and perhaps
links to edit and delete etc.
================================================== */

@mixin list-row {
  margin: 0;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;

  @include transition(background-color);

  &:last-child {
    border-bottom: 1px solid #bbb;
  }

  &:hover {
    background: #f9f9f9;
  }
}

.actions {
  background: #eee;
  border: 1px solid #e6e6e6;
  padding: 6px 10px 8px 0;
  @include rounded;

  .label {
    display: inline;
    font-size: 12px;
    line-height: 8px;
    margin-left: 10px;
    color: #555;
    text-transform: uppercase;
  }

  form {
    margin-bottom: 0;
  }

  input[type=submit] {
    margin-bottom: 0;
  }

  a.button, form {
    margin-bottom: 0;
    margin-left: 5px;
    display: inline;
  }

  &:after {
    @include clearfix;
  }
}

section.resource_list {

  h1 {
    font-size: 21px;
    line-height: 30px;
    margin-bottom: 0;
    margin-top: 0;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: 1px solid #eee;
    background: #eee;
    padding: 10px 20px 10px 20px;
  }

  nav {
    .states {
      padding-top: 17px;

      a {
        display: block;
        float: left;
        padding: 0.5em 1em;
        border: 1px solid #ddd;
        border-left: 0;
        border-bottom: 0;
        text-decoration: none;
        color: #555;

        &:hover {
         background: #f5f5f5;
        }

        &.current {
          background: #eee;
          font-weight: bold;

        }

        &:first-child {
          border-left: 1px solid #ddd;
          @include rounded_specific(3px, 0, 0, 0);
        }

        &:last-child {
          @include rounded_specific(0, 3px, 0, 0);
        }
      }
    }
  }

  ul, table {
    margin: 0;
    background: #fefefe;
  }

  ul {
    li {
      @include list-row;
    }
  }

  table {
    width: 100%;

    tr {
      @include list-row;
      border-left: 1px solid #ddd;
      border-right: 1px solid #ddd;
    }

    thead tr:hover {
      background: transparent;
    }

    th, td {
      text-align: left;
      padding: 10px 20px;
      line-height: 20px;
{'fraction_non_alphanumeric': 0.1384419983065199, 'fraction_numerical': 0.03598645215918713, 'mean_word_length': 1.9275092936802973, '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': '3621934', 'n_tokens_mistral': 1861, 'n_tokens_neox': 1661, 'n_words': 438}