Skip to content

Commit 7a383d2

Browse files
Added styling for black friday deal campaign hello bar (#76)
1 parent d35e691 commit 7a383d2

1 file changed

Lines changed: 51 additions & 2 deletions

File tree

src/templates/page.scss

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,14 +681,16 @@ table{
681681
// Cookie banner
682682
#hs-banner-parent{
683683
.hs-cookie-notification-position-bottom{
684-
width: calc(min(28em, 100%));
685-
left: 14%;
684+
width: calc(min(28em, 100%)) !important;
685+
left: calc(min(15em, 100%)) !important;
686686
@media only screen and (max-width: 767px) {
687687
left: 3%;
688+
bottom: 2%;
688689
width: 95%;
689690
}
690691
@media only screen and (min-width:768px) and (max-width: 1023px) {
691692
left: 20%;
693+
bottom: 10%;
692694
width: 35%;
693695
}
694696
#hs-eu-cookie-confirmation-inner{
@@ -704,4 +706,51 @@ table{
704706
}
705707
}
706708
}
709+
}
710+
711+
//Black-friday hello bar design
712+
#leadinModal-4801049{
713+
.leadinModal-content {
714+
background: linear-gradient(
715+
92deg,
716+
#4dd795 37.61%,
717+
rgba(96, 217, 188, 0.83) 76.64%
718+
) !important;
719+
.leadinModal-content-wrapper {
720+
.leadin-content-body {
721+
.leadin-preview-wrapper {
722+
h4 {
723+
@apply font-bold;
724+
font-size: 1.6rem;
725+
line-height: normal;
726+
color: #000000 !important;
727+
margin: 0 auto;
728+
margin-left: auto !important;
729+
margin-right: auto;
730+
text-align: center !important;
731+
font-style: normal;
732+
}
733+
.advance-wrapper {
734+
@media (max-width: 767px) {
735+
@apply mt-8;
736+
}
737+
.leadin-button {
738+
@apply font-bold text-center;
739+
font-size: 1.4rem;
740+
color: #fff !important;
741+
border-radius: 3px;
742+
background-color: #191919 !important;
743+
font-style: normal;
744+
height: 2.7rem;
745+
}
746+
}
747+
}
748+
}
749+
}
750+
.leadinModal-close{
751+
&::before{
752+
color: #000000 !important;
753+
}
754+
}
755+
}
707756
}

0 commit comments

Comments
 (0)