ソースを参照

HUE-5585 [core] Unified scrollbars colors

Enrico Berti 9 年 前
コミット
063358397c

+ 2 - 2
desktop/core/src/desktop/static/desktop/css/hue3.css

@@ -2803,7 +2803,7 @@ body {
 }
 
 .dataTables_wrapper:hover > .hue-scrollbar-x-rail, .hue-scrollbar-x-rail:hover {
-  opacity: 0.75;
+  opacity: 1;
 }
 
 .hue-scrollbar-x-rail {
@@ -2823,7 +2823,7 @@ body {
 
 .hue-scrollbar-x-rail > .hue-scrollbar-x {
   position: absolute;
-  background-color: #7D7D7D;
+  background-color: #C1C1C1;
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;

+ 3 - 3
desktop/core/src/desktop/static/desktop/js/jquery.filechooser.js

@@ -357,10 +357,10 @@
 
         if (typeof $.nicescroll !== 'undefined') {
           $scrollingBreadcrumbs.niceScroll({
-            cursorcolor: "#7D7D7D",
-            cursorborder: "1px solid #7D7D7D",
+            cursorcolor: "#C1C1C1",
+            cursorborder: "1px solid #C1C1C1",
             cursoropacitymin: 0,
-            cursoropacitymax: 0.75,
+            cursoropacitymax: 1,
             scrollspeed: 100,
             mousescrollstep: 60,
             railhoffset: {

+ 6 - 6
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -4154,10 +4154,10 @@
 
         if ($.fn.niceScroll) {
           $container.niceScroll({
-            cursorcolor: "#7D7D7D",
-            cursorborder: "1px solid #7D7D7D",
+            cursorcolor: "#C1C1C1",
+            cursorborder: "1px solid #C1C1C1",
             cursoropacitymin: 0,
-            cursoropacitymax: 0.75,
+            cursoropacitymax: 1,
             scrollspeed: 1,
             mousescrollstep: 60,
             cursorminheight: options.cursorminheight || 20,
@@ -4543,10 +4543,10 @@
       var options = valueAccessor() || {};
       if ((typeof options.enable === 'undefined' || options.enable) && $.fn.niceScroll) {
         $(element).niceScroll({
-          cursorcolor: "#7D7D7D",
-          cursorborder: "1px solid #7D7D7D",
+          cursorcolor: "#C1C1C1",
+          cursorborder: "1px solid #C1C1C1",
           cursoropacitymin: 0,
-          cursoropacitymax: 0.75,
+          cursoropacitymax: 1,
           mousescrollstep: 60,
           scrollspeed: 1,
           cursorminheight: options.cursorminheight || 20,

+ 3 - 3
desktop/core/src/desktop/templates/sql_context_popover.mako

@@ -766,10 +766,10 @@ from metadata.conf import has_navigator
           });
 
           $t.parents('.dataTables_wrapper').niceScroll({
-            cursorcolor: "#7D7D7D",
-            cursorborder: "1px solid #7D7D7D",
+            cursorcolor: "#C1C1C1",
+            cursorborder: "1px solid #C1C1C1",
             cursoropacitymin: 0,
-            cursoropacitymax: 0.75,
+            cursoropacitymax: 1,
             scrollspeed: 100,
             mousescrollstep: 60,
             cursorminheight: 20,