@wizishop/wizi-block 4.2.34-beta → 4.2.37-beta

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.
package/wizi-block.scss CHANGED
@@ -15455,263 +15455,356 @@ html {
15455
15455
  .fixes-transformY {
15456
15456
  transform: translateY(-2px);
15457
15457
  }
15458
- .wb-text-backgrounds-simple {
15458
+ .wb-text-backgrounds-rows-icon-text {
15459
15459
  position: relative;
15460
- z-index: 8;
15461
-
15462
- &.is-active {
15463
- z-index: 40;
15464
- }
15465
- img {
15466
- width: 100%;
15467
- display: block;
15468
- }
15469
15460
 
15470
- .ql-editor {
15471
- max-height: rem(100);
15472
- overflow-y: auto;
15461
+ & > columns {
15462
+ position: relative;
15473
15463
  }
15474
15464
 
15475
- &__noimages {
15476
- background-color: lighten($wb-border-color, 12%);
15477
- cursor: pointer;
15478
- display: flex;
15479
- align-items: center;
15480
- align-content: center;
15481
- justify-content: center;
15482
- position: absolute;
15483
- width: 100%;
15484
- height: 100%;
15485
- top: 0;
15465
+ & > .columns:not(:last-child) {
15466
+ margin-bottom: 10px;
15486
15467
 
15487
- &--small {
15488
- &:before {
15489
- padding-top: 27.5%;
15490
- }
15468
+ .column {
15469
+ padding: 0;
15491
15470
  }
15471
+ }
15492
15472
 
15493
- &--medium {
15494
- &:before {
15495
- padding-top: 33%;
15496
- }
15497
- }
15473
+ &__item {
15474
+ padding: rem(15);
15475
+ &__content {
15476
+ @include flexbox();
15477
+ @include flex-direction(column);
15478
+ @include justify-content(center);
15479
+ position: relative;
15498
15480
 
15499
- &--large {
15500
15481
  &:before {
15501
- padding-top: 38.47%;
15482
+ content: '';
15483
+ display: block;
15484
+ padding-top: 26.45%;
15485
+ transition: padding 300ms ease;
15502
15486
  }
15503
- }
15504
-
15505
- p {
15506
- position: absolute;
15507
- top: 50%;
15508
- left: 50%;
15509
- transform: translate(-50%, -50%);
15510
- text-align: center;
15511
- font-size: rem(14);
15512
- color: $wb-secondary-text-color;
15513
- width: auto;
15514
- white-space: nowrap;
15515
15487
 
15516
- &:before {
15517
- position: absolute;
15518
- width: 0;
15519
- bottom: -(#{rem(3)});
15520
- height: rem(2);
15521
- transition: 200ms all;
15522
- background-color: $wb-border-color;
15523
- content: ' ';
15524
- left: 0;
15488
+ wb-structure-config {
15489
+ margin-left: -100%;
15525
15490
  }
15526
- }
15527
-
15528
- i {
15529
- color: $wb-secondary-text-color;
15530
- text-align: center;
15531
- display: block;
15532
- font-size: rem(45);
15533
- opacity: 0.4;
15534
- transition: 200ms all;
15535
- margin-bottom: rem(10);
15536
- }
15537
15491
 
15538
- border: rem(1) solid lighten($wb-border-color, 12%);
15539
- transition: 200ms all;
15540
-
15541
- &:hover {
15542
- border: rem(1) solid $wb-border-color;
15492
+ .wb-structure-config__content {
15493
+ overflow-y: scroll;
15543
15494
 
15544
- i {
15545
- color: darken($wb-secondary-text-color, 20%);
15495
+ input {
15496
+ min-width: unset;
15497
+ }
15546
15498
  }
15547
15499
 
15548
- p {
15549
- color: darken($wb-secondary-text-color, 20%);
15550
-
15551
- &:before {
15552
- width: 100%;
15500
+ .wb-structure-config-font {
15501
+ @include flexbox();
15502
+ padding: 0;
15503
+ height: rem(70);
15504
+ width: rem(70);
15505
+ margin: 0 auto;
15506
+ .wb-structure-config-font__holder {
15507
+ margin: 0 auto;
15508
+ > span {
15509
+ width: auto;
15510
+ height: auto;
15511
+ padding: 0;
15512
+ text-align: left;
15513
+ > span {
15514
+ width: rem(65);
15515
+ height: rem(65);
15516
+ margin-top: rem(-5);
15517
+ margin-left: 0;
15518
+ }
15519
+ }
15553
15520
  }
15554
15521
  }
15555
- }
15556
- }
15557
-
15558
- &__container {
15559
- position: relative;
15560
- height: auto;
15561
-
15562
- &:before {
15563
- content: '';
15564
- display: block;
15565
- width: 100%;
15566
- position: relative;
15567
- padding-top: 31%;
15568
- transition: padding 300ms ease;
15569
- }
15522
+ &__title {
15523
+ width: 100%;
15524
+ margin-top: -25px;
15525
+ padding: 0 20px;
15570
15526
 
15571
- &--small {
15572
- &:before {
15573
- padding-top: 27.5%;
15574
- }
15575
- }
15527
+ .wb-quill-editor {
15528
+ .ql-editor {
15529
+ font-weight: 500;
15530
+ padding: 0;
15531
+ color: $wb-main-text-color;
15532
+ }
15533
+ }
15576
15534
 
15577
- &--medium {
15578
- &:before {
15579
- padding-top: 33%;
15535
+ p br:first-child:last-child {
15536
+ display: none;
15537
+ }
15580
15538
  }
15581
- }
15582
15539
 
15583
- &--large {
15584
- &:before {
15585
- padding-top: 38.47%;
15540
+ &__image {
15541
+ &__background {
15542
+ position: absolute;
15543
+ top: 0;
15544
+ left: 0;
15545
+ width: 100%;
15546
+ height: 100%;
15547
+ background-size: cover;
15548
+ background-position: center;
15549
+ overflow: hidden;
15550
+ }
15586
15551
  }
15587
- }
15588
-
15589
- &__images {
15590
- position: absolute;
15591
- width: 100%;
15592
- height: 100%;
15593
- right: 0;
15594
- top: 0;
15595
- opacity: 1;
15596
- @include simple_transition();
15597
15552
 
15598
- > div {
15599
- overflow: hidden;
15553
+ &__noimages {
15554
+ background-color: lighten($wb-border-color, 12%);
15555
+ cursor: pointer;
15556
+ display: flex;
15557
+ align-items: center;
15558
+ align-content: center;
15559
+ justify-content: center;
15600
15560
  position: absolute;
15601
- width: 100%;
15602
- height: 100%;
15603
15561
  top: 0;
15604
15562
  left: 0;
15563
+ width: 100%;
15564
+ height: 100%;
15605
15565
 
15606
- > div {
15607
- background-size: cover;
15608
- background-position: center;
15609
- overflow: hidden;
15566
+ & > span[class^='wb-dynamic-size'] {
15567
+ top: 0.2vw !important;
15568
+ }
15569
+
15570
+ p {
15610
15571
  position: absolute;
15611
- width: 100%;
15612
- height: 100%;
15613
- top: 0;
15614
- left: 0;
15615
- cursor: pointer;
15572
+ top: 50%;
15573
+ left: 50%;
15574
+ transform: translate(-50%, -50%);
15575
+ text-align: center;
15576
+ font-size: rem(14);
15577
+ color: $wb-secondary-text-color;
15578
+ width: auto;
15579
+ white-space: nowrap;
15580
+ margin-top: 5px;
15616
15581
 
15617
15582
  &:before {
15618
15583
  position: absolute;
15619
- left: 0;
15620
- top: 0;
15621
- width: 100%;
15622
- height: 100%;
15623
- background-color: rgba($wb-main-text-color, 0);
15624
- content: ' ';
15584
+ width: 0;
15585
+ bottom: -(#{rem(3)});
15586
+ height: rem(2);
15625
15587
  transition: 200ms all;
15626
- }
15627
-
15628
- &:after {
15629
- content: '\f03e';
15630
- font-family: 'Font Awesome 5 Pro';
15631
- display: block;
15632
- @include simple_transition();
15633
- position: absolute;
15634
- z-index: 38;
15635
- font-size: rem(70);
15636
- top: -#{rem(50)};
15637
- opacity: 0;
15588
+ background-color: $wb-border-color;
15589
+ content: ' ';
15638
15590
  left: 0;
15639
- right: 0;
15640
- bottom: 0;
15641
- margin: auto;
15642
- width: rem(70);
15643
- height: rem(90);
15644
- color: $wb-white;
15645
- pointer-events: none;
15646
15591
  }
15592
+ }
15647
15593
 
15648
- &:hover {
15649
- &:before {
15650
- background-color: rgba($wb-main-text-color, 0.1);
15651
- }
15594
+ i {
15595
+ color: $wb-secondary-text-color;
15596
+ text-align: center;
15597
+ display: block;
15598
+ font-size: rem(20);
15599
+ opacity: 0.4;
15600
+ transition: 200ms all;
15601
+ margin-bottom: 0;
15602
+ }
15652
15603
 
15653
- &:after {
15654
- top: -#{rem(220)};
15655
- opacity: 0.3;
15604
+ border: rem(1) solid lighten($wb-border-color, 12%);
15605
+ transition: 200ms all;
15606
+
15607
+ &:hover {
15608
+ border: rem(1) solid $wb-border-color;
15609
+
15610
+ i {
15611
+ color: darken($wb-secondary-text-color, 20%);
15612
+ }
15613
+
15614
+ p {
15615
+ color: darken($wb-secondary-text-color, 20%);
15616
+
15617
+ &:before {
15618
+ width: 100%;
15656
15619
  }
15657
15620
  }
15658
15621
  }
15659
15622
  }
15660
- }
15661
-
15662
- &__text {
15663
- position: absolute;
15664
- display: flex;
15665
- z-index: 2;
15666
- width: 100%;
15667
- height: 100%;
15668
- color: $wb-white;
15669
- align-content: center;
15670
- align-items: center;
15671
- align-self: center;
15672
- justify-content: center;
15673
- pointer-events: none;
15674
- top: 0;
15675
- left: 0;
15676
15623
 
15677
- > div {
15624
+ &__wrapper {
15678
15625
  @include flexbox();
15679
15626
  @include flex-direction(column);
15680
- pointer-events: all;
15681
- text-align: center;
15627
+ @include justify-content(center);
15628
+ @include align-items(center);
15629
+ position: absolute;
15630
+ top: 0;
15631
+ left: 0;
15682
15632
  width: 100%;
15633
+ height: 100%;
15683
15634
 
15684
- > div {
15685
- &:first-child {
15686
- position: relative;
15687
- z-index: 10;
15635
+ &:before {
15636
+ content: '';
15637
+ display: block;
15638
+ width: 100%;
15639
+ position: absolute;
15640
+ top: 0;
15641
+ left: 0;
15642
+ width: 100%;
15643
+ height: 100%;
15644
+ }
15645
+
15646
+ &:after {
15647
+ content: '\f03e';
15648
+ font-family: 'Font Awesome 5 Pro';
15649
+ display: block;
15650
+ @include simple_transition();
15651
+ position: absolute;
15652
+ z-index: 38;
15653
+ font-size: rem(70);
15654
+ top: -#{rem(50)};
15655
+ opacity: 0;
15656
+ left: 0;
15657
+ right: 0;
15658
+ bottom: 0;
15659
+ margin: auto;
15660
+ width: rem(70);
15661
+ height: rem(90);
15662
+ color: $wb-white;
15663
+ pointer-events: none;
15664
+ }
15665
+
15666
+ &:hover {
15667
+ &:before {
15668
+ background-color: rgba($wb-main-text-color, 0.1);
15688
15669
  }
15689
15670
 
15690
- &.is-button {
15691
- cursor: pointer;
15692
- background-color: $wb-button-color;
15693
- padding: rem(7) rem(30);
15694
- border-radius: rem(5);
15695
- display: inline-block;
15696
- font-size: rem(20);
15697
- font-weight: 500;
15698
- margin-top: rem(12);
15671
+ &:after {
15672
+ top: -#{rem(25)};
15673
+ opacity: 0.3;
15674
+ }
15675
+ }
15676
+ }
15677
+ }
15678
+ }
15679
+ &__add {
15680
+ min-height: 250px;
15681
+ height: 100%;
15682
+ position: relative;
15683
+ a {
15684
+ @include flexbox();
15685
+ @include flex-direction(column);
15686
+ @include align-items(center);
15687
+ position: absolute;
15688
+ top: 50%;
15689
+ left: 50%;
15690
+ transform: translate(-50%, -50%);
15691
+ color: $wb-light-gray;
15692
+ transition: color 0.3s ease-in-out;
15693
+ i {
15694
+ font-size: rem(50);
15695
+ }
15696
+ p {
15697
+ margin-top: 15px;
15698
+ text-align: center;
15699
+ font-size: rem(14);
15700
+ color: $wb-secondary-text-color;
15701
+ width: auto;
15702
+ white-space: nowrap;
15703
+
15704
+ &:before {
15705
+ position: absolute;
15706
+ width: 0;
15707
+ bottom: -(#{rem(3)});
15708
+ height: rem(2);
15709
+ transition: 200ms all;
15710
+ background-color: $wb-border-color;
15711
+ content: ' ';
15712
+ left: 0;
15713
+ }
15714
+ }
15715
+ &:hover {
15716
+ color: $wb-light-white;
15717
+ transition: color 0.3s ease-in-out;
15718
+ p {
15719
+ color: darken($wb-secondary-text-color, 20%);
15720
+ &:before {
15721
+ width: 100%;
15699
15722
  }
15700
15723
  }
15724
+ }
15725
+ }
15726
+ }
15727
+ &__delete-line {
15728
+ position: absolute;
15729
+ width: calc(100% - 20px);
15730
+ height: 100%;
15731
+ left: 10px;
15732
+ top: 0;
15733
+ overflow: hidden;
15701
15734
 
15702
- > p:first-child {
15703
- font-size: rem(100);
15704
- cursor: pointer;
15705
- line-height: rem(20);
15735
+ &__button {
15736
+ @include flexbox();
15737
+ @include align-items(center);
15738
+ padding: 10px 15px;
15739
+ position: absolute;
15740
+ z-index: 1;
15741
+ bottom: rem(52);
15742
+ border-radius: 3px;
15743
+ left: calc(100% - 50px);
15744
+ background-color: $wb-red-color;
15745
+ box-shadow: 0px 0px 20px 0px rgba(35, 39, 43, 0.5);
15746
+ transition: left 0.3s ease-in-out, right 0.3s ease-in-out;
15747
+ i {
15748
+ color: white;
15749
+ margin-right: 10px;
15750
+ }
15751
+ p {
15752
+ color: white;
15753
+ margin-right: 10px;
15754
+ white-space: nowrap;
15755
+ }
15756
+ button {
15757
+ background: transparent;
15758
+ border: 1px solid white;
15759
+ color: white;
15760
+ border-radius: 3px;
15761
+ padding: 5px 10px;
15762
+ cursor: pointer;
15763
+ transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
15764
+
15765
+ &:hover {
15766
+ background: white;
15767
+ color: $wb-red-color;
15768
+ transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
15706
15769
  }
15707
- > p:last-child {
15708
- font-weight: 600;
15709
- font-size: rem(40);
15770
+ }
15771
+ }
15772
+ }
15773
+ &--three {
15774
+ .wb-text-backgrounds-rows-icon-text__item__content {
15775
+ &--small {
15776
+ &:before {
15777
+ padding-top: 28.2%;
15778
+ }
15779
+ }
15780
+
15781
+ &--medium {
15782
+ &:before {
15783
+ padding-top: 40.3%;
15784
+ }
15785
+ }
15786
+
15787
+ &--large {
15788
+ &:before {
15789
+ padding-top: 51.6%;
15710
15790
  }
15711
15791
  }
15712
15792
  }
15713
15793
  }
15714
15794
  }
15795
+
15796
+ .column.is-4-fullhd.is-4-desktop {
15797
+ &:nth-child(3) {
15798
+ .wb-structure-config__content {
15799
+ transform: translateX(-33.33%);
15800
+ }
15801
+ }
15802
+ &:nth-child(4) {
15803
+ .wb-structure-config__content {
15804
+ transform: translateX(-66.66%);
15805
+ }
15806
+ }
15807
+ }
15715
15808
  .wb-structure-amplify-search-product {
15716
15809
  .columns {
15717
15810
  margin-bottom: 0;
@@ -15882,356 +15975,263 @@ html {
15882
15975
  max-width: unset;
15883
15976
  }
15884
15977
  }
15885
- .wb-text-backgrounds-rows-icon-text {
15978
+ .wb-text-backgrounds-simple {
15886
15979
  position: relative;
15980
+ z-index: 8;
15887
15981
 
15888
- & > columns {
15889
- position: relative;
15982
+ &.is-active {
15983
+ z-index: 40;
15890
15984
  }
15891
-
15892
- & > .columns:not(:last-child) {
15893
- margin-bottom: 10px;
15894
-
15895
- .column {
15896
- padding: 0;
15897
- }
15985
+ img {
15986
+ width: 100%;
15987
+ display: block;
15898
15988
  }
15899
15989
 
15900
- &__item {
15901
- padding: rem(15);
15902
- &__content {
15903
- @include flexbox();
15904
- @include flex-direction(column);
15905
- @include justify-content(center);
15906
- position: relative;
15990
+ .ql-editor {
15991
+ max-height: rem(100);
15992
+ overflow-y: auto;
15993
+ }
15907
15994
 
15908
- &:before {
15909
- content: '';
15910
- display: block;
15911
- padding-top: 26.45%;
15912
- transition: padding 300ms ease;
15913
- }
15995
+ &__noimages {
15996
+ background-color: lighten($wb-border-color, 12%);
15997
+ cursor: pointer;
15998
+ display: flex;
15999
+ align-items: center;
16000
+ align-content: center;
16001
+ justify-content: center;
16002
+ position: absolute;
16003
+ width: 100%;
16004
+ height: 100%;
16005
+ top: 0;
15914
16006
 
15915
- wb-structure-config {
15916
- margin-left: -100%;
16007
+ &--small {
16008
+ &:before {
16009
+ padding-top: 27.5%;
15917
16010
  }
16011
+ }
15918
16012
 
15919
- .wb-structure-config__content {
15920
- overflow-y: scroll;
15921
-
15922
- input {
15923
- min-width: unset;
15924
- }
16013
+ &--medium {
16014
+ &:before {
16015
+ padding-top: 33%;
15925
16016
  }
16017
+ }
15926
16018
 
15927
- .wb-structure-config-font {
15928
- @include flexbox();
15929
- padding: 0;
15930
- height: rem(70);
15931
- width: rem(70);
15932
- margin: 0 auto;
15933
- .wb-structure-config-font__holder {
15934
- margin: 0 auto;
15935
- > span {
15936
- width: auto;
15937
- height: auto;
15938
- padding: 0;
15939
- text-align: left;
15940
- > span {
15941
- width: rem(65);
15942
- height: rem(65);
15943
- margin-top: rem(-5);
15944
- margin-left: 0;
15945
- }
15946
- }
15947
- }
16019
+ &--large {
16020
+ &:before {
16021
+ padding-top: 38.47%;
15948
16022
  }
15949
- &__title {
15950
- width: 100%;
15951
- margin-top: -25px;
15952
- padding: 0 20px;
16023
+ }
15953
16024
 
15954
- .wb-quill-editor {
15955
- .ql-editor {
15956
- font-weight: 500;
15957
- padding: 0;
15958
- color: $wb-main-text-color;
15959
- }
15960
- }
16025
+ p {
16026
+ position: absolute;
16027
+ top: 50%;
16028
+ left: 50%;
16029
+ transform: translate(-50%, -50%);
16030
+ text-align: center;
16031
+ font-size: rem(14);
16032
+ color: $wb-secondary-text-color;
16033
+ width: auto;
16034
+ white-space: nowrap;
15961
16035
 
15962
- p br:first-child:last-child {
15963
- display: none;
15964
- }
16036
+ &:before {
16037
+ position: absolute;
16038
+ width: 0;
16039
+ bottom: -(#{rem(3)});
16040
+ height: rem(2);
16041
+ transition: 200ms all;
16042
+ background-color: $wb-border-color;
16043
+ content: ' ';
16044
+ left: 0;
15965
16045
  }
16046
+ }
15966
16047
 
15967
- &__image {
15968
- &__background {
15969
- position: absolute;
15970
- top: 0;
15971
- left: 0;
15972
- width: 100%;
15973
- height: 100%;
15974
- background-size: cover;
15975
- background-position: center;
15976
- overflow: hidden;
15977
- }
15978
- }
16048
+ i {
16049
+ color: $wb-secondary-text-color;
16050
+ text-align: center;
16051
+ display: block;
16052
+ font-size: rem(45);
16053
+ opacity: 0.4;
16054
+ transition: 200ms all;
16055
+ margin-bottom: rem(10);
16056
+ }
15979
16057
 
15980
- &__noimages {
15981
- background-color: lighten($wb-border-color, 12%);
15982
- cursor: pointer;
15983
- display: flex;
15984
- align-items: center;
15985
- align-content: center;
15986
- justify-content: center;
15987
- position: absolute;
15988
- top: 0;
15989
- left: 0;
15990
- width: 100%;
15991
- height: 100%;
16058
+ border: rem(1) solid lighten($wb-border-color, 12%);
16059
+ transition: 200ms all;
15992
16060
 
15993
- & > span[class^='wb-dynamic-size'] {
15994
- top: 0.2vw !important;
15995
- }
16061
+ &:hover {
16062
+ border: rem(1) solid $wb-border-color;
15996
16063
 
15997
- p {
15998
- position: absolute;
15999
- top: 50%;
16000
- left: 50%;
16001
- transform: translate(-50%, -50%);
16002
- text-align: center;
16003
- font-size: rem(14);
16004
- color: $wb-secondary-text-color;
16005
- width: auto;
16006
- white-space: nowrap;
16007
- margin-top: 5px;
16064
+ i {
16065
+ color: darken($wb-secondary-text-color, 20%);
16066
+ }
16008
16067
 
16009
- &:before {
16010
- position: absolute;
16011
- width: 0;
16012
- bottom: -(#{rem(3)});
16013
- height: rem(2);
16014
- transition: 200ms all;
16015
- background-color: $wb-border-color;
16016
- content: ' ';
16017
- left: 0;
16018
- }
16019
- }
16068
+ p {
16069
+ color: darken($wb-secondary-text-color, 20%);
16020
16070
 
16021
- i {
16022
- color: $wb-secondary-text-color;
16023
- text-align: center;
16024
- display: block;
16025
- font-size: rem(20);
16026
- opacity: 0.4;
16027
- transition: 200ms all;
16028
- margin-bottom: 0;
16071
+ &:before {
16072
+ width: 100%;
16029
16073
  }
16074
+ }
16075
+ }
16076
+ }
16030
16077
 
16031
- border: rem(1) solid lighten($wb-border-color, 12%);
16032
- transition: 200ms all;
16078
+ &__container {
16079
+ position: relative;
16080
+ height: auto;
16033
16081
 
16034
- &:hover {
16035
- border: rem(1) solid $wb-border-color;
16082
+ &:before {
16083
+ content: '';
16084
+ display: block;
16085
+ width: 100%;
16086
+ position: relative;
16087
+ padding-top: 31%;
16088
+ transition: padding 300ms ease;
16089
+ }
16036
16090
 
16037
- i {
16038
- color: darken($wb-secondary-text-color, 20%);
16039
- }
16091
+ &--small {
16092
+ &:before {
16093
+ padding-top: 27.5%;
16094
+ }
16095
+ }
16040
16096
 
16041
- p {
16042
- color: darken($wb-secondary-text-color, 20%);
16097
+ &--medium {
16098
+ &:before {
16099
+ padding-top: 33%;
16100
+ }
16101
+ }
16043
16102
 
16044
- &:before {
16045
- width: 100%;
16046
- }
16047
- }
16048
- }
16103
+ &--large {
16104
+ &:before {
16105
+ padding-top: 38.47%;
16049
16106
  }
16107
+ }
16050
16108
 
16051
- &__wrapper {
16052
- @include flexbox();
16053
- @include flex-direction(column);
16054
- @include justify-content(center);
16055
- @include align-items(center);
16109
+ &__images {
16110
+ position: absolute;
16111
+ width: 100%;
16112
+ height: 100%;
16113
+ right: 0;
16114
+ top: 0;
16115
+ opacity: 1;
16116
+ @include simple_transition();
16117
+
16118
+ > div {
16119
+ overflow: hidden;
16056
16120
  position: absolute;
16057
- top: 0;
16058
- left: 0;
16059
16121
  width: 100%;
16060
16122
  height: 100%;
16123
+ top: 0;
16124
+ left: 0;
16061
16125
 
16062
- &:before {
16063
- content: '';
16064
- display: block;
16065
- width: 100%;
16126
+ > div {
16127
+ background-size: cover;
16128
+ background-position: center;
16129
+ overflow: hidden;
16066
16130
  position: absolute;
16067
- top: 0;
16068
- left: 0;
16069
16131
  width: 100%;
16070
16132
  height: 100%;
16071
- }
16072
-
16073
- &:after {
16074
- content: '\f03e';
16075
- font-family: 'Font Awesome 5 Pro';
16076
- display: block;
16077
- @include simple_transition();
16078
- position: absolute;
16079
- z-index: 38;
16080
- font-size: rem(70);
16081
- top: -#{rem(50)};
16082
- opacity: 0;
16133
+ top: 0;
16083
16134
  left: 0;
16084
- right: 0;
16085
- bottom: 0;
16086
- margin: auto;
16087
- width: rem(70);
16088
- height: rem(90);
16089
- color: $wb-white;
16090
- pointer-events: none;
16091
- }
16135
+ cursor: pointer;
16092
16136
 
16093
- &:hover {
16094
16137
  &:before {
16095
- background-color: rgba($wb-main-text-color, 0.1);
16138
+ position: absolute;
16139
+ left: 0;
16140
+ top: 0;
16141
+ width: 100%;
16142
+ height: 100%;
16143
+ background-color: rgba($wb-main-text-color, 0);
16144
+ content: ' ';
16145
+ transition: 200ms all;
16096
16146
  }
16097
16147
 
16098
16148
  &:after {
16099
- top: -#{rem(25)};
16100
- opacity: 0.3;
16149
+ content: '\f03e';
16150
+ font-family: 'Font Awesome 5 Pro';
16151
+ display: block;
16152
+ @include simple_transition();
16153
+ position: absolute;
16154
+ z-index: 38;
16155
+ font-size: rem(70);
16156
+ top: -#{rem(50)};
16157
+ opacity: 0;
16158
+ left: 0;
16159
+ right: 0;
16160
+ bottom: 0;
16161
+ margin: auto;
16162
+ width: rem(70);
16163
+ height: rem(90);
16164
+ color: $wb-white;
16165
+ pointer-events: none;
16101
16166
  }
16102
- }
16103
- }
16104
- }
16105
- }
16106
- &__add {
16107
- min-height: 250px;
16108
- height: 100%;
16109
- position: relative;
16110
- a {
16111
- @include flexbox();
16112
- @include flex-direction(column);
16113
- @include align-items(center);
16114
- position: absolute;
16115
- top: 50%;
16116
- left: 50%;
16117
- transform: translate(-50%, -50%);
16118
- color: $wb-light-gray;
16119
- transition: color 0.3s ease-in-out;
16120
- i {
16121
- font-size: rem(50);
16122
- }
16123
- p {
16124
- margin-top: 15px;
16125
- text-align: center;
16126
- font-size: rem(14);
16127
- color: $wb-secondary-text-color;
16128
- width: auto;
16129
- white-space: nowrap;
16130
16167
 
16131
- &:before {
16132
- position: absolute;
16133
- width: 0;
16134
- bottom: -(#{rem(3)});
16135
- height: rem(2);
16136
- transition: 200ms all;
16137
- background-color: $wb-border-color;
16138
- content: ' ';
16139
- left: 0;
16140
- }
16141
- }
16142
- &:hover {
16143
- color: $wb-light-white;
16144
- transition: color 0.3s ease-in-out;
16145
- p {
16146
- color: darken($wb-secondary-text-color, 20%);
16147
- &:before {
16148
- width: 100%;
16168
+ &:hover {
16169
+ &:before {
16170
+ background-color: rgba($wb-main-text-color, 0.1);
16171
+ }
16172
+
16173
+ &:after {
16174
+ top: -#{rem(220)};
16175
+ opacity: 0.3;
16176
+ }
16149
16177
  }
16150
16178
  }
16151
16179
  }
16152
16180
  }
16153
- }
16154
- &__delete-line {
16155
- position: absolute;
16156
- width: calc(100% - 20px);
16157
- height: 100%;
16158
- left: 10px;
16159
- top: 0;
16160
- overflow: hidden;
16161
16181
 
16162
- &__button {
16163
- @include flexbox();
16164
- @include align-items(center);
16165
- padding: 10px 15px;
16182
+ &__text {
16166
16183
  position: absolute;
16167
- z-index: 1;
16168
- bottom: rem(52);
16169
- border-radius: 3px;
16170
- left: calc(100% - 50px);
16171
- background-color: $wb-red-color;
16172
- box-shadow: 0px 0px 20px 0px rgba(35, 39, 43, 0.5);
16173
- transition: left 0.3s ease-in-out, right 0.3s ease-in-out;
16174
- i {
16175
- color: white;
16176
- margin-right: 10px;
16177
- }
16178
- p {
16179
- color: white;
16180
- margin-right: 10px;
16181
- white-space: nowrap;
16182
- }
16183
- button {
16184
- background: transparent;
16185
- border: 1px solid white;
16186
- color: white;
16187
- border-radius: 3px;
16188
- padding: 5px 10px;
16189
- cursor: pointer;
16190
- transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
16184
+ display: flex;
16185
+ z-index: 2;
16186
+ width: 100%;
16187
+ height: 100%;
16188
+ color: $wb-white;
16189
+ align-content: center;
16190
+ align-items: center;
16191
+ align-self: center;
16192
+ justify-content: center;
16193
+ pointer-events: none;
16194
+ top: 0;
16195
+ left: 0;
16191
16196
 
16192
- &:hover {
16193
- background: white;
16194
- color: $wb-red-color;
16195
- transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
16196
- }
16197
- }
16198
- }
16199
- }
16200
- &--three {
16201
- .wb-text-backgrounds-rows-icon-text__item__content {
16202
- &--small {
16203
- &:before {
16204
- padding-top: 28.2%;
16205
- }
16206
- }
16197
+ > div {
16198
+ @include flexbox();
16199
+ @include flex-direction(column);
16200
+ pointer-events: all;
16201
+ text-align: center;
16202
+ width: 100%;
16207
16203
 
16208
- &--medium {
16209
- &:before {
16210
- padding-top: 40.3%;
16204
+ > div {
16205
+ &:first-child {
16206
+ position: relative;
16207
+ z-index: 10;
16208
+ }
16209
+
16210
+ &.is-button {
16211
+ cursor: pointer;
16212
+ background-color: $wb-button-color;
16213
+ padding: rem(7) rem(30);
16214
+ border-radius: rem(5);
16215
+ display: inline-block;
16216
+ font-size: rem(20);
16217
+ font-weight: 500;
16218
+ margin-top: rem(12);
16219
+ }
16211
16220
  }
16212
- }
16213
16221
 
16214
- &--large {
16215
- &:before {
16216
- padding-top: 51.6%;
16222
+ > p:first-child {
16223
+ font-size: rem(100);
16224
+ cursor: pointer;
16225
+ line-height: rem(20);
16226
+ }
16227
+ > p:last-child {
16228
+ font-weight: 600;
16229
+ font-size: rem(40);
16217
16230
  }
16218
16231
  }
16219
16232
  }
16220
16233
  }
16221
16234
  }
16222
-
16223
- .column.is-4-fullhd.is-4-desktop {
16224
- &:nth-child(3) {
16225
- .wb-structure-config__content {
16226
- transform: translateX(-33.33%);
16227
- }
16228
- }
16229
- &:nth-child(4) {
16230
- .wb-structure-config__content {
16231
- transform: translateX(-66.66%);
16232
- }
16233
- }
16234
- }
16235
16235
  /*!
16236
16236
  * Quill Editor v1.3.6
16237
16237
  * https://quilljs.com/