Browse Source

reduced unwanted gap between inner div and right side of the switch in safari

Emanuele Marchi 11 năm trước cách đây
mục cha
commit
1f597e0398

+ 2 - 2
build/css/bootstrap2/bootstrap-switch.css

@@ -71,7 +71,7 @@
   transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
   transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
 }
 }
 .bootstrap-switch.bootstrap-switch-mini {
 .bootstrap-switch.bootstrap-switch-mini {
-  min-width: 72px;
+  min-width: 71px;
 }
 }
 .bootstrap-switch.bootstrap-switch-mini > div > span,
 .bootstrap-switch.bootstrap-switch-mini > div > span,
 .bootstrap-switch.bootstrap-switch-mini > div > label {
 .bootstrap-switch.bootstrap-switch-mini > div > label {
@@ -90,7 +90,7 @@
   margin-bottom: -1px;
   margin-bottom: -1px;
 }
 }
 .bootstrap-switch.bootstrap-switch-small {
 .bootstrap-switch.bootstrap-switch-small {
-  min-width: 80px;
+  min-width: 79px;
 }
 }
 .bootstrap-switch.bootstrap-switch-small > div > span,
 .bootstrap-switch.bootstrap-switch-small > div > span,
 .bootstrap-switch.bootstrap-switch-small > div > label {
 .bootstrap-switch.bootstrap-switch-small > div > label {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
build/css/bootstrap2/bootstrap-switch.min.css


+ 2 - 2
build/css/bootstrap3/bootstrap-switch.css

@@ -39,7 +39,7 @@
   transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
   transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
 }
 }
 .bootstrap-switch.bootstrap-switch-mini {
 .bootstrap-switch.bootstrap-switch-mini {
-  min-width: 72px;
+  min-width: 71px;
 }
 }
 .bootstrap-switch.bootstrap-switch-mini > div > span,
 .bootstrap-switch.bootstrap-switch-mini > div > span,
 .bootstrap-switch.bootstrap-switch-mini > div > label {
 .bootstrap-switch.bootstrap-switch-mini > div > label {
@@ -58,7 +58,7 @@
   margin-bottom: -1px;
   margin-bottom: -1px;
 }
 }
 .bootstrap-switch.bootstrap-switch-small {
 .bootstrap-switch.bootstrap-switch-small {
-  min-width: 80px;
+  min-width: 79px;
 }
 }
 .bootstrap-switch.bootstrap-switch-small > div > span,
 .bootstrap-switch.bootstrap-switch-small > div > span,
 .bootstrap-switch.bootstrap-switch-small > div > label {
 .bootstrap-switch.bootstrap-switch-small > div > label {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
build/css/bootstrap3/bootstrap-switch.min.css


+ 2 - 2
src/less/bootstrap2/bootstrap-switch.less

@@ -16,7 +16,7 @@
   .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
   .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
 
 
   &.@{bootstrap-switch-name}-mini {
   &.@{bootstrap-switch-name}-mini {
-    min-width: 72px;
+    min-width: 71px;
 
 
     > div > span,
     > div > span,
     > div > label {
     > div > label {
@@ -38,7 +38,7 @@
   }
   }
 
 
   &.@{bootstrap-switch-name}-small {
   &.@{bootstrap-switch-name}-small {
-    min-width: 80px;
+    min-width: 79px;
 
 
     > div > span,
     > div > span,
     > div > label {
     > div > label {

+ 2 - 2
src/less/bootstrap3/bootstrap-switch.less

@@ -16,7 +16,7 @@
   .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
   .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
 
 
   &.@{bootstrap-switch-name}-mini {
   &.@{bootstrap-switch-name}-mini {
-    min-width: 72px;
+    min-width: 71px;
 
 
     > div > span,
     > div > span,
     > div > label {
     > div > label {
@@ -38,7 +38,7 @@
   }
   }
 
 
   &.@{bootstrap-switch-name}-small {
   &.@{bootstrap-switch-name}-small {
-    min-width: 80px;
+    min-width: 79px;
 
 
     > div > span,
     > div > span,
     > div > label {
     > div > label {

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác