Sha256: 7e3bf02dd823bd813edc604d81d875dfe59b54c91cbd3f2bea16f93f56e8e6cd

Contents?: true

Size: 1.35 KB

Versions: 5

Compression:

Stored size: 1.35 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;
    }
  }

  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

5 entries across 5 versions & 1 rubygems

Version Path
decidim-admin-0.11.2 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.11.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.11.0.pre1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.10.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.10.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss