Преглед изворни кода

Editor: Added :hover to outliner.

Mr.doob пре 9 година
родитељ
комит
492e6a174d
2 измењених фајлова са 11 додато и 2 уклоњено
  1. 6 1
      editor/css/dark.css
  2. 5 1
      editor/css/light.css

+ 6 - 1
editor/css/dark.css

@@ -15,8 +15,13 @@
 		white-space: nowrap;
 	}
 
+	.Outliner .option:hover {
+		background-color: rgba(21,60,94,0.5);
+	}
+
+
 	.Outliner .option.active {
-		background-color: #153C5E;
+		background-color: rgba(21,60,94,1);
 	}
 
 .Panel.Collapsible.collapsed .Static .Button {

+ 5 - 1
editor/css/light.css

@@ -16,10 +16,14 @@
 		white-space: nowrap;
 	}
 
-	.Outliner .option.active {
+	.Outliner .option:hover {
 		background-color: rgba(0,0,0,0.02);
 	}
 
+	.Outliner .option.active {
+		background-color: rgba(0,0,0,0.04);
+	}
+
 input.Number {
 	color: #0080f0!important;
 	font-size: 12px;