Explorar o código

Made changes to LESS file instead of CSS.

Marco Kerwitz %!s(int64=12) %!d(string=hai) anos
pai
achega
59aeb28579
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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 {