浏览代码

fix: case where main menu toggle and title not visible in dark mode

Apply new SCSS $sta-dark-menu-* vars

Fix #1819
George Cushen 5 年之前
父节点
当前提交
d953106116
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      assets/scss/academic/_nav.scss

+ 10 - 1
assets/scss/academic/_nav.scss

@@ -78,7 +78,7 @@
       &.active,
       &:hover,
       &:focus {
-        color: $sta-dark-menu-text;
+        color: $sta-dark-menu-text-active;
       }
 
       &.active {
@@ -99,6 +99,11 @@
   position: relative;  // For z-index clickable mobile logo.
   z-index: 1030;
 }
+
+.dark .navbar-toggler {
+ color: $sta-dark-menu-text;
+}
+
 .navbar-toggler:focus,
 .navbar-toggler:active {
   outline: none !important;
@@ -140,6 +145,10 @@
   z-index: 1030;  // For z-index clickable mobile logo.
 }
 
+.dark .navbar-brand {
+  color: $sta-dark-menu-title;
+}
+
 // Dynamically fit logo image to space available.
 // No need to explicitly set a size for each breakpoint.
 // See https://caniuse.com/#feat=mdn-css_properties_width_stretch .