mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-22 15:39:11 +00:00
refactor: improve sheet flow management
This commit is contained in:
committed by
Carlos Valente
parent
f53cb687bf
commit
f739ba122b
+133
-26
@@ -1,36 +1,143 @@
|
||||
.uploadSection,
|
||||
.finishSection {
|
||||
margin-top: 1rem;
|
||||
.introStack {
|
||||
display: flex;
|
||||
padding: 3rem 1rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: $gray-1350;
|
||||
border: 1px solid $white-10;
|
||||
border-radius: $component-border-radius-md;
|
||||
}
|
||||
|
||||
.uploadSection {
|
||||
flex-direction: row;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.finishSection {
|
||||
font-size: 1.5rem;
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: $red-500;
|
||||
}
|
||||
.success {
|
||||
color: $green-500;
|
||||
}
|
||||
.setupLead,
|
||||
.finishTitle {
|
||||
margin: 0;
|
||||
color: $ui-white;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.setupBody,
|
||||
.finishDescription,
|
||||
.sourceDescription {
|
||||
margin: 0;
|
||||
color: $gray-400;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.sourceGrid,
|
||||
.finishSection {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.sourceGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.sourceCard,
|
||||
.finishSection,
|
||||
.setupBlock {
|
||||
border: 1px solid $white-10;
|
||||
border-radius: $component-border-radius-md;
|
||||
background: $gray-1350;
|
||||
}
|
||||
|
||||
.sourceCard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
min-height: 14rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.sourceHeader,
|
||||
.setupIntroText {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.sourceTitle {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
color: $ui-white;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.sourceMeta,
|
||||
.setupHint {
|
||||
color: $gray-500;
|
||||
font-size: calc(1rem - 2px);
|
||||
}
|
||||
|
||||
.finishSection {
|
||||
display: flex;
|
||||
padding: 2rem 1rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.finishBadge {
|
||||
padding: 0.35rem 0.7rem;
|
||||
font-size: calc(1rem - 3px);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
text-transform: uppercase;
|
||||
border-radius: 2px;
|
||||
color: $blue-300;
|
||||
background-color: rgb(87 153 255 / 12%);
|
||||
border: 1px solid rgb(87 153 255 / 22%);
|
||||
}
|
||||
|
||||
.setupShell {
|
||||
margin-top: 1rem;
|
||||
border-top: 1px solid $white-10;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.setupIntro {
|
||||
padding: 0 2rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.setupBlock {
|
||||
list-style: none;
|
||||
margin: 0 2rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.setupActions {
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.statusIdle {
|
||||
color: $gray-400;
|
||||
background-color: $white-3;
|
||||
}
|
||||
|
||||
.statusPending {
|
||||
color: $orange-400;
|
||||
background-color: rgb(255 162 0 / 10%);
|
||||
}
|
||||
|
||||
.statusReady {
|
||||
color: $green-400;
|
||||
background-color: rgb(57 198 120 / 10%);
|
||||
}
|
||||
|
||||
@media (max-width: $medium-screen) {
|
||||
.uploadSection {
|
||||
.sourceGrid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.setupIntro {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.setupBlock {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user