| 1 |
|
| 2 |
.mblToggleButton { |
| 3 |
position: relative; |
| 4 |
padding: 0 10px 0 25px; |
| 5 |
height: 29px; |
| 6 |
border-width: 1px 1px 1px 1px; |
| 7 |
border-style: outset; |
| 8 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#cecece), color-stop(0.5, #f8f8f8), color-stop(0.5, #eeeeee)); |
| 9 |
background-image: linear-gradient(to bottom, #fdfdfd 0%, #f8f8f8 50%, #eeeeee 50%, #cecece 100%); |
| 10 |
font-family: Helvetica; |
| 11 |
line-height: 29px; |
| 12 |
cursor: pointer; |
| 13 |
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
| 14 |
border-color: #9cacc0; |
| 15 |
border-radius: 3px; |
| 16 |
font-size: 13px; |
| 17 |
color: black; |
| 18 |
} |
| 19 |
.mblToggleButton:disabled { |
| 20 |
border-color: grey; |
| 21 |
background-image: none; |
| 22 |
color: grey; |
| 23 |
cursor: default; |
| 24 |
} |
| 25 |
.mblToggleButtonSelected { |
| 26 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#306ea1), to(#266093), color-stop(0.06, #4090d3), color-stop(0.5, #306ea1)); |
| 27 |
background-image: linear-gradient(to bottom, #306ea1 0%, #4090d3 6%, #306ea1 50%, #266093 100%); |
| 28 |
color: white; |
| 29 |
} |
| 30 |
.mblToggleButtonChecked { |
| 31 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#00a200), to(#00d300), color-stop(0.2, #00ba00), color-stop(0.2, #00ba00)); |
| 32 |
background-image: linear-gradient(to bottom, #00a200 0%, #00ba00 20%, #00ba00 20%, #00d300 100%); |
| 33 |
color: white; |
| 34 |
} |
| 35 |
.mblToggleButtonChecked:after { |
| 36 |
position: absolute; |
| 37 |
content: ""; |
| 38 |
top: 6px; |
| 39 |
left: 7px; |
| 40 |
width: 5px; |
| 41 |
height: 10px; |
| 42 |
border-width: 2px; |
| 43 |
border-style: none solid solid none; |
| 44 |
-webkit-transform: rotate(45deg) skew(10deg); |
| 45 |
transform: rotate(45deg) skew(10deg); |
| 46 |
-webkit-transform-origin: 50% 50%; |
| 47 |
transform-origin: 50% 50%; |
| 48 |
border-color: white; |
| 49 |
} |
| 50 |
.mblToggleButtonChecked.mblToggleButtonSelected { |
| 51 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#306ea1), to(#266093), color-stop(0.06, #4090d3), color-stop(0.5, #306ea1)); |
| 52 |
background-image: linear-gradient(to bottom, #306ea1 0%, #4090d3 6%, #306ea1 50%, #266093 100%); |
| 53 |
color: white; |
| 54 |
} |