11@use " ../abstracts/all" as * ;
22@use " nhsuk" as * ;
33
4- .nhsuk-u-font-style-italic {
5- font-style : italic ;
6- }
7-
8- .nhsuk-button--red {
9- background-color : $nhsuk-red !important ;
10-
11- & :hover {
12- background-color : $nhsuk-red-hover !important ;
13- border-color : $nhsuk-red-hover !important ;
14- }
15- }
16-
17- .nhsuk-button--beta-login {
18- background-color : $nhsuk-blue ;
19- box-shadow : 0 4px 0 #002f5c ;
20- }
21-
22- .nhsuk-button--beta-login :hover {
23- background-color : $nhsuk-btn-blue-hover ;
24- }
25-
26- // By default, the text on reverse (white) buttons turns white once clicked, rendering them invisible.
27- .nhsuk-button--reverse :visited {
28- color : $nhsuk-black
29- }
30-
31- .nhsuk-back-link {
32- padding : px2rem (20 ) 0 ;
33- margin-bottom : 0 ;
34- }
35-
36- .nhsuk-radios__divider {
37- text-align : left ;
38- width : unset ;
39- }
40-
41- .nhsuk-radios__item label {
42- font-family : $font-stack ;
43- }
44-
45- /* Conditional radio buttons - Note: The nhsuk-radios__conditional element needs to be a SIBLING of the radio button input element
46- otherwise the CSS selector won't work. See Views/Bookmark/Move.cshtml for a usage example.
47- The NHSUK component (nhsuk-radios__conditional) requires JavaScript to work. These tweaks allow it to work without.
48- */
49- .nhsuk-radios__conditional {
50- display : none ;
51- margin-left : -22px ;
52- margin-top : 8px ;
53- }
54-
55- .nhsuk-radios__input :checked ~ .nhsuk-radios__conditional {
56- display : block !important ;
57- }
58-
59- /* jquery unbobtrusive validation style over */
60- .nhsuk-error-summary__list li {
61- color : $nhsuk-red ;
62- }
63-
64- .nhsuk-form-group.input-validation-error {
65- @extend .nhsuk-form-group--error ;
66- }
67-
68- .nhsuk-input.input-validation-error {
69- @extend .nhsuk-input--error
70- }
71-
72- .nhsuk-input :focus {
73- border : 2px solid #212b32 ;
74- box-shadow : inset 0 0 0 2px ;
75- outline : 4px solid #ffeb3b ; /* 1 */
76- outline-offset : 0 ;
77- }
784
795.display--hide {
806 display : none !important ;
12046}
12147
12248
123- .nhsuk-bg-light-blue {
124- background-color : $nhsuk-light-blue-color ;
125- }
126-
127- .nhsuk-bg-pale-blue {
128- background-color : $nhsuk-pale-blue-color ;
129- }
130-
131- .nhsuk-bg-white {
132- background-color : $color_nhsuk-white ;
133- }
134-
135- .nhsuk-width-container.search-width-container {
136- max-width : px2rem (752 );
137- margin : 0 auto ;
138- padding-left : px2rem (68 );
139- padding-right : px2rem (68 );
140- }
141-
142- #maincontent {
143-
144- button [class ^= ' nhsuk-search__submit' ] span .nhsuk-u-visually-hidden {
145- color : $color_nhsuk-grey-1 ;
146- background-color : $color_nhsuk-white ;
147- }
148- }
149-
150- form label .nhsuk-u-visually-hidden {
151- color : $color_nhsuk-grey-1 ;
152- background-color : $color_nhsuk-white ;
153- }
154-
155- /* One third column layout that switches to full width at the small desktop breakpoint (990px) instead of mobile. */
156- .nhsuk-grid-column-one-third-small-desktop {
157- @extend .nhsuk-grid-column-one-third ;
158- width : 33.3333333333% !important ;
159-
160- @media (max-width : px2rem (990 )) {
161- width : 100% !important ;
162- }
163- }
164-
165-
166- /* Tweaks to styling for single card view. */
167- @media (min-width : 768px ) and (max-width : 990px ) {
168- .nhsuk-card-group .nhsuk-grid-column-one-third-small-desktop {
169- max-width : 600px !important ;
170- }
171-
172- .nhsuk-card-group--centred {
173- justify-content : center !important ;
174- }
175- }
176-
177- .nhsuk-card-banner-container {
178- padding-bottom : 42.86% ;
179- position : relative ;
180- }
181-
182- .nhsuk-card-banner {
183- height : 100% ;
184- object-fit : cover ;
185- object-position : left ;
186- position : absolute ;
187- top : 0 ;
188- right : 0 ;
189- bottom : 0 ;
190- left : 0 ;
191- }
192-
193- .nhsuk-card-banner-empty {
194- background-color : $nhsuk-pale-blue-color ;
195- border-bottom : 1px solid #d8dde0 ;
196- }
197-
198- .nhsuk-error-message.error-message--margin-bottom-1 {
199- margin-bottom : nhsuk-spacing (1 );
200- }
201-
202- .nhsuk-u-margin-bottom-2point5 {
203- margin-bottom : 12px ;
204-
205- @media (max-width : 641px ) {
206- margin-bottom : 10px ;
207- }
208- }
20949
21050.word-break__break-word {
21151 word-break : break-word ;
@@ -216,9 +56,7 @@ form label.nhsuk-u-visually-hidden {
21656 justify-content : space-between ;
21757}
21858
219- .nhsuk-button--no-shrink {
220- white-space : nowrap ;
221- }
59+
22260
22361.modal-footer--buttons {
22462 justify-content : space-between !important ;
@@ -233,14 +71,6 @@ form label.nhsuk-u-visually-hidden {
23371 box-shadow : 0 0 0 0.2rem $nhsuk-yellow !important ;
23472 background-color : $govuk-focus-highlight-yellow ;
23573}
236- /* Add a background color to the radio button when focused */
237- .nhsuk-radios__input :focus + .radioButton {
238- box-shadow : 0 0 0 3px $nhsuk-yellow ;
239- }
240- /* Add a background color to the radio button when focused */
241- .nhsuk-checkboxes__input :focus + .checkmark {
242- box-shadow : 0 0 0 4px $nhsuk-yellow ;
243- }
24474
24575.accessible-link :focus {
24676 outline : none ;
0 commit comments