1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00
Files
browser/src/scss/tables.scss
Justin Baur a6abb74810 Feature/families for enterprise (#1300)
* Added manual routing

* Families for enterprise/account settings (#1290)

* Added sponsored families page

* Revert "Added manual routing"

This reverts commit a970ba78ffa98545176b636630e48115efcf51cc.

* Add messages to page

* Remove stages and simplify design

* Switch to new figma design

* Add screen reader

* Add calls to server

* Reorder methods

* Used to organization filters

* Connected page to server

* Add preliminary text to subscription page

* Sponsor existing family organization flow

* Update jslib

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Add revoke sponsorship flow

* Add spinner to send offer button

* Determine if subscription has sponsored items

* Work on subscription button

* Add  message for new family organization

* Families for enterprise/subscription page (#1292)

* Work on subscription button

* Determine if subscription has sponsored items

* Work on subscriptions page

* Add  message for new family organization

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Families for enterprise/redeem card (#1295)

* Add toast localization message

* Use helpers to property display sponsorship items

* Split table rows into component so buttons load (#1296)

* Split table rows into component so buttons load

* Update jslib

* Families for enterprise/localizations (#1299)

* Add more localizations

* Remove unneeded comments

* Fix help article

* Run linting

* Do not show redeem button if no orgs exist to redeem

* Implement new process for accepting sponsorships

* Hide business checkbox

* Update jslib

* Removed commented code

* Remove commented html

* Cleaned up imports

* Use proper message

* Remove merge conflict message

* Remove confusing comment

* Listened to PR feedback

* Remove unused property

* Update help text

* Fix aria labels

* Add try catch

* Made toast before emit

* Minor copy changes

* Update jslib

* Remove unneeded loading

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2021-11-22 08:41:40 -05:00

132 lines
2.7 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, > .fa, .icon {
@include themify($themes) {
color: themed('textMuted');
}
}
.fa-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');
}
}