Add onboarding weather and template gradients
This commit is contained in:
@@ -893,6 +893,103 @@
|
||||
background: var(--bs-tertiary-bg);
|
||||
}
|
||||
|
||||
.onboarding-pairing-card > .card-header {
|
||||
padding: 0.75rem 1rem;
|
||||
}
|
||||
|
||||
.onboarding-pairing-card .card-body {
|
||||
padding: 0.75rem 1rem;
|
||||
}
|
||||
|
||||
.onboarding-pairing-card.is-pairing .card-body > :not(.onboarding-pairing-progress) {
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.onboarding-pairing-progress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
|
||||
.onboarding-pairing-card > .card-footer {
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.onboarding-client-list-link {
|
||||
flex-basis: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.onboarding-pin-inputs {
|
||||
display: flex;
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.onboarding-pin-inputs .form-control {
|
||||
flex: 1 1 0;
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
max-width: 3.5rem;
|
||||
height: 3.5rem;
|
||||
padding: 0.25rem;
|
||||
text-align: center;
|
||||
font-size: 1.5rem;
|
||||
line-height: 1;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.onboarding-pin-inputs .form-control + .form-control {
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
.onboarding-pin-inputs .form-control:first-child {
|
||||
border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
|
||||
}
|
||||
|
||||
.onboarding-pin-inputs .form-control:last-child {
|
||||
border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
|
||||
}
|
||||
|
||||
.onboarding-pin-inputs .form-control:focus {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.onboarding-scanner {
|
||||
position: fixed;
|
||||
z-index: 1050;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 1rem;
|
||||
background: rgba(0, 0, 0, 0.68);
|
||||
}
|
||||
|
||||
.onboarding-scanner-panel {
|
||||
width: min(100%, 32rem);
|
||||
padding: 1rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: var(--bs-border-radius-lg);
|
||||
background: var(--bs-body-bg);
|
||||
box-shadow: var(--bs-box-shadow-lg);
|
||||
}
|
||||
|
||||
.onboarding-scanner-video {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
object-fit: cover;
|
||||
border-radius: var(--bs-border-radius);
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.timetable-entries-table-shell {
|
||||
overflow: hidden;
|
||||
border-bottom-left-radius: calc(var(--bs-border-radius) - 1px);
|
||||
@@ -1114,11 +1211,15 @@
|
||||
|
||||
.screen-command-panel {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
|
||||
grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(12rem, 0.7fr);
|
||||
gap: 1rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.screen-command-panel-pairing-only {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.screen-command-panel-left {
|
||||
display: grid;
|
||||
gap: 0.85rem;
|
||||
@@ -1161,6 +1262,28 @@
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.screen-command-pairing {
|
||||
display: grid;
|
||||
gap: 0.65rem;
|
||||
align-content: start;
|
||||
padding: 0.9rem 0 0.9rem 1rem;
|
||||
border-left: 1px solid var(--bs-border-color);
|
||||
}
|
||||
|
||||
.screen-command-pairing > div {
|
||||
display: grid;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.screen-command-pairing .btn {
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.screen-command-panel-pairing-only .screen-command-pairing {
|
||||
padding-left: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.screen-command-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -1206,6 +1329,11 @@
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.screen-command-pairing {
|
||||
padding: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.screen-command-actions {
|
||||
justify-content: stretch;
|
||||
}
|
||||
@@ -3330,4 +3458,43 @@ table.table thead th.sort-desc .table-sort-indicator {
|
||||
|
||||
.weather-preview-hourly-item {
|
||||
width: 7.5rem;
|
||||
}
|
||||
|
||||
.gradient-stop-bar {
|
||||
position: relative;
|
||||
height: 2.25rem;
|
||||
padding: 0.45rem 0;
|
||||
cursor: crosshair;
|
||||
}
|
||||
|
||||
.gradient-stop-bar-track {
|
||||
height: 1.35rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 0.35rem;
|
||||
background: var(--bs-secondary-bg);
|
||||
}
|
||||
|
||||
.gradient-stop-bar-handles {
|
||||
position: absolute;
|
||||
inset: 0 0.25rem;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.gradient-stop-handle {
|
||||
position: absolute;
|
||||
top: 0.1rem;
|
||||
width: 1rem;
|
||||
height: 2rem;
|
||||
padding: 0;
|
||||
border: 2px solid var(--bs-body-bg);
|
||||
border-radius: 0.35rem;
|
||||
box-shadow: 0 0 0 1px var(--bs-body-color);
|
||||
transform: translateX(-50%);
|
||||
cursor: grab;
|
||||
pointer-events: auto;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.gradient-stop-handle:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
Reference in New Issue
Block a user