Browse Source

Made changes to LESS file instead of CSS.

Marco Kerwitz 12 năm trước cách đây
mục cha
commit
59aeb28579
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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 {