Skip to content

Commit f402080

Browse files
[Fixed] -> Cookie banner UI issue (#92)
1 parent fa8315e commit f402080

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

src/templates/page.scss

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -717,10 +717,10 @@ table{
717717
#hs-eu-confirmation-button-group {
718718
flex-flow: row;
719719
#hs-eu-cookie-settings-button {
720-
padding: 1rem 2.5rem !important;
720+
padding: 10px 25px !important;
721721
text-align: center !important;
722722
font-size: 14px !important;
723-
line-height: 2rem !important;
723+
line-height: 20px !important;
724724
border: 0.5px solid #d0d5dd !important;
725725
color: #0a1a2a !important;
726726
min-width: 12em !important;
@@ -729,7 +729,7 @@ table{
729729
#hs-eu-confirmation-button,
730730
#hs-eu-cookie-settings-button {
731731
font-weight: 600 !important;
732-
border-radius: 0.5rem !important;
732+
border-radius: 5px !important;
733733
&:hover {
734734
color: white !important;
735735
background-color: #007d85 !important;
@@ -749,12 +749,12 @@ table{
749749
color: #09c0a1 !important;
750750
}
751751
#hs-modal-introduction {
752-
font-size: 1.6rem !important;
752+
font-size: 16px !important;
753753
}
754754
#hs-modal-introduction-description {
755755
p {
756-
font-size: 1.4rem !important;
757-
line-height: 2.4rem !important;
756+
font-size: 14px !important;
757+
line-height: 24px !important;
758758
font-weight: 400 !important;
759759
color: #5f5f5f !important;
760760
}
@@ -763,18 +763,18 @@ table{
763763
gap: 0 !important;
764764
}
765765
#hs-categories-container {
766-
padding-top: 2rem !important;
766+
padding-top: 20px !important;
767767
.hs-category-row {
768768
border-top: #d0d5ddbd !important;
769769
border-style: solid !important;
770770
border-width: 1px 0 0 0 !important;
771-
padding: 1.5rem 1rem 0 !important;
771+
padding: 15px 10px 0 !important;
772772
.hs-toggle-switch {
773773
width: calc(3.4em + 2px) !important;
774774
height: calc(1.7em + 2px) !important;
775775
.hs-toggle-switch-nob{
776-
height: 1.4em !important;
777-
width: 1.4em !important;
776+
height: 14px !important;
777+
width: 14px !important;
778778
}
779779
}
780780
.hs-toggle-selected-flag{
@@ -783,33 +783,33 @@ table{
783783
}
784784
}
785785
.hs-category-label{
786-
gap: .5rem !important;
786+
gap: 5px !important;
787787
}
788788
}
789789
#hs-category-analytics,
790790
#hs-category-necessary,
791791
#hs-category-advertisement,
792792
#hs-category-functionality {
793793
span {
794-
font-size: 1.8rem !important;
795-
line-height: 2.4rem !important;
794+
font-size: 18px !important;
795+
line-height: 24px !important;
796796
font-weight: 600 !important;
797797
}
798798
}
799799
.hs-category-description {
800-
font-size: 1.4rem !important;
801-
line-height: 2rem !important;
800+
font-size: 14px !important;
801+
line-height: 20px !important;
802802
font-weight: 400 !important;
803803
color: #5f5f5f !important;
804804
}
805805
.visible {
806-
padding-top: 1.5rem;
807-
padding-left: 2rem !important;
806+
padding-top: 15px;
807+
padding-left: 20px !important;
808808
}
809809
}
810810
.hs-always-active-label {
811-
font-size: 1.4rem !important;
812-
line-height: 2rem !important;
811+
font-size: 14px !important;
812+
line-height: 20px !important;
813813
font-weight: 600 !important;
814814
color: #09c0a1 !important;
815815
}
@@ -828,7 +828,7 @@ table{
828828
}
829829
}
830830
#hs-modal-footer{
831-
padding-top: 1.2rem !important;
831+
padding-top: 12px !important;
832832
}
833833
}
834834

0 commit comments

Comments
 (0)