l-min-components 1.0.705 → 1.0.708

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,9 @@
1
1
  import styled from "styled-components";
2
2
  import { FaArrowRight } from "react-icons/fa";
3
- import BannerImg from "../assets/Vector19.png"
3
+ import BannerImg from "../assets/Vector19.png";
4
4
  import InstructorBanner from "../assets/newLanguage.png";
5
5
  import UpgradeIcon from "../assets/Feature.png";
6
6
 
7
-
8
7
  export const InstructorContainer = styled.div`
9
8
  background: #fff;
10
9
  max-width: 232px;
@@ -15,11 +14,30 @@ export const InstructorContainer = styled.div`
15
14
  padding: 10px 0px;
16
15
  border-radius: 30px;
17
16
 
18
- .library_img{
17
+ .library_img {
19
18
  padding: 10px;
20
19
  margin-top: 20px;
21
20
  }
22
21
 
22
+ /* GRACE PERIOD AND DEACTIVATED */
23
+
24
+ &.grace_period {
25
+ border-radius: 30.913px;
26
+ border: 0.773px solid var(--Neutral-20, #dfe5e5);
27
+ background: var(--Neutral-20, #dfe5e5);
28
+
29
+ > div {
30
+ border-radius: 30.913px;
31
+ border: 0.773px solid var(--Neutral-20, #dfe5e5);
32
+ background: var(--Neutral-20, #dfe5e5);
33
+
34
+ > button {
35
+ border-radius: 12px;
36
+ background: var(--Neutral-50, #949999);
37
+ box-shadow: 0px 10px 20px 0px rgba(254, 191, 16, 0.25);
38
+ }
39
+ }
40
+ }
23
41
  `;
24
42
 
25
43
  export const Container = styled.div`
@@ -30,12 +48,11 @@ export const Container = styled.div`
30
48
  text-align: center;
31
49
  flex-direction: column;
32
50
  padding: 10px;
33
- border-radius: 30px;
51
+ border-radius: 30px;
34
52
 
35
- &.user_banner{
53
+ &.user_banner {
36
54
  background-color: #fff;
37
55
  }
38
-
39
56
  `;
40
57
 
41
58
  export const BannerWrapper = styled.div`
@@ -43,8 +60,8 @@ export const BannerWrapper = styled.div`
43
60
  max-width: 232px;
44
61
  padding: 15px 16px 21px;
45
62
  overflow: hidden;
46
- border-radius: 30px;
47
- background: #FFF;
63
+ border-radius: 30px;
64
+ background: #fff;
48
65
  display: flex;
49
66
  flex-direction: column;
50
67
  /* justify-content: center; */
@@ -55,13 +72,13 @@ export const BannerWrapper = styled.div`
55
72
  background-repeat: no-repeat;
56
73
  background-position: bottom right;
57
74
  background-size: contain;
58
- border: none;
75
+ border: none;
59
76
  margin-bottom: 20px;
60
77
  width: 100%;
61
78
 
62
- .head_instructor{
79
+ .head_instructor {
63
80
  width: 100%;
64
- h3{
81
+ h3 {
65
82
  color: var(--Neutral-90, #313333);
66
83
  font-family: Nunito;
67
84
  font-size: 13.911px;
@@ -70,13 +87,13 @@ export const BannerWrapper = styled.div`
70
87
  line-height: 15.457px; /* 111.111% */
71
88
  letter-spacing: 0.278px;
72
89
 
73
- &.personal_head{
90
+ &.personal_head {
74
91
  text-align: left;
75
92
  }
76
93
  }
77
94
  }
78
95
 
79
- .head_enterprise{
96
+ .head_enterprise {
80
97
  text-align: left;
81
98
  color: var(--Neutral-90, #313333);
82
99
  font-family: Nunito;
@@ -86,7 +103,7 @@ export const BannerWrapper = styled.div`
86
103
  line-height: 15.457px; /* 111.111% */
87
104
  letter-spacing: 0.278px;
88
105
 
89
- h3{
106
+ h3 {
90
107
  color: var(--Neutral-90, #313333);
91
108
  font-family: Nunito;
92
109
  font-size: 13.911px;
@@ -97,12 +114,12 @@ export const BannerWrapper = styled.div`
97
114
  }
98
115
  }
99
116
 
100
- .head{
117
+ .head {
101
118
  display: flex;
102
119
  align-items: center;
103
120
  margin-bottom: 10px;
104
121
 
105
- h3{
122
+ h3 {
106
123
  color: var(--neutral-70, #636666);
107
124
  font-family: Nunito;
108
125
  font-size: 16px;
@@ -112,7 +129,7 @@ export const BannerWrapper = styled.div`
112
129
  letter-spacing: 0.32px;
113
130
  margin-right: 10px;
114
131
  }
115
- p{
132
+ p {
116
133
  color: var(--neutral-50, #949999);
117
134
  font-family: Nunito;
118
135
  font-size: 12px;
@@ -122,7 +139,6 @@ export const BannerWrapper = styled.div`
122
139
  letter-spacing: 0.24px;
123
140
  }
124
141
  }
125
-
126
142
  `;
127
143
 
128
144
  export const BannerTitle = styled.h1`
@@ -130,14 +146,13 @@ export const BannerTitle = styled.h1`
130
146
  margin: 0;
131
147
  font-weight: 800;
132
148
  line-height: 42px;
133
- color: #00C2C2;
134
-
149
+ color: #00c2c2;
135
150
  `;
136
151
 
137
152
  export const BannerSubtitle = styled.p`
138
153
  font-size: 18px;
139
154
  margin: 29px 0;
140
- color: #00C2C2;
155
+ color: #00c2c2;
141
156
  font-weight: 600;
142
157
  `;
143
158
 
@@ -146,9 +161,9 @@ export const BannerImage = styled.img`
146
161
  max-width: 800px;
147
162
  margin-bottom: -15px;
148
163
  margin-top: -10px;
149
- opacity: 2;
150
- display: block;
151
- opacity: 1.0;
164
+ opacity: 2;
165
+ display: block;
166
+ opacity: 1;
152
167
  `;
153
168
 
154
169
  export const BannerCTA = styled.button`
@@ -162,7 +177,7 @@ export const BannerCTA = styled.button`
162
177
  align-items: center;
163
178
  transition: all 0.2s ease-in-out;
164
179
  margin: auto 0 10px;
165
- opacity: 1.0;
180
+ opacity: 1;
166
181
 
167
182
  &:hover {
168
183
  background-color: #0062cc;
@@ -182,103 +197,119 @@ export const AbsoluteSVG = styled.svg`
182
197
  height: auto;
183
198
  `;
184
199
 
185
-
186
200
  export const Upgrade = styled.div`
187
- padding: 10px;
188
- margin-top: 20px;
189
-
190
- .container{
191
- /* background-color: #fff; */
192
- border-radius: 23.185px;
193
- background: var(--Neutral-10, #F5F7F7);
194
- width: 100%;
195
- max-width: 232px;
196
- padding: 10px 0px;
197
- /* border-radius: 30px; */
198
- display: flex;
199
- flex-direction: column;
200
- justify-content: center;
201
- align-items: center;
202
- margin-top: 20px;
203
-
204
- img{
205
- object-fit: cover;
206
- margin-top: -27%;
207
- }
208
-
209
- .upgrade_text{
210
- background: rgba(0,194,194,0.1);
211
- border-radius: 5px;
212
- padding: 5px;
213
- height: 32px;
214
- width: 100%;
215
- margin-bottom: 10px;
216
- margin-top: -10px;
217
- display: flex;
218
- justify-content: center;
219
- align-items: center;
201
+ padding: 10px;
202
+ margin-top: 20px;
220
203
 
221
- p{
222
- color: var(--Neutral-90, #313333);
223
- text-align: center;
224
- font-family: Nunito;
225
- font-size: 14px;
226
- font-style: normal;
227
- font-weight: 500;
204
+ .container {
205
+ /* background-color: #fff; */
206
+ border-radius: 23.185px;
207
+ background: var(--Neutral-10, #f5f7f7);
228
208
  width: 100%;
209
+ max-width: 232px;
210
+ padding: 10px 0px;
211
+ /* border-radius: 30px; */
212
+ display: flex;
213
+ flex-direction: column;
214
+ justify-content: center;
215
+ align-items: center;
216
+ margin-top: 20px;
217
+
218
+ img {
219
+ object-fit: cover;
220
+ margin-top: -27%;
221
+ }
222
+
223
+ .upgrade_text {
224
+ background: rgba(0, 194, 194, 0.1);
225
+ border-radius: 5px;
226
+ padding: 5px;
227
+ height: 32px;
228
+ width: 100%;
229
+ margin-bottom: 10px;
230
+ margin-top: -10px;
231
+ display: flex;
232
+ justify-content: center;
233
+ align-items: center;
234
+
235
+ p {
236
+ color: var(--Neutral-90, #313333);
237
+ text-align: center;
238
+ font-family: Nunito;
239
+ font-size: 14px;
240
+ font-style: normal;
241
+ font-weight: 500;
242
+ width: 100%;
243
+ }
244
+ }
245
+
246
+ .reminder {
247
+ color: var(--Neutral-70, #636666);
248
+ text-align: center;
249
+ font-family: Nunito;
250
+ font-size: 14px;
251
+ font-style: normal;
252
+ font-weight: 400;
253
+ width: 100%;
254
+ }
255
+
256
+ p {
257
+ color: var(--neutral-80, #4a4d4d);
258
+ text-align: center;
259
+ font-family: Nunito;
260
+ font-size: 11.592px;
261
+ font-style: normal;
262
+ font-weight: 700;
263
+ line-height: normal;
264
+ letter-spacing: 0.773px;
265
+ width: 70%;
266
+ text-align: center;
267
+ margin-top: 0px;
229
268
 
269
+ span {
270
+ color: var(--primary-color-main, #febf10);
271
+ font-family: Nunito;
272
+ font-size: 11.592px;
273
+ font-style: normal;
274
+ font-weight: 700;
275
+ line-height: normal;
276
+ letter-spacing: 0.773px;
277
+ }
278
+ }
230
279
  }
231
- }
232
280
 
233
- .reminder{
234
- color: var(--Neutral-70, #636666);
235
- text-align: center;
236
- font-family: Nunito;
237
- font-size: 14px;
238
- font-style: normal;
239
- font-weight: 400;
240
- width: 100%;
241
- }
281
+ &.deactivated {
282
+ .container {
283
+ border-radius: 23.185px;
284
+ background: var(--Neutral-30, #c6cccc);
242
285
 
243
- p{
244
- color: var(--neutral-80, #4A4D4D);
245
- text-align: center;
246
- font-family: Nunito;
247
- font-size: 11.592px;
248
- font-style: normal;
249
- font-weight: 700;
250
- line-height: normal;
251
- letter-spacing: 0.773px;
252
- width: 70%;
253
- text-align: center;
254
- margin-top: 0px;
286
+ .upgrade_text {
287
+ border-radius: 23.185px;
288
+ background: var(--Neutral-30, #c6cccc);
289
+ }
255
290
 
256
- span{
257
- color: var(--primary-color-main, #FEBF10);
258
- font-family: Nunito;
259
- font-size: 11.592px;
260
- font-style: normal;
261
- font-weight: 700;
262
- line-height: normal;
263
- letter-spacing: 0.773px;
291
+ > button {
292
+ border-radius: 12px;
293
+ background: var(--Neutral-50, #949999);
294
+ box-shadow: 0px 10px 20px 0px rgba(254, 191, 16, 0.25);
295
+ }
296
+ }
264
297
  }
265
- }
266
- }
267
298
  `;
268
299
 
269
300
  export const Users = styled.div`
270
301
  border-radius: 20px;
271
- background: #F5F7F7;
302
+ background: #f5f7f7;
272
303
  padding: 20px;
273
304
  width: 100%;
274
305
 
275
- .top{
306
+ .top {
276
307
  display: flex;
277
308
  justify-content: space-between;
278
309
  align-items: center;
279
310
  margin-bottom: 10px;
280
311
 
281
- h4{
312
+ h4 {
282
313
  color: var(--neutral-70, #636666);
283
314
  font-size: 14px;
284
315
  font-style: normal;
@@ -286,8 +317,8 @@ export const Users = styled.div`
286
317
  line-height: 40px; /* 285.714% */
287
318
  letter-spacing: 0.28px;
288
319
  }
289
- p{
290
- color: var(--secondary-color-main, #00C2C2);
320
+ p {
321
+ color: var(--secondary-color-main, #00c2c2);
291
322
  font-family: Nunito;
292
323
  font-size: 14px;
293
324
  font-style: normal;
@@ -296,61 +327,57 @@ export const Users = styled.div`
296
327
  }
297
328
  }
298
329
 
299
- .table{
330
+ .table {
300
331
  display: flex;
301
332
  flex-direction: column;
302
333
 
303
- .user{
334
+ .user {
304
335
  display: flex;
305
336
  /* align-items: center; */
306
337
  margin-top: 10px;
307
338
  justify-content: space-between;
308
- img{
339
+ img {
309
340
  margin-right: 10px;
310
341
  }
311
342
 
312
- .text{
343
+ .text {
313
344
  display: flex;
314
345
  flex-direction: column;
315
346
  align-items: flex-start;
316
347
  justify-content: start;
317
348
  margin-right: 10px;
318
-
319
-
320
- h3{
321
- color: var(--neutral-90, #313333);
322
- font-size: 13px;
323
- font-style: normal;
324
- font-weight: 600;
325
- line-height: normal;
326
- letter-spacing: 0.28px;
327
- }
328
349
 
329
- P{
330
- color: var(--neutral-90, #313333);
331
- font-size: 12px;
332
- font-style: normal;
333
- font-weight: 500;
334
- line-height: normal;
335
- letter-spacing: 0.24px;
336
- }
350
+ h3 {
351
+ color: var(--neutral-90, #313333);
352
+ font-size: 13px;
353
+ font-style: normal;
354
+ font-weight: 600;
355
+ line-height: normal;
356
+ letter-spacing: 0.28px;
357
+ }
358
+
359
+ P {
360
+ color: var(--neutral-90, #313333);
361
+ font-size: 12px;
362
+ font-style: normal;
363
+ font-weight: 500;
364
+ line-height: normal;
365
+ letter-spacing: 0.24px;
366
+ }
337
367
  }
338
-
339
-
340
368
  }
341
369
  }
342
-
343
370
  `;
344
371
 
345
372
  export const UploadProgressContainer = styled.div`
346
373
  border-radius: 30px;
347
- background: var(--white, #FFF);
374
+ background: var(--white, #fff);
348
375
  padding: 10px;
349
376
  width: 100%;
350
377
  margin-bottom: 20px;
351
- .upload_icon{
378
+ .upload_icon {
352
379
  margin-bottom: 10px;
353
- p{
380
+ p {
354
381
  color: var(--neutral-70, #636666);
355
382
  font-size: 16px;
356
383
  font-style: normal;
@@ -359,19 +386,18 @@ export const UploadProgressContainer = styled.div`
359
386
  letter-spacing: 0.32px;
360
387
  }
361
388
 
362
- img{
389
+ img {
363
390
  width: 69px;
364
- height: 53px;
391
+ height: 53px;
365
392
  }
366
393
  }
367
-
368
- .progress{
369
394
 
370
- .text{
395
+ .progress {
396
+ .text {
371
397
  display: flex;
372
398
  justify-content: space-between;
373
399
 
374
- h5{
400
+ h5 {
375
401
  color: var(--neutral-70, #636666);
376
402
  font-family: Nunito;
377
403
  font-size: 12px;
@@ -380,7 +406,7 @@ export const UploadProgressContainer = styled.div`
380
406
  line-height: 40px; /* 333.333% */
381
407
  letter-spacing: 0.24px;
382
408
  }
383
- p{
409
+ p {
384
410
  color: var(--neutral-70, #636666);
385
411
  font-family: Nunito;
386
412
  font-size: 12px;
@@ -391,12 +417,11 @@ export const UploadProgressContainer = styled.div`
391
417
  }
392
418
  }
393
419
  }
394
-
395
- `
420
+ `;
396
421
 
397
422
  export const NewLanguage = styled.div`
398
423
  background-image: url(${InstructorBanner});
399
- background-size: cover;
424
+ background-size: cover;
400
425
  background-repeat: no-repeat;
401
426
  margin-top: 10px;
402
427
  width: 100%;
@@ -407,38 +432,36 @@ export const NewLanguage = styled.div`
407
432
  gap: 60px;
408
433
  padding: 10px;
409
434
  margin-bottom: 10px;
410
- border-radius: 18.548px;
411
-
412
- .top_section{
435
+ border-radius: 18.548px;
436
+
437
+ .top_section {
413
438
  display: flex;
414
439
  justify-content: space-between;
415
440
  align-items: center;
416
-
417
441
 
418
- .lession_cont{
442
+ .lession_cont {
419
443
  display: flex;
420
444
  align-items: center;
421
445
  border-radius: 6.183px;
422
446
  background: rgba(12, 13, 13, 0.1);
423
447
  padding: 3px;
424
448
 
425
- p{
426
- color: var(--white, #FFF);
449
+ p {
450
+ color: var(--white, #fff);
427
451
  font-family: Nunito;
428
452
  font-size: 10.82px;
429
453
  font-style: normal;
430
454
  font-weight: 700;
431
455
  line-height: 17.002px; /* 157.143% */
432
456
  letter-spacing: 0.216px;
433
-
434
457
  }
435
458
 
436
- svg{
437
- margin-right: 4px;;
459
+ svg {
460
+ margin-right: 4px;
438
461
  }
439
462
  }
440
463
 
441
- .flag_cont{
464
+ .flag_cont {
442
465
  border-radius: 6.183px;
443
466
  background: rgba(12, 13, 13, 0.1);
444
467
  padding: 3px;
@@ -448,12 +471,12 @@ export const NewLanguage = styled.div`
448
471
  }
449
472
  }
450
473
 
451
- .buttom_section{
474
+ .buttom_section {
452
475
  display: flex;
453
476
  justify-content: start;
454
477
 
455
- p{
456
- color: var(--white, #FFF);
478
+ p {
479
+ color: var(--white, #fff);
457
480
  font-family: Nunito;
458
481
  font-size: 14.911px;
459
482
  font-style: normal;
@@ -463,7 +486,7 @@ export const NewLanguage = styled.div`
463
486
  }
464
487
  }
465
488
 
466
- &.courses_personal{
489
+ &.courses_personal {
467
490
  display: flex;
468
491
  flex-direction: column;
469
492
  justify-content: center;
@@ -473,125 +496,120 @@ export const NewLanguage = styled.div`
473
496
  /* height: 140px; */
474
497
  /* width: 90%; */
475
498
 
476
- h3{
477
- color: var(--white, #FFF);
499
+ h3 {
500
+ color: var(--white, #fff);
478
501
  font-family: Nunito;
479
502
  font-size: 20.313px;
480
503
  font-style: normal;
481
504
  font-weight: 700;
482
505
  line-height: 16.313px; /* 100% */
483
506
  letter-spacing: 0.326px;
484
- text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
507
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
485
508
  }
486
- .line{
509
+ .line {
487
510
  display: flex;
488
511
  align-items: center;
489
512
  width: 90%;
490
513
 
491
- span{
492
- color: var(--neutral-80, #fff);
493
- text-align: center;
494
- font-family: Nunito;
495
- font-size: 13px;
496
- font-style: normal;
497
- font-weight: 700;
498
- line-height: 24px; /* 150% */
499
- letter-spacing: 0.32px;
500
- margin-left: 10px;
501
- }
502
-
503
-
504
- }
505
- }
506
- `
507
-
508
- export const RecentAdded = styled.div`
509
- display: flex;
510
- flex-direction: column;
511
- padding: 10px 20px;
512
- margin-top: -30px;
513
-
514
- &.personal_added{
515
- margin-bottom: 30px;
516
- }
517
- &.courses{
518
- margin-top: 30px;
519
- }
520
- &.personal_courses{
521
- margin-top: 5px;
522
- margin-bottom: 20px;
523
- }
524
- .top_area{
525
- display: flex;
526
- justify-content: space-between;
527
- align-items: center;
528
- margin-bottom: 10px;
529
-
530
- h5{
531
- color: var(--Neutral-90, #313333);
514
+ span {
515
+ color: var(--neutral-80, #fff);
516
+ text-align: center;
532
517
  font-family: Nunito;
533
- font-size: 13.911px;
534
- font-style: normal;
535
- font-weight: 700;
536
- line-height: 15.457px; /* 111.111% */
537
- letter-spacing: 0.278px;
538
- /* cursor: pointer; */
539
- }
540
-
541
- p{
542
- color: var(--Primary-color-main, #FEBF10);
543
- font-family: Nunito;
544
- font-size: 12px;
518
+ font-size: 13px;
545
519
  font-style: normal;
546
520
  font-weight: 700;
547
- line-height: 15.457px; /* 128.804% */
548
- letter-spacing: 0.24px;
549
- cursor: pointer;
521
+ line-height: 24px; /* 150% */
522
+ letter-spacing: 0.32px;
523
+ margin-left: 10px;
550
524
  }
551
525
  }
552
- .users_list {
526
+ }
527
+ `;
528
+
529
+ export const RecentAdded = styled.div`
553
530
  display: flex;
554
- gap: 12px;
555
- }
531
+ flex-direction: column;
532
+ padding: 10px 20px;
533
+ margin-top: -30px;
556
534
 
557
- .course_list{
558
- display: grid;
559
- justify-content: center;
560
- align-items: center;
535
+ &.personal_added {
536
+ margin-bottom: 30px;
537
+ }
538
+ &.courses {
539
+ margin-top: 30px;
540
+ }
541
+ &.personal_courses {
542
+ margin-top: 5px;
543
+ margin-bottom: 20px;
544
+ }
545
+ .top_area {
546
+ display: flex;
547
+ justify-content: space-between;
548
+ align-items: center;
549
+ margin-bottom: 10px;
561
550
 
562
- .course{
551
+ h5 {
552
+ color: var(--Neutral-90, #313333);
553
+ font-family: Nunito;
554
+ font-size: 13.911px;
555
+ font-style: normal;
556
+ font-weight: 700;
557
+ line-height: 15.457px; /* 111.111% */
558
+ letter-spacing: 0.278px;
559
+ /* cursor: pointer; */
560
+ }
563
561
 
562
+ p {
563
+ color: var(--Primary-color-main, #febf10);
564
+ font-family: Nunito;
565
+ font-size: 12px;
566
+ font-style: normal;
567
+ font-weight: 700;
568
+ line-height: 15.457px; /* 128.804% */
569
+ letter-spacing: 0.24px;
570
+ cursor: pointer;
571
+ }
572
+ }
573
+ .users_list {
574
+ display: flex;
575
+ gap: 12px;
564
576
  }
565
- }
566
577
 
567
- .user {
568
- position: relative; /* Make the parent container relative */
569
- width: 40px;
570
- height: 40px;
571
- }
578
+ .course_list {
579
+ display: grid;
580
+ justify-content: center;
581
+ align-items: center;
572
582
 
573
- .user::before {
574
- content: "";
575
- position: absolute;
576
- width: 8px;
577
- height: 8px;
578
- background-color: #30D468;
579
- border-radius: 50%;
580
- bottom: 0;
581
- right: 0;
582
- }
583
+ .course {
584
+ }
585
+ }
583
586
 
584
- .user:nth-child(2)::before {
585
- background-color: #F39B33;
586
- }
587
+ .user {
588
+ position: relative; /* Make the parent container relative */
589
+ width: 40px;
590
+ height: 40px;
591
+ }
587
592
 
588
- .user:nth-child(3)::before {
589
- background-color: #30D468;
590
- }
593
+ .user::before {
594
+ content: "";
595
+ position: absolute;
596
+ width: 8px;
597
+ height: 8px;
598
+ background-color: #30d468;
599
+ border-radius: 50%;
600
+ bottom: 0;
601
+ right: 0;
602
+ }
591
603
 
592
- .user:nth-child(4)::before {
593
- background-color: #C6CCCC;
594
- }
604
+ .user:nth-child(2)::before {
605
+ background-color: #f39b33;
606
+ }
595
607
 
608
+ .user:nth-child(3)::before {
609
+ background-color: #30d468;
610
+ }
596
611
 
597
- `;
612
+ .user:nth-child(4)::before {
613
+ background-color: #c6cccc;
614
+ }
615
+ `;