|
@@ -46,7 +46,7 @@
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
-.switch {
|
|
|
+.bootstrap-switch {
|
|
|
display: inline-block;
|
|
|
cursor: pointer;
|
|
|
-webkit-border-radius: 5px;
|
|
@@ -70,17 +70,17 @@
|
|
|
-o-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;
|
|
|
}
|
|
|
-.switch.switch-mini {
|
|
|
+.bootstrap-switch.bootstrap-switch-mini {
|
|
|
min-width: 72px;
|
|
|
}
|
|
|
-.switch.switch-mini > div > span,
|
|
|
-.switch.switch-mini > div > label {
|
|
|
+.bootstrap-switch.bootstrap-switch-mini > div > span,
|
|
|
+.bootstrap-switch.bootstrap-switch-mini > div > label {
|
|
|
padding-bottom: 4px;
|
|
|
padding-top: 4px;
|
|
|
font-size: 10px;
|
|
|
line-height: 9px;
|
|
|
}
|
|
|
-.switch.switch-mini .switch-mini-icons {
|
|
|
+.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-mini-icons {
|
|
|
height: 1.20em;
|
|
|
line-height: 9px;
|
|
|
vertical-align: text-top;
|
|
@@ -89,36 +89,36 @@
|
|
|
margin-top: -1px;
|
|
|
margin-bottom: -1px;
|
|
|
}
|
|
|
-.switch.switch-small {
|
|
|
+.bootstrap-switch.bootstrap-switch-small {
|
|
|
min-width: 80px;
|
|
|
}
|
|
|
-.switch.switch-small > div > span,
|
|
|
-.switch.switch-small > div > label {
|
|
|
+.bootstrap-switch.bootstrap-switch-small > div > span,
|
|
|
+.bootstrap-switch.bootstrap-switch-small > div > label {
|
|
|
padding-bottom: 3px;
|
|
|
padding-top: 3px;
|
|
|
font-size: 12px;
|
|
|
line-height: 18px;
|
|
|
}
|
|
|
-.switch.switch-large {
|
|
|
+.bootstrap-switch.bootstrap-switch-large {
|
|
|
min-width: 120px;
|
|
|
}
|
|
|
-.switch.switch-large > div > span,
|
|
|
-.switch.switch-large > div > label {
|
|
|
+.bootstrap-switch.bootstrap-switch-large > div > span,
|
|
|
+.bootstrap-switch.bootstrap-switch-large > div > label {
|
|
|
padding-bottom: 9px;
|
|
|
padding-top: 9px;
|
|
|
font-size: 16px;
|
|
|
line-height: normal;
|
|
|
}
|
|
|
-.switch.switch-animate > div {
|
|
|
+.bootstrap-switch.bootstrap-switch-animate > div {
|
|
|
-webkit-transition: margin-left 0.5s;
|
|
|
-moz-transition: margin-left 0.5s;
|
|
|
-o-transition: margin-left 0.5s;
|
|
|
transition: margin-left 0.5s;
|
|
|
}
|
|
|
-.switch.switch-on > div {
|
|
|
+.bootstrap-switch.bootstrap-switch-on > div {
|
|
|
margin-left: 0%;
|
|
|
}
|
|
|
-.switch.switch-on > div > label {
|
|
|
+.bootstrap-switch.bootstrap-switch-on > div > label {
|
|
|
-webkit-border-top-right-radius: 4px;
|
|
|
-moz-border-radius-topright: 4px;
|
|
|
border-top-right-radius: 4px;
|
|
@@ -126,10 +126,10 @@
|
|
|
-moz-border-radius-bottomright: 4px;
|
|
|
border-bottom-right-radius: 4px;
|
|
|
}
|
|
|
-.switch.switch-off > div {
|
|
|
+.bootstrap-switch.bootstrap-switch-off > div {
|
|
|
margin-left: -50%;
|
|
|
}
|
|
|
-.switch.switch-off > div > label {
|
|
|
+.bootstrap-switch.bootstrap-switch-off > div > label {
|
|
|
-webkit-border-top-left-radius: 4px;
|
|
|
-moz-border-radius-topleft: 4px;
|
|
|
border-top-left-radius: 4px;
|
|
@@ -137,19 +137,19 @@
|
|
|
-moz-border-radius-bottomleft: 4px;
|
|
|
border-bottom-left-radius: 4px;
|
|
|
}
|
|
|
-.switch.switch-disabled,
|
|
|
-.switch.switch-readonly {
|
|
|
+.bootstrap-switch.bootstrap-switch-disabled,
|
|
|
+.bootstrap-switch.bootstrap-switch-readonly {
|
|
|
opacity: 0.5;
|
|
|
filter: alpha(opacity=50);
|
|
|
cursor: default !important;
|
|
|
}
|
|
|
-.switch.switch-disabled > div > span,
|
|
|
-.switch.switch-readonly > div > span,
|
|
|
-.switch.switch-disabled > div > label,
|
|
|
-.switch.switch-readonly > div > label {
|
|
|
+.bootstrap-switch.bootstrap-switch-disabled > div > span,
|
|
|
+.bootstrap-switch.bootstrap-switch-readonly > div > span,
|
|
|
+.bootstrap-switch.bootstrap-switch-disabled > div > label,
|
|
|
+.bootstrap-switch.bootstrap-switch-readonly > div > label {
|
|
|
cursor: default !important;
|
|
|
}
|
|
|
-.switch.switch-focused {
|
|
|
+.bootstrap-switch.bootstrap-switch-focused {
|
|
|
border-color: rgba(82, 168, 236, 0.8);
|
|
|
outline: 0;
|
|
|
outline: thin dotted \9;
|
|
@@ -157,7 +157,7 @@
|
|
|
-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);
|
|
|
}
|
|
|
-.switch > div {
|
|
|
+.bootstrap-switch > div {
|
|
|
display: inline-block;
|
|
|
width: 150%;
|
|
|
top: 0;
|
|
@@ -169,8 +169,8 @@
|
|
|
-o-transform: translate3d(0, 0, 0);
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
}
|
|
|
-.switch > div > span,
|
|
|
-.switch > div > label {
|
|
|
+.bootstrap-switch > div > span,
|
|
|
+.bootstrap-switch > div > label {
|
|
|
-webkit-box-sizing: border-box;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
@@ -182,12 +182,12 @@
|
|
|
font-size: 14px;
|
|
|
line-height: 20px;
|
|
|
}
|
|
|
-.switch > div > span {
|
|
|
+.bootstrap-switch > div > span {
|
|
|
text-align: center;
|
|
|
z-index: 1;
|
|
|
width: 33.333333333%;
|
|
|
}
|
|
|
-.switch > div > span.switch-handle-on {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-handle-on {
|
|
|
-webkit-border-top-left-radius: 4px;
|
|
|
-moz-border-radius-topleft: 4px;
|
|
|
border-top-left-radius: 4px;
|
|
@@ -195,7 +195,7 @@
|
|
|
-moz-border-radius-bottomleft: 4px;
|
|
|
border-bottom-left-radius: 4px;
|
|
|
}
|
|
|
-.switch > div > span.switch-handle-off {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-handle-off {
|
|
|
-webkit-border-top-right-radius: 4px;
|
|
|
-moz-border-radius-topright: 4px;
|
|
|
border-top-right-radius: 4px;
|
|
@@ -203,7 +203,7 @@
|
|
|
-moz-border-radius-bottomright: 4px;
|
|
|
border-bottom-right-radius: 4px;
|
|
|
}
|
|
|
-.switch > div > span.switch-primary {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary {
|
|
|
color: #ffffff;
|
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
|
background-color: #005fcc;
|
|
@@ -220,21 +220,21 @@
|
|
|
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
|
}
|
|
|
-.switch > div > span.switch-primary:hover,
|
|
|
-.switch > div > span.switch-primary:focus,
|
|
|
-.switch > div > span.switch-primary:active,
|
|
|
-.switch > div > span.switch-primary.active,
|
|
|
-.switch > div > span.switch-primary.disabled,
|
|
|
-.switch > div > span.switch-primary[disabled] {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary:hover,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary:focus,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary.active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary.disabled,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary[disabled] {
|
|
|
color: #ffffff;
|
|
|
background-color: #0088cc;
|
|
|
*background-color: #0077b3;
|
|
|
}
|
|
|
-.switch > div > span.switch-primary:active,
|
|
|
-.switch > div > span.switch-primary.active {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-primary.active {
|
|
|
background-color: #006699 \9;
|
|
|
}
|
|
|
-.switch > div > span.switch-info {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info {
|
|
|
color: #ffffff;
|
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
|
background-color: #41a7c5;
|
|
@@ -251,21 +251,21 @@
|
|
|
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
|
}
|
|
|
-.switch > div > span.switch-info:hover,
|
|
|
-.switch > div > span.switch-info:focus,
|
|
|
-.switch > div > span.switch-info:active,
|
|
|
-.switch > div > span.switch-info.active,
|
|
|
-.switch > div > span.switch-info.disabled,
|
|
|
-.switch > div > span.switch-info[disabled] {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info:hover,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info:focus,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info.active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info.disabled,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info[disabled] {
|
|
|
color: #ffffff;
|
|
|
background-color: #5bc0de;
|
|
|
*background-color: #46b8da;
|
|
|
}
|
|
|
-.switch > div > span.switch-info:active,
|
|
|
-.switch > div > span.switch-info.active {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-info.active {
|
|
|
background-color: #31b0d5 \9;
|
|
|
}
|
|
|
-.switch > div > span.switch-success {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success {
|
|
|
color: #ffffff;
|
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
|
background-color: #58b058;
|
|
@@ -282,21 +282,21 @@
|
|
|
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
|
}
|
|
|
-.switch > div > span.switch-success:hover,
|
|
|
-.switch > div > span.switch-success:focus,
|
|
|
-.switch > div > span.switch-success:active,
|
|
|
-.switch > div > span.switch-success.active,
|
|
|
-.switch > div > span.switch-success.disabled,
|
|
|
-.switch > div > span.switch-success[disabled] {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success:hover,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success:focus,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success.active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success.disabled,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success[disabled] {
|
|
|
color: #ffffff;
|
|
|
background-color: #62c462;
|
|
|
*background-color: #4fbd4f;
|
|
|
}
|
|
|
-.switch > div > span.switch-success:active,
|
|
|
-.switch > div > span.switch-success.active {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-success.active {
|
|
|
background-color: #42b142 \9;
|
|
|
}
|
|
|
-.switch > div > span.switch-warning {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning {
|
|
|
color: #ffffff;
|
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
|
background-color: #f9a123;
|
|
@@ -313,21 +313,21 @@
|
|
|
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
|
}
|
|
|
-.switch > div > span.switch-warning:hover,
|
|
|
-.switch > div > span.switch-warning:focus,
|
|
|
-.switch > div > span.switch-warning:active,
|
|
|
-.switch > div > span.switch-warning.active,
|
|
|
-.switch > div > span.switch-warning.disabled,
|
|
|
-.switch > div > span.switch-warning[disabled] {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning:hover,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning:focus,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning.active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning.disabled,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning[disabled] {
|
|
|
color: #ffffff;
|
|
|
background-color: #fbb450;
|
|
|
*background-color: #faa937;
|
|
|
}
|
|
|
-.switch > div > span.switch-warning:active,
|
|
|
-.switch > div > span.switch-warning.active {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-warning.active {
|
|
|
background-color: #fa9f1e \9;
|
|
|
}
|
|
|
-.switch > div > span.switch-danger {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger {
|
|
|
color: #ffffff;
|
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
|
background-color: #d14641;
|
|
@@ -344,21 +344,21 @@
|
|
|
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
|
}
|
|
|
-.switch > div > span.switch-danger:hover,
|
|
|
-.switch > div > span.switch-danger:focus,
|
|
|
-.switch > div > span.switch-danger:active,
|
|
|
-.switch > div > span.switch-danger.active,
|
|
|
-.switch > div > span.switch-danger.disabled,
|
|
|
-.switch > div > span.switch-danger[disabled] {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger:hover,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger:focus,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger.active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger.disabled,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger[disabled] {
|
|
|
color: #ffffff;
|
|
|
background-color: #ee5f5b;
|
|
|
*background-color: #ec4844;
|
|
|
}
|
|
|
-.switch > div > span.switch-danger:active,
|
|
|
-.switch > div > span.switch-danger.active {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-danger.active {
|
|
|
background-color: #e9322d \9;
|
|
|
}
|
|
|
-.switch > div > span.switch-default {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default {
|
|
|
color: #333333;
|
|
|
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
|
|
background-color: #f0f0f0;
|
|
@@ -375,21 +375,21 @@
|
|
|
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
|
}
|
|
|
-.switch > div > span.switch-default:hover,
|
|
|
-.switch > div > span.switch-default:focus,
|
|
|
-.switch > div > span.switch-default:active,
|
|
|
-.switch > div > span.switch-default.active,
|
|
|
-.switch > div > span.switch-default.disabled,
|
|
|
-.switch > div > span.switch-default[disabled] {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default:hover,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default:focus,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default.active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default.disabled,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default[disabled] {
|
|
|
color: #333333;
|
|
|
background-color: #ffffff;
|
|
|
*background-color: #f2f2f2;
|
|
|
}
|
|
|
-.switch > div > span.switch-default:active,
|
|
|
-.switch > div > span.switch-default.active {
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default:active,
|
|
|
+.bootstrap-switch > div > span.bootstrap-switch-default.active {
|
|
|
background-color: #e6e6e6 \9;
|
|
|
}
|
|
|
-.switch > div > label {
|
|
|
+.bootstrap-switch > div > label {
|
|
|
text-align: center;
|
|
|
margin-top: -1px;
|
|
|
margin-bottom: -1px;
|
|
@@ -413,22 +413,22 @@
|
|
|
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
|
}
|
|
|
-.switch > div > label:hover,
|
|
|
-.switch > div > label:focus,
|
|
|
-.switch > div > label:active,
|
|
|
-.switch > div > label.active,
|
|
|
-.switch > div > label.disabled,
|
|
|
-.switch > div > label[disabled] {
|
|
|
+.bootstrap-switch > div > label:hover,
|
|
|
+.bootstrap-switch > div > label:focus,
|
|
|
+.bootstrap-switch > div > label:active,
|
|
|
+.bootstrap-switch > div > label.active,
|
|
|
+.bootstrap-switch > div > label.disabled,
|
|
|
+.bootstrap-switch > div > label[disabled] {
|
|
|
color: #333333;
|
|
|
background-color: #e6e6e6;
|
|
|
*background-color: #d9d9d9;
|
|
|
}
|
|
|
-.switch > div > label:active,
|
|
|
-.switch > div > label.active {
|
|
|
+.bootstrap-switch > div > label:active,
|
|
|
+.bootstrap-switch > div > label.active {
|
|
|
background-color: #cccccc \9;
|
|
|
}
|
|
|
-.switch input[type='radio'],
|
|
|
-.switch input[type='checkbox'] {
|
|
|
+.bootstrap-switch input[type='radio'],
|
|
|
+.bootstrap-switch input[type='checkbox'] {
|
|
|
position: absolute !important;
|
|
|
top: 0;
|
|
|
left: 0;
|