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.
58 lines
1.8 KiB
58 lines
1.8 KiB
/* dojox.mobile.ToggleButton */ |
|
.mblToggleButton { |
|
position: relative; |
|
padding: 0 10px 0 25px; |
|
height: 29px; |
|
border-width: 1px 1px 1px 1px; |
|
border-style: outset; |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e2e2e2)); |
|
background-image: linear-gradient(to bottom, #ffffff 0%, #e2e2e2 100%); |
|
font-family: Helvetica; |
|
line-height: 29px; |
|
cursor: pointer; |
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
|
border: 1px solid #c0c0c0; |
|
border-bottom-color: #9b9b9b; |
|
border-radius: 0; |
|
font-size: 13px; |
|
color: #000000; |
|
} |
|
.mblToggleButton:disabled { |
|
border-color: grey; |
|
background-image: none; |
|
color: grey; |
|
cursor: default; |
|
} |
|
.mblToggleButtonSelected { |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#bbbbbb), to(#999999)); |
|
background-image: linear-gradient(to bottom, #bbbbbb 0%, #999999 100%); |
|
color: #ffffff; |
|
} |
|
.mblToggleButtonChecked { |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e2e2e2)); |
|
background-image: linear-gradient(to bottom, #ffffff 0%, #e2e2e2 100%); |
|
color: #000000; |
|
} |
|
.mblToggleButtonChecked:after { |
|
position: absolute; |
|
content: ""; |
|
top: 6px; |
|
left: 7px; |
|
width: 5px; |
|
height: 10px; |
|
border-width: 2px; |
|
border-style: none solid solid none; |
|
-webkit-transform: rotate(45deg) skew(10deg); |
|
transform: rotate(45deg) skew(10deg); |
|
-webkit-transform-origin: 50% 50%; |
|
transform-origin: 50% 50%; |
|
border-color: #000000; |
|
} |
|
.mblToggleButtonChecked.mblToggleButtonSelected { |
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#bbbbbb), to(#999999)); |
|
background-image: linear-gradient(to bottom, #bbbbbb 0%, #999999 100%); |
|
color: #ffffff; |
|
} |
|
.mblToggleButtonChecked.mblToggleButtonSelected:after { |
|
border-color: #ffffff; |
|
}
|
|
|