Browse Source

bitwarden updates

develop
GilbN 3 years ago
parent
commit
97aa3a2a56
  1. 119
      css/base/bitwarden/bitwarden-base.css

119
css/base/bitwarden/bitwarden-base.css

@ -19,8 +19,8 @@ img.logo {
} }
body.layout_frontend, body.layout_frontend,
body, html[class*="theme_"] body,
html.theme_light body.layout_frontend, html[class*="theme_"] body.layout_frontend,
html { html {
background: var(--main-bg-color); background: var(--main-bg-color);
background-repeat: repeat, no-repeat; background-repeat: repeat, no-repeat;
@ -41,18 +41,22 @@ app-org-vault-groupings .card .card-body a,
color: var(--link-color); color: var(--link-color);
} }
a:hover:not(.btn-secondary), a:hover:not(.btn-secondary):not(.btn-outline-primary),
app-vault-groupings .card li.active>a:first-of-type, app-vault-groupings .card li.active>a:first-of-type,
app-vault-groupings .card li.active>div a:first-of-type, app-vault-groupings .card li.active>div a:first-of-type,
app-org-vault-groupings .card li.active>a:first-of-type, app-org-vault-groupings .card li.active>a:first-of-type,
app-org-vault-groupings .card li.active>div a:first-of-type, app-org-vault-groupings .card li.active>div a:first-of-type,
.groupings .card li.active>a:first-of-type, .groupings .card li.active>a:first-of-type,
.groupings .card li.active>div a:first-of-type, .groupings .card li.active>div a:first-of-type,
html.theme_light a { html[class*="theme_"] a {
color: var(--link-color-hover) !important; color: var(--link-color-hover) !important;
} }
html[class*="theme_"] #totpImage {
background: lightgray;
}
/* TEXT */ /* TEXT */
html[class*="theme_"] .text-muted,
.text-muted, .text-muted,
.form-check-block .form-check-label>small, .form-check-block .form-check-label>small,
.modal-header small, .modal-header small,
@ -81,7 +85,7 @@ h6,
label:not(#g_advanced > div:nth-child(13) > label):not(#g_advanced > div:nth-child(12) > div.col-sm-8 > div > label), label:not(#g_advanced > div:nth-child(13) > label):not(#g_advanced > div:nth-child(12) > div.col-sm-8 > div > label),
label:not(.form-check-label):not(.btn):not(#g_advanced > div:nth-child(13) > label), label:not(.form-check-label):not(.btn):not(#g_advanced > div:nth-child(13) > label),
label.bold .card-header:first-child, label.bold .card-header:first-child,
.card-header, html[class*="theme_"] .card-header,
.modal-header { .modal-header {
color: var(--text-hover) !important; color: var(--text-hover) !important;
} }
@ -99,13 +103,19 @@ label.bold .card-header:first-child,
} }
/* CARDS */ /* CARDS */
html[class*="theme_"] .card-header {
background-color: rgb(0 0 0 / 45%);
color: #fff;
}
.card { .card {
background-color: rgba(255, 255, 255, 0.07) !important; background-color: rgba(255, 255, 255, 0.07) !important;
border-color: rgba(255, 255, 255, 0.1) !important; border-color: rgba(255, 255, 255, 0.1) !important;
color: var(--text) !important; color: var(--text) !important;
} }
html.theme_light .card-body:not(.bg-light>.card-body) { html[class*="theme_"] .card-body:not(.bg-light>.card-body) {
background-color: transparent; background-color: transparent;
color: var(--text); color: var(--text);
} }
@ -116,17 +126,31 @@ app-vault-groupings .card li.active>div>.fa {
color: rgb(var(--accent-color)); color: rgb(var(--accent-color));
} }
body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator>div.card.card-password.bg-light.my-4 { body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator>div.card.card-password.bg-light.my-4,
body > app-root > app-user-layout > app-tools > div > div > div.col-9 > app-password-generator > div.card.card-password.bg-light.my-4 > div {
background-color: rgb(0 0 0 / 15%) !important; background-color: rgb(0 0 0 / 15%) !important;
} }
.password-number { html[class*="theme_"] .password-number {
color: rgb(var(--accent-color)); color: rgb(var(--accent-color));
} }
html[class*="theme_"] .password-letter {
color: white;
}
/* MODALS */ /* MODALS */
.modal-content, html[class*="theme_"] .modal-header {
.modal-footer { border-bottom: 1px solid rgba(255, 255, 255, 0.1);
background: var(--modal-header-color);
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
}
html[class*="theme_"] .modal-body {
background: var(--modal-bg-color); background: var(--modal-bg-color);
background-repeat: repeat, no-repeat; background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed; background-attachment: fixed, fixed;
@ -136,6 +160,17 @@ body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator
-moz-background-size: auto, cover; -moz-background-size: auto, cover;
-o-background-size: auto, cover; -o-background-size: auto, cover;
} }
html[class*="theme_"] .modal-footer {
border-top: 1px solid rgba(255, 255, 255, 0.1);
background: var(--modal-footer-color);
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
}
.close, .close,
.close:hover { .close:hover {
@ -193,26 +228,35 @@ body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator
} }
/* FORMS */ /* FORMS */
.form-control:focus { html[class*="theme_"] label.form-check-label, html[class*="theme_"] .form-control-file {
color: var(--text);
}
html[class*="theme_"] .form-control:focus {
box-shadow: none; box-shadow: none;
border-color: transparent; border-color: transparent;
background: rgb(253 253 253 / 15%);
} }
.form-control { html[class*="theme_"] .form-control {
color: var(--text); color: var(--text);
background-color: rgb(0 0 0 / 0.25); background-color: rgb(0 0 0 / 0.25);
border: 1px solid transparent; border: 1px solid transparent;
} }
.form-control:disabled, html[class*="theme_"] .form-control:disabled,
.form-control[readonly] { .form-control[readonly] {
background-color: rgb(255 255 255 / 25%); background-color: rgb(255 255 255 / 25%);
opacity: 1; opacity: 1;
} }
select:focus {
background: #1f1f1f !important;
}
/* DROPDOWN MENU */ /* DROPDOWN MENU */
.dropdown-menu { /* html[class*="theme_"] .dropdown-menu {
background: var(--modal-bg-color); background: var(--modal-bg-color);
background-repeat: repeat, no-repeat; background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed; background-attachment: fixed, fixed;
@ -223,15 +267,20 @@ body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator
-o-background-size: auto, cover; -o-background-size: auto, cover;
border: 1px solid transparent; border: 1px solid transparent;
box-shadow: 3px 3px 10px rgba(0, 0, 0, .2); box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
} */
html[class*="theme_"] .dropdown-menu, html[class*="theme_"] .dropdown-item {
background: #1f1f1f;
color: #fff;
} }
.dropdown-item, html[class*="theme_"] .dropdown-item,
.dropdown-item-text { html[class*="theme_"] .dropdown-item-text {
color: var(--text); color: var(--text);
} }
.dropdown-item:hover, html[class*="theme_"] .dropdown-item:hover,
.dropdown-item:focus { html[class*="theme_"] .dropdown-item:focus {
color: var(--text-hover); color: var(--text-hover);
text-decoration: none; text-decoration: none;
background-color: rgb(255 255 255 / 0.08); background-color: rgb(255 255 255 / 0.08);
@ -249,19 +298,32 @@ a.text-danger:focus {
} }
/* SETTINGS */ /* SETTINGS */
.list-group-item.active {
html[class*="theme_"] .page-header, html[class*="theme_"] .secondary-header {
border-bottom: 1px solid rgb(255 255 255 / 30%);
}
html[class*="theme_"] .list-group-item.active {
color: var(--text); color: var(--text);
background-color: rgb(255 255 255 / 10%); background-color: rgb(255 255 255 / 10%);
border-left: 3px solid rgb(var(--accent-color)); border-left: 3px solid rgb(var(--accent-color));
border-color: rgba(255, 255, 255, 0.1);
} }
.callout { html[class*="theme_"] .callout {
background-color: rgb(255 255 255 / 15%); background-color: rgb(255 255 255 / 15%);
border: 1px solid rgba(255, 255, 255, 0.1);
color: var(--text);
} }
.list-group-item { html[class*="theme_"] .list-group-item {
background-color: rgb(0 0 0 / 25%); background-color: rgb(0 0 0 / 25%);
border: 1px solid rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 8%);
color: var(--text);
}
html[class*="theme_"] .progress {
background-color: rgba(0, 0, 0, 0.25);
} }
/* BUTTONS */ /* BUTTONS */
@ -306,8 +368,8 @@ a.text-danger:focus {
.btn[class*="btn-outline-"]:not(:hover), .btn[class*="btn-outline-"]:not(:hover),
.swal2-popup .swal2-actions button[class*="btn-outline-"]:not(:hover), .swal2-popup .swal2-actions button[class*="btn-outline-"]:not(:hover),
.swal2-popup .swal2-actions button.swal2-cancel, .swal2-popup .swal2-actions button.swal2-cancel,
html.theme_light .btn-primary, html[class*="theme_"] .btn-primary,
html.theme_light .swal2-confirm { html[class*="theme_"] .swal2-confirm {
border-color: var(--button-color) !important; border-color: var(--button-color) !important;
background-color: var(--button-color) !important; background-color: var(--button-color) !important;
color: var(--button-text) !important; color: var(--button-text) !important;
@ -315,8 +377,8 @@ html.theme_light .swal2-confirm {
.btn-outline-secondary:hover, .btn-outline-secondary:hover,
.swal2-popup .swal2-actions button.swal2-cancel:hover, .swal2-popup .swal2-actions button.swal2-cancel:hover,
html.theme_light .btn-primary, html[class*="theme_"] .btn-primary,
html.theme_light .swal2-confirm { html[class*="theme_"] .swal2-confirm {
color: var(--button-text-hover) !important; color: var(--button-text-hover) !important;
background-color: var(--button-color-hover) !important; background-color: var(--button-color-hover) !important;
border-color: var(--button-color-hover) !important; border-color: var(--button-color-hover) !important;
@ -361,8 +423,8 @@ html.theme_light .swal2-confirm {
.swal2-popup .swal2-actions button.swal2-cancel:not(:disabled):not(.disabled).active, .swal2-popup .swal2-actions button.swal2-cancel:not(:disabled):not(.disabled).active,
.show>.btn-outline-secondary.dropdown-toggle, .show>.btn-outline-secondary.dropdown-toggle,
.swal2-popup .swal2-actions .show>button.dropdown-toggle.swal2-cancel, .swal2-popup .swal2-actions .show>button.dropdown-toggle.swal2-cancel,
html.theme_light .btn-outline-secondary:hover:not(:disabled), html[class*="theme_"] .btn-outline-secondary:hover:not(:disabled),
html.theme_light .btn-outline-secondary:active { html[class*="theme_"] .btn-outline-secondary:active {
color: var(--button-text-hover) !important; color: var(--button-text-hover) !important;
background-color: var(--button-color-hover) !important; background-color: var(--button-color-hover) !important;
border-color: var(--button-color-hover) !important; border-color: var(--button-color-hover) !important;
@ -524,4 +586,7 @@ input:focus:-ms-input-placeholder {
.table-striped>tbody>tr:nth-of-type(odd)>* { .table-striped>tbody>tr:nth-of-type(odd)>* {
--bs-table-accent-bg: var(--bs-table-striped-bg); --bs-table-accent-bg: var(--bs-table-striped-bg);
color: var(--text-hover); color: var(--text-hover);
}
html[class*="theme_"] .table td {
color: var(--text);
} }
Loading…
Cancel
Save