7bdd83315cfc142083a9f818f04b74ea708bd13c
[wolnelektury.git] / src / wolnelektury / static / 2022 / more.scss
1 @import "styles/utils/mixins";
2
3 body.is-open {
4     height: 100%;
5     overflow-y: hidden;
6 }
7
8 .l-change-pop {
9     margin-top: 18px;
10 }
11 .is-open .l-change-pop {
12     height: auto;
13     margin-top: 18px;
14     padding: 10px 50px;
15 }
16
17 .l-navigation__logo {
18     height: 44px;
19 }
20
21 .l-navigation__menu {
22     .scrollable {
23         height: 100%;
24         overflow-y: scroll;
25         padding-bottom: 30px;
26     }
27 }
28
29 .l-navigation__menu__links ul li a em {
30     font-style: normal;
31     color: #FFA500;
32     font-weight: 600;
33 }
34
35 .l-collections .l-books {
36     width: 100%;
37 }
38 .l-books, .l-books__grid {
39     @include rwd($break-wide) {
40         //justify-content: space-between;
41         gap: 20px;
42         .l-books__item {
43             margin: 0;
44         }
45     }
46 }
47
48 .slick-track {
49     margin: 0;
50
51     .l-books__item {
52         @include rwd($break-wide) {
53
54             width: 214.5px;
55             margin-left: 17px;
56             margin-right: 0;
57             &:first-of-type {
58                 margin-left: 0px;
59             }
60         }
61     }
62 }
63
64
65
66 .l-books__item {
67     //transition: opacity .1s, all cubic-bezier(0.25, 1, 0.5, 1) 350ms;
68
69     width: 100%;
70     padding: 5.28vw;
71
72     @include rwd($B2) {
73         width: calc(50vw - 32px/2 - 10px);
74         padding: 3.8vw;
75     }
76     @include rwd($B3) {
77         width: calc(33.33vw - 32px/3 - 10px);
78         padding: 2.73vw;
79     }
80     @include rwd($B4) {
81         width: calc(25vw - 32px/4 - 10px);
82         padding: 2.1vw;
83     }
84
85     @include rwd($B5) {
86         width: calc(20vw - 32px/5 - 10px);
87         padding: 1.63vw;
88     }
89
90     @include rwd($break-wide) {
91         width: 212px;
92         padding: 21px;
93     }
94 }
95
96
97
98
99
100 .by-popularity {
101     .l-books__item {
102         order: attr(data-pop);
103     }
104 }
105
106
107
108 .toggle-input {
109     left: calc(50% - 77px/2);
110     opacity: 0;
111     position: absolute;
112     //top: 0;
113     height: 26px;
114     width: 77px;
115     z-index: 2;
116
117     &:checked {
118         z-index: 0;
119     }
120 }
121
122 .l-checkout__box {
123     position: relative;
124 }
125
126
127 .l-checkout__footer__content__item > div ul {
128   font-weight: normal;
129   font-size: 15px;
130   line-height: 150%;
131   color: #808080;
132 }
133
134
135 .l-checkout__form__row {
136     .iframe {
137         margin-bottom: 16px;
138     }
139 }
140
141
142
143 .l-books__item__content {
144     width: 100%;
145    
146     .fragment-text {
147         max-width: 390px;
148         margin-top: 20px;
149         font-weight: 400;
150         font-size: 18px;
151         font-size: 1.125rem;
152         line-height: 150%;
153         color: #474747;
154         
155         h1, h2, h3, h4 {
156             font-size: 1em;
157         }
158     }
159 }
160
161
162
163 #user-menu {
164     //display: none;
165
166     position:absolute;
167     top: 60px;
168     z-index: 1;
169
170     position: absolute;
171     width: 186px;
172     top: 48px;
173     right: 45px;
174
175     /* yellow 900 */
176     background: #F7BA00;
177     box-shadow: 0px 0px 20px rgba(1, 129, 137, 0.2);
178     border-radius: 10px;
179     overflow: hidden;
180
181     opacity:0;
182     pointer-events: none;
183     transition: 200ms opacity;
184     
185     &.is-open {
186         //display: block;
187         pointer-events: all;
188         opacity: 100%;
189     }
190
191     ul {
192         margin: 0;
193         padding: 0;
194         list-style: none;
195
196         li {
197             a {
198                 color: #474747;
199                 display: block;
200                 line-height: 27px;
201                 padding: 8px 21px;
202                 &:hover {
203                     color: #474747;
204                     background: #EDAA00;
205                 }
206
207                 strong {
208                     font-weight: 600;
209                 }
210             }
211         }
212     }
213 }
214
215
216 form {
217     label.required:before {
218         content: "* ";
219         color: #FF4C54;
220     }
221     .helptext {
222         color: #808080;
223         font-size: 15px;
224         line-height: 150%;
225         margin-bottom: 30px;
226     }
227
228 }
229
230 .socialaccount_providers {
231     list-style: none;
232     padding: 0;
233
234     li {
235         display: inline-block;
236         margin-right: 10px;
237     }
238 }
239
240
241
242
243
244 .experiment {
245     display: flex;
246     align-items: center;
247 }
248
249
250
251 .funding-promo-bar {
252     margin: 18px auto;
253
254     .l-checkout__support {
255         margin: 0;
256         a {
257             display: flex;
258             align-items: start;
259
260             .buttonlike {
261                 margin-right: 10px;
262                 background: #FFA500;
263                 //color: #083F4D;
264                 color: black;
265                 border-radius: 5px;
266                 font-size: 1.125rem;
267                 line-height: 50px;
268                 letter-spacing: -0.01em;
269                 padding: 0 20px;
270                 font-weight: 600;
271                 transition: all cubic-bezier(0.25, 1, 0.5, 1) 350ms;
272                 &:hover {
273                     background: #92BD39;
274                 }
275             }
276             .funding-bar-container {
277                 flex-grow: 1;
278             }
279         }
280     }
281 }
282
283 .l-checkout__support__bar {
284     overflow: hidden;
285 }
286
287
288 .l-change-pop {
289     margin-bottom: 18px;
290 }
291
292
293 .poll-bar {
294     height: 10px;
295     width: 100%;
296     display: block;
297     border-radius: 5px;
298     position: relative;
299     overflow: hidden;
300
301     .poll-bar-inner {
302       height: 100%;
303       position: absolute;
304       border-radius: 5px;
305       background-color: #006066;
306       top: 0; left: 0;
307     }
308 }