@adobe/spectrum-css
Version:
The Spectrum CSS top-level backwards compatible package
135 lines (134 loc) • 4.66 kB
CSS
.spectrum-Table-headCell {
color: rgb(162, 162, 162);
background-color: transparent;
}
.spectrum-Table-headCell.is-sortable .spectrum-Table-sortedIcon {
color: rgb(124, 124, 124);
}
.spectrum-Table-headCell.is-sortable:hover {
color: rgb(239, 239, 239);
}
.spectrum-Table-headCell.is-sortable:hover .spectrum-Table-sortedIcon {
color: rgb(239, 239, 239);
}
.spectrum-Table-headCell.is-sortable.focus-ring,
.spectrum-Table-headCell.is-sortable.is-focused {
color: rgb(239, 239, 239);
}
.spectrum-Table-headCell.is-sortable.focus-ring .spectrum-Table-sortedIcon, .spectrum-Table-headCell.is-sortable.is-focused .spectrum-Table-sortedIcon {
color: rgb(239, 239, 239);
}
.spectrum-Table-headCell.is-sortable:active {
color: rgb(239, 239, 239);
}
.spectrum-Table-headCell.is-sortable:active .spectrum-Table-sortedIcon {
color: rgb(239, 239, 239);
}
.spectrum-Table-cell.focus-ring::before, .spectrum-Table-cell.is-focused::before, .spectrum-Table-headCell.focus-ring::before, .spectrum-Table-headCell.is-focused::before {
box-shadow: inset 0 0 0 2px rgb(20, 115, 230);
}
.spectrum-Table-body {
border-style: solid;
border-color: rgb(57, 57, 57);
background-color: rgb(8, 8, 8);
}
.spectrum-Table-body.is-drop-target {
border-color: rgb(20, 115, 230);
box-shadow: 0 0 0 1px rgb(20, 115, 230);
}
.spectrum-Table-body.is-drop-target::before {
background-color: rgba(38,128,235,0.2);
}
tbody.spectrum-Table-body {
border: none;
}
tbody.spectrum-Table-body .spectrum-Table-row {
border-top: none;
}
tbody.spectrum-Table-body .spectrum-Table-cell {
border-top: 1px solid rgb(57, 57, 57);
}
tbody.spectrum-Table-body .spectrum-Table-row .spectrum-Table-cell:first-child {
border-left: 1px solid rgb(57, 57, 57);
}
tbody.spectrum-Table-body .spectrum-Table-row .spectrum-Table-cell:last-child {
border-right: 1px solid rgb(57, 57, 57);
}
tbody.spectrum-Table-body .spectrum-Table-row:last-child .spectrum-Table-cell {
border-bottom: 1px solid rgb(57, 57, 57);
}
.spectrum-Table-row {
border-bottom: 1px solid rgb(57, 57, 57);
background-color: transparent;
}
.spectrum-Table-row:hover {
background-color: rgba(239,239,239,0.08);
}
.spectrum-Table-row.focus-ring,
.spectrum-Table-row.is-focused {
background-color: rgba(239,239,239,0.08);
}
.spectrum-Table-row:active {
background-color: rgba(239,239,239,0.15);
}
.spectrum-Table-row.is-selected {
background-color: rgba(38,128,235,0.2);
}
.spectrum-Table-row.is-selected:hover {
background-color: rgba(38,128,235,0.3);
}
.spectrum-Table-row.is-selected.focus-ring,
.spectrum-Table-row.is-selected.is-focused {
background-color: rgba(38,128,235,0.3);
}
.spectrum-Table-row.is-drop-target::before {
box-shadow: inset 0 0 0 2px rgb(20, 115, 230);
background-color: rgba(38,128,235,0.2);
}
.spectrum-Table-cell {
color: rgb(200, 200, 200);
background-color: transparent;
}
.spectrum-Table-cell--divider {
border-right-style: solid;
border-right-color: rgb(57, 57, 57);
}
.spectrum-Table--quiet .spectrum-Table-body {
border-width: 1px 0;
background-color: transparent;
}
.spectrum-Table--quiet .spectrum-Table-body.is-drop-target {
box-shadow: none;
border-color: transparent;
}
.spectrum-Table--quiet .spectrum-Table-body.is-drop-target::before {
box-shadow: inset 0 0 0 2px rgb(20, 115, 230);
}
.spectrum-Table--quiet .spectrum-Table-row {
background-color: transparent;
}
.spectrum-Table--quiet .spectrum-Table-row:hover {
background-color: rgba(239,239,239,0.08);
}
.spectrum-Table--quiet .spectrum-Table-row.focus-ring,
.spectrum-Table--quiet .spectrum-Table-row.is-focused {
background-color: rgba(239,239,239,0.08);
}
.spectrum-Table--quiet .spectrum-Table-row:active {
background-color: rgba(239,239,239,0.15);
}
.spectrum-Table--quiet .spectrum-Table-row.is-selected {
background-color: rgba(38,128,235,0.2);
}
.spectrum-Table--quiet .spectrum-Table-row.is-selected:hover {
background-color: rgba(38,128,235,0.3);
}
.spectrum-Table--quiet .spectrum-Table-row.is-selected.focus-ring,
.spectrum-Table--quiet .spectrum-Table-row.is-selected.is-focused {
background-color: rgba(38,128,235,0.3);
}
.spectrum-Table--quiet tbody.spectrum-Table-body .spectrum-Table-row .spectrum-Table-cell:first-child,
.spectrum-Table--quiet tbody.spectrum-Table-body .spectrum-Table-row .spectrum-Table-cell:last-child {
border-left: none;
border-right: none;
}