Sha256: 46ef8427afc8d8c611451a60eb795dc2ff5ea2299da6bc9fe95dced45f19f442

Contents?: true

Size: 1.46 KB

Versions: 19

Compression:

Stored size: 1.46 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.action-icon--remove{
    color: $alert-color;
  }
}

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
decidim-admin-0.17.2 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.17.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.16.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.17.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.16.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.15.2 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.15.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.15.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.14.4 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.14.3 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.14.2 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.14.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.13.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.12.2 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.13.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.12.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.13.0.pre1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.12.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.12.0.pre app/assets/stylesheets/decidim/admin/modules/_table-list.scss