Browse Source

-49% -> -50%

Mattia Larentis 12 năm trước cách đây
mục cha
commit
3adff6a203
2 tập tin đã thay đổi với 8 bổ sung10 xóa
  1. 1 1
      static/less/bootstrapSwitch.less
  2. 7 9
      static/stylesheets/bootstrapSwitch.css

+ 1 - 1
static/less/bootstrapSwitch.less

@@ -52,7 +52,7 @@
       .transition(left 0.5s);
     }
     &.switch-off {
-      left: -49%;
+      left: -50%;
     }
     &.switch-on {
       left: 0%;

+ 7 - 9
static/stylesheets/bootstrapSwitch.css

@@ -55,7 +55,7 @@
   transition: left 0.5s;
 }
 .has-switch > div.switch-off {
-  left: -49%;
+  left: -50%;
 }
 .has-switch > div.switch-on {
   left: 0%;
@@ -137,14 +137,12 @@
 .has-switch label.active {
   background-color: #cccccc \9;
 }
-
-	.has-switch label i {
-		color: #000;
-		text-shadow: 0 1px 0 #fff;
-		line-height: 18px;
-		pointer-events: none;
-	}
-
+.has-switch label i {
+  color: #000;
+  text-shadow: 0 1px 0 #fff;
+  line-height: 18px;
+  pointer-events: none;
+}
 .has-switch span {
   text-align: center;
   z-index: 1;