Improved GDPR compliance
- Add more customization TODO: Update styling
This commit is contained in:
@ -224,4 +224,73 @@
|
||||
.gdpr-cookie-more-info {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.gdpr-cookie-info-block {
|
||||
margin: 15px 0;
|
||||
padding: 15px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.gdpr-cookie-info-block p {
|
||||
margin: 5px 0;
|
||||
font-size: 13px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.gdpr-cookie-banner-info {
|
||||
margin: 5px 0 10px;
|
||||
}
|
||||
|
||||
.gdpr-cookie-banner-info p {
|
||||
font-size: 12px;
|
||||
opacity: 0.9;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Equal prominence for buttons */
|
||||
.gdpr-cookie-banner-decline,
|
||||
.gdpr-cookie-banner-accept {
|
||||
font-weight: 400;
|
||||
padding: 8px 15px;
|
||||
border-radius: 3px;
|
||||
/* Make both buttons similar size but distinctive */
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.gdpr-cookie-banner-decline {
|
||||
background-color: #f1f1f1;
|
||||
color: #333;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.gdpr-cookie-banner-accept {
|
||||
background-color: #4caf50;
|
||||
color: white;
|
||||
border: 1px solid #4caf50;
|
||||
}
|
||||
|
||||
/* Manage button styles */
|
||||
.gdpr-cookie-manage-button {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
z-index: 9990;
|
||||
}
|
||||
|
||||
.gdpr-cookie-manage {
|
||||
padding: 8px 12px;
|
||||
background-color: #f1f1f1;
|
||||
color: #333;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.gdpr-cookie-manage:hover {
|
||||
background-color: #e5e5e5;
|
||||
}
|
Reference in New Issue
Block a user