-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Restyle cookie banner 2. Fix docs article bold font 3. Use PP Telegraf font for admonissions headers ![image](https://github.com/user-attachments/assets/0ecab191-c4e2-4e3e-b6ea-e345d42a86d7)
- Loading branch information
Showing
8 changed files
with
85 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,74 @@ | ||
.cookie-banner { | ||
position: fixed; | ||
display: none; | ||
bottom: 0; | ||
width: 100%; | ||
padding: 20px 14px; | ||
bottom: 20px; | ||
left: 20px; | ||
right: 112px; | ||
padding: 20px 16px; | ||
align-items: center; | ||
justify-content: space-between; | ||
background-color: var(--neutral-lighter); | ||
border-radius: var(--border-radius); | ||
border-top: 1px solid var(--primary); | ||
gap: 10px; | ||
background-color: var(--header-color); | ||
color: var(--neutral-white); | ||
border: 1px solid var(--accent); | ||
border-radius: 10px; | ||
font-size: 14px; | ||
font-family: var(--heading-font-family); | ||
z-index: 1000; | ||
} | ||
|
||
#cookie-close { | ||
background: var(--navbar-button-background); | ||
.cookie-banner-btns-wrapper { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
gap: 10px; | ||
} | ||
|
||
.cookie-banner p { | ||
margin: 0; | ||
letter-spacing: 0.4px; | ||
} | ||
|
||
.cookie-close { | ||
border-radius: 10px; | ||
font-size: 1em; | ||
background: transparent; | ||
font-size: 25px; | ||
border: none; | ||
padding: 10px; | ||
color: white; | ||
cursor: pointer; | ||
color: var(--neutral-white); | ||
} | ||
|
||
.cookie-decision-btn { | ||
border-radius: 9px; | ||
border: 1px solid var(--accent4); | ||
padding: 8px 24px; | ||
font-size: 13px; | ||
line-height: 18px; | ||
margin: 0; | ||
transition: all ease 0.3s; | ||
white-space: nowrap; | ||
} | ||
|
||
.allow-btn { | ||
background-color: var(--accent4); | ||
color: var(--header-color); | ||
} | ||
|
||
.decline-btn { | ||
color: var(--accent4); | ||
background-color: var(--header-color); | ||
} | ||
|
||
.allow-btn:hover { | ||
background-color: #c5ed65; | ||
} | ||
|
||
.decline-btn:hover { | ||
background-color: #061827; | ||
} | ||
|
||
.manage-cookies-link { | ||
color: var(--accent); | ||
white-space: nowrap; | ||
margin: 0 18px; | ||
font-size: 13px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
<div class="cookie-banner" id="cookie"> | ||
<p> | ||
This website uses cookies to give you the best experience. | ||
<a href="https://hazelcast.com/privacy/?utm_source=docs-website">Learn more</a> | ||
<p> | ||
This website uses cookies to ensure you get the best experience on our website. | ||
<!-- <a href="https://hazelcast.com/privacy/?utm_source=docs-website">Learn more</a>--> | ||
</p> | ||
<button class="close" id="cookie-close">Close</button> | ||
</div> | ||
<div class="cookie-banner-btns-wrapper"> | ||
<!-- <a id="manageCookiesLink" href="javascript:void(0)" role="button" class="manage-cookies-link">--> | ||
<!-- Manage Cookies--> | ||
<!-- </a>--> | ||
<button class="cookie-decision-btn decline-btn" id="closeCookies"> | ||
Close | ||
</button> | ||
<!-- <button class="cookie-decision-btn allow-btn">--> | ||
<!-- Allow--> | ||
<!-- </button>--> | ||
<!-- <button class="cookie-close" id="closeCookies">×</button>--> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters