added additional plugins
This commit is contained in:
parent
c85895d306
commit
00e60ec1b7
132 changed files with 27514 additions and 0 deletions
303
native/wordpress/maple-gdpr-cookies/public/css/frontend.css
Normal file
303
native/wordpress/maple-gdpr-cookies/public/css/frontend.css
Normal file
|
|
@ -0,0 +1,303 @@
|
|||
/* Maple GDPR Cookies - Frontend Styles */
|
||||
|
||||
.mgc-notice {
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
padding: 20px;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mgc-notice.mgc-position-bottom {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mgc-notice.mgc-position-top {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mgc-notice.mgc-position-center {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
max-width: 600px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.mgc-notice.mgc-theme-dark {
|
||||
background: #2c3e50;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mgc-notice-content {
|
||||
margin-bottom: 15px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.mgc-notice-buttons {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.mgc-button {
|
||||
padding: 10px 20px;
|
||||
border: 2px solid #222222;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
background: #3498db;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mgc-button:hover {
|
||||
background: #2980b9;
|
||||
border-color: #222222;
|
||||
}
|
||||
|
||||
/* Button Color Variants */
|
||||
.mgc-button-color-blue {
|
||||
background: #3498db;
|
||||
}
|
||||
|
||||
.mgc-button-color-blue:hover {
|
||||
background: #2980b9;
|
||||
}
|
||||
|
||||
.mgc-button-color-black {
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
.mgc-button-color-black:hover {
|
||||
background: #1a1a1a;
|
||||
}
|
||||
|
||||
.mgc-button-color-dark-grey {
|
||||
background: #4a4a4a;
|
||||
}
|
||||
|
||||
.mgc-button-color-dark-grey:hover {
|
||||
background: #5a5a5a;
|
||||
}
|
||||
|
||||
.mgc-button-color-red {
|
||||
background: #e74c3c;
|
||||
}
|
||||
|
||||
.mgc-button-color-red:hover {
|
||||
background: #c0392b;
|
||||
}
|
||||
|
||||
.mgc-button-color-green {
|
||||
background: #27ae60;
|
||||
}
|
||||
|
||||
.mgc-button-color-green:hover {
|
||||
background: #229954;
|
||||
}
|
||||
|
||||
.mgc-button-accept {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mgc-button-reject {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mgc-button-settings {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mgc-privacy-link {
|
||||
color: #3498db;
|
||||
text-decoration: none;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.mgc-privacy-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Animation: Slide */
|
||||
.mgc-animation-slide.mgc-position-bottom {
|
||||
animation: mgc-slide-up 0.5s ease-out;
|
||||
}
|
||||
|
||||
.mgc-animation-slide.mgc-position-top {
|
||||
animation: mgc-slide-down 0.5s ease-out;
|
||||
}
|
||||
|
||||
@keyframes mgc-slide-up {
|
||||
from {
|
||||
transform: translateY(100%);
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes mgc-slide-down {
|
||||
from {
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Animation: Fade */
|
||||
.mgc-animation-fade {
|
||||
animation: mgc-fade-in 0.5s ease-out;
|
||||
}
|
||||
|
||||
@keyframes mgc-fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile responsive */
|
||||
@media (max-width: 768px) {
|
||||
.mgc-notice {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.mgc-notice-buttons {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.mgc-button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hidden state */
|
||||
.mgc-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Persistent Floating Cookie Settings Button */
|
||||
.mgc-floating-button {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
left: 20px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
background: #3498db;
|
||||
color: #fff;
|
||||
border: 2px solid #222222;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 999998;
|
||||
transition: all 0.3s ease;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.mgc-floating-button:hover {
|
||||
background: #2980b9;
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.mgc-floating-button svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
/* Footer Preference Link */
|
||||
.mgc-footer-preference-link {
|
||||
position: fixed;
|
||||
bottom: 10px;
|
||||
left: 10px;
|
||||
font-size: 8pt;
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
z-index: 999998;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
padding: 4px 8px;
|
||||
border-radius: 3px;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.mgc-footer-preference-link:hover {
|
||||
color: #3498db;
|
||||
text-decoration: underline;
|
||||
background: rgba(255, 255, 255, 1);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* Shortcode Preference Link */
|
||||
.mgc-preferences-link {
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.mgc-preferences-link:hover {
|
||||
color: #3498db;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Settings Modal */
|
||||
.mgc-settings-modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 9999999;
|
||||
animation: mgc-fade-in 0.3s ease-out;
|
||||
}
|
||||
|
||||
.mgc-settings-content {
|
||||
background: #fff;
|
||||
padding: 30px;
|
||||
border-radius: 8px;
|
||||
max-width: 600px;
|
||||
width: 90%;
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
||||
animation: mgc-scale-in 0.3s ease-out;
|
||||
}
|
||||
|
||||
@keyframes mgc-scale-in {
|
||||
from {
|
||||
transform: scale(0.9);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.mgc-category {
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.mgc-category:hover {
|
||||
background: #f9f9f9;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue