|
22 | 22 |
|
23 | 23 | .ui-checkboxradio-label {
|
24 | 24 | .ui-icon-background {
|
25 |
| - border: 0; |
26 |
| - border-radius: 0.12em; |
27 |
| - box-shadow: inset 1px 1px 1px #cccccc; |
| 25 | + border: 1px solid $color-border; |
| 26 | + border-radius: 0.2em; |
| 27 | + background-color: $color-background-box; |
| 28 | + box-sizing: border-box; |
| 29 | + } |
| 30 | + |
| 31 | + &.ui-checkboxradio-checked { |
| 32 | + .ui-icon { |
| 33 | + border: 0; |
| 34 | + background: $color-text-footnote url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M13 2.5l-7 7-2-2-2 2 4 4L15 4.5z'/%3E%3C/svg%3E"); |
| 35 | + } |
| 36 | + |
| 37 | + &.ui-state-focus .ui-icon { |
| 38 | + background-color: $color-link-focus; |
| 39 | + } |
| 40 | + } |
| 41 | + |
| 42 | + &.ui-checkboxradio-checked:hover .ui-icon { |
| 43 | + background-color: $color-text; |
28 | 44 | }
|
29 | 45 | }
|
30 | 46 |
|
31 | 47 | .ui-checkboxradio-radio-label {
|
32 | 48 | .ui-icon-background {
|
33 |
| - width: 16px; |
34 |
| - height: 16px; |
35 |
| - border: 0; |
36 |
| - border-radius: 1em; |
37 |
| - overflow: visible; |
| 49 | + border-radius: 100%; |
38 | 50 | }
|
39 | 51 |
|
40 |
| - &.ui-checkboxradio-checked, |
41 |
| - &.ui-checkboxradio-checked:hover { |
| 52 | + &.ui-checkboxradio-checked { |
42 | 53 | .ui-icon {
|
43 |
| - width: 8px; |
44 |
| - height: 8px; |
45 |
| - border-width: 4px; |
46 |
| - border-style: solid; |
47 |
| - background-image: none; |
| 54 | + border: 0.384615384615385em solid $color-text-footnote; // 5px / 13px |
| 55 | + border-radius: 100%; |
| 56 | + background: $color-background-form; |
| 57 | + } |
| 58 | + |
| 59 | + &.ui-state-focus .ui-icon { |
| 60 | + border-color: $color-link-focus; |
| 61 | + background-color: $color-background-form; |
48 | 62 | }
|
49 | 63 | }
|
| 64 | + |
| 65 | + &.ui-checkboxradio-checked:hover .ui-icon { |
| 66 | + border-color: $color-text; |
| 67 | + background: $color-background-form; |
| 68 | + } |
50 | 69 | }
|
51 | 70 |
|
52 | 71 | .ui-checkboxradio-disabled {
|
|
0 commit comments