mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 17:53:39 +00:00
Various Dark Theme fixes per QA feedback (#1212)
* Fix CORS issue on in-line theming javascript * Fix date picker icon color * Add comment * Fix table theming in dark mode * Selfhosted navbar fix * Rename selector to avoid clashing with bootstrap * Do not set initial theme if default * Fix .text-danger style in dropdown lists * Fix toast style, restructure toast and card scss * Fix table and dropdown list hover color * Use callout component for Disable Send warning * Remove unneeded theming for hovering over links * Undo changes to register enterprise2 layout * Apply theming to Safari input field icons e.g. Caps lock, password autofill * Selectively apply themed logo CSS * Fix unrelated linting * Fix webpack config to bundle theme.js Co-authored-by: Danny Murphy <6512845+dltmurphy@users.noreply.github.com>
This commit is contained in:
@@ -160,124 +160,65 @@ app-user-billing {
|
||||
}
|
||||
|
||||
|
||||
/* Register Layout Page - Exempt from themify */
|
||||
body.theme_light_force {
|
||||
background-color: #ECF0F5;
|
||||
a, .btn-link {
|
||||
color: #175DDC;
|
||||
&:hover {
|
||||
color: #104097;
|
||||
}
|
||||
}
|
||||
/* Register Layout Page */
|
||||
.layout {
|
||||
&.enterprise2 {
|
||||
header {
|
||||
background: #175DDC;
|
||||
color: #CED4DA;
|
||||
|
||||
.btn-outline-secondary {
|
||||
color: #6c757d;
|
||||
&:hover {
|
||||
color: #212529;
|
||||
}
|
||||
}
|
||||
|
||||
.text-muted {
|
||||
color: #6C757D !important;
|
||||
}
|
||||
|
||||
.card, .card-body {
|
||||
background-color: #FFFFFF;
|
||||
border-color: rgba(0,0,0,.125);
|
||||
}
|
||||
|
||||
.form-control {
|
||||
background-color: #FBFBFB;
|
||||
border: 1px solid #CED4DA;
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
label {
|
||||
color: #333333;
|
||||
font-weight: 600;
|
||||
&.small {
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
border-top: 1px solid rgba(0,0,0,.1)
|
||||
}
|
||||
.progress {
|
||||
background-color: #E9ECEF;
|
||||
}
|
||||
.bg-primary {
|
||||
background-color: #175DDC !important;
|
||||
}
|
||||
.bg-success {
|
||||
background-color: #00A65A !important;
|
||||
}
|
||||
.bg-warning {
|
||||
background-color: #BF7E16 !important;
|
||||
}
|
||||
.bg-danger {
|
||||
background-color: #DD4B39 !important;
|
||||
}
|
||||
|
||||
.layout {
|
||||
&.enterprise2 {
|
||||
header {
|
||||
&:before {
|
||||
background: #175DDC;
|
||||
color: #CED4DA;
|
||||
content: "";
|
||||
height: 416px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: -76px;
|
||||
transform: skewY(-3deg);
|
||||
width: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
img.logo {
|
||||
height: 57px;
|
||||
margin: 12px 0 0;
|
||||
max-width: 284px;
|
||||
width: 284px;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #FFFFFF;
|
||||
font-size: 1.8rem;
|
||||
margin: 100px 0 150px 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.4rem;
|
||||
margin: 20px 0 40px 0;
|
||||
|
||||
&:before {
|
||||
content: "/";
|
||||
padding-right: 12px;
|
||||
}
|
||||
&:not(.highlight) {
|
||||
&:before {
|
||||
background: #175DDC;
|
||||
content: "";
|
||||
height: 416px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: -76px;
|
||||
transform: skewY(-3deg);
|
||||
width: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
img.logo {
|
||||
margin: 12px 0 0;
|
||||
max-width: 284px;
|
||||
height: 57px;
|
||||
width: 284px;
|
||||
color: #1252A3;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #FFFFFF;
|
||||
font-size: 1.8rem;
|
||||
margin: 100px 0 150px 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.4rem;
|
||||
margin: 20px 0 40px 0;
|
||||
|
||||
&:before {
|
||||
content: "/";
|
||||
padding-right: 12px;
|
||||
}
|
||||
&:not(.highlight) {
|
||||
&:before {
|
||||
color: #1252A3;
|
||||
}
|
||||
}
|
||||
|
||||
b {
|
||||
&:after {
|
||||
content: "⟶";
|
||||
font-size: 2rem;
|
||||
padding-left: 6px;
|
||||
}
|
||||
b {
|
||||
&:after {
|
||||
content: "⟶";
|
||||
font-size: 2rem;
|
||||
padding-left: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-size: 1.4rem;
|
||||
margin: 20px 0 0 0;
|
||||
padding-right: 40px;
|
||||
}
|
||||
blockquote {
|
||||
font-size: 1.4rem;
|
||||
margin: 20px 0 0 0;
|
||||
padding-right: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user