(#3) - templating

This commit is contained in:
Martin Slachta
2026-06-14 07:16:13 +02:00
parent f4d3972d07
commit 8e264b8892
32 changed files with 870 additions and 126 deletions
+44 -42
View File
@@ -1,19 +1,30 @@
.rsv-form-btn {
border-radius: 1.375rem;
border: 1.5px solid #e0e0e0;
color: #555;
padding: 0 calc(1.25rem + 4px);
height: 3.5rem;
background-color: white;
line-height: 140%;
font-size: 1rem;
font-size: 15px;
font-weight: 600;
font-family: inherit;
outline: none;
}
.rsv-form-btn:hover {
background-color: #f5f5f5;
}
/* Primary CTA (submit / confirm) */
.rsv-form-btn-primary {
background: #2563eb;
color: #fff;
border-radius: 1.375rem;
font-size: 1rem;
padding: 0 calc(1.25rem + 4px);
line-height: 140%;
height: 3.5rem;
border: none;
font-size: 15px;
font-weight: 600;
font-family: inherit;
cursor: pointer;
width: 100%;
transition: background .12s;
@@ -43,12 +54,6 @@
margin-right: auto;
}
/*.reservair-form button {
padding: var(--s-3) !important;
font-weight: 400 !important;
}*/
/*.reservair-form button,*/
.rsv-form-input {
border: 1px solid var(--color-gray-300);
outline: none;
@@ -165,47 +170,44 @@
box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-red-500) 25%, transparent) !important;
}
.rsv-success-message {
.rsv-success-msg {
text-align: center;
padding: var(--s-5);
color: var(--color-green-700);
width: 320px;
}
.rsv-success-message p {
.rsv-success-msg p {
margin-top: 0;
font-size: 1.125rem;
font-weight: 500;
}
.mesg {
width: 100%;
text-align: center;
line-height: 1rem;
margin-top: var(--s-5);
margin-bottom: var(--s-5);
padding: var(--s-4) 0;
.rsv-success-msg h1,
.rsv-success-msg h2,
.rsv-success-msg h3,
.rsv-success-msg h4,
.rsv-success-msg h5,
.rsv-success-msg h6
{
margin-top: 0;
margin-bottom: 0.5rem;
}
.success-mesg-icon {
.rsv-summary {
margin-bottom: 2rem;
}
.mesg-icon svg {
width: 32px;
height: 32px;
padding: var(--s-2);
.rsv-success-icon {
width: 64px;
height: 64px;
border-radius: 50%;
color: #00000094;
background: #dcfce7;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}
.error-mesg svg {
background-color: var(--color-red-200);
}
.success-mesg svg {
background-color: rgba(0, 201, 80, 0.36);
}
/* FORM END */
.rsv-timetable-selector {
display: grid;
grid-template-columns: repeat(2, 1fr);