1
0
mirror of https://github.com/bitwarden/web synced 2025-12-24 12:13:14 +00:00
Files
web/src/scss/tables.scss
Vincent Salucci 2ae98887b7 [Icons] Update Font Sheet (#1343)
* [Icons] Update to new font sheet

* Rebased - updated all icon remaining icon references

* Temporarily Updating gitmodules branch

* Fixed class reference

* Revert temporary gitmodule branch

* Icon updates/changes

* Pull jslib m-icon-updates latest

* Prettier

* Update jslib to master

* Reset jslib to master

* Removed obsolete variable reference, replaced bolt references

* Removed all instances of base class - maps create automatically

* Updated toast icon references

* Imported styles to reference variable/map

* Reverted to using base class

* Update jslib

* Rename eye-2 to eye and eye-slash-2 to eye-slash

* Bump jslib

* Remove duplicate scss

* Remove old fa

* Update fallback image

* Bump jslib

* Rename eye-2 to eye, and eye-slash-2 to eye-slash

* Fix 404

* Fix integrity of bootstrap.min.css

* Fix callout missing bwi

* Add bwi to change-kdf

* Remove bwi from callout again

* Bump jslib

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-27 11:25:58 -06:00

136 lines
2.2 KiB
SCSS

.table {
@include themify($themes) {
color: themed("textColor");
}
td {
vertical-align: middle;
@include themify($themes) {
color: themed("textColor");
}
& > a {
&:not(.badge) {
@include themify($themes) {
color: themed("tableLinkColor");
}
&:hover {
@include themify($themes) {
color: themed("tableLinkColorHover");
}
}
}
}
&.reduced-lh {
line-height: 1;
small {
font-size: 80%;
}
}
small,
> .bwi,
.icon {
@include themify($themes) {
color: themed("textMuted");
}
}
.bwi-globe {
@include themify($themes) {
color: themed("iconColor");
}
}
}
td.wrap {
word-break: break-all;
}
td.table-list-options {
height: 50px;
max-width: 76px;
text-align: right;
width: 76px;
&.wider {
max-width: 100px;
width: 100px;
}
.btn {
line-height: 1;
transition: initial;
}
.dropdown-menu {
line-height: $line-height-base;
}
}
td.table-action-right {
text-align: right;
}
tr:not(:hover) td.table-list-options {
> .dropdown:not(.show) button:not(:focus):not(:active),
> button:not(:focus):not(:active) {
@extend .sr-only;
}
}
td.table-list-icon {
max-width: 45px;
text-align: center;
width: 45px;
img {
@extend .rounded;
@extend .img-fluid;
max-height: 24px;
}
}
td.table-list-checkbox {
max-width: 35px;
width: 35px;
}
td.table-list-strike {
text-decoration: line-through;
@include themify($themes) {
color: themed("textMuted");
}
}
&.table-list {
&.table td,
.table th {
&:not(tr:first-child td) {
@include themify($themes) {
border-top: 1px solid themed("tableSeparator");
}
}
}
thead th {
border-top: none;
}
tr:first-child {
td {
border: none;
}
}
}
}
.table-hover tbody tr:hover {
@include themify($themes) {
background-color: themed("tableRowHover");
color: themed("tableColorHover");
}
}