Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/themes/dark_mode_overrides.scss')
-rw-r--r--app/assets/stylesheets/themes/dark_mode_overrides.scss12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/assets/stylesheets/themes/dark_mode_overrides.scss b/app/assets/stylesheets/themes/dark_mode_overrides.scss
index 73877c04c46..c0eced48171 100644
--- a/app/assets/stylesheets/themes/dark_mode_overrides.scss
+++ b/app/assets/stylesheets/themes/dark_mode_overrides.scss
@@ -105,7 +105,7 @@
--svg-status-bg: #{$white};
}
-body.gl-dark {
+:root.gl-dark {
// redefine some colors and values to prevent sourcegraph conflicts
color-scheme: dark;
--gray-10: #{$gray-10};
@@ -178,6 +178,10 @@ body.gl-dark {
}
}
+.gl-label-text-light .gl-label-close.gl-button:hover {
+ background-color: $gray-900;
+}
+
.gl-label-text-dark.gl-label-text-dark {
&,
.gl-label-close .gl-icon {
@@ -194,6 +198,10 @@ body.gl-dark {
}
}
+.gl-label-text-dark .gl-label-close.gl-button:hover {
+ background-color: $gray-10;
+}
+
// duplicated class as the original .atwho-view style is added later
.atwho-view.atwho-view {
background-color: $white;
@@ -231,7 +239,7 @@ aside.right-sidebar:not(.right-sidebar-merge-requests) {
border-left-color: $gray-50;
}
-body.gl-dark {
+:root.gl-dark {
@include gitlab-theme($gray-900, $gray-400, $gray-500, $gray-900, $white);
.terms {