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.
103 lines
2.3 KiB
103 lines
2.3 KiB
/* dojox.mobile.ToggleButton */ |
|
.mblToggleButton { |
|
position: relative; |
|
padding: 0 10px 0 25px; |
|
height: 29px; |
|
border-width: 1px 1px 1px 1px; |
|
border-style: outset; |
|
font-family: Helvetica; |
|
line-height: 29px; |
|
cursor: pointer; |
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); |
|
margin-top: 8px; |
|
margin-bottom: 8px; |
|
margin-left: 0px!important; |
|
font-size: 8pt; |
|
color: #ffffff; |
|
background-color: transparent; |
|
border: none; |
|
overflow: visible; |
|
padding: 40px 0 0 0; |
|
text-align: center; |
|
width: 35px; |
|
height: auto; |
|
line-height: normal; |
|
} |
|
.mblToggleButton:disabled { |
|
border-color: grey; |
|
background-image: none; |
|
color: grey; |
|
cursor: default; |
|
} |
|
.mblToggleButtonSelected { |
|
color: white; |
|
} |
|
.mblToggleButtonChecked { |
|
color: #ffffff; |
|
} |
|
.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; |
|
width: 6px; |
|
height: 12px; |
|
left: 13px; |
|
top: 7px; |
|
border-width: 3.5px; |
|
} |
|
.mblToggleButtonChecked.mblToggleButtonSelected { |
|
color: white; |
|
} |
|
.mblToggleButtonChecked.mblToggleButtonSelected:after { |
|
border-color: white; |
|
} |
|
.mblToggleButton:before { |
|
content: ''; |
|
position: absolute; |
|
width: 30px; |
|
height: 30px; |
|
top: 0px; |
|
border: 2px solid #ffffff; |
|
} |
|
.mblToggleButton:active:not([disabled]):before { |
|
background-color: Highlight; |
|
} |
|
.mblToggleButton:after { |
|
position: absolute; |
|
content: ""; |
|
border-color: #000000; |
|
width: 6px; |
|
height: 12px; |
|
left: 13px; |
|
top: 7px; |
|
border-width: 3.5px; |
|
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%; |
|
} |
|
.mblToggleButtonChecked:before, |
|
.mblToggleButtonSelected[aria-pressed='true']:before { |
|
background-color: #ffffff; |
|
} |
|
.mblToggleButtonChecked:after, |
|
.mblToggleButtonSelected[aria-pressed='true']:after { |
|
border-color: #000000 !important; |
|
} |
|
.mblToggleButton[disabled]:before { |
|
border-color: #808080; |
|
} |
|
.mblToggleButton[disabled].mblToggleButtonChecked:before { |
|
background-color: #808080; |
|
}
|
|
|