mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-18 02:40:34 +00:00
13f0e379b8
- Makes the dark-mode feedback link (the "report a dark mode issue" ) link in the Appearance menu, only appear when dark-mode is activated. - Keeps the Appearance dropdown menu open after the dark-mode feedback link has been clicked. Bug: T367871 Change-Id: I75d040650f613a7af5db553689d734e56f910431
34 lines
677 B
Plaintext
34 lines
677 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
|
|
#vector-appearance {
|
|
form {
|
|
font-size: 0.875rem;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
a.skin-theme-beta-notice-success {
|
|
color: @color-success;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.vector-icon.vector-icon--heart {
|
|
.cdx-mixin-css-icon( @cdx-icon-heart, @color-success, @size-icon-small );
|
|
}
|
|
}
|
|
|
|
// Only display feedback notice in dark mode.
|
|
// https://phabricator.wikimedia.org/T367871#10003064
|
|
#skin-theme-beta-notice {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and ( prefers-color-scheme: dark ) {
|
|
html.skin-theme-clientpref-os #skin-theme-beta-notice {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
html.skin-theme-clientpref-night #skin-theme-beta-notice {
|
|
display: block;
|
|
}
|