mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
refactor(GUI): explicitly declare .label-danger
coloring (#676)
`.label-danger` is defined by Bootstrap, and its coloring re-uses what was defined in `$brand-danger`, which is currently unset. To prevent the module from going out of sync with our new CSS palette, we explicitly declare the colorings in the component file. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
parent
e1f843652b
commit
0b7232c339
@ -6056,6 +6056,10 @@ body {
|
||||
background-color: #3b3e45;
|
||||
color: #919191; }
|
||||
|
||||
.label-danger {
|
||||
background-color: #d9534f;
|
||||
color: #fff; }
|
||||
|
||||
/*
|
||||
* Copyright 2016 Resin.io
|
||||
*
|
||||
|
@ -28,3 +28,8 @@
|
||||
background-color: darken($palette-theme-dark-background, 10%);
|
||||
color: darken($palette-theme-dark-foreground, 43%);
|
||||
}
|
||||
|
||||
.label-danger {
|
||||
background-color: $palette-theme-danger-background;
|
||||
color: $palette-theme-danger-foreground;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user