Sha256: 1a9de34a73bd728b6ecde38905d371ed91620a912278f755c6ed9b07c293e9f9

Contents?: true

Size: 1008 Bytes

Versions: 1

Compression:

Stored size: 1008 Bytes

Contents

table {
  width: 100%;

  &:not(.index_table) {
    @include box-shadow(0 0 4px 0 rgba(0, 0, 0, 0.1));
    border-radius: $border-radius;
    margin-bottom: 10px;
  }
}

thead th {
  font-size: 12px;
  text-align: left;

  a {
    color: $text-color-important;
    font-weight: normal;
    width: 100%;
    display: inline-block;
    padding: 4px 20px 4px 4px;

    @media screen and (min-width: $md-width) {
      padding: 8px 20px 8px 8px;
    }
  }

  &.col-selectable {
    padding-left: 4px;

    @media screen and (min-width: $md-width) {
      padding-left: 8px;
    }
  }
}

tbody tr {
  &:nth-of-type(odd) {
    background-color: rgba(243,247,249,.3);
  }
  
  &:hover {
    background-color: #f3f7f9;
  }

  th {
    font-size: 14px;
  }

  td {
    padding: 4px;
    vertical-align: middle;
    border-top: 1px solid #e4eaec;
    color: #7A8392;
    font-size: 12px;

    &.col-actions {
      padding: 6px 8px;
    }

    @media screen and (min-width: $md-width) {
      padding: 8px;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arctic_admin-1.2.9 app/assets/stylesheets/components/_tables.scss