| 1 |
|
| 2 |
.mblCheckBox { |
| 3 |
position: relative; |
| 4 |
margin: -0.5em 3px 0.3em 4px; |
| 5 |
width: 1em; |
| 6 |
height: 1em; |
| 7 |
border-style: outset; |
| 8 |
border-width: 1px; |
| 9 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#f7fbf7), to(#cecfd6), color-stop(0.5, #ced3ce)); |
| 10 |
background-image: linear-gradient(to bottom, #f7fbf7 0%, #ced3ce 50%, #cecfd6 100%); |
| 11 |
font: inherit; |
| 12 |
cursor: pointer; |
| 13 |
-webkit-appearance: none; |
| 14 |
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
| 15 |
-webkit-transform: translateY(0.45em); |
| 16 |
transform: translateY(0.45em); |
| 17 |
border-color: #9cacc0; |
| 18 |
border-radius: 3px; |
| 19 |
} |
| 20 |
.mblCheckBoxSelected { |
| 21 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#088eef), to(#0851ad), color-stop(0.5, #0869c6)); |
| 22 |
background-image: linear-gradient(to bottom, #088eef 0%, #0869c6 50%, #0851ad 100%); |
| 23 |
} |
| 24 |
.mblCheckBoxChecked, |
| 25 |
.mblCheckBox:checked { |
| 26 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#f7fbf7), to(#cecfd6), color-stop(0.5, #ced3ce)); |
| 27 |
background-image: linear-gradient(to bottom, #f7fbf7 0%, #ced3ce 50%, #cecfd6 100%); |
| 28 |
} |
| 29 |
.mblCheckBoxChecked::after, |
| 30 |
.mblCheckBox:checked::after { |
| 31 |
position: absolute; |
| 32 |
content: ""; |
| 33 |
width: 0.3em; |
| 34 |
height: 0.6em; |
| 35 |
top: 0; |
| 36 |
left: 0.3em; |
| 37 |
border-width: 0.15em; |
| 38 |
border-style: none solid solid none; |
| 39 |
-webkit-transform: rotate(45deg); |
| 40 |
transform: rotate(45deg); |
| 41 |
-webkit-transform-origin: 50% 50%; |
| 42 |
transform-origin: 50% 50%; |
| 43 |
border-color: #0851ad; |
| 44 |
} |
| 45 |
.mblCheckBoxChecked.mblCheckBoxSelected, |
| 46 |
.mblCheckBox:checked.mblCheckBoxSelected { |
| 47 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#088eef), to(#0851ad), color-stop(0.5, #0869c6)); |
| 48 |
background-image: linear-gradient(to bottom, #088eef 0%, #0869c6 50%, #0851ad 100%); |
| 49 |
} |
| 50 |
.mblCheckBoxChecked.mblCheckBoxSelected::after, |
| 51 |
.mblCheckBox:checked.mblCheckBoxSelected::after { |
| 52 |
border-color: white; |
| 53 |
} |