Просмотр исходного кода

Merge pull request #582 from Zorrototo/master

 Prefere having OS icon on hover
OwN-3m-All 4 лет назад
Родитель
Сommit
5f681607a2
4 измененных файлов с 36 добавлено и 0 удалено
  1. BIN
      images/os/linux.png
  2. BIN
      images/os/windows.png
  3. 17 0
      themes/Modern/styles.css
  4. 19 0
      themes/Revolution/style.css

BIN
images/os/linux.png


BIN
images/os/windows.png


+ 17 - 0
themes/Modern/styles.css

@@ -495,6 +495,23 @@ pre {
 #submenu_0 li:hover ul li{
 	display:block;
 }
+/*Prefere having OS icon on hover*/
+li.win32 a:hover{
+	background: #7f7f7f url('../../images/os/win32.png') no-repeat 97% center !important;
+	background-size: 20px auto !important;
+}
+li.linux32 a:hover{
+	background: #7f7f7f url('../../images/os/linux32.png') no-repeat 97% center !important;
+	background-size: 20px auto !important;
+}
+li.win64 a:hover{
+	background: #7f7f7f url('../../images/os/win64.png') no-repeat 97% center !important;
+	background-size: 20px auto !important;
+}
+li.linux64 a:hover{
+	background: #7f7f7f url('../../images/os/linux64.png') no-repeat 97% center !important;
+	background-size: 20px auto !important;
+}
 /*End Of Menu*/
 
 

+ 19 - 0
themes/Revolution/style.css

@@ -202,6 +202,25 @@ hr {
 #submenu_0 li:hover ul li{
 	display:block;
 }
+
+/*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 !important;
+}
+li.linux32 a:hover{
+	background: #999 url('../../images/os/linux32.png') no-repeat 97% center !important;
+	background-size: 20px auto !important;
+}
+li.win64 a:hover{
+	background: #999 url('../../images/os/win64.png') no-repeat 97% center !important;
+	background-size: 20px auto !important;
+}
+li.linux64 a:hover{
+	background: #999 url('../../images/os/linux64.png') no-repeat 97% center !important;
+	background-size: 20px auto !important;
+}
+
 /*End Of Menu*/
 		
 #container {