Răsfoiți Sursa

:art: 拆分意思横向滚动条去掉按钮箭头

visuddhinanda 4 ani în urmă
părinte
comite
67e12610d9
1 a modificat fișierele cu 11 adăugiri și 20 ștergeri
  1. 11 20
      app/studio/editor.php

+ 11 - 20
app/studio/editor.php

@@ -304,36 +304,27 @@ else{$currDevice="computer";}
 		fill: var(--link-hover-color);
 	}
 	#om_dropdown_area::-webkit-scrollbar {
-		width: 14px;
-		height: 14px;
+		width: 10px;
+		height: 10px;
 	}
 	#om_dropdown_area::-webkit-scrollbar-thumb {
 		background-color: var(--link-color);
 	}
+	#om_dropdown_area::-webkit-scrollbar-thumb:hover {
+		background-color:var(--tool-link-hover-color);
+	}
 	#om_dropdown_area::-webkit-scrollbar-button:single-button {
-		width: 14px
-		height: 14px;
+		width: 10px
+		height: 10px;
 		display: block;
 		background-color: var(--link-color);
-		background-repeat: no-repeat;
-		background-position-x: center;
-		background-position-y: bottom;
-		background-origin: content-box;
-		background-color: var(--main-color1);
 		border-radius: 10px;
 	}
-	#om_dropdown_area::-webkit-scrollbar-button:single-button:horizontal:decrement {
-		background: url(../../node_modules/bootstrap-icons/icons/chevron-left.svg);
-	}
-	#om_dropdown_area::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
-		background-color:var(--link-color);
-	}
-	#om_dropdown_area::-webkit-scrollbar-button:single-button:horizontal:increment {
-		background: url(../../node_modules/bootstrap-icons/icons/chevron-right.svg);
-	}
-	#om_dropdown_area::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
-		background-color:var(--link-color);
+
+	#om_dropdown_area::-webkit-scrollbar-button:single-button:hover {
+		background-color:var(--tool-link-hover-color);
 	}
+
 		</style>
 	<link type="text/css" rel="stylesheet" href="css/print.css" media="print" />
 	<style id="display_set">