.ae-ical-feed-trigger {
text-decoration: none;
cursor: pointer;
}
.ae-ical-feed-trigger:hover {
text-decoration: underline;
} .ae-ical-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 100000;
display: none;
} .ae-ical-modal-backdrop {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
cursor: pointer;
} .ae-ical-modal-content {
position: relative;
width: 90%;
max-width: 500px;
margin: 5% auto;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
transform: scale(0.9);
opacity: 0;
transition: all 0.2s ease-in-out;
} .ae-ical-modal-content.ae-modal-animate-in {
transform: scale(1);
opacity: 1;
}
.ae-ical-modal-content.ae-modal-animate-out {
transform: scale(0.9);
opacity: 0;
} .ae-ical-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px 0;
border-bottom: 1px solid #eee;
margin-bottom: 20px;
}
.ae-ical-modal-header h3 {
margin: 0 0 15px 0;
color: #333;
font-size: 1.3em;
} .ae-ical-modal-close {
background: none;
border: none;
font-size: 24px;
color: #666;
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.2s;
}
.ae-ical-modal-close:hover {
background: #f0f0f0;
color: #333;
} .ae-ical-modal-body {
padding: 0 24px 24px;
} .ae-ical-modal-body p {
margin-bottom: 15px;
color: #666;
} .ae-ical-feed-url {
display: flex;
gap: 8px;
margin-bottom: 20px;
align-items: center;
flex-wrap: wrap;
} .ae-feed-url-input {
flex: 1;
min-width: 250px;
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 3px;
font-family: monospace;
font-size: 13px;
background: #fff;
cursor: pointer;
}
.ae-feed-url-input:focus {
outline: none;
border-color: #0073aa;
box-shadow: 0 0 0 1px #0073aa;
} .ae-copy-feed {
color: #0073aa;
cursor: pointer;
font-size: 14px;
text-decoration: none;
white-space: nowrap;
user-select: none;
display: inline-block;
width: 50px;
text-align: left;
font-weight: normal;
}
.ae-copy-feed:hover {
color: #005a87;
}
.ae-copy-feed.ae-copy-success {
color: #46b450;
text-decoration: none;
} .ae-copy-feedback {
display: none !important;
} .ae-ical-subscribe-links {
margin-bottom: 20px;
} .ae-webcal-link {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: #fff;
color: #333;
border: 1px solid #000;
border-radius: 3px;
text-decoration: none;
font-size: 14px;
transition: all 0.2s;
}
.ae-webcal-link:hover {
background: #f5f5f5;
color: #333;
text-decoration: none;
}
.ae-webcal-link .dashicons {
font-size: 16px;
width: 16px;
height: 16px;
line-height: 16px;
} .ae-ical-instructions {
margin-top: 20px;
border: none;
background: none;
}
.ae-instructions-summary {
cursor: pointer;
color: #333;
font-weight: 500;
user-select: none;
outline: none;
list-style: none;
display: flex;
align-items: center;
gap: 8px;
}
.ae-instructions-summary:hover {
color: #555;
}
.ae-instructions-summary::-webkit-details-marker {
display: none;
}
.ae-caret {
font-size: 12px;
color: #666;
transition: transform 0.2s;
display: inline-block;
width: 12px;
}
.ae-ical-app-instructions {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #eee;
}
.ae-ical-app-instructions p {
margin: 8px 0;
line-height: 1.6;
}
.ae-ical-app-instructions strong {
color: #333;
} .ae-modal-open {
overflow: hidden;
} @media (max-width: 480px) {
.ae-ical-modal-content {
width: 95%;
margin: 10px auto;
}
.ae-ical-modal-header,
.ae-ical-modal-body {
padding-left: 16px;
padding-right: 16px;
}
.ae-ical-modal-header h3 {
font-size: 1.1em;
}
.ae-ical-feed-url {
flex-direction: column;
align-items: stretch;
}
.ae-feed-url-input {
min-width: auto;
margin-bottom: 10px;
}
.ae-copy-feed {
width: 100%;
}
.ae-webcal-link {
display: flex;
justify-content: center;
width: 100%;
margin-top: 10px;
}
} @media (prefers-contrast: high) {
.ae-ical-modal-backdrop {
background: rgba(0, 0, 0, 0.9);
}
.ae-ical-modal-content {
border: 2px solid #000;
}
} @media (prefers-color-scheme: dark) {
.ae-ical-modal-content {
background: #2a2a2a;
color: #e0e0e0;
}
.ae-ical-modal-header {
border-color: #444;
}
.ae-ical-modal-header h3 {
color: #e0e0e0;
}
.ae-ical-modal-close {
color: #ccc;
}
.ae-ical-modal-close:hover {
background: #444;
color: #fff;
}
.ae-ical-modal-body p {
color: #ccc;
}
.ae-feed-url-input {
background: #1a1a1a;
border-color: #444;
color: #e0e0e0;
}
.ae-ical-instructions {
background: #333;
border-color: #444;
}
.ae-ical-app-instructions strong {
color: #e0e0e0;
}
}