Skip to content

Commit

Permalink
version 1.0.6 design enhanced
Browse files Browse the repository at this point in the history
  • Loading branch information
selvaklnc committed Apr 26, 2024
1 parent 35b2421 commit 9b1da4f
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 18 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ WM Cookie Consent is a lightweight and customizable JavaScript library designed

## Screenshots

![Screenshot 1](https://raw.githubusercontent.com/wikimint/wm-cookie-consent/main/screenshots/screenshot1.jpg)
![Screenshot 2](https://raw.githubusercontent.com/wikimint/wm-cookie-consent/main/screenshots/screenshot2.jpg)
![Screenshot 3](https://raw.githubusercontent.com/wikimint/wm-cookie-consent/main/screenshots/screenshot3.jpg)

![Screenshot 1](https://raw.githubusercontent.com/wikimint/wm-cookie-consent/main/screenshots/cookie-consent-gdpr-javascript-library.jpg)
![Screenshot 2](https://raw.githubusercontent.com/wikimint/wm-cookie-consent/main/screenshots/cookie-consent-gdpr-preferences-settings-javascript-cdn-library.jpg)
![Screenshot 3](https://raw.githubusercontent.com/wikimint/wm-cookie-consent/main/screenshots/about-cookie-consent-gdpr-overview-javascript-cdn-library.jpg)
![Screenshot 3](https://raw.githubusercontent.com/wikimint/wm-cookie-consent/main/screenshots/cookie-consent-gdpr-popup.jpg)

## Key Features:

Expand Down
2 changes: 1 addition & 1 deletion main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wm-cookie-consent",
"version": "1.0.5",
"version": "1.0.6",
"description": "WM Cookie Consent: Seamlessly manage cookie consent on your site. Enhance privacy compliance with customizable prompts and granular controls.",
"main": "wm-cookie-consent.js",
"scripts": {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/screenshot2.jpg
Binary file not shown.
Binary file removed screenshots/screenshot3.jpg
Binary file not shown.
36 changes: 25 additions & 11 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#wm_cookie{
font-family:system-ui ! important;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji' ! important;
font-size:16px ! important;
}
#wm_cookie, #wm_cookie form,#wm_cookie textarea,#wm_cookie input,#wm_cookie select,#wm_cookie p,#wm_cookie div,#wm_cookie span {
Expand All @@ -9,7 +9,7 @@
}
#wm_cookie-consent{
display:none;
z-index:999999999 ! important;
z-index:9999999999999 ! important;
position: fixed;
width: 100%;
padding: 20px;
Expand Down Expand Up @@ -146,13 +146,13 @@ margin: 0px;
margin: 30px auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
width: calc(100% - 80px);
max-width: 600px;
max-height: calc(100vh - 60px);
}
#wm_cookie-preferences-modal-body{
max-height:calc(100vh - 210px) ! important;
min-height:calc(100vh - 210px) ! important;
max-height:calc(100vh - 210px);
min-height:calc(100vh - 210px);
overflow-y:auto ! important;
}
.wm_cookie-option {
Expand Down Expand Up @@ -228,12 +228,12 @@ margin: 0px;
cursor: pointer;
padding: 6px 5px ! important;
font-size: 25px ! important;
font-weight: 600 ! important;
border: none ! important;
border-radius: 6px;
background: transparent ! important;
color: #999 ! important;
text-align:right;
color: #21759b ! important;
text-align: right;
text-shadow: 1px 0px 3px #21759b55;
}
/* Style for tabs */
.wm_cookie-tab {
Expand Down Expand Up @@ -264,17 +264,31 @@ margin: 0px;
.wm_cookie-accordion-body.active {
display: block;
}

.buttons-brand{
padding:20px 0 0;width:100%;background:#fff;
}
@media only screen and (max-width: 600px) {
.buttons-brand{
padding: 20px 0 0;
width: 100%;
background: #fff;
text-align: center;
}
.wm_brand{
float: none;
text-align: center;
display: block;
width: 100%;
margin-top: 15px;
}
#wm_cookie-preferences-modal-content{
margin:0px;
width:calc(100% - 40px);
height:100%;
max-height:100%;
}
#wm_cookie-preferences-modal-body {
max-height: calc(100vh - 250px);
min-height: calc(100vh - 250px);
max-height: calc(100vh - 190px);
min-height: calc(100vh - 190px);
}
}
2 changes: 1 addition & 1 deletion wm-cookie-consent.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9b1da4f

Please sign in to comment.