| 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 |
font: inherit; |
| 10 |
cursor: pointer; |
| 11 |
-webkit-appearance: none; |
| 12 |
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
| 13 |
-webkit-transform: translateY(0.45em); |
| 14 |
transform: translateY(0.45em); |
| 15 |
border: 2px solid #ffffff; |
| 16 |
border-radius: 0; |
| 17 |
opacity: 0; |
| 18 |
margin: 0; |
| 19 |
margin-top: 8px; |
| 20 |
margin-bottom: 8px; |
| 21 |
transform: none; |
| 22 |
z-index: 1; |
| 23 |
} |
| 24 |
.mblCheckBoxChecked::after, |
| 25 |
.mblCheckBox:checked::after { |
| 26 |
position: absolute; |
| 27 |
content: ""; |
| 28 |
width: 0.3em; |
| 29 |
height: 0.6em; |
| 30 |
top: 0; |
| 31 |
left: 0.3em; |
| 32 |
border-width: 0.15em; |
| 33 |
border-style: none solid solid none; |
| 34 |
-webkit-transform: rotate(45deg); |
| 35 |
transform: rotate(45deg); |
| 36 |
-webkit-transform-origin: 50% 50%; |
| 37 |
transform-origin: 50% 50%; |
| 38 |
border-color: black; |
| 39 |
} |
| 40 |
.mblCheckBoxChecked.mblCheckBoxSelected::after, |
| 41 |
.mblCheckBox:checked.mblCheckBoxSelected::after { |
| 42 |
border-color: white; |
| 43 |
} |
| 44 |
.mblCheckBox + .mblCheckableInputDecorator:before { |
| 45 |
content: ''; |
| 46 |
width: 20px; |
| 47 |
height: 20px; |
| 48 |
position: absolute; |
| 49 |
border: 2px solid #ffffff; |
| 50 |
background-color: transparent; |
| 51 |
margin-left: -25px; |
| 52 |
z-index: 0; |
| 53 |
border-radius: 0; |
| 54 |
margin-top: 8px; |
| 55 |
margin-bottom: 8px; |
| 56 |
} |
| 57 |
.mblCheckBox:not([disabled]):active + .mblCheckableInputDecorator:before, |
| 58 |
.mblCheckBox:not([disabled]) + .mblCheckableInputDecorator:active:before { |
| 59 |
background-color: Highlight; |
| 60 |
} |
| 61 |
.mblCheckBoxChecked + .mblCheckableInputDecorator:before { |
| 62 |
background-image: url("images/dark/check.png"); |
| 63 |
background-position: 50% 50%; |
| 64 |
background-size: 32px 32px; |
| 65 |
background-repeat: no-repeat; |
| 66 |
} |
| 67 |
.mblCheckBox[disabled] + .mblCheckableInputDecorator:before { |
| 68 |
border-color: #808080; |
| 69 |
} |
| 70 |
.mblCheckBox[disabled].mblCheckBoxChecked + .mblCheckableInputDecorator:before { |
| 71 |
background-image: url("images/check-disabled.png"); |
| 72 |
background-position: 50% 50%; |
| 73 |
background-size: 32px 32px; |
| 74 |
background-repeat: no-repeat; |
| 75 |
} |
| 76 |
.mblCheckableInputContainer + label { |
| 77 |
color: #ffffff; |
| 78 |
margin: 0 5px 0 5px; |
| 79 |
margin-top: 8px; |
| 80 |
margin-bottom: 8px; |
| 81 |
-ms-user-select: none; |
| 82 |
display: inline-block; |
| 83 |
} |