302 lines
12 KiB
CSS
302 lines
12 KiB
CSS
html, body {
|
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
color: #333;
|
|
background-color: #f8f7f5;
|
|
}
|
|
|
|
h1:focus {
|
|
outline: none;
|
|
}
|
|
|
|
a, .btn-link {
|
|
color: #006bb7;
|
|
}
|
|
|
|
.btn-primary {
|
|
color: #fff;
|
|
background-color: #1b6ec2;
|
|
border-color: #1861ac;
|
|
}
|
|
|
|
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
|
|
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
|
|
}
|
|
|
|
.nav-link {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.content {
|
|
padding-top: 1.1rem;
|
|
}
|
|
|
|
.valid.modified:not([type=checkbox]) {
|
|
outline: 1px solid #26b050;
|
|
}
|
|
|
|
.invalid {
|
|
outline: 1px solid red;
|
|
}
|
|
|
|
.validation-message {
|
|
color: red;
|
|
}
|
|
|
|
#blazor-error-ui {
|
|
background: lightyellow;
|
|
bottom: 0;
|
|
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
|
|
display: none;
|
|
left: 0;
|
|
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
#blazor-error-ui .dismiss {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: 0.75rem;
|
|
top: 0.5rem;
|
|
}
|
|
|
|
.blazor-error-boundary {
|
|
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZ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QzI2NC40NDQgODUuOTI1NiAyNjMuOTUgODYuNDE5OCAyNjMuMzQzIDg2LjQxOTgiLz48L2c+PC9zdmc+) no-repeat 1rem/1.8rem, #b32121;
|
|
padding: 1rem 1rem 1rem 3.7rem;
|
|
color: white;
|
|
}
|
|
|
|
.blazor-error-boundary::after {
|
|
content: "An error has occurred."
|
|
}
|
|
|
|
.page {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
background-color: #f8f7f5;
|
|
box-shadow: inset 4px 0 8px -4px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.sidebar {
|
|
background-image: linear-gradient(180deg, rgb(83 83 83) 0%, #2f2f2f 70%);
|
|
}
|
|
|
|
.top-row {
|
|
background-color: #f3f1ee;
|
|
border-bottom: 1px solid #e0ddd8;
|
|
justify-content: flex-end;
|
|
height: 3.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.top-row ::deep a, .top-row ::deep .btn-link {
|
|
white-space: nowrap;
|
|
margin-left: 1.5rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.top-row ::deep a:first-child {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@media (max-width: 640.98px) {
|
|
.top-row {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.top-row ::deep a, .top-row ::deep .btn-link {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 641px) {
|
|
.page {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 250px;
|
|
height: 100vh;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.top-row {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.top-row.auth ::deep a:first-child {
|
|
flex: 1;
|
|
text-align: right;
|
|
width: 0;
|
|
}
|
|
|
|
.top-row, article {
|
|
padding-left: 2rem !important;
|
|
padding-right: 1.5rem !important;
|
|
}
|
|
}
|
|
|
|
/* Custom styles for length input */
|
|
.length-input {
|
|
position: relative;
|
|
}
|
|
|
|
/* Table improvements */
|
|
.table th {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Card improvements */
|
|
.card {
|
|
background-color: #fdfcfb;
|
|
border-color: #e0ddd8;
|
|
}
|
|
|
|
.card-header {
|
|
background-color: #f0eeeb;
|
|
border-bottom-color: #e0ddd8;
|
|
}
|
|
|
|
/* Form improvements */
|
|
.form-label {
|
|
font-weight: 500;
|
|
margin-bottom: 0.25rem;
|
|
color: #444;
|
|
}
|
|
|
|
.form-text {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.form-control, .form-select {
|
|
background-color: #fdfcfb;
|
|
border-color: #d5d0ca;
|
|
color: #333;
|
|
}
|
|
|
|
.form-control:focus, .form-select:focus {
|
|
background-color: #fff;
|
|
border-color: #258cfb;
|
|
}
|
|
|
|
.form-control::placeholder {
|
|
color: #aaa;
|
|
}
|
|
|
|
/* Soften headings */
|
|
h1, h2, h3, h4, h5, h6 {
|
|
color: #2a2a2a;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Table softening */
|
|
.table {
|
|
color: #333;
|
|
}
|
|
|
|
.table > :not(caption) > * > * {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* Better mobile responsiveness for tables */
|
|
@media (max-width: 768px) {
|
|
.table-responsive-stack td,
|
|
.table-responsive-stack th {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
/* CutList visual system */
|
|
:root {
|
|
--ink: #20231f;
|
|
--muted: #697168;
|
|
--paper: #f4f1e9;
|
|
--paper-bright: #fbfaf6;
|
|
--line: #d9d5ca;
|
|
--orange: #ed6b3b;
|
|
--orange-dark: #d95a2d;
|
|
--green: #28534a;
|
|
--rail: #1d211e;
|
|
}
|
|
|
|
html, body { background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
|
|
body { letter-spacing: -.01em; }
|
|
main { background: var(--paper); box-shadow: none; min-width: 0; }
|
|
.sidebar { background: var(--rail); border-right: 1px solid #30342f; }
|
|
.content { margin: 0 auto; max-width: 1440px; padding: 2.75rem clamp(1.5rem, 4vw, 4.5rem) 4rem; }
|
|
.workspace-header { align-items: center; background: rgba(244,241,233,.88); border-bottom: 1px solid var(--line); display: flex; height: 4.5rem; justify-content: space-between; padding: 0 clamp(1.5rem, 4vw, 4.5rem); position: sticky; top: 0; z-index: 5; }
|
|
.workspace-eyebrow, .eyebrow { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .14em; margin: 0; text-transform: uppercase; }
|
|
.workspace-status { align-items: center; color: var(--muted); display: flex; font-size: .78rem; font-weight: 650; gap: .45rem; }
|
|
.status-dot { background: #4d9d75; border-radius: 50%; box-shadow: 0 0 0 3px rgba(77,157,117,.14); height: .45rem; width: .45rem; }
|
|
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.045em; }
|
|
h1 { font-size: clamp(2.25rem, 4vw, 4.1rem); line-height: .98; }
|
|
h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); }
|
|
a, .btn-link { color: var(--green); }
|
|
.btn { border-radius: .35rem; font-size: .85rem; font-weight: 750; letter-spacing: .01em; padding: .65rem 1rem; }
|
|
.btn-primary { background: var(--orange); border-color: var(--orange); color: #231c19; }
|
|
.btn-primary:hover, .btn-primary:focus { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
|
|
.btn-outline-primary { border-color: #8e968c; color: var(--green); }
|
|
.btn-outline-primary:hover { background: var(--green); border-color: var(--green); }
|
|
.btn-success { background: var(--green); border-color: var(--green); }
|
|
.btn-success:hover { background: #1f423a; border-color: #1f423a; }
|
|
.form-control, .form-select { background: var(--paper-bright); border-color: #c9c5b9; border-radius: .35rem; padding: .62rem .75rem; }
|
|
.form-control:focus, .form-select:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(237,107,59,.14); }
|
|
.card { background: var(--paper-bright); border: 1px solid var(--line); border-radius: .5rem; box-shadow: none; }
|
|
.card-header { background: #eeebe3; }
|
|
.table { --bs-table-striped-bg: rgba(32,35,31,.025); border-color: var(--line); font-size: .9rem; }
|
|
.table > :not(caption) > * > * { padding: .85rem .75rem; }
|
|
.table thead th { border-bottom-width: 1px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
|
|
.table a { font-weight: 700; text-decoration-color: rgba(40,83,74,.28); text-underline-offset: .15em; }
|
|
.table-actions { align-items: center; display: inline-flex; flex-wrap: nowrap; gap: .35rem; white-space: nowrap; }
|
|
.table-actions .btn { align-items: center; display: inline-flex; justify-content: center; min-height: 2rem; min-width: 2rem; padding: .35rem .45rem; }
|
|
.alert { border-radius: .4rem; border-width: 1px; }
|
|
|
|
/* Dashboard */
|
|
.dashboard-hero { background: var(--green); color: #f8f4ea; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.2fr) minmax(190px, .8fr); min-height: 310px; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem); position: relative; }
|
|
.dashboard-hero h1 { color: #fffaf0; margin: .55rem 0 1rem; max-width: 8.5ch; }
|
|
.dashboard-hero .eyebrow { color: #b4c6b8; }
|
|
.hero-copy { color: #d7e0d8; font-size: 1.05rem; line-height: 1.6; margin: 0; max-width: 33rem; }
|
|
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
|
|
.btn-quiet { align-items: center; color: #fffaf0; display: inline-flex; gap: .5rem; padding-left: .5rem; }
|
|
.btn-quiet:hover { color: var(--orange); }
|
|
.hero-graphic { align-self: stretch; min-height: 180px; position: relative; }
|
|
.hero-graphic b { bottom: -.35em; color: rgba(255,255,255,.09); font-family: Georgia, serif; font-size: clamp(8rem, 18vw, 15rem); line-height: .7; position: absolute; right: -.1em; }
|
|
.cut-line { background: var(--orange); display: block; height: 5px; position: absolute; transform: rotate(-28deg); transform-origin: left center; }
|
|
.line-one { left: 6%; top: 23%; width: 75%; }.line-two { background: #b8c9ba; left: 20%; top: 51%; width: 64%; }.line-three { left: 1%; top: 78%; width: 53%; }
|
|
.dashboard-section { margin-top: 4rem; }
|
|
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 1.5rem; }
|
|
.section-heading h2 { margin: .35rem 0 0; }.section-note { color: var(--muted); font-size: .82rem; }
|
|
.action-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
.action-card { background: var(--paper-bright); border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; min-height: 255px; padding: 1.5rem; position: relative; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
|
|
.action-card:hover { box-shadow: 5px 5px 0 var(--line); color: var(--ink); transform: translate(-2px, -2px); }
|
|
.action-card > .bi { color: var(--orange); font-size: 1.55rem; margin-top: 1.35rem; }.action-card h3 { font-size: 1.35rem; margin: 1rem 0 .4rem; }
|
|
.action-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0; }.card-number { color: #9a9f96; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
|
|
.action-card-featured { background: #e7e1d5; border-color: #c7bead; }.card-link { color: var(--green); font-size: .8rem; font-weight: 800; margin-top: auto; padding-top: 1.25rem; }
|
|
.workflow-panel { background: #e9e5da; display: grid; gap: 2rem; grid-template-columns: .75fr 1.25fr; margin-top: 4rem; padding: 2.25rem; }
|
|
.workflow-panel h2 { margin: .35rem 0 0; max-width: 14rem; }.workflow-list { counter-reset: item; display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
|
|
.workflow-list li { align-items: center; border-bottom: 1px solid #ccc5b7; display: flex; gap: 1rem; padding: .65rem 0; }.workflow-list li:last-child { border-bottom: 0; }
|
|
.workflow-list li > span { align-items: center; background: var(--orange); border-radius: 50%; display: inline-flex; font-size: .72rem; font-weight: 800; height: 1.6rem; justify-content: center; width: 1.6rem; }
|
|
.workflow-list strong, .workflow-list small { display: block; }.workflow-list strong { font-size: .9rem; }.workflow-list small { color: var(--muted); font-size: .78rem; margin-top: .1rem; }
|
|
@media (max-width: 800px) { .dashboard-hero, .workflow-panel { grid-template-columns: 1fr; }.hero-graphic { display: none; }.action-grid { grid-template-columns: 1fr; }.section-heading { align-items: start; flex-direction: column; gap: .5rem; } }
|
|
@media (max-width: 640.98px) { .content { padding-top: 2rem; }.workspace-header { height: 3.5rem; padding-left: 4.6rem; }.workspace-context { display: none; } .workspace-status { margin-left: auto; } }
|