Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 179 | espaco | 1 | body { |
| 2 | .ui-inputswitch { |
||
| 3 | height: 14px; |
||
| 4 | width: 34px !important; |
||
| 5 | overflow: visible; |
||
| 6 | background: $inputSwitchOffBg; |
||
| 7 | border-radius: 8px; |
||
| 8 | |||
| 9 | .ui-inputswitch-handle { |
||
| 10 | top: -4px; |
||
| 11 | left: -2px; |
||
| 12 | background: $inputSwitchHandleOffBg; |
||
| 13 | border-radius: 50%; |
||
| 14 | border: $inputSwitchHandleOffBorder; |
||
| 15 | transition: $transition; |
||
| 16 | width: 20px !important; |
||
| 17 | height: 20px !important; |
||
| 18 | box-shadow: $inputSwitchHandleShadow; |
||
| 19 | |||
| 20 | &.ui-state-focus { |
||
| 21 | @include focused-input(); |
||
| 22 | } |
||
| 23 | } |
||
| 24 | |||
| 25 | .ui-inputswitch-on { |
||
| 26 | visibility: hidden; |
||
| 27 | } |
||
| 28 | |||
| 29 | .ui-inputswitch-off, .ui-inputswitch-on { |
||
| 30 | span { |
||
| 31 | visibility: hidden; |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 35 | &.ui-inputswitch-checked { |
||
| 36 | background: $inputSwitchOnBg; |
||
| 37 | |||
| 38 | .ui-inputswitch-handle { |
||
| 39 | background: $inputSwitchHandleOnBg; |
||
| 40 | border-color: $inputSwitchHandleOnBorderColor; |
||
| 41 | margin-left: 2px; |
||
| 42 | } |
||
| 43 | } |
||
| 44 | } |
||
| 45 | } |