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.
49 lines
1.9 KiB
49 lines
1.9 KiB
/* dojox.mobile.CheckBox */ |
|
.mblCheckBox { |
|
position: relative; |
|
margin: -0.5em 3px 0.3em 4px; |
|
width: 1em; |
|
height: 1em; |
|
border-style: outset; |
|
border-width: 1px; |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#cecece), color-stop(0.5, #f8f8f8), color-stop(0.5, #eeeeee)); |
|
background-image: linear-gradient(to bottom, #fdfdfd 0%, #f8f8f8 50%, #eeeeee 50%, #cecece 100%); |
|
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: #9cacc0; |
|
border-radius: 5px; |
|
} |
|
.mblCheckBoxSelected { |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#bfbfbf), color-stop(0.5, #ebebeb), color-stop(0.5, #dedede)); |
|
background-image: linear-gradient(to bottom, #f0f0f0 0%, #ebebeb 50%, #dedede 50%, #bfbfbf 100%); |
|
} |
|
.mblCheckBoxChecked, |
|
.mblCheckBox:checked { |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#7a9de9), to(#2362dd), color-stop(0.5, #366edf), color-stop(0.5, #215fdc)); |
|
background-image: linear-gradient(to bottom, #7a9de9 0%, #366edf 50%, #215fdc 50%, #2362dd 100%); |
|
} |
|
.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; |
|
} |
|
.mblCheckBoxChecked.mblCheckBoxSelected, |
|
.mblCheckBox:checked.mblCheckBoxSelected { |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#8ea4c1), to(#4a6c9b), color-stop(0.5, #5877a2), color-stop(0.5, #476999)); |
|
background-image: linear-gradient(to bottom, #8ea4c1 0%, #5877a2 50%, #476999 50%, #4a6c9b 100%); |
|
}
|
|
|