diff options
| author | Henry Jameson <me@hjkos.com> | 2018-11-14 19:39:17 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-11-14 19:39:17 +0300 |
| commit | e7fe2dc9f9e52771c2ffe8d0ee1c4e8b2e38ab2f (patch) | |
| tree | a1068a131e503d8452098c8ca839187ed3c03012 /src/App.scss | |
| parent | 1723f427f59bb6bf62bb35de93c7226aef2e8727 (diff) | |
collateral fixes, removed alpha control for alerts, added contrast text
generation for alerts, updated getTextColor to also have fallback to black/white
if resulting contrast isn't passable (only when inverting lightness!), updated
UI to use tabs.
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/App.scss b/src/App.scss index 0a2ff5cc..8fb3c488 100644 --- a/src/App.scss +++ b/src/App.scss @@ -473,14 +473,19 @@ nav { padding: 0.25em; border-radius: $fallback--tooltipRadius; border-radius: var(--tooltipRadius, $fallback--tooltipRadius); - color: $fallback--faint; - color: var(--faint, $fallback--faint); min-height: 28px; line-height: 28px; &.error { background-color: $fallback--alertError; background-color: var(--alertError, $fallback--alertError); + color: $fallback--text; + color: var(--alertErrorText, $fallback--text); + + .panel-heading & { + color: $fallback--text; + color: var(--alertErrorPanelText, $fallback--text); + } } } |
