UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

55 lines (54 loc) 1.24 kB
/* 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); background-image: none; background-color: #333333; border-style: none; border-top-style: solid; border-top-color: rgba(85, 85, 85, 0.9); border-top-width: 1px; border-radius: 2px; font-size: 13px; color: black; } .mblToggleButton:disabled { border-color: grey; background-image: none; color: grey; cursor: default; } .mblToggleButtonSelected { background-image: none; color: white; } .mblToggleButtonChecked { background-color: transparent; color: white; } .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: white; } .mblToggleButtonChecked.mblToggleButtonSelected { background-image: none; color: white; }