PluginProbe
Amedea – Unique Design Elements for Elementor / trunk
Amedea – Unique Design Elements for Elementor vtrunk
trunk 0.0.4.7
amedea / assets / css / fullscreen-menu.css

fullscreen-menu.css in Amedea – Unique Design Elements for Elementor trunk, at assets/css/fullscreen-menu.css

939 lines 9.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*
2
3
4
5 Author : Amedea
6
7 Author URI : https://amedeapro.com
8
9 Author : Moskva Yigit
10
11 Author URI : http://moskvayigit.com
12
13 Version : 0.0.3.9
14
15
16
17 Table of Contents
18
19 - Fullscreen Menu
20
21
22
23 */
24
25
26
27 /*----------------------------
28
29 .-- Fullscreen Menu
30
31 -----------------------------*/
32
33
34
35 .fullscreen-menu {
36
37 position:absolute;
38
39 width:100vw;
40
41 left: -50vw;
42
43 display: grid;
44
45 grid-template-columns: 100%;
46
47 grid-template-rows: 100vh;
48
49 overflow: hidden;
50
51 font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
52
53 }
54
55
56
57 .fullscreen-menu.z-index--fix {
58
59 z-index: 10;
60
61 overflow: hidden;
62
63 }
64
65
66
67 .dark .frame--menu-open .fullscreen-menu__frame__heading {
68
69 filter:invert(100);
70
71 }
72
73
74
75 .dark .fullscreen-menu__menu__item:hover .fullscreen-menu__menu__item-tiny {
76
77 color: #fff;
78
79 }
80
81
82
83 .light .fullscreen-menu__menu__item:hover .fullscreen-menu__menu__item-tiny {
84
85 color: #000;
86
87 }
88
89
90
91 .fullscreen-menu__menu__item-text {
92
93 color: var(--color-menu);
94
95 }
96
97
98
99 .fullscreen-menu__menu__item:hover .fullscreen-menu__menu__item-text {
100
101 color: var(--color-menu-hover);
102
103 }
104
105
106
107 .dark .fullscreen-menu__button-close svg {
108
109 stroke: #fff;
110
111 fill: #fff;
112
113 }
114
115
116
117 .light .fullscreen-menu__button-close svg{
118
119 stroke: #000;
120
121 fill: #000;
122
123 }
124
125
126
127 .dark ul.fullscreen-menu__social-icons li a {
128
129 color: #fff;
130
131 }
132
133
134
135 .light ul.fullscreen-menu__social-icons li a {
136
137 color: #000;
138
139 }
140
141
142
143 .unbutton {
144
145 background: none;
146
147 border: 0;
148
149 padding: 0;
150
151 margin: 0;
152
153 font: inherit;
154
155 cursor: pointer;
156
157 }
158
159
160
161 .unbutton:focus {
162
163 outline: none;
164
165 }
166
167
168
169 .fullscreen-menu__hover-line {
170
171 white-space: nowrap;
172
173 overflow: hidden;
174
175 position: relative;
176
177 display: inline-block;
178
179 }
180
181
182
183 .fullscreen-menu__hover-line::before {
184
185 content: '';
186
187 height: 1px;
188
189 width: 100%;
190
191 background: currentColor;
192
193 position: absolute;
194
195 top: 92%;
196
197 transition: transform 0.3s;
198
199 transform-origin: 0% 50%;
200
201 }
202
203
204
205 .fullscreen-menu__hover-line:hover::before {
206
207 transform: scaleX(0);
208
209 transform-origin: 100% 50%;
210
211 }
212
213
214
215 .fullscreen-menu__frame {
216
217 grid-area: 1 / 1 / 2 / 2;
218
219 z-index: 100;
220
221 display: grid;
222
223 align-content: space-between;
224
225 align-items: center;
226
227 height: 100vh;
228
229 padding: 1rem 1rem 0.5rem 1rem;
230
231 pointer-events: none;
232
233 font-size: 1rem;
234
235 grid-template-columns: repeat(4,25%);
236
237 grid-template-rows: auto auto 1fr auto;
238
239 grid-template-areas: 'author heading heading button'
240
241 '... ... ... ...'
242
243 'links links links links'
244
245 'title title title title';
246
247 }
248
249
250
251 .fullscreen-menu__frame__title {
252
253 grid-area: title;
254
255 font-size: inherit;
256
257 font-weight: normal;
258
259 margin: 0.5rem 0 0;
260
261 justify-self: center;
262
263 }
264
265
266
267 .fullscreen-menu__frame__links {
268
269 grid-area: links;
270
271 display: flex;
272
273 flex-wrap: wrap;
274
275 justify-self: center;
276
277 align-self: end;
278
279 }
280
281
282
283 .fullscreen-menu__frame__links a {
284
285 margin: 0 0.5rem;
286
287 }
288
289
290
291 .fullscreen-menu__frame__author {
292
293 margin: 0;
294
295 grid-area: author;
296
297 }
298
299
300
301 .fullscreen-menu__frame__button {
302
303 justify-self: end;
304
305 grid-area: button;
306
307 }
308
309
310
311 .frame--menu-open .fullscreen-menu__frame__author {
312
313 opacity: 0;
314
315 pointer-events: none;
316
317 }
318
319
320
321 .fullscreen-menu__frame__heading {
322
323 grid-area: heading;
324
325 text-align: center;
326
327 margin: 15px auto;
328
329 display: flex;
330
331 flex-direction: column;
332
333 white-space: nowrap;
334
335 justify-self: center;
336
337 }
338
339
340
341 .fullscreen-menu__frame__heading-main {
342
343 line-height: 1;
344
345 display: block;
346
347 font-size: 1.5rem;
348
349 }
350
351
352
353 .fullscreen-menu__frame__heading-sub {
354
355 font-size: 0.75rem;
356
357 line-height: 1;
358
359 }
360
361
362
363 .frame--menu-open .fullscreen-menu__frame__heading-sub {
364
365 pointer-events: none;
366
367 opacity: 0;
368
369 }
370
371
372
373 .fullscreen-menu__frame a,
374
375 .fullscreen-menu__frame button {
376
377 pointer-events: auto;
378
379 }
380
381
382
383 .fullscreen-menu__button-menu {
384
385 width: 27px;
386
387 height: 27px;
388
389 margin: 27px;
390
391 display: inline-grid;
392
393 place-items: center;
394
395 }
396
397
398
399 .fullscreen-menu__button-menu svg {
400
401 transition: transform 0.5s ease;
402
403 }
404
405
406
407 .frame--menu-open .fullscreen-menu__button-menu {
408
409 opacity: 0;
410
411 pointer-events: none;
412
413 }
414
415
416
417 .fullscreen-menu__button-enter {
418
419 margin-top: 4vh;
420
421 cursor: not-allowed;
422
423 transition: transform 0.5s ease;
424
425 }
426
427
428
429 .fullscreen-menu__button-enter:hover {
430
431 transform: translateX(15px) rotate(-40deg);
432
433 }
434
435
436
437 .fullscreen-menu__menu-wrap {
438
439 grid-area: 1 / 1 / 2 / 2;
440
441 display: grid;
442
443 grid-template-columns: 100%;
444
445 grid-template-rows: 100vh;
446
447 position: relative;
448
449 background: var(--color-bg-menu);
450
451 pointer-events: none;
452
453 opacity: 0;
454
455 }
456
457
458
459 .fullscreen-menu__menu-wrap.menu-wrap--open {
460
461 pointer-events: auto;
462
463 opacity: 1;
464
465 }
466
467
468
469 .fullscreen-menu__overlay {
470
471 grid-area: 1 / 1 / 2 / 2;
472
473 position: relative;
474
475 z-index: 1000;
476
477 pointer-events: none;
478
479 width: 100%;
480
481 height: 100%;
482
483 }
484
485
486
487 .fullscreen-menu__menu {
488
489 grid-area: 1 / 1 / 2 / 2;
490
491 display: flex;
492
493 flex-direction: column;
494
495 position: relative;
496
497 align-items: center;
498
499 justify-content: center;
500
501 height: 100%;
502
503 }
504
505
506
507 .fullscreen-menu__menu__item {
508
509 font-size: 8vw;
510
511 color: #fff;
512
513 cursor: pointer;
514
515 line-height: 1;
516
517 font-weight: 300;
518
519 text-align: right;
520
521 position: relative;
522
523 will-change: opacity, transform;
524
525 }
526
527
528
529 .fullscreen-menu__menu__item-tiny {
530
531 font-size: 1rem;
532
533 }
534
535
536
537 .fullscreen-menu__menu__item:nth-child(odd) {
538
539 margin-left: -10vw;
540
541 }
542
543
544
545 .fullscreen-menu__tiles {
546
547 position: absolute;
548
549 left: 50%;
550
551 top: 50%;
552
553 height: 150vh;
554
555 display: flex;
556
557 opacity: 0.5;
558
559 flex-direction: column;
560
561 justify-content: center;
562
563 transform: translate3d(-50%,-50%, 0) rotate(22.5deg);
564
565 }
566
567
568
569 .fullscreen-menu__tiles__line {
570
571 display: flex;
572
573 transform: translateX(25%);
574
575 animation: runner 10s linear infinite;
576
577 }
578
579
580
581 .fullscreen-menu__tiles__line:nth-child(2) {
582
583 animation-duration: 16s;
584
585 }
586
587
588
589 .fullscreen-menu__tiles__line:nth-child(3) {
590
591 animation-duration: 22s;
592
593 }
594
595
596
597 @keyframes runner {
598
599 to {
600
601 transform: translateX(-25%);
602
603 }
604
605 }
606
607
608
609 .fullscreen-menu__tiles__line-img {
610
611 --tile-margin: 3vw;
612
613 flex: none;
614
615 width: 30vh;
616
617 height: 30vh;
618
619 margin: var(--tile-margin);
620
621 background-size: cover;
622
623 background-position: 50% 50%;
624
625 border-radius: 50%;
626
627 }
628
629
630
631 .fullscreen-menu__tiles__line-img--large {
632
633 width: 100vh;
634
635 border-radius: 20vh;
636
637 }
638
639
640
641 .fullscreen-menu__button-close {
642
643 position: absolute;
644
645 top: 0;
646
647 right: 0;
648
649 margin: 2rem;
650
651 fill: none;
652
653 width: 48px;
654
655 height: 48px;
656
657 z-index: 100;
658
659 }
660
661
662
663 ul.fullscreen-menu__social-icons {
664
665 list-style-type: none;
666
667 display: inline-block;
668
669 padding-inline-start: 0;
670
671 }
672
673
674
675 ul.fullscreen-menu__social-icons li {
676
677 float: left;
678
679 display: inline-block;
680
681 margin: 10px;
682
683 text-transform: capitalize;
684
685 }
686
687
688
689 .fullscreen-menu.dark .fullscreen-menu__social-icons svg {
690
691 filter:invert(100);
692
693 }
694
695
696
697 .fullscreen-menu__social-icons svg {
698
699 width: 30px;
700
701 height: 30px;
702
703 }
704
705
706
707 ul.fullscreen-menu__social-icons li {
708
709 margin: 15px;
710
711 }
712
713
714
715 .fullscreen-menu__content-item {
716
717
718
719 display: flex;
720
721 justify-content: space-evenly;
722
723 align-items: center;
724
725 overflow: hidden;
726
727 width: 100%;
728
729 height: 100vh;
730
731 counter-reset: section;
732
733 }
734
735
736
737 .fullscreen-menu__column.fullscreen-menu__column--image img {
738
739 max-height: 70vh;
740
741 }
742
743
744
745 .fullscreen-menu__column .fullscreen-menu__column__item::before {
746
747 counter-increment: section;
748
749 content: "" counter(section) " ";
750
751 font-size: 12px;
752
753 position: absolute;
754
755 }
756
757
758
759 .fullscreen-menu__column__item::before {
760
761 margin: 0 0 0 -10px;
762
763 }
764
765
766
767 a.fullscreen-menu__column__item {
768
769 text-decoration: none;
770
771 cursor: pointer;
772
773 color: #fff;
774
775 }
776
777
778
779 .fullscreen-menu__column__item {
780
781 line-height: 1;
782
783 position: relative;
784
785 margin: 1em 0;
786
787 outline: none;
788
789 display: flex;
790
791 flex-direction: column;
792
793 align-items: flex-start;
794
795 margin: 20px 0;
796
797 }
798
799
800
801 .fullscreen-menu__column__item-name,
802
803 .fullscreen-menu__column__item-label {
804
805 position: relative;
806
807 display: inline-block;
808
809 }
810
811
812
813 .fullscreen-menu__column__item-label {
814
815 margin: 0 0 0 0.5em;
816
817 }
818
819
820
821 .fullscreen-menu__column__item-name {
822
823 font-size: 150%;
824
825 font-weight: bold;
826
827 overflow: hidden;
828
829 padding: 0 5px;
830
831 text-transform: uppercase;
832
833 }
834
835
836
837 .fullscreen-menu__column__item:hover .fullscreen-menu__column__item-name::after {
838
839 transform: translate3d(0, 0, 0);
840
841 }
842
843
844
845 .fullscreen-menu__column__item-name::after {
846
847 top: calc(50% - 2px);
848
849 height: 4px;
850
851 }
852
853
854
855 .fullscreen-menu__column__item-label {
856
857 font-size: 1em;
858
859 margin: 0.25em 0 0 0;
860
861 padding: 0.5em;
862
863 transition: color 0.7s;
864
865 transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
866
867 font-weight: 300;
868
869 }
870
871
872
873 @media screen and (min-width: 53em) {
874
875
876
877 .fullscreen-menu__frame {
878
879 grid-template-columns: 390px 1fr 390px;
880
881 grid-template-areas: 'author heading button'
882
883 '... ... ...'
884
885 'title links links';
886
887 font-size: 1.5rem;
888
889 }
890
891
892
893 .fullscreen-menu__frame__title {
894
895 justify-self: start;
896
897 align-self: end;
898
899 margin: 0 3rem 0 0;
900
901 }
902
903
904
905 .fullscreen-menu__frame__links {
906
907 display: flex;
908
909 justify-self: start;
910
911 padding: 0;
912
913 }
914
915
916
917 .fullscreen-menu__frame__links a:not(:last-child) {
918
919 margin-right: 0.5rem;
920
921 }
922
923
924
925 .fullscreen-menu__frame__heading-sub {
926
927 font-size: 1rem;
928
929 }
930
931
932
933 }
934
935
936
937
938
939