File tree Expand file tree Collapse file tree
src/app/core/components/osf-banners/cookie-consent-banner Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@if (displayBanner()) {
22 < div class ="cookie-consent-container " @fadeInOut >
33 < div class ="w-full p-message ">
4- < div class ="grid flex-row p-message-content ">
5- < div class ="col "> {{ 'toast.cookie-consent.message' | translate }}</ div >
6- < div class ="col-fixed flex justify-content-end ">
4+ < div class ="grid flex-column p-message-content ">
5+ < div class ="row p-message-text ">
6+ < i class ="pi pi-exclamation-triangle "> </ i >
7+ {{ 'toast.cookie-consent.message' | translate }}
8+ </ div >
9+ < div class ="row-fixed flex justify-content-end p-message-button ">
710 < p-button
8- type =" button "
11+ variant =" text "
912 [label] ="'toast.cookie-consent.accept' | translate "
1013 (onClick) ="acceptCookies() "
1114 > </ p-button >
Original file line number Diff line number Diff line change 55 display : block !important ;
66
77 .p-message {
8- background-color : #886d3f ;
9- color : var (--white );
8+ background-color : var (--yellow-2 );
9+ color : var (--yellow-1 );
10+
1011 width : 100% ;
1112 border-radius : var (--p-message-border-radius , 6px );
12- outline-width : var (--p-message-border-width , 1px );
13- outline-style : solid ;
1413
1514 .p-message-content {
1615 display : flex ;
17- align-items : center ;
1816 padding : var (--p-message-content-padding , 1.5rem );
1917 gap : var (--p-message-content-gap , 0.5rem );
2018 height : 100% ;
19+
20+ .p-message-text {
21+ font-weight : bold ;
22+ align-items : center ;
23+ }
24+
25+ .p-message-button {
26+ align-items : end ;
27+ }
2128 }
2229 }
2330}
You can’t perform that action at this time.
0 commit comments