Merge pull request #215 from StarCitizenTools/dev

fix: missing dark mode styles
This commit is contained in:
alistair3149 2021-01-14 17:06:40 -05:00 committed by GitHub
commit 164bec9fb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -68,6 +68,14 @@
}
}
&:hover {
background-color: var( --background-color-quiet--hover );
}
&.oo-ui-optionWidget-selected {
background-color: var( --color-primary--active );
}
&:not( :last-child ):not( .mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk ) {
border-color: var( --border-color-base );
}

View file

@ -681,3 +681,10 @@
.oo-ui-progressBarWidget.oo-ui-widget-disabled .oo-ui-progressBarWidget-bar {
background-color: var( --background-color-framed--active );
}
// Invert icon for dark mode
.skin-citizen-dark {
.oo-ui-iconElement-icon {
filter: invert( 1 ) hue-rotate( 180deg );
}
}