Sha256: 530cfff58b5975d9b7d4601140af90f3ffc50107639ae63a0354deb06cf37fab

Contents?: true

Size: 1.87 KB

Versions: 15

Compression:

Stored size: 1.87 KB

Contents

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

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

  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: $global-padding;
  }

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

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

  &.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;
}

.table-list__type-icon{
  position: relative;
  top: 1px;
  cursor: pointer;
}

.table-list__type-label{
  display: none;
  position: relative;
  top: -1px;
  margin-left: -1.5 * $global-padding;
  font-size: 80%;
  font-weight: 600;

  &.expanded{
    display: inline-block;
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-admin-0.24.3 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.23.6 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.24.2 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.23.5 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.24.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.24.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.24.0.rc2 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.23.4 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.24.0.rc1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.23.3 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.23.2 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.23.1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.23.1.rc1 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.23.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss
decidim-admin-0.22.0 app/assets/stylesheets/decidim/admin/modules/_table-list.scss