Add simplified Open Practice flow and reorganize
This commit is contained in:
131
src/styles.css
131
src/styles.css
@@ -107,6 +107,9 @@ body {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.brand {
|
||||
@@ -145,8 +148,23 @@ body {
|
||||
|
||||
.nav {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
gap: 6px;
|
||||
padding-top: 6px;
|
||||
align-content: start;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.nav-group-label {
|
||||
margin: 9px 4px 1px;
|
||||
color: var(--muted);
|
||||
font-size: 0.66rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.13em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.nav-group-label:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
@@ -154,7 +172,7 @@ body {
|
||||
background: var(--surface-soft);
|
||||
color: var(--text);
|
||||
border-radius: 10px;
|
||||
padding: 10px 12px;
|
||||
padding: 8px 12px;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
@@ -172,13 +190,52 @@ body {
|
||||
}
|
||||
|
||||
.sidebar-footer {
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
bottom: 16px;
|
||||
position: static;
|
||||
margin-top: 14px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.open-practice-quickstart {
|
||||
border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
|
||||
background:
|
||||
linear-gradient(115deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 48%),
|
||||
var(--panel);
|
||||
}
|
||||
|
||||
.open-practice-quickstart-body {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
|
||||
gap: 18px;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.open-practice-benefits {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.open-practice-benefits span {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
padding: 6px 10px;
|
||||
color: var(--muted);
|
||||
background: var(--surface-soft);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.open-practice-quickstart-form {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(160px, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.open-practice-quickstart-form label {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-block;
|
||||
border-radius: 999px;
|
||||
@@ -1282,6 +1339,54 @@ select:focus {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.dashboard-workflow {
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%),
|
||||
var(--panel);
|
||||
}
|
||||
|
||||
.dashboard-workflow-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.dashboard-workflow-card {
|
||||
min-height: 190px;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
gap: 12px;
|
||||
padding: 15px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
background: var(--surface-card);
|
||||
}
|
||||
|
||||
.dashboard-workflow-card-primary {
|
||||
border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
|
||||
background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 12%, var(--surface-card)), var(--surface-card));
|
||||
}
|
||||
|
||||
.dashboard-workflow-card p {
|
||||
margin: 7px 0 0;
|
||||
color: var(--muted);
|
||||
line-height: 1.4;
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
.workflow-number {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 9px;
|
||||
font-family: Orbitron, sans-serif;
|
||||
font-weight: 800;
|
||||
color: var(--text);
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
|
||||
background: color-mix(in srgb, var(--accent) 12%, var(--surface-elevated));
|
||||
}
|
||||
|
||||
.dashboard-live-stack {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
@@ -2524,6 +2629,10 @@ select:focus {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.dashboard-workflow-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.training-layout {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
@@ -2555,6 +2664,16 @@ select:focus {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.dashboard-workflow-grid,
|
||||
.open-practice-quickstart-body,
|
||||
.open-practice-quickstart-form {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.dashboard-workflow-card {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.race-setup-modebar,
|
||||
.race-format-save-row,
|
||||
.race-wizard-footer {
|
||||
|
||||
Reference in New Issue
Block a user