|
8 | 8 | position: relative;
|
9 | 9 |
|
10 | 10 | .nhsuk-form-group--error & {
|
11 |
| - border: $nhsuk-border-width-form-element-error solid $nhsuk-error-color; |
| 11 | + border: $nhsuk-border-width-form-element-error solid $nhsuk-error-colour; |
12 | 12 | }
|
13 | 13 | }
|
14 | 14 |
|
15 | 15 | .app-autocomplete__input--focused {
|
16 | 16 | @include nhsuk-focused-input;
|
17 | 17 |
|
18 | 18 | .nhsuk-form-group--error & {
|
19 |
| - border-color: $nhsuk-focus-text-color; |
| 19 | + border-color: $nhsuk-focus-text-colour; |
20 | 20 | }
|
21 | 21 | }
|
22 | 22 |
|
|
26 | 26 | }
|
27 | 27 |
|
28 | 28 | .app-autocomplete__hint {
|
29 |
| - color: $nhsuk-secondary-text-color; |
| 29 | + color: $nhsuk-secondary-text-colour; |
30 | 30 | position: absolute;
|
31 | 31 | }
|
32 | 32 |
|
|
41 | 41 | }
|
42 | 42 |
|
43 | 43 | .app-autocomplete__menu {
|
44 |
| - background-color: $nhsuk-form-element-background-color; |
45 |
| - border: $nhsuk-border-width-form-element solid $nhsuk-form-border-color; |
| 44 | + background-color: $nhsuk-input-background-colour; |
| 45 | + border: $nhsuk-border-width-form-element solid $nhsuk-input-border-colour; |
46 | 46 | border-top: 0;
|
47 |
| - color: $nhsuk-text-color; |
| 47 | + color: $nhsuk-text-colour; |
48 | 48 | margin: 0;
|
49 | 49 | max-height: 342px;
|
50 | 50 | overflow-x: hidden;
|
|
75 | 75 | }
|
76 | 76 |
|
77 | 77 | .app-autocomplete__option {
|
78 |
| - border-bottom: solid $nhsuk-border-color; |
| 78 | + border-bottom: solid $nhsuk-border-colour; |
79 | 79 | border-width: 1px 0;
|
80 | 80 | cursor: pointer;
|
81 | 81 | display: block;
|
|
86 | 86 | @include nhsuk-font(19);
|
87 | 87 |
|
88 | 88 | .app-autocomplete__option-hint {
|
89 |
| - color: $nhsuk-secondary-text-color; |
| 89 | + color: $nhsuk-secondary-text-colour; |
90 | 90 | }
|
91 | 91 | }
|
92 | 92 |
|
93 | 93 | .app-autocomplete__option--no-results {
|
94 |
| - background-color: $nhsuk-form-element-background-color; |
95 |
| - color: $nhsuk-secondary-text-color; |
| 94 | + background-color: $nhsuk-input-background-colour; |
| 95 | + color: $nhsuk-secondary-text-colour; |
96 | 96 | cursor: not-allowed;
|
97 | 97 | }
|
98 | 98 |
|
|
109 | 109 | }
|
110 | 110 |
|
111 | 111 | .app-autocomplete__option--odd {
|
112 |
| - background-color: $color_nhsuk-grey-5; |
| 112 | + background-color: nhsuk-colour("grey-5"); |
113 | 113 | }
|
114 | 114 |
|
115 | 115 | .app-autocomplete__option--focused,
|
116 | 116 | .app-autocomplete__option:hover {
|
117 |
| - background-color: $nhsuk-link-color; |
118 |
| - border-color: $nhsuk-link-color; |
119 |
| - color: $color_nhsuk-white; |
| 117 | + background-color: $nhsuk-link-colour; |
| 118 | + border-color: $nhsuk-link-colour; |
| 119 | + color: nhsuk-colour("white"); |
120 | 120 | outline: none;
|
121 | 121 |
|
122 | 122 | .app-autocomplete__option-hint {
|
123 |
| - color: $color_nhsuk-grey-5; |
| 123 | + color: nhsuk-colour("grey-5"); |
124 | 124 | }
|
125 | 125 | }
|
126 | 126 |
|
|
0 commit comments