New widget
This commit is contained in:
143
wp-content/plugins/elementor-addon/assets/css/main.css
Normal file
143
wp-content/plugins/elementor-addon/assets/css/main.css
Normal file
@@ -0,0 +1,143 @@
|
||||
.ea-popup-widget {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ea-popup-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
min-height: 20px;
|
||||
padding: 12px 24px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
background: #1f7a8c;
|
||||
color: #fff;
|
||||
font: inherit;
|
||||
line-height: 1.2;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.ea-popup-button:hover,
|
||||
.ea-popup-button:focus {
|
||||
background: #195f6d;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ea-popup-button:focus-visible,
|
||||
.ea-popup-close:focus-visible {
|
||||
outline: 2px solid currentColor;
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.ea-popup-modal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 2147483647;
|
||||
width: 100vw;
|
||||
max-width: none;
|
||||
height: 100vh;
|
||||
max-height: none;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 24px;
|
||||
border: 0;
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.2s ease, visibility 0.2s ease;
|
||||
}
|
||||
|
||||
.ea-popup-modal:not([open]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ea-popup-modal.is-open {
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.ea-popup-modal::backdrop {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.ea-popup-dialog {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
max-width: 720px;
|
||||
max-height: calc(100vh - 48px);
|
||||
overflow: auto;
|
||||
padding: 32px;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
color: #1a1a1a;
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
|
||||
transform: translateY(12px);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.ea-popup-modal.is-open .ea-popup-dialog {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.ea-popup-close {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
background: transparent;
|
||||
color: #333;
|
||||
font-size: 28px;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ea-popup-close:hover,
|
||||
.ea-popup-close:focus {
|
||||
background: rgba(0, 0, 0, 0.08);
|
||||
color: #111;
|
||||
}
|
||||
|
||||
.ea-popup-content {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.ea-popup-content > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.ea-popup-content > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
body.ea-popup-lock {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.ea-popup-modal {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.ea-popup-dialog {
|
||||
max-height: calc(100vh - 32px);
|
||||
padding: 28px 22px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user