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.

88 lines (87 loc) 2.2 kB
/* dojox.mobile.RadioButton */ .mblRadioButton { position: relative; margin: -0.5em 3px 0.3em 4px; width: 1em; height: 1em; border-style: outset; border-width: 1px; border-radius: 0.5em; 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: 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; } .mblRadioButtonChecked, .mblRadioButton:checked { background-color: transparent; } .mblRadioButtonChecked::after, .mblRadioButton:checked::after { position: absolute; content: ""; width: 0.3em; height: 0.6em; top: 0; left: 0.25em; 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: #61c6eb; } .mblRadioButtonChecked.mblRadioButtonSelected, .mblRadioButton:checked.mblRadioButtonSelected { background-image: none; } .mblRadioButtonChecked.mblRadioButtonSelected::after, .mblRadioButton:checked.mblRadioButtonSelected::after { border-color: #61c6eb; } .mblRadioButton { border-style: solid; border-width: 1px; border-radius: 999px; background-image: none; background-color: transparent; -webkit-tap-highlight-color: none; border-color: #5c5c5c; } .mblRadioButtonChecked, .mblRadioButton:checked { background-image: none; } .mblRadioButtonChecked::after, .mblRadioButton:checked::after { position: absolute; content: ""; width: 0.65em; height: 0.65em; top: 0.17em; left: 0.17em; border-style: none; background-color: #61c6eb; border-radius: 1em; border-color: #61c6eb; } .mblRadioButtonChecked.mblRadioButtonSelected, .mblRadioButton:checked.mblRadioButtonSelected { background-image: none; box-shadow: 0px 0px 1px 4px #1f5366 inset; } .mblRadioButtonChecked.mblRadioButtonSelected::after, .mblRadioButton:checked.mblRadioButtonSelected::after { border-color: #61c6eb; }