Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 179 | espaco | 1 | body { |
| 2 | .ui-radiobutton { |
||
| 3 | display: inline-block; |
||
| 4 | vertical-align: middle; |
||
| 5 | margin: 0; |
||
| 6 | width: $radiobuttonWidth; |
||
| 7 | height: $radiobuttonHeight; |
||
| 8 | |||
| 9 | .ui-radiobutton-box { |
||
| 10 | border: $inputBorder; |
||
| 11 | border-width: $radiobuttonBorderWidth; |
||
| 12 | background: $inputBg; |
||
| 13 | width: $radiobuttonWidth; |
||
| 14 | height: $radiobuttonHeight; |
||
| 15 | text-align: center; |
||
| 16 | position: relative; |
||
| 17 | border-radius: 50%; |
||
| 18 | transition: $transition; |
||
| 19 | |||
| 20 | &.ui-state-hover { |
||
| 21 | border-color: $inputHoverBorderColor; |
||
| 22 | } |
||
| 23 | |||
| 24 | &.ui-state-focus { |
||
| 25 | box-shadow: $radiobuttonFocusShadow; |
||
| 26 | } |
||
| 27 | |||
| 28 | &.ui-state-active { |
||
| 29 | border-color:$radiobuttonActiveBorderColor; |
||
| 30 | background: $radiobuttonActiveBg; |
||
| 31 | color:$radiobuttonTextActiveColor; |
||
| 32 | |||
| 33 | &.ui-state-hover { |
||
| 34 | background: $radiobuttonActiveHoverBg; |
||
| 35 | } |
||
| 36 | |||
| 37 | .ui-icon-bullet { |
||
| 38 | background: $radiobuttonTextActiveColor; |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 42 | &.ui-state-error { |
||
| 43 | @include invalid-input(); |
||
| 44 | } |
||
| 45 | |||
| 46 | .ui-radiobutton-icon { |
||
| 47 | width: $radiobuttonIconSize; |
||
| 48 | height: $radiobuttonIconSize; |
||
| 49 | vertical-align: middle; |
||
| 50 | position: absolute; |
||
| 51 | top: 50%; |
||
| 52 | left: 50%; |
||
| 53 | margin-top: -1 * $radiobuttonIconSize / 2; |
||
| 54 | margin-left: -1 * $radiobuttonIconSize / 2; |
||
| 55 | border-radius: 50%; |
||
| 56 | |||
| 57 | &:before { |
||
| 58 | display: none; |
||
| 59 | } |
||
| 60 | } |
||
| 61 | } |
||
| 62 | } |
||
| 63 | |||
| 64 | &.ui-input-filled, |
||
| 65 | .ui-input-filled { |
||
| 66 | .ui-radiobutton { |
||
| 67 | .ui-radiobutton-box { |
||
| 68 | background-color: $inputFilledBg; |
||
| 69 | |||
| 70 | &.ui-state-hover { |
||
| 71 | background-color: $inputFilledHoverBg; |
||
| 72 | } |
||
| 73 | |||
| 74 | &.ui-state-active { |
||
| 75 | background: $radiobuttonActiveBg; |
||
| 76 | |||
| 77 | &.ui-state-hover { |
||
| 78 | background: $radiobuttonActiveHoverBg; |
||
| 79 | } |
||
| 80 | } |
||
| 81 | } |
||
| 82 | } |
||
| 83 | } |
||
| 84 | |||
| 85 | @if ($highlightBg == $radiobuttonActiveBg) { |
||
| 86 | .ui-state-highlight { |
||
| 87 | .ui-radiobutton { |
||
| 88 | .ui-radiobutton-box.ui-state-active { |
||
| 89 | border-color: $highlightTextColor; |
||
| 90 | } |
||
| 91 | } |
||
| 92 | } |
||
| 93 | } |
||
| 94 | } |