Chain the flag specific class after the generic flag class
This ensures that the flag specific class will be more specific than the generic flag class. This pattern isn't necessary for the flag classes in this file since the generic flag class is defined first, but this pattern is necessary for other modules to provide styles for flags.
This commit is contained in:
parent
87e76a4bfb
commit
03a60cfc11
|
@ -24,15 +24,15 @@
|
|||
-webkit-appearance: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
.flag--monitor {
|
||||
.flag.flag--monitor {
|
||||
background-color: var(--colorGinPrimary);
|
||||
border-color: var(--colorGinPrimary);
|
||||
}
|
||||
.flag--priority {
|
||||
.flag.flag--priority {
|
||||
background-color: var(--colorGinDanger);
|
||||
border-color: var(--colorGinDanger);
|
||||
}
|
||||
.flag--review {
|
||||
.flag.flag--review {
|
||||
background-color: var(--colorGinWarning);
|
||||
border-color: var(--colorGinWarning);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue