123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- .radioTabbing() {
- /* for keyboard tabbing */
- input[type="radio"]:focus + .radio-label,
- input[type="radio"]:hover + .radio-label,
- .radio-label:hover {
- color: @grayLight;
- }
- }
- .radio {
- &.highlight {
- padding: 4px;
- margin: 0 0 5px 0;
- & + & {
- margin-top: -9px;
- }
- &.checked {
- background: #e9e9e9;
- border-radius: @baseBorderRadius;
- }
- }
- /* for keyboard tabbing */
- input[type="radio"]:focus + .radio-label,
- input[type="radio"]:hover + .radio-label,
- .radio-label:hover {
- color: @grayLight;
- }
- }
- .form-horizontal .radio-inline{
- padding-top: 0;
- }
- .input-group-addon.radio-custom.radio-inline {
- &:before {
- left: 11px;
- top: 9px;
- }
- &:after {
- left: 15px;
- top: 13px;
- }
- }
- .radio-custom {
- position: relative;
- &:after {
- background: transparent;
- border-radius: 6px;
- content: " ";
- height: 6px;
- left: 4px;
- position: absolute;
- top: 7px;
- width: 6px;
- }
- &:before
- {
- border: 1px solid #adadad;
- border-radius: 14px;
- content: " ";
- height: 14px;
- left: 0px;
- position: absolute;
- top: 3px;
- width: 14px;
- }
- &.checked {
- &:after {
- background: #fff;
- }
- &:before {
- background: #39b3d7;
- border-color: #39b3d7;
- }
- }
- &.disabled {
- cursor: not-allowed;
- &:after {
- cursor: not-allowed;
- }
- &:before {
- cursor: not-allowed;
- opacity: .5;
- }
- }
- &.radio-inline {
- &:after {
- left: 4px;
- top: 7px;
- }
- &:before {
- left: 0;
- top: 3px;
- }
- &.highlight {
- padding: 4px 4px 4px 24px;
- &:after {
- left: 8px;
- top: 11px;
- }
- &:before {
- left: 4px;
- top: 7px;
- }
- &.checked {
- background: #e9e9e9;
- border-radius: @baseBorderRadius;
- }
- }
- }
- /* for keyboard tabbing */
- input[type="radio"]:focus + .radio-label {
- color: @grayLight;
- }
- }
- label.radio-custom.radio-inline {
- padding-left: 20px;
- }
|