mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-24 03:32:51 +02:00
8c12ba20cb
* Initial org filter work * update jslib * Move filter to below cipher length check * don't show vault filter in personal or org folder * Use family icon for families org * jslib and auth guard updates * lint fixes * rename GroupingsComponent to VaultFilterComponent * fix no folder showing all items * Add checks for PersonalOwnership policy * update css class names * lint fixes * cleanup * Some final cleanup * import order lint fix * remove unused import * Use smaller icon for chevron * Update src/popup/vault/organization-filter.component.ts Co-authored-by: Addison Beck <addisonbeck1@gmail.com> * Update src/popup/vault/organization-filter.component.ts Co-authored-by: Addison Beck <addisonbeck1@gmail.com> * fix lint error * remove extra localizations * rename orgFilter -> vaultSelect * Rename orgFilterService to VaultSelectService * lint fixes * combine vault select service with vault filter service * Use base vault filter service methods * Use VaultFilter model and other small fixes * lint fixes * Final restructuring pass * Update jslib and remove extra function * Remove extra imports * remove space * Remove vaultFilterService from background services * Update jslib to latest on feature branch * merge fix * update jslib * [feat] Implement EUVR for desktop Should contain only https://github.com/bitwarden/desktop/pull/1487, with merge resolutions and style fixes * [fix] Delete unused GroupingsComponentTemplate * [dep] Update jslib Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
180 lines
3.1 KiB
SCSS
180 lines
3.1 KiB
SCSS
@import "variables.scss";
|
|
|
|
.btn,
|
|
.vault .footer button,
|
|
.modal-footer button {
|
|
border-radius: $border-radius;
|
|
padding: 7px 15px;
|
|
border: 1px solid #000000;
|
|
font-size: $font-size-base;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
|
|
@include themify($themes) {
|
|
background-color: themed("buttonBackgroundColor");
|
|
border-color: themed("buttonBorderColor");
|
|
color: themed("buttonColor");
|
|
}
|
|
|
|
&.primary {
|
|
@include themify($themes) {
|
|
color: themed("buttonPrimaryColor");
|
|
}
|
|
}
|
|
|
|
&.danger {
|
|
@include themify($themes) {
|
|
color: themed("buttonDangerColor");
|
|
}
|
|
}
|
|
|
|
&:hover:not([disabled]) {
|
|
cursor: pointer;
|
|
|
|
@include themify($themes) {
|
|
background-color: darken(themed("buttonBackgroundColor"), 1.5%);
|
|
border-color: darken(themed("buttonBorderColor"), 17%);
|
|
color: darken(themed("buttonColor"), 10%);
|
|
}
|
|
|
|
&.primary {
|
|
@include themify($themes) {
|
|
color: darken(themed("buttonPrimaryColor"), 6%);
|
|
}
|
|
}
|
|
|
|
&.danger {
|
|
@include themify($themes) {
|
|
color: darken(themed("buttonDangerColor"), 6%);
|
|
}
|
|
}
|
|
}
|
|
|
|
&:focus:not([disabled]) {
|
|
cursor: pointer;
|
|
|
|
@include themify($themes) {
|
|
background-color: darken(themed("buttonBackgroundColor"), 6%);
|
|
border-color: darken(themed("buttonBorderColor"), 25%);
|
|
}
|
|
}
|
|
|
|
&[disabled] {
|
|
opacity: 0.65;
|
|
cursor: default !important;
|
|
}
|
|
|
|
&.block {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
&.link {
|
|
border: none !important;
|
|
background: none !important;
|
|
|
|
&:focus {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.action-buttons {
|
|
.btn {
|
|
&:focus {
|
|
outline: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn-submit {
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
.bwi-spinner {
|
|
position: absolute;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
bottom: 0;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
&:disabled:not(.manual),
|
|
&.loading {
|
|
.bwi-spinner {
|
|
display: flex;
|
|
}
|
|
|
|
span {
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
}
|
|
|
|
.icon-btn {
|
|
cursor: pointer;
|
|
padding: 10px 8px;
|
|
background: none;
|
|
border: none;
|
|
|
|
@include themify($themes) {
|
|
color: themed("boxRowButtonColor");
|
|
}
|
|
|
|
&.primary {
|
|
@include themify($themes) {
|
|
color: themed("buttonPrimaryColor");
|
|
}
|
|
}
|
|
|
|
&.danger {
|
|
@include themify($themes) {
|
|
color: themed("buttonDangerColor");
|
|
}
|
|
}
|
|
|
|
&:hover,
|
|
&:focus {
|
|
@include themify($themes) {
|
|
color: themed("boxRowButtonHoverColor");
|
|
}
|
|
|
|
&.primary {
|
|
@include themify($themes) {
|
|
color: darken(themed("buttonPrimaryColor"), 6%);
|
|
}
|
|
}
|
|
|
|
&.danger {
|
|
@include themify($themes) {
|
|
color: darken(themed("buttonDangerColor"), 6%);
|
|
}
|
|
}
|
|
}
|
|
|
|
&.disabled {
|
|
@include themify($themes) {
|
|
color: themed("disabledIconColor");
|
|
}
|
|
|
|
&:hover {
|
|
@include themify($themes) {
|
|
color: themed("disabledIconColor");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
button.no-btn {
|
|
@extend a;
|
|
background: transparent;
|
|
border: none;
|
|
@include themify($themes) {
|
|
color: themed("textColor");
|
|
}
|
|
}
|