1+ /* gov banner */
2+ .usa-banner {
3+ background-color : # d9dfea ;
4+ width : 100% ;
5+ }
6+
7+ .usa-banner__content ,
8+ .usa-banner__header {
9+ color : # 52565c ;
10+ }
11+
12+ .usa-accordion {
13+ padding-bottom : .25rem ;
14+ padding-top : .25rem ;
15+ }
16+
17+ .usa-accordion__content {
18+ padding-bottom : 1.5rem ;
19+ padding-top : 1.5rem ;
20+ display : inline-flex;
21+ }
22+
23+ .usa-media-block__body {
24+ display : flex;
25+ align-items : start;
26+ }
27+
28+ .usa-banner__header-flag {
29+ float : left;
30+ width : 1rem ;
31+ margin-right : .5rem ;
32+ }
33+
34+ .usa-banner__header-text {
35+ margin-bottom : 0 ;
36+ margin-top : 0 ;
37+ font-size : .75rem ;
38+ line-height : 1.2 ;
39+ }
40+
41+ .usa-accordion__button .usa-banner__button {
42+ border-style : none;
43+ color : # 21409a ;
44+ display : inline;
45+ margin-left : .5rem ;
46+ }
47+
48+ .usa-banner__button {
49+ border-style : none;
50+ color : # 21409a ;
51+ display : inline;
52+ margin-left : .5rem ;
53+ background-color : transparent;
54+ font-size : .75rem ;
55+ height : auto;
56+ line-height : 1.2 ;
57+ padding : 0 ;
58+ text-decoration : none;
59+ width : auto;
60+ }
61+
62+ .usa-banner__button-text {
63+ text-decoration : underline;
64+ }
65+
66+ .usa-banner__icon {
67+ width : 2.5rem ;
68+ margin-right : .5rem ;
69+ }
70+
71+ .usa-banner__lock-image {
72+ height : 1.5ex ;
73+ width : 1.21875ex ;
74+ }
75+
76+ .site-banner .usa-banner__button ::after , .site-banner .usa-banner__button : hover ::after {
77+ background-color : # 2491ff ;
78+ }
79+
80+ @media (min-width : 40em ) {
81+ .usa-banner__button ::after ,
82+ .usa-banner__button : hover ::after ,
83+ .usa-banner__button [aria-expanded = "true" ]::after {
84+ position : absolute;
85+ }
86+
87+ .usa-banner__inner {
88+ display : flex
89+ }
90+ }
91+
92+ @supports ((-webkit-mask : url ()) or (mask : url ())) {
93+ .usa-banner__button ::after ,
94+ .usa-banner__header-action ::after {
95+ background : 0 0 ;
96+ background-color : rgba (0 , 0 , 0 , 0 );
97+ -webkit-mask-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>' ), linear-gradient (transparent, transparent);
98+ mask-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>' ), linear-gradient (transparent, transparent);
99+ -webkit-mask-position : center center;
100+ mask-position : center center;
101+ -webkit-mask-repeat : no-repeat;
102+ mask-repeat : no-repeat;
103+ -webkit-mask-size : 1rem 1rem ;
104+ mask-size : 1rem 1rem ;
105+ }
106+ }
107+
108+ .usa-banner__button ::after ,
109+ .usa-banner__header-action ::after {
110+ background-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>' );
111+ background-repeat : no-repeat;
112+ background-position : center center;
113+ background-size : 1rem 1rem ;
114+ display : inline-block;
115+ height : 1rem ;
116+ width : 1rem ;
117+ content : "" ;
118+ vertical-align : middle;
119+ margin-left : 2px ;
120+ }
121+
122+ @media (min-width : 40em ) {
123+ @supports ((-webkit-mask : url ()) or (mask : url ())) {
124+ .usa-banner__button [aria-expanded = "true" ]::after {
125+ background : 0 0 ;
126+ background-color : rgba (0 , 0 , 0 , 0 );
127+ -webkit-mask-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/></svg>' ), linear-gradient (transparent, transparent);
128+ mask-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/></svg>' ), linear-gradient (transparent, transparent);
129+ -webkit-mask-position : center center;
130+ mask-position : center center;
131+ -webkit-mask-repeat : no-repeat;
132+ mask-repeat : no-repeat;
133+ -webkit-mask-size : 1rem 1rem ;
134+ mask-size : 1rem 1rem ;
135+ }
136+ }
137+ }
138+
139+ @media (min-width : 40em ) {
140+ .usa-banner__button [aria-expanded = "true" ]::after {
141+ background-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/></svg>' );
142+ background-repeat : no-repeat;
143+ background-position : center center;
144+ background-size : 1rem 1rem ;
145+ display : inline-block;
146+ height : 1rem ;
147+ width : 1rem ;
148+ content : "" ;
149+ vertical-align : middle;
150+ margin-left : 2px ;
151+ }
152+ }
153+
154+ @media (max-width : 39.99em ) {
155+ .usa-banner__button [aria-expanded = "true" ]::before {
156+ bottom : 0 ;
157+ top : 0 ;
158+ position : absolute;
159+ right : 0 ;
160+ background-color : # e6e6e6 ;
161+ content : "" ;
162+ display : block;
163+ height : 3rem ;
164+ width : 3rem ;
165+ }
166+
167+ .usa-banner__button ::after {
168+ display : none;
169+ }
170+ }
171+
172+ @media (max-width : 39.99em ) {
173+ @supports ((-webkit-mask : url ()) or (mask : url ())) {
174+ .usa-banner__button [aria-expanded = "true" ]::after {
175+ background : 0 0 ;
176+ background-color : rgba (0 , 0 , 0 , 0 );
177+ background-color : # 005ea2 ;
178+ -webkit-mask-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>' ), linear-gradient (transparent, transparent);
179+ mask-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>' ), linear-gradient (transparent, transparent);
180+ -webkit-mask-position : center center;
181+ mask-position : center center;
182+ -webkit-mask-repeat : no-repeat;
183+ mask-repeat : no-repeat;
184+ -webkit-mask-size : 1.5rem 1.5rem ;
185+ mask-size : 1.5rem 1.5rem ;
186+ }
187+ }
188+ }
189+
190+ @media (max-width : 39.99em ) {
191+ .usa-banner__button [aria-expanded = "true" ]::after {
192+ bottom : 0 ;
193+ top : 0 ;
194+ position : absolute;
195+ right : 0 ;
196+ background-image : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>' );
197+ background-repeat : no-repeat;
198+ background-position : center center;
199+ background-size : 1.5rem 1.5rem ;
200+ display : inline-block;
201+ height : 3rem ;
202+ width : 3rem ;
203+ content : "" ;
204+ vertical-align : middle;
205+ margin-left : 0 ;
206+ }
207+ }
208+
209+ .usa-banner {
210+ position : relative;
211+ min-height : 3rem ;
212+ }
213+
214+ .usa-accordion__button {
215+ position : absolute;
216+ top : 0 ;
217+ bottom : 0 ;
218+ left : 0 ;
219+ right : 0 ;
220+ }
221+
222+ .usa-banner__button-text {
223+ position : absolute;
224+ left : -999em ;
225+ right : auto;
226+ }
227+
228+ .usa-banner__header-action {
229+ color : # 21409a ;
230+ font-size : .75rem ;
231+ line-height : 1.2 ;
232+ margin-bottom : 0 ;
233+ margin-top : 2px ;
234+ text-decoration : underline;
235+ }
236+
237+ @media (min-width : 40em ) {
238+ .usa-banner {
239+ min-height : 0 ;
240+ }
241+
242+ .usa-banner__button {
243+ position : relative;
244+ }
245+
246+ .usa-banner__button-text {
247+ position : static;
248+ display : inline;
249+ }
250+
251+ .usa-banner__header-action {
252+ display : none;
253+ }
254+ }
255+ /* end gov banner */
0 commit comments