浏览代码

Made changes to LESS file instead of CSS.

Marco Kerwitz 12 年之前
父节点
当前提交
59aeb28579
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      static/less/bootstrapSwitch.less

+ 8 - 0
static/less/bootstrapSwitch.less

@@ -102,6 +102,7 @@
   }
 
   label {
+  	text-align: center;
     margin-top: -1px;
     margin-bottom: -1px;
     z-index: 100;
@@ -110,6 +111,13 @@
     border-right: 1px solid @btnBorder;
 
     .buttonBackground(@btnBackground, @btnBackgroundHighlight);
+
+    i {
+      color: #000;
+      text-shadow: 0 1px 0 #fff;
+      line-height: 18px;
+      pointer-events: none;
+    }
   }
 
   span {