You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.9 KiB
81 lines
1.9 KiB
/* dojox.mobile.CheckBox */ |
|
.mblCheckBox { |
|
position: relative; |
|
margin: -0.5em 3px 0.3em 4px; |
|
width: 1em; |
|
height: 1em; |
|
border-style: outset; |
|
background-color: rgba(0, 0, 0, 0); |
|
border-style: none; |
|
font: inherit; |
|
cursor: pointer; |
|
-webkit-appearance: none; |
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
|
-webkit-transform: translateY(0.45em); |
|
transform: translateY(0.45em); |
|
border-color: #5c5c5c; |
|
border-width: 1px; |
|
background-color: transparent; |
|
background-image: none; |
|
border-style: solid; |
|
} |
|
.mblCheckBoxSelected { |
|
background-image: none; |
|
} |
|
.mblCheckBoxChecked, |
|
.mblCheckBox:checked { |
|
background-color: transparent; |
|
} |
|
.mblCheckBoxChecked::after, |
|
.mblCheckBox:checked::after { |
|
position: absolute; |
|
content: ""; |
|
width: 0.3em; |
|
height: 0.6em; |
|
top: 0; |
|
left: 0.3em; |
|
border-width: 0.15em; |
|
border-style: none solid solid none; |
|
-webkit-transform: rotate(45deg); |
|
transform: rotate(45deg); |
|
-webkit-transform-origin: 50% 50%; |
|
transform-origin: 50% 50%; |
|
border-color: white; |
|
background-color: transparent; |
|
background-image: none; |
|
} |
|
.mblCheckBoxChecked.mblCheckBoxSelected, |
|
.mblCheckBox:checked.mblCheckBoxSelected { |
|
background-image: none; |
|
} |
|
.mblCheckBoxChecked.mblCheckBoxSelected::after, |
|
.mblCheckBox:checked.mblCheckBoxSelected::after { |
|
background-color: transparent; |
|
background-image: none; |
|
} |
|
.mblCheckBox:disabled { |
|
border-color: #007aff; |
|
} |
|
.mblCheckBoxSelected { |
|
background-image: none; |
|
border-color: #99bbca; |
|
box-shadow: 0px 0px 1px 4px #1f5366; |
|
background-color: #1f5366; |
|
} |
|
.mblCheckBoxChecked, |
|
.mblCheckBox:checked { |
|
background-image: none; |
|
} |
|
.mblCheckBoxChecked.mblCheckBoxSelected, |
|
.mblCheckBox:checked.mblCheckBoxSelected { |
|
background-image: none; |
|
border-color: #99bbca; |
|
box-shadow: 0px 0px 3px 4px #1f5366; |
|
background-color: #1f5366; |
|
} |
|
.mblCheckBox:checked::after { |
|
border-color: #007aff; |
|
} |
|
.mblCheckBox:disabled::after { |
|
border-color: #007aff; |
|
}
|
|
|