Jelajahi Sumber

Prefere having OS icon on hover

On hover on the menu there is a conflict with backgrounds. Forcing it this way works to have the normal background with the OS icon (when it exists) on the right side instead of the little arrow on the left side.
®omano 4 tahun lalu
induk
melakukan
ac676266ce
1 mengubah file dengan 17 tambahan dan 0 penghapusan
  1. 17 0
      themes/Modern/styles.css

+ 17 - 0
themes/Modern/styles.css

@@ -406,6 +406,23 @@ pre {
 		color:FFF;
 		text-decoration:none;
 }
+/*Prefere having OS icon on hover*/
+li.win32 a:hover{
+	background: #999 url('../../images/os/win32.png') no-repeat 97% center !important;
+	background-size: 20px auto;
+}
+li.linux32 a:hover{
+	background: #999 url('../../images/os/linux32.png') no-repeat 97% center !important;
+	background-size: 20px auto;
+}
+li.win64 a:hover{
+	background: #999 url('../../images/os/win64.png') no-repeat 97% center !important;
+	background-size: 20px auto;
+}
+li.linux64 a:hover{
+	background: #999 url('../../images/os/linux64.png') no-repeat 97% center !important;
+	background-size: 20px auto;
+}
 .menu li ul{
 	background: #292929;
 	border:#000 solid 1px;