-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.sass
1443 lines (1193 loc) · 30.6 KB
/
style.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@import "../../node_modules/bulma/sass/utilities/functions"
/* -- Welcome to Weband predefined CSS Sheet! --
Here you can set all the variables you will need in your Web Application.
You SHOULD enter values on each empty variable.
Where you see commented values, you can leave them as default (Do not delete comment value). */
// Colors
$primary: #c045b6
$primary-light: #e86be5
$link: #529eba
$link-light: #82c4dc
$text: #333
// $link-invert: $blue-invert
$info: #0053FF
$white: rgb(255, 255, 255)
$grey-light: rgba(112, 112, 112, 0.4)
$grey-lighter: #E9EDEF
$grey: #707070
$grey-dark: rgb(74, 74, 74)
$grey-darker: rgb(54, 54, 54)
$black: rgb(18, 18, 18)
$link-hover: $grey-darker
$orange: hsl(14, 100%, 53%)
$yellow: hsl(48, 100%, 67%)
$green: hsl(141, 71%, 48%)
$blue: #39BEEC
$purple: hsl(271, 100%, 71%)
$red: hsl(348, 100%, 61%)
$success: rgb(35, 209, 96)
$warning: rgb(255, 221, 87)
$danger: rgb(255, 56, 96)
$primary-invert: findColorInvert($primary)
$link-invert: findColorInvert($link)
// Here you can set the font-sizes that a website has. They should be decreasing order.
$size-1: 4rem
$size-2: 3.5rem
$size-3: 2.8rem
$size-4: 2.3rem
$size-5: 2rem
// These sizes are optional (Exceptional sizes). They could be any size (bigger or smaller than others).
$size-6: 1.8rem
$size-7: 1.5rem
$size-8: 1.3rem
// Sizes
$size-small: $size-5
$size-normal: $size-4
$size-medium: $size-3
$size-large: $size-2
// Use primary font. Ex: 'Roboto', Arial, sans-serif
$family-primary: 'Open Sans', Arial, sans-serif
$family-secondary: 'Raleway', Arial, sans-serif
// Primary background color
$background: rgb(245, 245, 245)
$body-background-color: $white
// Set default radius
$radius: 0.5rem
// Change if needed
$weight-light: 300
$weight-normal: 400
$weight-medium: 500
$weight-semibold: 600
$weight-bold: 700
// Dimension settings
$gap: 64px
$tablet: 481px
$desktop: 960px + (2 * $gap)
$widescreen: 1152px + (2 * $gap)
$widescreen-enabled: true
$fullhd: 1344px + (2 * $gap)
$fullhd-enabled: true
// Navigation settigns
$navbar-height: 3.5rem
$navbar-background-color: $white
$navbar-box-shadow-color: $background
$navbar-padding-vertical: 0
$navbar-padding-horizontal: 1.5rem
$navbar-item-color: $grey
$navbar-item-hover-color: $link
$navbar-item-active-color: $black
$navbar-burger-color: $navbar-item-color
// Section settings
$section-padding: 4rem 1.5rem
$section-padding-medium: 3rem 1.5rem
$section-padding-large: 18rem 1.5rem
// Default button settings
$button-color: #fff
// $button-background-color: $link
$button-border-color: transparent
$button-border-width: .1rem
$button-padding-vertical: 1.3rem
$button-padding-horizontal: 5rem
// $button-hover-color: #fff
// $button-hover-border-color: transparent
// $button-active-color: $grey-darker
// $button-active-border-color: $grey-dark
// $button-text-color: $text
// $button-text-hover-background-color: $background
// $button-text-hover-color: $grey-darker
// $button-disabled-background-color: $white
// $button-disabled-border-color: $grey-lighter
// $button-disabled-shadow: none
// $button-disabled-opacity: 0.5
// Dropdown settings
$dropdown-content-background-color: $white
$dropdown-content-arrow: $link
$dropdown-content-radius: $radius
$dropdown-content-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
$dropdown-item-hover-color: $black
$dropdown-item-hover-background-color: $background
$dropdown-item-active-background-color: $link
// Box settings
$box-color: $text
$box-background-color: $white
$box-radius: $radius
$box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
$box-padding: 1.25rem
$box-link-hover-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link
$box-link-active-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link
// Modal settigns
$modal-content-width: 640px
// Form settings
$input-color: $text
$input-background-color: transparent
$input-border-color: #888
$input-shadow: none
$input-hover-color: $text
$input-hover-border-color: $link
$input-disabled-color: $grey
$input-disabled-background-color: $background
$input-disabled-border-color: $background
$input-arrow: $link
$input-icon-color: $grey-lighter
$input-icon-active-color: $grey
$input-radius: 5px
// Label settings
$label-color: $grey-darker
$label-weight: $weight-bold
$help-size: $size-small
// Breadcrumb settings
$breadcrumb-item-color: $grey
$breadcrumb-item-hover-color: $link
$breadcrumb-item-padding-vertical: 0
$breadcrumb-item-padding-horizontal: 0.75rem
$breadcrumb-item-separator-color: $grey-light
// Pagination settings
$pagination-color: $grey-darker
$pagination-border-color: $grey-lighter
$pagination-margin: -0.25rem
$pagination-hover-color: rgb(181, 181, 181)
$pagination-hover-border-color: rgb(181, 181, 181)
$pagination-focus-color: rgb(54, 54, 54)
$pagination-focus-border-color: rgb(181, 181, 181)
$pagination-active-color: rgb(54, 54, 54)
$pagination-active-border-color: rgb(181, 181, 181)
$pagination-disabled-color: $grey
$pagination-disabled-background-color: $grey-lighter
$pagination-disabled-border-color: $grey-lighter
$pagination-current-color: $link-invert
$pagination-current-background-color: $link
$pagination-current-border-color: $link
$pagination-ellipsis-color: $grey-light
/* Additional components you might use. You can get their settings variables from our official KB - https://kb.weband.bg/
- Delete (Button styles)
- Notification panels
- Progressbar
- Table
- Tag (labels)
- Card (Content box)
- Menu (Aside menu)
- Message (Content box)
- Tabs (Tab panels)
- File upload (Button styles) */
// Do not touch ... please
@import "../../node_modules/bulma/bulma"
@import ./responsive.sass
@import ./wa-fe.sass
// Here you change the main properties of the elements
body, html
min-height: 100vh
display: flex
flex-direction: column
*
font-size: 1.5rem
h1,
.h1
font-size: $size-1
font-family: $family-secondary
font-weight: 600
line-height: 1.2
margin: 2rem 0 1rem 0
@include tablet
font-size: 3rem
@include tablet
.is-size-1
font-size: 3rem !important
h2,
.h2
font-size: $size-2
font-family: $family-secondary
font-weight: 600
line-height: 1.2
@include tablet
font-size: 2.5rem
@include tablet
.is-size-2
font-size: 2.5rem !important
h3,
.h3
font-size: $size-3
font-family: $family-secondary
font-weight: 500
@include tablet
font-size: 2.2rem
@include tablet
.is-size-3
font-size: 2.2rem !important
h4,
.h4
font-size: $size-4
font-family: $family-secondary
font-weight: 500
@include tablet
font-size: 2rem
@include tablet
.is-size-4
font-size: 2rem !important
h5,
.h5
font-size: $size-5
font-family: $family-secondary
font-weight: 500
@include tablet
font-size: 1.8rem
@include tablet
.is-size-5
font-size: 1.8rem !important
h6,
.h6
font-size: $size-6
font-weight: 600
p,
ul li
font-size: $size-7
margin: 1rem 0
font-weight: 300
// color: #000
a,
.button
font-size: $size-7
font-weight: 500
input
padding: 0.1rem 1rem
border: none
&:focus
outline: none
.is-size-8
font-size: $size-8 !important
h1, h2, h3, h4, h5, p
a
color: inherit
font-size: inherit
font-weight: inherit
&:hover
color: inherit
text-decoration: underline
$gradient-primary: linear-gradient(-0.15turn, $primary, $primary-light)
$gradient-link: linear-gradient(0.05turn, $link, $link-light)
$shadow-primary: 0 .2rem .4rem 0 rgba(220, 42, 254, 0.34)
$shadow-link: 0 .2rem .4rem 0 rgba(52, 247, 130, 0.27)
$shadow: 0 .1rem .4rem .1rem rgba(41, 41, 41, 0.1)
.button
min-width: 10rem
height: auto
display: inline-block
border-radius: 3rem
font-size: $size-7
font-weight: 600
transition: all .3s
border: none !important
position: relative
&:before
content: ""
position: absolute
top: 0.1rem
right: 0.1rem
bottom: 0.1rem
left: 0.1rem
z-index: 0
border-radius: 3rem
opacity: 0
transition: all .3s
&:hover
&:before
opacity: 1
&.no-span
&:before
display: none
&.is-primary
background: $gradient-primary
box-shadow: $shadow-primary
&:before
background: $primary
&.is-link
background: $gradient-link
// box-shadow: $shadow-link
color: #fff
&:hover
color: #fff
&:before
background: $link
&.is-outlined
color: $text
box-shadow: none
&:before
opacity: 1
background: #fff
&:hover
color: #fff
&:before
opacity: 0
&:focus
color: $text
&.is-smallish
min-width: auto
padding: 1rem 2rem
&:before
background: #F7F7F7
@include tablet
background: #fff !important
span
position: relative
z-index: 10
.button.is-primary.is-outlined:focus
color: $primary
.button.is-link.is-outlined:focus
color: $link
.label,
.input
font-size: 1.5rem
.label
margin-top: 1.5rem
#__nuxt,
#__layout,
#__layout > div
min-height: 100vh
height: 100vh
.is-full-width
width: 100%
.navbar-brand
position: relative
z-index: 20
@include tablet
display: flex
align-items: center
.navbar-item
padding: 1rem
img
max-height: none
height: 5rem
transition: all .3s
$header-height: 7rem
.navbar
height: $header-height
background: #F7F7F7
padding: 0 1.5rem
transition: all .3s
.navbar-menu
@include tablet
height: 0
display: flex !important
flex-direction: column
justify-content: space-between
opacity: 0
transition: opacity .3s
position: fixed
top: 0
right: 0
bottom: 0
left: 0
z-index: 10
padding-top: $header-height + 1rem
overflow-y: scroll
overflow-x: hidden
&::-webkit-scrollbar
width: 5px
&::-webkit-scrollbar-track
background: #f7f7f7
&::-webkit-scrollbar-thumb
border-radius: 10px
background: $primary
&::-webkit-scrollbar-thumb:hover
background: $primary
&.is-active
height: auto
opacity: 1
.navbar-end
padding: 1rem
.navbar-item
padding: 0
height: 100%
.navbar-link
height: 100%
padding: 1.5rem
font-size: 1.4rem
font-family: $family-secondary
color: #000
background: none !important
&:after
display: none
&:hover
// background: none
&:before
right: 0
left: 0
&:before
content: ""
height: 0.3rem
position: absolute
background: $primary
bottom: -.1rem
left: 50%
right: 50%
transition: all .3s
&.is-active
color: $primary
i.mdi
display: inline-block
transition: all .3s
&.is-active
transform: rotate(180deg)
.navbar-dropdown
left: 50%
margin-top: 0.1rem
padding: 1rem 2rem
border-top: none
border-radius: 0
transform: translateX(-50%)
background: #F7F7F7
box-shadow: $shadow
flex-direction: column
align-items: center
@include tablet
left: 0
transform: none
display: none
align-items: flex-start
&.is-active
display: flex
a
display: inline-flex
white-space: nowrap
.navbar-burger
width: 4rem
height: 4rem
margin-right: 1rem
&.is-active
span
&:nth-child(1)
top: 50%
transform: rotate(45deg)
&:nth-child(2)
opacity: 0
&:nth-child(3)
top: 50%
transform: rotate(-45deg)
span
width: 3rem
height: 0.4rem
right: 0.5rem
left: auto
background: $primary
border-radius: 1rem
transition: all .3s
&:nth-child(1)
top: calc(50% - 1.2rem)
&:nth-child(3)
top: calc(50% + 1rem)
// h4
// opacity: 0
// transition: all .3s
svg image
background-size: cover
background-repeat: no-repeat
background-position: center
.navbar-item.is-hoverable:hover .navbar-dropdown
display: flex
// .headroom.is-sticked
// &.headroom--not-top
// .navbar
// h4
// opacity: 1
@include tablet
.headroom
overflow: hidden
&.headroom--pinned,
&.menu-open
transform: none !important
.headroom.menu-open
bottom: 0
// // transition: all .3s
// overflow: hidden
// header, nav
// height: 100%
// transition: none
.headroom.is-transparent
&.headroom--not-top
.navbar
background: #f7f7f7
.navbar-brand img
height: 5rem
.is-smallish
&:before
background: #f7f7f7
& + main
&:before,
&:after
display: none
.main-content
padding-top: 0
.navbar
background: transparent
.navbar-brand
display: block
@include tablet
display: flex
align-items: center
img
height: 10rem
@include tablet
height: 5rem
.is-smallish
&:before
background: #fff
.element-loader
position: relative
&:before
content: ""
width: 100%
height: 100%
position: absolute
top: 0
right: 0
bottom: 0
left: 0
z-index: 10000
background-color: #fff
// background: inherit
transition: all .3s
opacity: 0
&:after
content: "Loading..."
width: 5%
height: 2.5rem
position: absolute
top: 50%
left: 50%
color: $primary
font-weight: bold
text-transform: uppercase
transform: translate(-50%, -50%)
z-index: 10001
// background: url('../images/svg/loader.svg') center repeat-x
transition: all .3s
opacity: 0
&.loading:before,
&.loading:after
opacity: .90
main
position: relative
overflow: hidden
.main-content
padding-top: $header-height
// &:before
// content: ""
// width: 14rem
// height: 20rem
// position: absolute
// z-index: 0
// top: 2rem
// right: 0
// background: url('../images/svg/purple-mesh-rotate.svg') center no-repeat
// @include tablet
// display: none
// &:after
// content: ""
// width: 30rem
// height: 30rem
// position: absolute
// z-index: 0
// top: 60%
// right: 0
// // background: url('../images/svg/green-donut.svg') center no-repeat
// @include tablet
// display: none
.has-bckg-grey
background: #eee
.date-place-stamp
font-size: $size-8
font-weight: 300
color: #000
.divider
font-size: 1.5rem
font-weight: normal
color: $primary
.hero-nav
display: flex
align-items: center
margin-top: 3rem
color: #969696
a
display: block
font-size: $size-2
color: inherit
transition: all .3s
&:hover
i
transform: scale(1.5)
&.is-disabled
cursor: default
opacity: 0.7
&:hover i
transform: none
i
display: block
transition: all .3s
p
margin: 0 1rem
font-size: $size-6
font-weight: 600
color: inherit
.fade-enter-active, .fade-leave-active
transition: opacity .3s ease
.fade-enter, .fade-leave-to
opacity: 0
.slide-enter-active, .slide-leave-active
transition: all .3s ease
.slide-enter, .slide-leave-to
opacity: 0
.slide-enter
transform: translate(5%, 0)
.slide-leave-to
transform: translate(-5%, 0)
.slide-top-enter-active, .slide-top-leave-active
transition: all .3s ease
.slide-top-enter, .slide-top-leave-to
opacity: 0
.slide-top-enter
transform: translate(0, 5%)
.slide-top-leave-to
transform: translate(0, -5%)
.is-Ax240
width: auto
height: 24rem
.has-rounded-corners
border-radius: .5rem
overflow: hidden
.has-scaled-hover
&:hover > *
transform: scale(1.1)
& > *
transition: all .3s
.has-svg-corner
position: relative
// & > *
// position: relative
// z-index: 10
&:before
content: ""
width: 4.5rem
height: 4.5rem
position: absolute
z-index: 0
background-size: contain
background-position: center
background-repeat: no-repeat
&.corner-green:before
top: -.5rem
left: -.5rem
// background-image: url('../images/svg/green-rect.svg')
&.corner-purple:before
bottom: -.5rem
right: -.5rem
// background-image: url('../images/svg/purple-rect.svg')
.img-bckg
width: 100%
height: 100%
position: absolute
top: 0
right: 0
bottom: 0
left: 0
z-index: 0
display: none
overflow: hidden
background-size: cover
background-position: center
background-repeat: no-repeat
@include tablet
display: block
&:before
content: ""
position: absolute
top: 0
right: 0
bottom: 0
left: 0
z-index: 5
background: rgba(0, 0, 0, 0.6)
img
max-width: none
width: 100%
&.static
position: relative
&:before
display: none
.curved-section
padding: 0
position: relative
// background: none !important
@include tablet
// background: inherit !important
svg
display: none
.curved-content
position: absolute
top: 0
right: 0
bottom: 0
left: 0
z-index: 10
@include tablet
position: relative
&:not(.has-nostyle)
display: flex
align-items: center
justify-content: center
flex-direction: column
color: #fff
p
max-width: 45rem
font-size: $size-6
font-weight: normal
text-align: center
margin: 2rem 0 4rem 0
.box
box-shadow: $shadow
.story
height: 100%
margin: 1.5rem
padding: 0
transition: all .3s
&:hover
// box-shadow: $shadow-primary !important
transform: scale(1.05)
h4
position: relative
padding-left: 3.5rem
margin: 0 1.5rem
margin-top: 1.5rem
&:before
content: ""
width: 0.2rem
height: 100%
position: absolute
top: 0
bottom: 0
left: 1rem
background: $info
.is-flex
min-height: 10rem
position: relative
padding-left: 3.5rem
padding-bottom: 1.5rem
margin: 0 1.5rem
.date
position: absolute
top: 3.5rem
left: -2rem
display: inline-block
margin: 0
font-weight: 600
transform: rotate(-90deg)
.hero-slide
min-height: 40rem
.partners-carousel
.partner-slide
height: 100%
display: flex
align-items: center
justify-content: center
&:hover img
transform: scale(1.1)
filter: grayscale(0%)
img
max-width: 80%
transition: all .3s
filter: grayscale(100%)
footer
margin-top: 10rem
position: relative
@include tablet
background: $info
margin-top: 0
.footer-bckg
position: relative
z-index: 0
@include desktop-1280
width: 110%
margin-left: -5%
@include tablet
width: 100%
margin-left: 0
display: none
.footer-content
position: absolute
right: 0
bottom: 0
left: 0
z-index: 10
color: #fff
font-family: $family-secondary
@include tablet
position: relative
.footer-logo
width: 100%
display: flex
justify-content: center
padding-top: 2rem
.footer-nav