mirror of
https://codeberg.org/kirche-im-netz/Startodon-Hub.git
synced 2025-08-05 10:45:05 +02:00
158 lines
No EOL
2.6 KiB
CSS
158 lines
No EOL
2.6 KiB
CSS
/* Allgemeines Popup-Styling */
|
|
.popup {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
padding: 10px;
|
|
background: rgba(53, 53, 53, 0.8);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.popup.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.popup-content {
|
|
position: relative;
|
|
background-color: var(--background-color);
|
|
border-radius: 15px;
|
|
width: 90vh;
|
|
height: auto;
|
|
max-width: 500px;
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Header-Styling */
|
|
.popup-header {
|
|
flex: 0 0 auto;
|
|
padding: 20px 20px 0 20px;
|
|
font-size: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Body-Text */
|
|
.popup-body {
|
|
flex: 1 1 auto;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
padding: 0 20px 20px 20px;
|
|
margin: 0 15px;
|
|
white-space: normal;
|
|
border-top: 1px solid #ccc;
|
|
}
|
|
|
|
.consent-popup .popup-body {
|
|
border-top: 0;
|
|
}
|
|
|
|
.popup-content p {
|
|
font-size: 1rem;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.popup-content.consent-popup p {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.popup-content a {
|
|
color: #007BFF;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.popup-content a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Footer-Styling */
|
|
.popup-footer {
|
|
flex: 0 0 auto;
|
|
padding: 20px;
|
|
background: #f5f5f5;
|
|
border-top: 1px solid #ddd;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Button-Styling */
|
|
.popup-content button {
|
|
padding: 10px 15px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.popup-content button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Spezielle Buttons für Consent */
|
|
.popup-content #consent-accept {
|
|
background: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.popup-content #consent-accept:hover {
|
|
background: #218838;
|
|
}
|
|
|
|
.popup-content #consent-decline {
|
|
background: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
.popup-content #consent-decline:hover {
|
|
background: #c82333;
|
|
}
|
|
|
|
.html-no-scroll {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/*---- Consent-Popup ----*/
|
|
.consent-popup .popup-body {
|
|
text-align: center;
|
|
}
|
|
|
|
/*---- create Starterkit Popup ----*/
|
|
form {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
form label {
|
|
display: block;
|
|
font-size: 0.9rem;
|
|
font-weight: bold;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
form input[type="text"],
|
|
form textarea {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 15px;
|
|
border: 0px;
|
|
border-radius: 5px;
|
|
font-size: 1rem;
|
|
color: #fff;
|
|
box-sizing: border-box;
|
|
background-color: var(--secondary-background-color);
|
|
font-family: var(--font-family);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
form textarea {
|
|
height: 80px;
|
|
resize: none;
|
|
}
|
|
|
|
form textarea[id="kit-accounts"] {
|
|
height: 120px;
|
|
} |