Sha256: c7e585efe9fc9395ba26dfd67997de99703ef9760ae43f59242e391c26b32114

Contents?: true

Size: 1.89 KB

Versions: 2

Compression:

Stored size: 1.89 KB

Contents

body.active_admin.index {
  .index_as_table {
    >table {
      @extend .responsive-table, .striped;

      font-size: 1.3rem;

      th {
        white-space: nowrap;
      }

      .col {
        float: none !important;
      }
    }

    thead >tr {
      border-bottom: 1px solid #aaa;
    }

    th, td {
      padding-bottom: 0.3rem !important;
      padding-top: 0.3rem !important;
    }

    .aa_mt_checkbox {
      padding: 0 1rem !important;
    }
  }

  .index_as_grid {
    >table {
      display: block;

      tbody {
        display: block;
      }

      tr {
        display: flex;
      }

      img {
        width: 100%;
      }
    }
  }

  .paginated_collection {
    margin-bottom: 0;
  }

  .table_actions > a {
    padding: 0 0.5rem;
  }

  .table_tools {
    >.batch_actions_selector {
      display: inline-block;
      margin-bottom: 1rem;
      margin-right: 2rem;
    }

    >.scopes {
      display: inline-block;
    }

    .table_tools_segmented_control {
      border: 1px solid #ddd;
      border-radius: 0.5rem;
      display: inline-block;
      margin: 0 0 0 2rem;
      vertical-align: middle;

      >li {
        display: inline-block;
        padding: 0.2rem 1rem;

        &:first-child {
          border-radius: 0.6rem 0 0 0.6rem;
        }

        &:last-child {
          border-radius: 0 0.6rem 0.6rem 0;
        }

        &.selected {
          background: #eee;
        }
      }
    }
  }

  #collection_selection {
    @extend .card-content;
  }

  #index_footer {
    margin-top: 1.5rem;

    .download_links {
      display: inline-block;
      float: right;
    }

    .pagination_information {
      display: inline-block;
    }
  }

  &.admin_comments {
    .paginated_collection {
      padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .table_tools {
      padding: 0.5rem 1.5rem 0 1.5rem;
      margin-bottom: 0;
    }

    .scopes li {
      display: inline-block;
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin_materialize_theme-0.2.4 app/assets/stylesheets/activeadmin_materialize_theme/components/layout_index.scss
activeadmin_materialize_theme-0.2.2 app/assets/stylesheets/activeadmin_materialize_theme/components/layout_index.scss