Sha256: 12fadd356114a9d6d875bb03ebed1cfbad5ff751daa6647ca0bae6aae1ce06d9

Contents?: true

Size: 1.58 KB

Versions: 6

Compression:

Stored size: 1.58 KB

Contents

//Override Foundation defaults
.table-scroll table{
  border-collapse: unset;
  width: 100%;
}

//Table list
.table-list{
  border-collapse: collapse;

  th{
    text-transform: uppercase;
  }

  th,
  td{
    border-bottom: 1px solid rgba(black, .05);
  }

  th:not(:first-child),
  td:not(:first-child){
    text-align: center;
  }

  th:first-child,
  td:first-child{
    padding-left: 0;
  }

  th:last-child,
  td:last-child{
    padding-right: 0;
    text-align: right;
  }

  th [type="checkbox"]:only-child,
  td [type="checkbox"]:only-child{
    margin-bottom: 0;
  }

  &.table-list--lastcenter{
    th:last-child,
    td:last-child{
      text-align: center;
    }
  }

  &.table-list--lastleft{
    th:last-child,
    td:last-child{
      text-align: left;
    }
  }

  &.table-list--selectable{
    th:nth-child(2),
    td:nth-child(2){
      text-align: left;
    }
  }

  tr.selected{
    background-color: rgba($brand, .05);
  }

  a:not(.button){
    color: $body-font-color;

    &:hover{
      color: $primary-color;
    }
  }

  td > .button{
    margin-bottom: 0;
  }

  td{
    @include modifiers(color, (muted: $muted));
  }

  .switch.tiny{
    margin: 0 auto;
    width: 48px;
  }
}

.table-list__actions{
  text-align: center;
  white-space: nowrap;

  &:last-child{
    text-align: right;
  }

  .action-icon,
  a.action-icon{
    color: $muted;
  }

  .action-icon,
  a.action-icon.highlighted{
    color: $body-font-color;

    &:hover{
      color: $primary-color;
    }
  }

  .action-icon.action-icon--remove{
    color: $alert-color;
  }
}

.table-list__state{
  text-align: center;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-admin-0.20.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.20.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.19.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.18.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.19.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.18.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss