mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +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:
@@ -118,23 +118,18 @@ input[type="radio"], input[type="checkbox"] {
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
&.text-danger {
|
||||
color: #FFFFFF !important;
|
||||
@include themify($themes) {
|
||||
background-color: themed('danger');
|
||||
}
|
||||
@include themify($themes) {
|
||||
color: themed('dropdownTextColor');
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: #FFFFFF !important;
|
||||
@include themify($themes){
|
||||
background-color: themed('dropdownDangerHover') !important;
|
||||
}
|
||||
&.text-danger {
|
||||
@include themify($themes) {
|
||||
color: themed('danger') !important;
|
||||
}
|
||||
}
|
||||
&:hover:not(.text-danger) {
|
||||
&:hover {
|
||||
@include themify($themes) {
|
||||
background-color: themed('dropdownHover');
|
||||
color: themed('dropdownTextColor');
|
||||
}
|
||||
}
|
||||
&:active{
|
||||
@@ -162,11 +157,6 @@ input[type="radio"], input[type="checkbox"] {
|
||||
color: themed('listItemColor');
|
||||
font-weight: themed('linkWeight');
|
||||
}
|
||||
&:hover {
|
||||
@include themify($themes) {
|
||||
color: themed('listItemColorHover');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list-group-item.active {
|
||||
@@ -178,3 +168,10 @@ input[type="radio"], input[type="checkbox"] {
|
||||
color: themed('listItemActive');
|
||||
}
|
||||
}
|
||||
|
||||
// Browser specific icons overlayed on input fields. e.g. caps lock indicator on password field
|
||||
::-webkit-calendar-picker-indicator, input::-webkit-caps-lock-indicator, input::-webkit-credentials-auto-fill-button {
|
||||
@include themify($themes) {
|
||||
filter: themed('browserInputIconsFilter');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user