Sha256: 9a3b27dc9a6f6bec95b6f6af41867031b7aacb45a0d507519a1350585c8ef566

Contents?: true

Size: 1.74 KB

Versions: 4

Compression:

Stored size: 1.74 KB

Contents

table.table {
  margin-bottom: 0;

  th {
    padding: 0.75rem !important;
    border-bottom: 0;

    &.handel-head {
      width: 50px;
    }
    a.sort_link {
      white-space: nowrap;
    }
  }

  td.move-handle {
    width:45px;
  }

  thead {
    th {
      font-size: $small-font-size;
      padding: 0.5rem;
      padding-top: 14px;
      padding-bottom: 14px;
      vertical-align: top;
      border-top: 0;
    }
  }

  tbody {
    tr {
      td {
        vertical-align: middle;
        .filterable {
          margin-left: .2em;
          cursor: pointer;
          width: 0.9rem;
          height:0.9rem;
          opacity: 0.25;
          &:hover {
            opacity: 1;
          }
        }
      }
    }
  }
}

.table-active-filters {
  display: none;

  .js-filter {
    .icon {
      cursor: pointer;
    }
  }

  .badge-secondary {
    .icon {
      filter: invert(1);
    }
  }

  .badge {
    display: inline-block;
    margin-right: .5em;
    margin-bottom: .5em;

    &:hover {
      opacity: .8;
    }
  }
}

.card {
  > .table,
  .table-responsive > .table {
  	border-right: 0;
  	border-left: 0;
    margin-bottom: 0;

    &:last-child, &:last-of-type {
			border-bottom: 0;
		}

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

  	td:last-child,
		th:last-child {
			border-right: 0;
		}

  	tr:first-child td,
		tr:first-child th {
			border-top: 0;
		}

  	tr:last-child td {
			border-bottom: 0;
		}
	}

  .card-header + .table,
  .card-header + .table-responsive > .table {
    border-top: 0;
	}
}

.sortable-drag-v {
  border: 1px solid theme-color('info');
  border-radius: $border-radius;
  width:100%;
  text-align: right;
  opacity: 0;
  td {
    border-top: none;
    opacity:0;
    &:first-child {
    opacity: 1;
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/assets/stylesheets/spree/backend/components/_tables.scss
spree_backend-4.8.3 app/assets/stylesheets/spree/backend/components/_tables.scss
spree_backend-4.8.2 app/assets/stylesheets/spree/backend/components/_tables.scss
spree_backend-4.8.1 app/assets/stylesheets/spree/backend/components/_tables.scss