浏览代码

changing icon rollovers

davegandy 11 年之前
父节点
当前提交
01545e6b23
共有 1 个文件被更改,包括 5 次插入11 次删除
  1. 5 11
      src/assets/less/site/fontawesome-icon-list.less

+ 5 - 11
src/assets/less/site/fontawesome-icon-list.less

@@ -3,13 +3,11 @@
   .col-md-3 {
   .col-md-3 {
     a {
     a {
       display: block;
       display: block;
-      &, &:hover { color: @gray-darker; }
-
-      cursor: pointer;
+      color: @gray-darker;
       line-height: 32px;
       line-height: 32px;
       height: 32px;
       height: 32px;
       padding-left: 10px;
       padding-left: 10px;
-      border-radius: 6px;
+      border-radius: @border-radius-base;
 
 
       .fa-icon {
       .fa-icon {
         width: 32px;
         width: 32px;
@@ -20,16 +18,12 @@
       }
       }
 
 
       &:hover {
       &:hover {
-        background-color: mix(@jumbotron-bg, #fff, 12%);
+        background-color: @jumbotron-bg;
+        color: @jumbotron-text;
         text-decoration: none;
         text-decoration: none;
         .fa-icon {
         .fa-icon {
-          *font-size: 28px;
-          *vertical-align: middle;
-        }
-
-        .fa-icon:before {
           font-size: 28px;
           font-size: 28px;
-          vertical-align: -5px;
+          vertical-align: -6px;
         }
         }
       }
       }
     }
     }