2 &--blackfriday::before {
7 background: var(--signal-danger);
9 inset-inline-start: calc(#{rem(17.5)} + #{rem(15)});
10 inset-block-start: calc(50% - #{rem(14)});
14 .topnav-list > li:not(:last-child) {
15 margin-inline-end: 0.25em;
17 /* Decrease margins (was 1em) */
18 @include media('<=#{em(1500, 16)}') {
19 margin-inline-end: 1px;
24 margin-inline-end: 0.5em;
28 @include media('<=large') {
33 // code to collapse all elements except upgrade button (topnav-listItem--noCollapse)
34 @mixin collapse-all-four-except-upgrade {
35 .topnav-list--four-elements {
36 .topnav-listItem:not(.topnav-listItem--noCollapse) {
37 // we collapse text as general case
39 // equivalent of .sr-only, but impossible to extend in a breakpoint
54 margin-inline-start: 0.25em;
61 // code to collapse all elements with NO exception
62 @mixin collapse-all-four-no-exception {
63 .topnav-list--four-elements {
65 padding-inline: rem(5);
68 .topnav-listItem:not(.topnav-listItem--noCollapse) {
70 // collapse for ALL without any exception
71 // equivalent of .sr-only, but impossible to extend in a breakpoint
87 .topnav-link--blackfriday::before {
88 inset-inline-start: calc(#{rem(5)} + #{rem(15)});
91 .topnav-link--notification {
93 inset-inline-end: 0.1em;
94 inset-block-start: 0.1em;
100 @mixin collapse-all-items-no-exception {
104 padding-inline: rem(5);
108 .topnav-listItem:not(.topnav-listItem--noCollapse) {
110 // collapse for ALL without any exception
111 // equivalent of .sr-only, but impossible to extend in a breakpoint
126 margin-inline-end: 0;
130 .topnav-link--blackfriday::before {
131 inset-inline-start: calc(#{rem(5)} + #{rem(15)});
135 @include media('<=xlarge') {
136 @include collapse-all-four-except-upgrade;
139 // special fix for Hungarian looooooooong text
141 @include media('<=#{em(1650, 16)}') {
142 @include collapse-all-four-except-upgrade;
144 @include media('<=#{em(1050, 16)}') {
145 @include collapse-all-four-no-exception;
149 @include media('<=#{em(940, 16)}') {
150 @include collapse-all-four-no-exception;
153 @include media('<=#{em(800, 16)}') {
154 @include collapse-all-items-no-exception;
157 @include media('<=small') {
161 inline-size: rem(24);
162 block-size: rem(19); // to align with user drop down
163 margin-inline-end: 0;
167 .topnav-listItem:not(.topnav-listItem--noCollapse) {
169 // collapse for ALL without any exception
170 // equivalent of .sr-only, but impossible to extend in a breakpoint
182 .topnav-list--four-elements .topnav-link {
183 padding-inline: rem(10);
186 .topnav-list--four-elements .topnav-link--blackfriday::before,
187 .topnav-link--blackfriday::before {
188 inset-inline-start: calc(#{rem(10)} + #{rem(22)});
189 inset-block-start: calc(50% - #{rem(18)});
192 .topnav-link--notification {
195 inset-inline-end: 0.15em;
196 inset-block-start: 0.15em;
202 @include media('<=xsmall') {
203 .topnav-list--four-elements .topnav-link,
205 padding-inline: rem(2);
208 .topnav-list--four-elements .topnav-link--blackfriday::before,
209 .topnav-link--blackfriday::before {
210 inset-inline-start: calc(#{rem(5)} + #{rem(22)});