scope scrollbar changes to navigation menu; only color track
authorDan Allen <dan@opendevise.com>
Sun, 5 Aug 2018 22:33:49 +0000 (16:33 -0600)
committerDan Allen <dan@opendevise.com>
Sun, 5 Aug 2018 22:41:00 +0000 (16:41 -0600)
src/css/base.css
src/css/navigation-menu.css

index e312c34..5d66327 100644 (file)
@@ -55,20 +55,3 @@ strong,
 th {
   font-weight: 500;
 }
-
-::-webkit-scrollbar {
-  width: 0.3333rem;
-  height: 0.3333rem;
-}
-
-::-webkit-scrollbar-track {
-  background-color: #f0f0f0;
-}
-
-::-webkit-scrollbar-thumb {
-  background-color: #c1c1c1;
-}
-
-::-webkit-scrollbar-thumb:window-inactive {
-  background: transparent;
-}
index d7f0c00..79e85c4 100644 (file)
@@ -24,6 +24,14 @@ html.is-clipped--nav {
   display: none;
 }
 
+.navigation-menu::-webkit-scrollbar {
+  width: 0.25rem;
+}
+
+.navigation-menu::-webkit-scrollbar-thumb {
+  background-color: #c1c1c1;
+}
+
 .nav-menu {
   flex-grow: 1;
   min-height: 0;