|
2 | 2 | .layout { |
3 | 3 | display: flex; |
4 | 4 |
|
5 | | - @include media-breakpoint-down('lg') { |
| 5 | + @media (--pgn-size-breakpoint-max-width-lg) { |
6 | 6 | flex-direction: column; |
7 | 7 | justify-content: center; |
8 | 8 | align-items: center; |
9 | 9 | } |
10 | 10 |
|
11 | | - @include media-breakpoint-up('xl') { |
| 11 | + @media (--pgn-size-breakpoint-min-width-xl) { |
12 | 12 | justify-content: space-between; |
13 | 13 | } |
14 | 14 | } |
15 | 15 |
|
16 | 16 | .content { |
17 | | - @include media-breakpoint-up('xl') { |
| 17 | + @media (--pgn-size-breakpoint-min-width-xl) { |
18 | 18 | display: flex; |
19 | 19 | justify-content: center; |
20 | 20 | width: 50vw; |
|
47 | 47 | font-weight: 700; |
48 | 48 | line-height: 1; |
49 | 49 |
|
50 | | - @include media-breakpoint-down('xl') { |
| 50 | + @media (--pgn-size-breakpoint-max-width-xl) { |
51 | 51 | font-size: 3.75rem; |
52 | 52 | } |
53 | 53 |
|
|
60 | 60 | margin-bottom: 0.5rem; |
61 | 61 | font-weight: 700; |
62 | 62 |
|
63 | | - @include media-breakpoint-down('xl') { |
| 63 | + @media (-pgn-size-breakpoint-max-width-xl) { |
64 | 64 | font-size: 1.375rem; |
65 | 65 | line-height: 1.75rem; |
66 | 66 | } |
|
72 | 72 | } |
73 | 73 |
|
74 | 74 | .large-screen-left-container { |
75 | | - @include media-breakpoint-down('xl') { |
| 75 | + @media (-pgn-size-breakpoint-max-width-xl) { |
76 | 76 | flex: 0 0 25%; |
77 | 77 | max-width: 25%; |
78 | 78 | } |
|
87 | 87 | height: 0.25rem; |
88 | 88 | background-image: linear-gradient( |
89 | 89 | 102.02deg, |
90 | | - $brand-700, |
91 | | - $brand-700 20%, |
92 | | - $brand 20%, |
| 90 | + var(--pgn-color-brand-700), |
| 91 | + var(--pgn-color-brand-700) 20%, |
| 92 | + var(--pgn-color-brand-base) 20%, |
93 | 93 | ); |
94 | 94 | background-repeat: no-repeat; |
95 | 95 | } |
96 | 96 |
|
97 | | -@include media-breakpoint-only('md') { |
| 97 | +@media (--pgn-size-breakpoint-min-width-md) and (--pgn-size-breakpoint-max-width-md) { |
98 | 98 | .medium-screen-top-stripe { |
99 | 99 | display: flex; |
100 | 100 | height: 0.5rem; |
101 | 101 | background-image: linear-gradient( |
102 | 102 | 102.02deg, |
103 | | - $brand-700, |
104 | | - $brand-700 10%, |
105 | | - $brand 10%, |
106 | | - $brand 90%, |
107 | | - $primary-700 90%, |
108 | | - $primary-700 100%, |
| 103 | + var(--pgn-color-brand-700), |
| 104 | + var(--pgn-color-brand-700) 10%, |
| 105 | + var(--pgn-color-brand-base) 10%, |
| 106 | + var(--pgn-color-brand-base) 90%, |
| 107 | + var(--pgn-color-primary-700) 90%, |
| 108 | + var(--pgn-color-primary-700) 100%, |
109 | 109 | ); |
110 | 110 | background-repeat: no-repeat; |
111 | 111 | } |
112 | 112 | } |
113 | 113 |
|
114 | | -@include media-breakpoint-only('lg') { |
| 114 | +@media (--pgn-size-breakpoint-min-width-lg) and (--pgn-size-breakpoint-max-width-lg){ |
115 | 115 | .medium-screen-top-stripe { |
116 | 116 | display: flex; |
117 | 117 | height: 0.5rem; |
118 | 118 | background-image: linear-gradient( |
119 | 119 | 102.02deg, |
120 | | - $brand-700 10%, |
121 | | - $brand 10%, |
122 | | - $brand 65%, |
123 | | - $primary-700 65%, |
124 | | - $primary-700 75%, |
125 | | - $accent-a 75%, |
126 | | - $accent-a 75% |
| 120 | + var(--pgn-color-brand-700) 10%, |
| 121 | + var(--pgn-color-brand-base) 10%, |
| 122 | + var(--pgn-color-brand-base) 65%, |
| 123 | + var(--pgn-color-primary-700) 65%, |
| 124 | + var(--pgn-color-primary-700) 75%, |
| 125 | + var(--pgn-color-accent-a) 75%, |
| 126 | + var(--pgn-color-accent-a) 75% |
127 | 127 | ); |
128 | 128 | background-repeat: no-repeat; |
129 | 129 | } |
130 | 130 | } |
131 | 131 |
|
132 | 132 | .extra-large-screen-top-stripe { display: none; } |
133 | 133 |
|
134 | | -@include media-breakpoint-up('xl') { |
| 134 | +@media (--pgn-size-breakpoint-min-width-xl) { |
135 | 135 | .extra-large-screen-top-stripe { |
136 | 136 | display: flex; |
137 | 137 | height: 0.5rem; |
138 | 138 | background-image: linear-gradient( |
139 | 139 | 102.02deg, |
140 | | - $brand-700 10%, |
141 | | - $brand 10%, |
142 | | - $brand 45%, |
143 | | - $primary-700 45%, |
144 | | - $primary-700 55%, |
145 | | - $accent-a 55%, |
146 | | - $accent-a 75%, |
147 | | - $info-200 75%, |
| 140 | + var(--pgn-color-brand-700) 10%, |
| 141 | + var(--pgn-color-brand-base) 10%, |
| 142 | + var(--pgn-color-brand-base) 45%, |
| 143 | + var(--pgn-color-primary-700) 45%, |
| 144 | + var(--pgn-color-primary-700) 55%, |
| 145 | + var(--pgn-color-accent-a) 55%, |
| 146 | + var(--pgn-color-accent-a) 75%, |
| 147 | + var(--pgn-color-info-200) 75%, |
148 | 148 | ); |
149 | 149 | background-repeat: no-repeat; |
150 | 150 | } |
151 | 151 | } |
152 | 152 |
|
153 | 153 | .large-screen-svg-light, |
154 | 154 | .large-screen-svg-primary { |
155 | | - fill: $light-200; |
| 155 | + fill: var(--pgn-color-light-200); |
156 | 156 | overflow: hidden; |
157 | 157 | position: absolute; |
158 | 158 | } |
159 | 159 |
|
160 | 160 | .large-screen-svg-primary { |
161 | | - fill: $primary-400; |
| 161 | + fill: var(--pgn-color-primary-400); |
162 | 162 | } |
163 | 163 |
|
164 | 164 | .medium-screen-svg-light, |
165 | 165 | .medium-screen-svg-primary { |
166 | | - fill: $light-200; |
| 166 | + fill: var(--pgn-color-light-200); |
167 | 167 | overflow: inherit; |
168 | 168 | position: absolute; |
169 | 169 | } |
170 | 170 |
|
171 | 171 | .medium-screen-svg-primary { |
172 | | - fill: $primary-400; |
| 172 | + fill: var(--pgn-color-primary-400); |
173 | 173 | } |
174 | 174 |
|
175 | 175 | [dir=rtl]{ |
|
184 | 184 | .small-yellow-line { |
185 | 185 | width: 80px; |
186 | 186 | height: 0; |
187 | | - border: 2px solid $accent-b; |
| 187 | + border: 2px solid var(--pgn-color-accent-b); |
188 | 188 | transform: rotate(102.02deg); |
189 | 189 | } |
190 | 190 |
|
191 | 191 | .medium-yellow-line { |
192 | 192 | width: 120px; |
193 | 193 | height: 0; |
194 | | - border: 3px solid $accent-b; |
| 194 | + border: 3px solid var(--pgn-color-accent-b); |
195 | 195 | transform: rotate(102.02deg); |
196 | 196 | } |
197 | 197 |
|
198 | 198 | .large-yellow-line { |
199 | 199 | width: 240px; |
200 | 200 | height: 0; |
201 | | - border: 3px solid $accent-b; |
| 201 | + border: 3px solid var(--pgn-color-accent-b); |
202 | 202 | transform: rotate(102.02deg); |
203 | 203 | } |
0 commit comments