Skip to content

Commit

Permalink
Cookies Preferences Center
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchrysovergis committed Aug 3, 2024
1 parent 12b9fd0 commit cfcb9d1
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/dist/css/styles.min.css

Large diffs are not rendered by default.

51 changes: 46 additions & 5 deletions src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,10 @@ h1, h2, h3 {
background: transparent;
.cc-nb-main-container, .cc-pc-container {
font-family: map-get($map: $asty, $key: 'asty-book');
padding: 2rem;
padding: 2rem 2rem 1rem 2rem;
background: transparent;
color: $white;
backdrop-filter: blur(50px);
backdrop-filter: blur(10px);
}

#cc-nb-title {
Expand All @@ -290,6 +290,7 @@ div#termsfeed-com---nb.termsfeed-com---nb-simple {
button.cc-nb-okagree {
background-color: transparent;
color: $primarycolor;
padding-left: 3px;
}

button.cc-nb-reject {
Expand All @@ -308,10 +309,50 @@ div#termsfeed-com---nb.termsfeed-com---nb-simple {

div.termsfeed-com---pc-dialog {
input[type=checkbox].cc-custom-checkbox:checked+label:before {
background: $primarycolor;
background: transparent;
border: 1px solid $primarycolor;
}

input[type="checkbox"].cc-custom-checkbox + label::after, input[type="checkbox"].cc-custom-checkbox + label::before {
background: transparent;
}
}

button.cc-pc-head-close {
border-color: $primarycolor !important;
// Cookies Preferences Center

#termsfeed-com---preferences-center {
backdrop-filter: blur(10px);
.cc-pc-head, .cc-pc-container, .cc-cp-body-content, .cc-cp-body-content-entry, .cc-cp-body {
background: transparent !important;
font-family: map-get($map: $asty, $key: 'Asty-Book');
border-bottom: none;
}

#cc-pc-head-title-headline, .cc-cp-body-content-entry-title {
color: $white;
font-size: 14px;
}

.cc-cp-body-content-entry-text {
color: $white;
font-size: 12px;
}

.cc-pc-head-lang-select {
background: transparent;
color: white;
font-size: 14px;

&:focus {
box-shadow: 0 0 0 1px $primarycolor;
}
}

button.cc-pc-head-close {
border-color: $primarycolor !important;

&:focus {
border: 1px solid #6ddbf2;
}
}
}

0 comments on commit cfcb9d1

Please sign in to comment.