Spaces:
Paused
Paused
Download static/css/app.css from Struggler/SafetyInspection: direct link, hf CLI and curl.
- Browser
- Download file 31.9 kB
-
https://huggingface.co/spaces/Struggler/SafetyInspection/resolve/main/static/css/app.css
- Command line
-
hf download hf://spaces/Struggler/SafetyInspection/static/css/app.css
-
curl -L -o app.css https://huggingface.co/spaces/Struggler/SafetyInspection/resolve/main/static/css/app.css
31.9 kB
| :root { | |
| color-scheme: light; | |
| --ink: #17292c; | |
| --ink-soft: #43575a; | |
| --muted: #79898a; | |
| --line: #e4eae8; | |
| --paper: #ffffff; | |
| --canvas: #f5f7f5; | |
| --forest: #19443d; | |
| --forest-deep: #143c35; | |
| --teal: #177c70; | |
| --teal-soft: #e5f3ef; | |
| --green: #2e785b; | |
| --green-soft: #eaf5ee; | |
| --amber: #9b6a17; | |
| --amber-soft: #fff4dd; | |
| --red: #a5423a; | |
| --red-soft: #fff0ed; | |
| --blue: #356d84; | |
| --blue-soft: #eaf3f8; | |
| --shadow: 0 8px 26px rgba(20, 52, 46, .045), 0 1px 2px rgba(20, 52, 46, .025); | |
| } | |
| * { box-sizing: border-box; } | |
| html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; } | |
| body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Tahoma, "Segoe UI", Arial, sans-serif; font-size: 13px; line-height: 1.75; -webkit-font-smoothing: antialiased; } | |
| button, input, textarea, select { font: inherit; } | |
| a { color: inherit; text-decoration: none; } | |
| a:hover { color: var(--teal); } | |
| button { cursor: pointer; } | |
| .app-shell { min-height: 100vh; } | |
| .sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 242px; display: flex; flex-direction: column; padding: 25px 15px 14px; color: #e3edeb; background: #142a2e; } | |
| .brand { min-height: 50px; display: flex; align-items: center; gap: 12px; margin: 1px 6px 33px; color: #f3f7f5; } | |
| .brand:hover { color: #fff; } | |
| .brand-mark { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; color: #193e38; background: #c5e5d7; border-radius: 14px; font-size: 19px; font-weight: 800; box-shadow: 0 4px 14px #04181655; } | |
| .brand strong, .brand small { display: block; } | |
| .brand strong { font-size: 14px; line-height: 1.7; font-weight: 700; } | |
| .brand small { color: #9aafab; font-size: 10px; } | |
| .nav-caption { padding: 0 13px 10px; color: #728a86; font-size: 10px; font-weight: 700; } | |
| .main-nav { display: grid; gap: 4px; } | |
| .nav-link { min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: #c2d1ce; border: 1px solid transparent; border-radius: 9px; transition: background .18s, color .18s; } | |
| .nav-link:hover { color: #fff; background: #ffffff0b; } | |
| .nav-link.active { color: #fff; background: #ffffff12; border-color: #ffffff0c; box-shadow: inset 3px 0 #73c5ab; } | |
| .nav-icon { width: 20px; color: #9ab3ad; font-size: 17px; text-align: center; } | |
| .nav-link.active .nav-icon { color: #91d7bb; } | |
| .sidebar-bottom { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 14px 9px 4px; color: #9eb1ad; border-top: 1px solid #ffffff17; font-size: 10px; } | |
| .sidebar-version { margin-right: auto; color: #728a86; } | |
| .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #70c59f; box-shadow: 0 0 0 3px #70c59f21; } | |
| .main-column { min-height: 100vh; margin-left: 242px; } | |
| .topbar { position: sticky; z-index: 15; top: 0; min-height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: #ffffffec; border-bottom: 1px solid #e9eeec; backdrop-filter: blur(12px); } | |
| .topbar-context { color: var(--muted); font-size: 11px; } | |
| .topbar-sep { margin: 0 8px; color: #b6c0be; } | |
| .topbar-user { display: flex; align-items: center; gap: 10px; } | |
| .topbar-user form { margin: 0; } | |
| .avatar { width: 31px; height: 31px; display: inline-grid; flex: 0 0 auto; place-items: center; color: #28665a; background: #e5f2ec; border: 1px solid #d8eae1; border-radius: 50%; font-size: 12px; font-weight: 700; } | |
| .user-name { max-width: 150px; overflow: hidden; color: #526462; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; } | |
| .text-button { padding: 4px 7px; color: #6a7b78; background: transparent; border: 0; font-size: 11px; } | |
| .text-button:hover { color: var(--red); } | |
| .page-content { width: min(100%, 1450px); min-height: calc(100vh - 64px); margin: 0 auto; padding: 28px 34px 16px; } | |
| .page-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin: 0 0 22px; } | |
| .page-heading h1 { margin: 2px 0 2px; color: #193033; font-size: clamp(23px, 2vw, 29px); line-height: 1.5; letter-spacing: -.4px; } | |
| .page-heading p { margin: 0; } | |
| .eyebrow { color: #859390; font-size: 10px; font-weight: 700; letter-spacing: .1px; } | |
| .heading-dot { color: #7fbfa6; } | |
| .heading-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } | |
| .button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; font-size: 11px; font-weight: 700; line-height: 1.4; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; } | |
| .button:hover { transform: translateY(-1px); } | |
| .button-primary { color: #fff; background: var(--forest); box-shadow: 0 3px 9px #153f3525; } | |
| .button-primary:hover { color: #fff; background: var(--forest-deep); box-shadow: 0 6px 15px #153f3533; } | |
| .button-outline { color: #365b52; background: #fff; border-color: #dbe5e1; } | |
| .button-outline:hover { color: var(--forest); background: #f3f9f6; border-color: #b8d7ca; } | |
| .button-quiet { color: #667572; background: transparent; } | |
| .button-quiet:hover { background: #f1f4f3; } | |
| .button-filter { min-height: 34px; padding: 6px 15px; color: #365d53; background: #e8f2ed; } | |
| .button-filter:hover { background: #d9ebe2; } | |
| .button-small { min-height: 31px; padding: 5px 10px; font-size: 10px; } | |
| .button-wide { width: 100%; } | |
| .button-danger-soft { color: #a3443e; background: #fff2f0; border-color: #f4ddda; } | |
| .muted { color: var(--muted); font-size: 11px; } | |
| .panel { min-width: 0; padding: 20px; background: var(--paper); border: 1px solid #e8edeb; border-radius: 12px; box-shadow: var(--shadow); } | |
| .panel-heading { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } | |
| .panel-heading h2 { margin: 1px 0 0; color: #24383a; font-size: 14px; line-height: 1.6; } | |
| .panel-count { min-width: 27px; height: 27px; display: inline-grid; place-items: center; color: #54716a; background: #eff5f2; border-radius: 50%; font-size: 10px; font-weight: 700; } | |
| .subtle-link { color: #74847f; font-size: 10px; white-space: nowrap; } | |
| .subtle-link:hover { color: var(--teal); } | |
| .filter-bar { min-height: 56px; display: flex; align-items: center; gap: 9px; margin-bottom: 17px; padding: 10px 12px; background: #fff; border: 1px solid #e7ecea; border-radius: 10px; } | |
| .dashboard-filters { box-shadow: 0 2px 10px #1a453b08; } | |
| .filter-heading { display: inline-flex; align-items: center; gap: 8px; margin-left: 3px; color: #627570; font-size: 10px; font-weight: 700; white-space: nowrap; } | |
| .filter-icon { color: var(--teal); font-size: 20px; } | |
| .filter-control { width: auto; min-width: 135px; height: 34px; padding-top: 5px; padding-bottom: 5px; font-size: 10px; } | |
| .filter-reset { color: #71807d; font-size: 10px; } | |
| .search-wrap { min-width: 220px; flex: 1 1 auto; display: flex; align-items: center; gap: 8px; padding-right: 10px; color: #76908a; } | |
| .search-wrap .field-input { height: 34px; border: 0; box-shadow: none; } | |
| .search-wrap .field-input:focus { outline: 0; } | |
| .metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; } | |
| .metric-card { min-height: 139px; display: flex; flex-direction: column; padding: 15px 17px 12px; background: #fff; border: 1px solid #e7ecea; border-radius: 11px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; } | |
| .metric-card:hover { transform: translateY(-2px); box-shadow: 0 9px 25px #1c463910; } | |
| .metric-featured { background: #f9fcfa; border-color: #dae9e2; } | |
| .metric-top, .metric-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; } | |
| .metric-top { color: #637571; font-size: 10px; } | |
| .metric-icon { width: 31px; height: 31px; display: inline-grid; flex: 0 0 auto; place-items: center; border-radius: 9px; font-size: 15px; } | |
| .icon-teal { color: #247d6d; background: #e5f3ef; } | |
| .icon-green { color: #36785a; background: #eaf5ee; } | |
| .icon-amber { color: #a16c17; background: #fff4df; } | |
| .icon-red { color: #a34a40; background: #fff0ed; } | |
| .metric-number { margin: 2px 0 -1px; color: #1d3332; font-size: 31px; font-weight: 750; line-height: 1.45; letter-spacing: -1px; font-variant-numeric: tabular-nums; } | |
| .metric-bottom { margin-top: auto; padding-top: 7px; color: #94a19e; border-top: 1px solid #eff2f1; font-size: 9px; } | |
| .metric-arrow { color: #669186; font-size: 14px; } | |
| .content-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 14px; margin-bottom: 15px; } | |
| .dashboard-content { align-items: stretch; } | |
| .lower-grid { grid-template-columns: 1fr .53fr; } | |
| .panel-chart { min-height: 265px; } | |
| .chart-list { display: grid; gap: 2px; } | |
| .chart-row { min-height: 38px; display: grid; grid-template-columns: 26px minmax(86px, .65fr) minmax(60px, 1.4fr) 31px; align-items: center; gap: 10px; color: #516461; font-size: 10px; } | |
| .chart-row:hover { color: var(--forest); } | |
| .chart-symbol { color: #518578; font-size: 15px; text-align: center; } | |
| .chart-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .chart-track { height: 7px; overflow: hidden; background: #edf2ef; border-radius: 10px; } | |
| .chart-fill { height: 100%; display: block; background: linear-gradient(90deg, #95cbb0, #288574); border-radius: 10px; } | |
| .chart-value { color: #324944; font-size: 10px; text-align: left; } | |
| .chart-summary { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; color: #899692; border-top: 1px solid #eef2f0; font-size: 9px; } | |
| .chart-summary strong { color: #36574c; font-size: 12px; } | |
| .legend-dot { width: 7px; height: 7px; display: inline-block; margin-left: 5px; background: #438f78; border-radius: 50%; } | |
| .mini-stats { display: grid; } | |
| .mini-stats > a { min-height: 50px; display: flex; align-items: center; gap: 9px; padding: 5px 0; border-bottom: 1px solid #f0f3f1; } | |
| .mini-stats > a:last-child { border-bottom: 0; } | |
| .mini-stats > a > span:nth-child(2) { min-width: 0; display: grid; } | |
| .mini-stats strong { color: #435653; font-size: 10px; font-weight: 650; } | |
| .mini-stats small { color: #98a4a0; font-size: 9px; } | |
| .mini-stats b { margin-right: auto; color: #304640; font-size: 15px; } | |
| .mini-icon { width: 27px; height: 27px; display: inline-grid; flex: 0 0 auto; place-items: center; border-radius: 8px; font-size: 12px; } | |
| .panel-foot-link { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; color: #668379; border-top: 1px solid #eef2ef; font-size: 10px; } | |
| .mini-panel { display: flex; flex-direction: column; } | |
| .people-count { display: flex; align-items: baseline; gap: 8px; margin: 0 0 2px; color: #213b38; font-size: 33px; font-weight: 700; } | |
| .people-count small { color: #899591; font-size: 10px; font-weight: 400; } | |
| .mini-panel > .muted { margin: 0 0 14px; } | |
| .mini-divider { margin: 11px 0 3px; border-top: 1px solid #edf1ef; } | |
| .small-stat { display: flex; justify-content: space-between; padding: 5px 0; color: #71817c; font-size: 10px; } | |
| .small-stat strong { color: #35564d; font-size: 12px; } | |
| .table-panel { padding: 0; overflow: hidden; } | |
| .table-panel > .panel-heading { margin: 0; padding: 17px 19px 8px; } | |
| .table-panel > .filter-bar { margin: 10px 13px; border: 0; background: #f7f9f8; } | |
| .table-meta { display: flex; align-items: center; justify-content: space-between; min-height: 39px; padding: 6px 18px; color: #879490; border-bottom: 1px solid #edf0ef; font-size: 9px; } | |
| .table-meta strong { color: #526661; } | |
| .table-wrap { width: 100%; overflow-x: auto; } | |
| table { width: 100%; border-collapse: collapse; font-size: 10px; white-space: nowrap; } | |
| thead { background: #f8faf9; } | |
| th { padding: 10px 12px; color: #82908c; font-size: 9px; font-weight: 700; text-align: right; } | |
| td { padding: 10px 12px; color: #576966; border-top: 1px solid #f0f3f2; vertical-align: middle; } | |
| tbody tr:hover { background: #fbfdfc; } | |
| .table-primary { display: inline-grid; gap: 2px; color: #34534c; font-weight: 700; } | |
| .table-primary:hover { color: #167865; } | |
| .table-primary small, .cell-sub { color: #93a09c; font-size: 9px; font-weight: 400; } | |
| .cell-sub { display: block; } | |
| .type-label { color: #526b64; } | |
| .row-link { width: 25px; height: 25px; display: inline-grid; place-items: center; color: #60867a; background: #f1f6f3; border-radius: 7px; } | |
| .row-link:hover { color: #226e5b; background: #e5f2ec; } | |
| .status-pill { min-height: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 2px 8px; border: 1px solid transparent; border-radius: 999px; font-size: 9px; line-height: 1.5; white-space: nowrap; } | |
| .status-success { color: #317050; background: #edf7f0; border-color: #e2f0e5; } | |
| .status-warning { color: #906216; background: #fff7e8; border-color: #f7edda; } | |
| .status-danger { color: #a0463e; background: #fff1ee; border-color: #f8e3e0; } | |
| .status-info { color: #396b7b; background: #eff6f9; border-color: #e5eef2; } | |
| .status-muted { color: #727e7a; background: #f2f4f3; border-color: #ecefed; } | |
| .recent-list { display: grid; } | |
| .recent-row { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 8px 18px; border-top: 1px solid #f0f3f2; } | |
| .recent-row:hover { background: #fbfdfc; } | |
| .recent-mark { width: 27px; height: 27px; display: inline-grid; flex: 0 0 auto; place-items: center; border-radius: 50%; font-size: 13px; } | |
| .mark-green { color: #3d805f; background: #eaf5ed; } | |
| .mark-red { color: #a74840; background: #fff0ed; } | |
| .mark-amber { color: #a07123; background: #fff4df; } | |
| .recent-main { min-width: 80px; flex: 1; display: grid; gap: 1px; } | |
| .recent-main strong { color: #435753; font-size: 10px; font-weight: 650; } | |
| .recent-main small { color: #96a19e; font-size: 9px; } | |
| .recent-row time { color: #8b9894; font-size: 9px; } | |
| .empty-state { min-height: 155px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 12px; text-align: center; } | |
| .empty-symbol { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 8px; color: #578779; background: #edf6f1; border-radius: 14px; font-size: 20px; } | |
| .empty-state strong { color: #4c615a; font-size: 12px; } | |
| .empty-state p { margin: 2px 0 11px; color: #98a29e; font-size: 10px; } | |
| .empty-inline { padding: 17px; color: #96a19d; text-align: center; font-size: 10px; } | |
| .page-footer { display: flex; justify-content: space-between; gap: 10px; padding: 17px 2px 0; color: #a3aeaa; font-size: 9px; } | |
| .flash-stack { display: grid; gap: 7px; margin: 0 0 15px; } | |
| .flash { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; color: #31664e; background: #edf7f0; border: 1px solid #deede3; border-radius: 8px; font-size: 10px; } | |
| .flash-error { color: #99463e; background: #fff2ef; border-color: #f2dfdc; } | |
| .flash-warning { color: #835f22; background: #fff8e9; border-color: #f1e6cf; } | |
| .flash-close { color: inherit; background: transparent; border: 0; font-size: 16px; } | |
| .form-panel { max-width: 940px; margin: 0 auto; padding: 24px; } | |
| .form-heading { max-width: 940px; margin-right: auto; margin-left: auto; } | |
| .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; } | |
| .field { min-width: 0; display: grid; gap: 5px; align-content: start; color: #50635f; font-size: 10px; } | |
| .field > label:not(.checkbox-label) { color: #50635f; font-size: 10px; font-weight: 700; } | |
| .field-input { width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; color: #293e3a; background: #fff; border: 1px solid #dfe7e3; border-radius: 7px; outline: 0; transition: border .16s, box-shadow .16s; font-size: 11px; } | |
| .field-input:focus { border-color: #81b6a3; box-shadow: 0 0 0 3px #c6e6d72c; } | |
| .field-input::placeholder { color: #a4aeaa; } | |
| select.field-input { padding-left: 9px; } | |
| textarea.field-input { min-height: 80px; resize: vertical; } | |
| .field-checkbox { display: flex; align-items: center; min-height: 38px; } | |
| .checkbox-label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; } | |
| .checkbox-label input { accent-color: var(--teal); } | |
| .required-star { margin-right: 3px; color: #c56152; } | |
| .field-hint { color: #94a19c; font-size: 9px; line-height: 1.7; } | |
| .field-error, .form-errors { color: #a0423c; font-size: 10px; } | |
| .form-errors { margin: 0 0 14px; padding: 10px 13px; background: #fff3f0; border: 1px solid #f3ddda; border-radius: 8px; } | |
| .form-errors ul, .field-error ul { margin: 0; padding-right: 18px; } | |
| .form-actions { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #edf1ef; } | |
| .detail-back { margin: -8px 0 10px; } | |
| .detail-back a { color: #73847f; font-size: 10px; } | |
| .detail-heading { align-items: center; } | |
| .condition-banner { display: flex; align-items: center; gap: 12px; margin: -7px 0 16px; padding: 13px 15px; border: 1px solid; border-radius: 10px; } | |
| .condition-banner > div { flex: 1; display: grid; gap: 2px; } | |
| .condition-banner strong { font-size: 11px; } | |
| .condition-banner span:not(.condition-icon):not(.status-pill) { font-size: 9px; opacity: .78; } | |
| .condition-icon { width: 31px; height: 31px; display: grid; place-items: center; background: #ffffffa6; border-radius: 9px; font-size: 14px; } | |
| .condition-success { color: #377357; background: #edf7f0; border-color: #e0eee4; } | |
| .condition-warning { color: #88621e; background: #fff8e9; border-color: #f3e8ce; } | |
| .condition-danger { color: #9b4840; background: #fff2ef; border-color: #f2dfdc; } | |
| .condition-muted { color: #62716d; background: #f4f6f5; border-color: #e7ecea; } | |
| .detail-grid { grid-template-columns: 1fr 1fr; margin: 0 0 14px; } | |
| .detail-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 19px; margin: 0; } | |
| .detail-list > div { min-height: 42px; display: grid; align-content: center; gap: 2px; padding: 6px 0; border-bottom: 1px solid #f0f3f1; } | |
| .detail-list > div:nth-last-child(-n+2) { border-bottom: 0; } | |
| .detail-list dt { color: #96a29d; font-size: 9px; } | |
| .detail-list dd { margin: 0; overflow-wrap: anywhere; color: #405651; font-size: 10px; font-weight: 600; } | |
| .stack-list, .document-list { display: grid; } | |
| .stack-row, .document-row, .action-row { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #f0f3f1; } | |
| .stack-row:last-child, .document-row:last-child, .action-row:last-child { border-bottom: 0; } | |
| .avatar-soft { width: 30px; height: 30px; } | |
| .panel-foot-link > span { font-size: 15px; } | |
| .document-icon { width: 28px; height: 28px; display: inline-grid; flex: 0 0 auto; place-items: center; color: #567f72; background: #eff6f2; border-radius: 8px; } | |
| .action-row { font-size: 10px; } | |
| .severity-indicator { width: 5px; height: 29px; flex: 0 0 auto; background: #89b6a4; border-radius: 10px; } | |
| .severity-medium { background: #d9aa54; }.severity-high { background: #dd8055; }.severity-critical { background: #c84f45; } | |
| .archive-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 940px; margin: 15px auto; padding: 12px 15px; color: #87928e; background: #fbfcfb; border: 1px solid #e9eeec; border-radius: 9px; font-size: 9px; } | |
| .person-title { display: flex; align-items: center; gap: 13px; } | |
| .avatar-large { width: 52px; height: 52px; border-radius: 16px; font-size: 19px; } | |
| .profile-history { margin-top: 14px; } | |
| .restricted-note { padding: 12px; color: #8c744a; background: #fffaee; border-radius: 8px; font-size: 10px; } | |
| .notice { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 15px; padding: 12px 15px; border: 1px solid; border-radius: 9px; } | |
| .notice > span { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; font-weight: 700; } | |
| .notice > div { display: grid; gap: 2px; } | |
| .notice strong { font-size: 10px; } | |
| .notice p { margin: 0; font-size: 9px; } | |
| .notice-warning { color: #8b6526; background: #fff9ec; border-color: #f0e6cf; } | |
| .notice-warning > span { background: #f9efd7; } | |
| .notice-info { color: #456a74; background: #f0f7f8; border-color: #dfebee; } | |
| .notice-info > span { background: #dfedf0; } | |
| .action-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; } | |
| .finding-card { display: flex; flex-direction: column; align-items: stretch; padding: 16px; } | |
| .finding-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } | |
| .finding-head .severity-indicator { width: 6px; height: 18px; margin-left: 2px; } | |
| .finding-title { margin-top: 12px; color: #345249; font-size: 12px; font-weight: 700; } | |
| .finding-card > p { margin: 7px 0; color: #64736e; font-size: 10px; } | |
| .finding-meta { display: flex; flex-wrap: wrap; gap: 6px 13px; padding: 8px 0; color: #929e99; border-bottom: 1px solid #edf1ef; font-size: 9px; } | |
| .resolution-box { display: grid; gap: 2px; padding: 9px 0; color: #51655f; font-size: 9px; } | |
| .resolution-box strong { color: #72827d; } | |
| .finding-action-form { display: grid; gap: 7px; margin-top: auto; padding-top: 9px; } | |
| .finding-action-form textarea.field-input { min-height: 56px; } | |
| .action-form-buttons { display: flex; flex-wrap: wrap; gap: 6px; } | |
| .checkbox-filter { display: flex; align-items: center; gap: 6px; color: #667773; font-size: 10px; } | |
| .checkbox-filter input { accent-color: var(--teal); } | |
| .response-list { display: grid; } | |
| .response-row { display: flex; align-items: flex-start; gap: 9px; padding: 10px 0; border-bottom: 1px solid #eef2f0; font-size: 10px; } | |
| .response-row > span:nth-child(2) { display: grid; gap: 3px; } | |
| .response-row small { color: #83918c; font-size: 9px; } | |
| .form-intro { margin: -3px 0 10px; color: #909d98; font-size: 9px; } | |
| .inspection-form { display: grid; } | |
| .check-item { min-width: 0; margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid #edf1ef; } | |
| .check-item legend { width: 100%; display: flex; align-items: center; gap: 8px; color: #435954; font-size: 10px; font-weight: 700; } | |
| .check-number { width: 23px; height: 23px; display: inline-grid; flex: 0 0 auto; place-items: center; color: #568273; background: #edf5f0; border-radius: 7px; } | |
| .check-options { display: flex; gap: 7px; margin: 9px 0 7px; } | |
| .check-options label { min-width: 82px; min-height: 31px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; color: #667670; background: #f8faf9; border: 1px solid #e9eeec; border-radius: 7px; cursor: pointer; font-size: 9px; } | |
| .check-options input { width: 13px; height: 13px; margin: 0; accent-color: #37816c; } | |
| .choice-mark { display: inline-grid; width: 17px; height: 17px; place-items: center; border-radius: 5px; font-weight: 700; } | |
| .choice-pass { color: #3d7d5a; background: #e6f3eb; }.choice-fail { color: #a64c43; background: #fff0ed; }.choice-na { color: #74807c; background: #eef1f0; } | |
| .check-comment { min-height: 33px; padding-top: 5px; padding-bottom: 5px; font-size: 9px; } | |
| .check-measure { min-height: 33px; margin-top: 5px; font-size: 9px; } | |
| .report-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 15px; } | |
| .report-summary > a { display: flex; align-items: center; gap: 11px; padding: 13px; background: #fff; border: 1px solid #e7edeb; border-radius: 10px; box-shadow: var(--shadow); } | |
| .report-summary > a > span:last-child { display: grid; gap: 2px; } | |
| .report-summary small { color: #84928d; font-size: 9px; } | |
| .report-summary strong { color: #304a42; font-size: 18px; } | |
| .report-lists { margin-top: 14px; } | |
| .action-link:hover { background: #fbfdfc; } | |
| .settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; } | |
| .settings-panel { min-height: 135px; } | |
| .settings-wide { grid-column: 1 / -1; } | |
| .tag-list { display: flex; flex-wrap: wrap; gap: 7px; } | |
| .settings-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #506b62; background: #f1f7f3; border: 1px solid #e8f0ea; border-radius: 7px; font-size: 9px; } | |
| .settings-tag small { padding: 1px 5px; color: #8b6828; background: #fcf4e4; border-radius: 99px; font-size: 8px; } | |
| .area-row { display: grid; gap: 5px; padding: 7px 0; border-bottom: 1px solid #eff2f1; font-size: 10px; } | |
| .area-row:last-child { border-bottom: 0; } | |
| .area-row strong { color: #45635a; } | |
| .area-row span { display: flex; flex-wrap: wrap; gap: 5px; } | |
| .area-row i { color: #73837d; font-size: 9px; font-style: normal; } | |
| .template-setting { min-height: 46px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf1ef; } | |
| .template-icon { width: 29px; height: 29px; display: grid; place-items: center; color: #4f806c; background: #edf5f0; border-radius: 8px; } | |
| .template-setting small { color: #8c9994; font-size: 9px; } | |
| .role-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; } | |
| .role-grid > div { display: grid; align-content: start; justify-items: start; gap: 3px; padding: 10px; background: #f9fbfa; border: 1px solid #edf1ef; border-radius: 9px; } | |
| .role-grid strong { color: #485d57; font-size: 10px; } | |
| .role-grid p { margin: 0; color: #899691; font-size: 9px; } | |
| .role-symbol { font-size: 15px; }.role-admin { color: #97732a; }.role-manager { color: #40846c; }.role-inspector { color: #49788b; }.role-viewer { color: #7d8c86; } | |
| .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); } | |
| .mobile-menu, .mobile-overlay { display: none; } | |
| body.role-regular a[href="/equipment/new/"], | |
| body.role-regular a[href="/people/new/"], | |
| body.role-regular a[href^="/assignments/new/"], | |
| body.role-regular a[href="/qualifications/new/"], | |
| body.role-regular a[href="/inspections/new/"], | |
| body.role-regular a[href="/maintenance/new/"], | |
| body.role-regular a[href="/findings/new/"] { display: none ; } | |
| .login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.05fr; background: #fff; } | |
| .login-art { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 8vw; color: #f2f7f4; background: radial-gradient(ellipse at 12% 11%, #2c564b 0, transparent 36%), linear-gradient(145deg,#153530,#12282c 70%); } | |
| .login-art::after { position: absolute; inset: auto -12% -31% 3%; width: 83%; aspect-ratio: 1; border: 1px solid #ffffff19; border-radius: 48%; box-shadow: 0 0 0 50px #ffffff08,0 0 0 100px #ffffff05; content: ""; pointer-events: none; } | |
| .login-emblem { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 24px; color: #164238; background: #cae9da; border-radius: 19px; font-size: 27px; font-weight: 700; } | |
| .login-art .eyebrow { color: #a6c4b8; } | |
| .login-art h1 { position: relative; z-index: 1; margin: 8px 0; font-size: clamp(27px,3.4vw,43px); line-height: 1.8; font-weight: 650; } | |
| .login-art > p { max-width: 370px; color: #b0c0ba; font-size: 12px; } | |
| .login-art-foot { position: absolute; right: 8vw; bottom: 30px; display: flex; align-items: center; gap: 9px; color: #afc2ba; font-size: 10px; } | |
| .login-panel { display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 45px clamp(30px,7vw,100px); } | |
| .login-brand { margin: 0 0 48px; color: var(--ink); } | |
| .login-brand:hover { color: var(--ink); } | |
| .login-brand .brand-mark { background: #deefe7; box-shadow: none; } | |
| .login-brand small { color: #899793; } | |
| .login-card { max-width: 420px; margin: 0 auto; } | |
| .login-card h2 { margin: 4px 0 0; color: #213738; font-size: 24px; } | |
| .login-card > p { margin: 4px 0 23px; } | |
| .form-stack { display: grid; gap: 15px; } | |
| .form-stack .field-input { min-height: 44px; } | |
| .login-note { margin-top: 18px; padding: 10px; color: #85928d; background: #f5f8f6; border-radius: 7px; font-size: 9px; } | |
| .login-note span { color: #548873; } | |
| .login-copyright { margin-top: auto; padding-top: 32px; color: #a8b1ad; font-size: 9px; } | |
| .mobile-menu { width: 34px; height: 34px; color: #49665e; background: #f2f7f4; border: 0; border-radius: 7px; font-size: 17px; } | |
| @media (min-width: 1550px) { .sidebar { width: 260px; } .main-column { margin-left: 260px; } .page-content { padding-right: 44px; padding-left: 44px; } } | |
| @media (max-width: 1120px) { .sidebar { width: 218px; } .main-column { margin-left: 218px; } .page-content { padding-right: 23px; padding-left: 23px; } .topbar { padding-right: 23px; padding-left: 23px; } .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .content-grid, .lower-grid { grid-template-columns: 1fr 1fr; } .chart-row { grid-template-columns: 24px minmax(75px,.7fr) minmax(45px,1.2fr) 26px; gap: 7px; } } | |
| @media (max-width: 760px) { .sidebar { z-index: 41; width: 265px; inset: 0 auto 0 0; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 12px 0 36px #111f1d24; } .menu-open .sidebar { transform: translateX(0); } .mobile-overlay { position: fixed; z-index: 40; inset: 0; display: block; visibility: hidden; opacity: 0; background: #10242173; transition: opacity .2s,visibility .2s; } .menu-open .mobile-overlay { visibility: visible; opacity: 1; } .main-column { margin-left: 0; } .topbar { min-height: 57px; gap: 10px; padding: 0 16px; } .mobile-menu { display: inline-grid; flex: 0 0 auto; place-items: center; } .topbar-context { flex: 1; font-size: 9px; } .user-name { max-width: 95px; display: none; } .topbar-user { gap: 6px; } .page-content { min-height: calc(100vh - 57px); padding: 22px 15px 13px; } .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 17px; } .page-heading h1 { font-size: 23px; } .heading-actions { width: 100%; } .heading-actions .button { flex: 1; } .filter-bar { flex-wrap: wrap; } .filter-heading { width: 100%; } .filter-control { min-width: 110px; flex: 1; } .search-wrap { min-width: 100%; flex-basis: 100%; } .metric-grid { gap: 9px; } .metric-card { min-height: 126px; padding: 12px; } .metric-number { font-size: 27px; } .content-grid, .lower-grid, .detail-grid { grid-template-columns: 1fr; gap: 11px; } .panel { padding: 15px; } .table-panel { padding: 0; } .detail-list { gap: 0 11px; } .action-cards { grid-template-columns: 1fr; } .settings-grid { grid-template-columns: 1fr; } .settings-wide { grid-column: auto; } .role-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .report-summary { gap: 6px; } .report-summary > a { flex-direction: column; align-items: flex-start; gap: 6px; padding: 9px; } .report-summary small { font-size: 8px; } .report-summary strong { font-size: 15px; } .condition-banner { align-items: flex-start; } .condition-banner > .status-pill { display: none; } .login-page { grid-template-columns: 1fr; } .login-art { min-height: 220px; padding: 26px; } .login-emblem { width: 43px; height: 43px; margin-bottom: 9px; border-radius: 13px; font-size: 20px; } .login-art h1 { margin: 4px 0; font-size: 23px; line-height: 1.55; } .login-art > p { max-width: 430px; margin: 3px 0; font-size: 10px; } .login-art-foot { right: 26px; bottom: 12px; } .login-panel { min-height: 500px; padding: 28px 23px; } .login-brand { margin-bottom: 27px; } .login-copyright { padding-top: 25px; } .page-footer { font-size: 8px; } } | |
| @media (max-width: 420px) { .metric-grid { grid-template-columns: 1fr 1fr; } .metric-top { align-items: flex-start; font-size: 9px; } .metric-icon { width: 27px; height: 27px; } .metric-bottom { font-size: 8px; } .topbar-context { max-width: 180px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .text-button { font-size: 9px; } .form-grid { grid-template-columns: 1fr; } .form-panel { padding: 16px; } .check-options { gap: 4px; } .check-options label { min-width: 0; flex: 1; padding: 3px 5px; font-size: 8px; } .check-number { width: 20px; height: 20px; } .role-grid { grid-template-columns: 1fr 1fr; } } | |
| @media print { body { background: white; } .sidebar,.topbar,.heading-actions,.filter-bar,.page-footer,.archive-row,.finding-action-form { display: none ; } .main-column { margin: 0; } .page-content { width: 100%; padding: 0; } .panel { box-shadow: none; break-inside: avoid; } .table-wrap { overflow: visible; } } | |