|
@@ -103,16 +103,37 @@
|
|
|
font-size: 16px;
|
|
|
line-height: normal;
|
|
|
}
|
|
|
+.bootstrap-switch.bootstrap-switch-disabled,
|
|
|
+.bootstrap-switch.bootstrap-switch-readonly,
|
|
|
+.bootstrap-switch.bootstrap-switch-indeterminate {
|
|
|
+ opacity: 0.5;
|
|
|
+ filter: alpha(opacity=50);
|
|
|
+ cursor: default !important;
|
|
|
+}
|
|
|
+.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
|
|
|
+.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
|
|
|
+.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
|
|
|
+.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
|
|
|
+.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
|
|
|
+.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
|
|
|
+.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,
|
|
|
+.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,
|
|
|
+.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label {
|
|
|
+ cursor: default !important;
|
|
|
+}
|
|
|
.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
|
|
|
-webkit-transition: margin-left 0.5s;
|
|
|
-moz-transition: margin-left 0.5s;
|
|
|
-o-transition: margin-left 0.5s;
|
|
|
transition: margin-left 0.5s;
|
|
|
}
|
|
|
-.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container {
|
|
|
- margin-left: 0%;
|
|
|
-}
|
|
|
-.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label {
|
|
|
+.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on {
|
|
|
+ -webkit-border-top-left-radius: 0;
|
|
|
+ -moz-border-radius-topleft: 0;
|
|
|
+ border-top-left-radius: 0;
|
|
|
+ -webkit-border-bottom-left-radius: 0;
|
|
|
+ -moz-border-radius-bottomleft: 0;
|
|
|
+ border-bottom-left-radius: 0;
|
|
|
-webkit-border-top-right-radius: 4px;
|
|
|
-moz-border-radius-topright: 4px;
|
|
|
border-top-right-radius: 4px;
|
|
@@ -120,10 +141,13 @@
|
|
|
-moz-border-radius-bottomright: 4px;
|
|
|
border-bottom-right-radius: 4px;
|
|
|
}
|
|
|
-.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
|
|
|
- margin-left: -50%;
|
|
|
-}
|
|
|
-.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label {
|
|
|
+.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off {
|
|
|
+ -webkit-border-top-right-radius: 0;
|
|
|
+ -moz-border-radius-topright: 0;
|
|
|
+ border-top-right-radius: 0;
|
|
|
+ -webkit-border-bottom-right-radius: 0;
|
|
|
+ -moz-border-radius-bottomright: 0;
|
|
|
+ border-bottom-right-radius: 0;
|
|
|
-webkit-border-top-left-radius: 4px;
|
|
|
-moz-border-radius-topleft: 4px;
|
|
|
border-top-left-radius: 4px;
|
|
@@ -131,27 +155,6 @@
|
|
|
-moz-border-radius-bottomleft: 4px;
|
|
|
border-bottom-left-radius: 4px;
|
|
|
}
|
|
|
-.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-container {
|
|
|
- margin-left: -25%;
|
|
|
-}
|
|
|
-.bootstrap-switch.bootstrap-switch-disabled,
|
|
|
-.bootstrap-switch.bootstrap-switch-readonly,
|
|
|
-.bootstrap-switch.bootstrap-switch-indeterminate {
|
|
|
- opacity: 0.5;
|
|
|
- filter: alpha(opacity=50);
|
|
|
- cursor: default !important;
|
|
|
-}
|
|
|
-.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
|
|
|
-.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
|
|
|
-.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
|
|
|
-.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
|
|
|
-.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
|
|
|
-.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
|
|
|
-.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,
|
|
|
-.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,
|
|
|
-.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label {
|
|
|
- cursor: default !important;
|
|
|
-}
|
|
|
.bootstrap-switch.bootstrap-switch-focused {
|
|
|
border-color: rgba(82, 168, 236, 0.8);
|
|
|
outline: 0;
|
|
@@ -160,6 +163,35 @@
|
|
|
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82, 168, 236, .6);
|
|
|
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82, 168, 236, .6);
|
|
|
}
|
|
|
+.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container,
|
|
|
+.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-container {
|
|
|
+ margin-left: 0%;
|
|
|
+}
|
|
|
+.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label,
|
|
|
+.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label {
|
|
|
+ -webkit-border-top-right-radius: 4px;
|
|
|
+ -moz-border-radius-topright: 4px;
|
|
|
+ border-top-right-radius: 4px;
|
|
|
+ -webkit-border-bottom-right-radius: 4px;
|
|
|
+ -moz-border-radius-bottomright: 4px;
|
|
|
+ border-bottom-right-radius: 4px;
|
|
|
+}
|
|
|
+.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container,
|
|
|
+.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-container {
|
|
|
+ margin-left: -50%;
|
|
|
+}
|
|
|
+.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label,
|
|
|
+.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label {
|
|
|
+ -webkit-border-top-left-radius: 4px;
|
|
|
+ -moz-border-radius-topleft: 4px;
|
|
|
+ border-top-left-radius: 4px;
|
|
|
+ -webkit-border-bottom-left-radius: 4px;
|
|
|
+ -moz-border-radius-bottomleft: 4px;
|
|
|
+ border-bottom-left-radius: 4px;
|
|
|
+}
|
|
|
+.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-container {
|
|
|
+ margin-left: -25%;
|
|
|
+}
|
|
|
.bootstrap-switch .bootstrap-switch-container {
|
|
|
display: inline-block;
|
|
|
width: 150%;
|
|
@@ -432,22 +464,6 @@
|
|
|
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active {
|
|
|
background-color: #e6e6e6 \9;
|
|
|
}
|
|
|
-.bootstrap-switch .bootstrap-switch-handle-on {
|
|
|
- -webkit-border-top-left-radius: 4px;
|
|
|
- -moz-border-radius-topleft: 4px;
|
|
|
- border-top-left-radius: 4px;
|
|
|
- -webkit-border-bottom-left-radius: 4px;
|
|
|
- -moz-border-radius-bottomleft: 4px;
|
|
|
- border-bottom-left-radius: 4px;
|
|
|
-}
|
|
|
-.bootstrap-switch .bootstrap-switch-handle-off {
|
|
|
- -webkit-border-top-right-radius: 4px;
|
|
|
- -moz-border-radius-topright: 4px;
|
|
|
- border-top-right-radius: 4px;
|
|
|
- -webkit-border-bottom-right-radius: 4px;
|
|
|
- -moz-border-radius-bottomright: 4px;
|
|
|
- border-bottom-right-radius: 4px;
|
|
|
-}
|
|
|
.bootstrap-switch .bootstrap-switch-label {
|
|
|
text-align: center;
|
|
|
margin-top: -1px;
|
|
@@ -486,6 +502,22 @@
|
|
|
.bootstrap-switch .bootstrap-switch-label.active {
|
|
|
background-color: #cccccc \9;
|
|
|
}
|
|
|
+.bootstrap-switch .bootstrap-switch-handle-on {
|
|
|
+ -webkit-border-top-left-radius: 4px;
|
|
|
+ -moz-border-radius-topleft: 4px;
|
|
|
+ border-top-left-radius: 4px;
|
|
|
+ -webkit-border-bottom-left-radius: 4px;
|
|
|
+ -moz-border-radius-bottomleft: 4px;
|
|
|
+ border-bottom-left-radius: 4px;
|
|
|
+}
|
|
|
+.bootstrap-switch .bootstrap-switch-handle-off {
|
|
|
+ -webkit-border-top-right-radius: 4px;
|
|
|
+ -moz-border-radius-topright: 4px;
|
|
|
+ border-top-right-radius: 4px;
|
|
|
+ -webkit-border-bottom-right-radius: 4px;
|
|
|
+ -moz-border-radius-bottomright: 4px;
|
|
|
+ border-bottom-right-radius: 4px;
|
|
|
+}
|
|
|
.bootstrap-switch input[type='radio'],
|
|
|
.bootstrap-switch input[type='checkbox'] {
|
|
|
position: absolute !important;
|