b576dd1a38
Apply asset_db_002_photos_monitors.sql before rebuilding web. Restrict soft deletion to the super admin; retain reports and audit.
1356 lines
23 KiB
CSS
1356 lines
23 KiB
CSS
.am-monitor-summary {
|
|
margin: 18px 0;
|
|
padding: 20px;
|
|
border: 1px solid #e7e7e7;
|
|
border-radius: 12px;
|
|
}
|
|
.am-monitor-summary h3 {
|
|
margin: 0 0 14px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #737373;
|
|
}
|
|
.am-monitor-grid,
|
|
.am-photo-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
|
|
gap: 14px;
|
|
}
|
|
.am-monitor-card {
|
|
min-width: 0;
|
|
padding: 16px;
|
|
background: #fafafa;
|
|
border-radius: 10px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-monitor-card > strong,
|
|
.am-monitor-card > small {
|
|
display: block;
|
|
}
|
|
.am-monitor-card > small {
|
|
color: #737373;
|
|
margin: 8px 0 14px;
|
|
}
|
|
.am-linked-overview {
|
|
border-top: 1px solid #e7e7e7;
|
|
padding-top: 12px;
|
|
}
|
|
.am-linked-overview h4 {
|
|
margin: 12px 0 8px;
|
|
}
|
|
.am-linked-overview p {
|
|
font-size: 12px;
|
|
line-height: 1.8;
|
|
}
|
|
.am-monitor-candidate {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.am-monitor-candidate small {
|
|
display: block;
|
|
color: #737373;
|
|
margin-top: 5px;
|
|
}
|
|
.am-photo-grid a {
|
|
display: block;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
min-width: 0;
|
|
}
|
|
.am-photo-grid img {
|
|
width: 100%;
|
|
height: 180px;
|
|
object-fit: contain;
|
|
border: 1px solid #e7e7e7;
|
|
border-radius: 10px;
|
|
background: #fafafa;
|
|
}
|
|
.am-photo-grid small {
|
|
display: block;
|
|
margin-top: 7px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-danger {
|
|
color: white;
|
|
background: #b42318;
|
|
border-color: #b42318;
|
|
}
|
|
.am-danger-outline {
|
|
color: #b42318;
|
|
}
|
|
.erp-page:has(.am-workspace) {
|
|
padding: 0;
|
|
max-width: none;
|
|
}
|
|
.am-workspace {
|
|
display: grid;
|
|
grid-template-columns: 190px minmax(0, 1fr);
|
|
min-height: calc(100vh - 80px);
|
|
color: #171717;
|
|
font-size: 13px;
|
|
}
|
|
.am-workspace *,
|
|
.am-dialog *,
|
|
.am-drawer * {
|
|
box-sizing: border-box;
|
|
}
|
|
.am-nav {
|
|
padding: 28px 12px;
|
|
background: #fafafa;
|
|
border-right: 1px solid #e7e7e7;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
.am-nav-brand {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
margin: 0 8px 26px;
|
|
}
|
|
.am-mark {
|
|
display: grid;
|
|
place-items: center;
|
|
background: #171717;
|
|
color: #fff;
|
|
width: 32px;
|
|
height: 36px;
|
|
border-radius: 9px;
|
|
font-weight: 700;
|
|
font-size: 20px;
|
|
}
|
|
.am-nav-brand strong {
|
|
font-size: 14px;
|
|
}
|
|
.am-nav-brand small {
|
|
display: block;
|
|
font-size: 8px;
|
|
letter-spacing: 1.2px;
|
|
color: #858585;
|
|
margin-top: 4px;
|
|
}
|
|
.am-nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 5px;
|
|
width: 100%;
|
|
padding: 11px 10px;
|
|
text-align: left;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
font: inherit;
|
|
color: #646464;
|
|
cursor: pointer;
|
|
}
|
|
.am-nav-link:hover {
|
|
background: #eee;
|
|
}
|
|
.am-nav-link.is-active {
|
|
background: #eaeaea;
|
|
color: #111;
|
|
font-weight: 600;
|
|
}
|
|
.am-count {
|
|
font-size: 11px;
|
|
color: #777;
|
|
}
|
|
.am-nav-label {
|
|
font-size: 10px;
|
|
color: #909090;
|
|
letter-spacing: 0.8px;
|
|
padding: 15px 10px 3px;
|
|
margin: 0;
|
|
}
|
|
.am-nav-foot {
|
|
margin-top: auto;
|
|
padding: 40px 8px 10px;
|
|
font-size: 11px;
|
|
}
|
|
.am-nav-foot strong {
|
|
font-weight: 500;
|
|
}
|
|
.am-nav-foot p {
|
|
color: #929292;
|
|
line-height: 1.8;
|
|
}
|
|
.am-text-btn {
|
|
border: 0;
|
|
background: transparent;
|
|
color: #646464;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
padding: 7px 8px;
|
|
}
|
|
.am-text-btn:hover {
|
|
color: #111;
|
|
text-decoration: underline;
|
|
}
|
|
.am-main {
|
|
padding: 30px 32px 36px;
|
|
min-width: 0;
|
|
}
|
|
.am-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 25px;
|
|
}
|
|
.am-eyebrow {
|
|
font-size: 9px;
|
|
letter-spacing: 1.7px;
|
|
font-weight: 600;
|
|
color: #8a8a8a;
|
|
margin: 0 0 9px;
|
|
}
|
|
.am-heading h2 {
|
|
font-size: 25px;
|
|
font-weight: 600;
|
|
letter-spacing: -1px;
|
|
margin: 0 0 8px;
|
|
}
|
|
.am-heading p:not(.am-eyebrow) {
|
|
color: #858585;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
}
|
|
.am-heading-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.am-main .erp-btn,
|
|
.am-dialog .erp-btn,
|
|
.am-drawer .erp-btn {
|
|
font-size: 12px;
|
|
min-height: 35px;
|
|
padding: 8px 14px;
|
|
}
|
|
.am-kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 25px;
|
|
}
|
|
.am-kpi {
|
|
text-align: left;
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 12px;
|
|
padding: 18px 18px 16px;
|
|
background: #fff;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s;
|
|
}
|
|
.am-kpi:hover {
|
|
border-color: #888;
|
|
}
|
|
.am-kpi > span {
|
|
font-size: 12px;
|
|
color: #646464;
|
|
}
|
|
.am-kpi > strong {
|
|
display: block;
|
|
font-size: 30px;
|
|
letter-spacing: -1px;
|
|
font-weight: 600;
|
|
margin: 12px 0 7px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.am-kpi > small {
|
|
color: #999;
|
|
font-size: 10px;
|
|
}
|
|
.am-dot {
|
|
display: inline-block;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
margin-right: 7px;
|
|
background: #888;
|
|
vertical-align: middle;
|
|
}
|
|
.am-dot-in_use {
|
|
background: #171717;
|
|
}
|
|
.am-dot-available {
|
|
background: #378363;
|
|
}
|
|
.am-dot-maintenance {
|
|
background: #b98935;
|
|
}
|
|
.am-dot-lost {
|
|
background: #bb4c43;
|
|
}
|
|
.am-dot-retired {
|
|
background: #aaa;
|
|
}
|
|
.am-register {
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 12px;
|
|
background: white;
|
|
overflow: hidden;
|
|
}
|
|
.am-register-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 19px 20px;
|
|
gap: 12px;
|
|
}
|
|
.am-register-head > div {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
.am-register-head h3 {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
.am-register-head span {
|
|
font-size: 11px;
|
|
color: #999;
|
|
}
|
|
.am-filters {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
padding: 0 20px 18px;
|
|
}
|
|
.am-filters select,
|
|
.am-search {
|
|
height: 34px;
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 7px;
|
|
background: white;
|
|
font: inherit;
|
|
color: #626262;
|
|
}
|
|
.am-filters select {
|
|
padding: 5px 23px 5px 8px;
|
|
max-width: 170px;
|
|
font-size: 11px;
|
|
}
|
|
.am-search {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 10px;
|
|
flex: 1 1 240px;
|
|
}
|
|
.am-search > span {
|
|
font-size: 22px;
|
|
color: #888;
|
|
}
|
|
.am-search input {
|
|
border: 0;
|
|
outline: 0;
|
|
width: 100%;
|
|
min-width: 0;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
background: transparent;
|
|
}
|
|
.am-table-scroll {
|
|
overflow: auto;
|
|
max-width: 100%;
|
|
}
|
|
.am-table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
.am-table th {
|
|
background: #fafafa;
|
|
text-align: left;
|
|
font-weight: 500;
|
|
font-size: 10px;
|
|
color: #888;
|
|
padding: 12px 18px;
|
|
border-top: 1px solid #efefef;
|
|
border-bottom: 1px solid #efefef;
|
|
}
|
|
.am-table td {
|
|
padding: 16px 18px;
|
|
border-bottom: 1px solid #f1f1f1;
|
|
color: #646464;
|
|
}
|
|
.am-table tbody tr:hover:not(:has(.am-empty)) {
|
|
background: #fcfcfc;
|
|
}
|
|
.am-asset-cell {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
max-width: 300px;
|
|
}
|
|
.am-asset-icon {
|
|
width: 37px;
|
|
height: 37px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid #ececec;
|
|
background: #fafafa;
|
|
border-radius: 9px;
|
|
flex: none;
|
|
color: #535353;
|
|
}
|
|
.am-asset-name {
|
|
display: block;
|
|
border: 0;
|
|
background: transparent;
|
|
padding: 0;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #222;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-asset-name:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.am-asset-meta {
|
|
display: block;
|
|
margin-top: 4px;
|
|
font-size: 10px;
|
|
color: #a0a0a0;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-sub {
|
|
display: block;
|
|
font-size: 10px;
|
|
color: #aaa;
|
|
margin-top: 4px;
|
|
}
|
|
.am-badge {
|
|
font-size: 10px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
border-radius: 99px;
|
|
background: #f2f2f2;
|
|
color: #666;
|
|
padding: 4px 9px;
|
|
}
|
|
.am-badge-in_use {
|
|
background: #ededed;
|
|
color: #222;
|
|
}
|
|
.am-badge-available {
|
|
background: #edf5f0;
|
|
color: #347153;
|
|
}
|
|
.am-badge-maintenance {
|
|
background: #faf4e7;
|
|
color: #9c752a;
|
|
}
|
|
.am-badge-lost {
|
|
background: #fbeeea;
|
|
color: #ad5346;
|
|
}
|
|
.am-spec-link {
|
|
font: inherit;
|
|
font-size: 11px;
|
|
border: 1px solid #e4e4e4;
|
|
border-radius: 6px;
|
|
background: white;
|
|
color: #555;
|
|
cursor: pointer;
|
|
padding: 5px 9px;
|
|
}
|
|
.am-empty {
|
|
padding: 52px 20px !important;
|
|
text-align: center;
|
|
white-space: normal;
|
|
color: #999 !important;
|
|
line-height: 1.9;
|
|
}
|
|
.am-empty strong {
|
|
display: block;
|
|
color: #555;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
margin-bottom: 6px;
|
|
}
|
|
.am-empty button {
|
|
margin-top: 14px;
|
|
}
|
|
.am-pagination {
|
|
padding: 14px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
color: #999;
|
|
}
|
|
.am-pagination > div {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
.am-pagination .erp-btn {
|
|
font-size: 10px;
|
|
min-height: 29px;
|
|
padding: 5px 10px;
|
|
}
|
|
.am-bottom {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
margin-top: 20px;
|
|
}
|
|
.am-panel {
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
min-width: 0;
|
|
}
|
|
.am-panel-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 18px;
|
|
}
|
|
.am-panel-head h3 {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
.am-panel-head > span {
|
|
color: #aaa;
|
|
font-size: 10px;
|
|
}
|
|
.am-breakdown {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 15px 24px;
|
|
min-height: 100px;
|
|
}
|
|
.am-category-bar {
|
|
border: 0;
|
|
background: transparent;
|
|
text-align: left;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
color: #777;
|
|
}
|
|
.am-category-bar > div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
margin-bottom: 7px;
|
|
}
|
|
.am-bar {
|
|
height: 4px;
|
|
background: #f2f2f2;
|
|
border-radius: 99px;
|
|
display: block;
|
|
overflow: hidden;
|
|
}
|
|
.am-bar i {
|
|
display: block;
|
|
height: 100%;
|
|
background: #8f8f8f;
|
|
border-radius: 99px;
|
|
}
|
|
.am-value {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
border-top: 1px solid #efefef;
|
|
margin-top: 23px;
|
|
padding-top: 16px;
|
|
font-size: 11px;
|
|
color: #888;
|
|
}
|
|
.am-value small {
|
|
display: block;
|
|
margin-top: 5px;
|
|
font-size: 9px;
|
|
color: #aaa;
|
|
}
|
|
.am-value strong {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
.am-activity {
|
|
max-height: 190px;
|
|
overflow: auto;
|
|
}
|
|
.am-event {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: start;
|
|
padding: 9px 0;
|
|
}
|
|
.am-event-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
background: #aaa;
|
|
border-radius: 50%;
|
|
flex: none;
|
|
margin-top: 5px;
|
|
}
|
|
.am-event p {
|
|
margin: 0;
|
|
color: #5f5f5f;
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
}
|
|
.am-event small {
|
|
display: block;
|
|
color: #aaa;
|
|
font-size: 10px;
|
|
margin-top: 3px;
|
|
}
|
|
.am-event time {
|
|
font-size: 9px;
|
|
color: #aaa;
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
}
|
|
.am-muted {
|
|
color: #999;
|
|
font-size: 12px;
|
|
line-height: 1.7;
|
|
}
|
|
.am-notice,
|
|
.am-message {
|
|
background: #f8f5ed;
|
|
border: 1px solid #e9e0cc;
|
|
border-radius: 9px;
|
|
padding: 14px 18px;
|
|
margin-bottom: 18px;
|
|
font-size: 12px;
|
|
color: #857342;
|
|
line-height: 1.8;
|
|
}
|
|
.am-notice p {
|
|
margin: 4px 0 0;
|
|
}
|
|
.am-message {
|
|
background: #f5f5f5;
|
|
border-color: #e5e5e5;
|
|
color: #555;
|
|
}
|
|
.am-message.is-error {
|
|
background: #fff2f0;
|
|
border-color: #ecd0c9;
|
|
color: #a84b3c;
|
|
}
|
|
.am-dialog,
|
|
.am-drawer {
|
|
font: inherit;
|
|
font-size: 13px;
|
|
color: #222;
|
|
border: 0;
|
|
padding: 0;
|
|
background: white;
|
|
box-shadow: 0 20px 80px #0002;
|
|
}
|
|
.am-dialog {
|
|
width: min(740px, calc(100vw - 32px));
|
|
max-height: 90dvh;
|
|
border-radius: 14px;
|
|
}
|
|
.am-action-dialog {
|
|
width: min(480px, calc(100vw - 32px));
|
|
}
|
|
.am-drawer {
|
|
position: fixed;
|
|
inset: 0 0 0 auto;
|
|
margin: 0;
|
|
width: min(920px, 95vw);
|
|
max-width: 95vw;
|
|
height: 100dvh;
|
|
max-height: 100dvh;
|
|
border-radius: 14px 0 0 14px;
|
|
overflow: auto;
|
|
}
|
|
.am-dialog::backdrop,
|
|
.am-drawer::backdrop {
|
|
background: #0004;
|
|
}
|
|
body:has(dialog[open]) {
|
|
overflow: hidden;
|
|
}
|
|
.am-dialog-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 22px 25px;
|
|
border-bottom: 1px solid #eee;
|
|
background: white;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
}
|
|
.am-dialog-head h2 {
|
|
font-size: 19px;
|
|
font-weight: 600;
|
|
margin: 4px 0 0;
|
|
letter-spacing: -0.4px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-dialog-head small {
|
|
color: #999;
|
|
font-size: 10px;
|
|
letter-spacing: 0.7px;
|
|
}
|
|
.am-close {
|
|
border: 0;
|
|
background: #f5f5f5;
|
|
border-radius: 7px;
|
|
color: #666;
|
|
width: 30px;
|
|
height: 30px;
|
|
font-size: 23px;
|
|
cursor: pointer;
|
|
flex: none;
|
|
}
|
|
.am-form {
|
|
padding: 22px 25px;
|
|
}
|
|
.am-form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 17px 20px;
|
|
}
|
|
.am-form label {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: #767676;
|
|
line-height: 1.8;
|
|
min-width: 0;
|
|
}
|
|
.am-form label > span:not(.am-upload-icon) {
|
|
color: #999;
|
|
}
|
|
.am-form input:not([type="file"]),
|
|
.am-form select,
|
|
.am-form textarea {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 9px 11px;
|
|
margin-top: 5px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
font: inherit;
|
|
font-size: 13px;
|
|
color: #222;
|
|
background: white;
|
|
min-height: 36px;
|
|
}
|
|
.am-form input::placeholder,
|
|
.am-form textarea::placeholder {
|
|
color: #b0b0b0;
|
|
font-size: 11px;
|
|
}
|
|
.am-form textarea {
|
|
resize: vertical;
|
|
min-height: 70px;
|
|
}
|
|
.am-form > label {
|
|
margin-bottom: 17px;
|
|
}
|
|
.am-wide {
|
|
grid-column: 1/-1;
|
|
}
|
|
.am-form-hint {
|
|
font-size: 11px;
|
|
color: #999;
|
|
line-height: 1.8;
|
|
margin: 16px 0;
|
|
}
|
|
.am-form-error {
|
|
color: #a84b3c;
|
|
background: #fff2ef;
|
|
border-radius: 8px;
|
|
padding: 10px 12px;
|
|
font-size: 12px;
|
|
margin: 12px 0;
|
|
}
|
|
.am-dialog-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
border-top: 1px solid #eee;
|
|
padding-top: 18px;
|
|
margin-top: 20px;
|
|
}
|
|
.am-dialog-footer > .am-muted {
|
|
margin-right: auto;
|
|
font-size: 10px;
|
|
}
|
|
.am-drop {
|
|
position: relative;
|
|
padding: 28px 20px;
|
|
border: 1px dashed #bbb;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
background: #fafafa;
|
|
cursor: pointer;
|
|
display: flex !important;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 7px;
|
|
overflow: hidden;
|
|
}
|
|
.am-drop:hover,
|
|
.am-drop.is-over {
|
|
background: #f1f1f1;
|
|
border-color: #555;
|
|
}
|
|
.am-upload-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 23px;
|
|
background: #eee;
|
|
color: #777;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
margin-bottom: 6px;
|
|
}
|
|
.am-drop strong {
|
|
font-size: 13px;
|
|
color: #444;
|
|
}
|
|
.am-drop > span:not(.am-upload-icon) {
|
|
font-size: 10px;
|
|
}
|
|
.am-drop input {
|
|
opacity: 0;
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
}
|
|
.am-drop:focus-within {
|
|
outline: 2px solid #333;
|
|
outline-offset: 3px;
|
|
}
|
|
.am-preview {
|
|
background: #fafafa;
|
|
border: 1px solid #e8e8e8;
|
|
border-radius: 12px;
|
|
margin: 18px 0;
|
|
padding: 18px;
|
|
}
|
|
.am-preview h3 {
|
|
margin: 0 0 13px;
|
|
font-size: 15px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-preview dl {
|
|
display: grid;
|
|
grid-template-columns: 65px 1fr;
|
|
gap: 8px 12px;
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
}
|
|
.am-preview dt {
|
|
color: #999;
|
|
}
|
|
.am-preview dd {
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-detail-body {
|
|
padding: 24px 25px;
|
|
}
|
|
.am-detail-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 20px;
|
|
}
|
|
.am-detail-actions .am-badge {
|
|
margin-right: auto;
|
|
font-size: 11px;
|
|
padding: 6px 12px;
|
|
}
|
|
.am-tabs {
|
|
display: flex;
|
|
gap: 22px;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
overflow: auto;
|
|
padding: 0 25px;
|
|
}
|
|
.am-tabs button {
|
|
white-space: nowrap;
|
|
border: 0;
|
|
border-bottom: 2px solid transparent;
|
|
background: white;
|
|
padding: 14px 0;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
color: #999;
|
|
}
|
|
.am-tabs button.is-active {
|
|
color: #171717;
|
|
border-color: #171717;
|
|
font-weight: 600;
|
|
}
|
|
.am-section-title {
|
|
font-size: 13px;
|
|
margin: 0 0 16px;
|
|
font-weight: 600;
|
|
}
|
|
.am-info-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px 28px;
|
|
}
|
|
.am-info-field span {
|
|
display: block;
|
|
font-size: 10px;
|
|
color: #999;
|
|
margin-bottom: 5px;
|
|
}
|
|
.am-info-field strong {
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
overflow-wrap: anywhere;
|
|
white-space: pre-wrap;
|
|
line-height: 1.7;
|
|
}
|
|
.am-info-field.am-wide {
|
|
margin-top: 4px;
|
|
}
|
|
.am-detail-section + .am-detail-section {
|
|
border-top: 1px solid #eee;
|
|
margin-top: 27px;
|
|
padding-top: 25px;
|
|
}
|
|
.am-spec-cards {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
.am-spec-card {
|
|
border: 1px solid #e8e8e8;
|
|
border-radius: 10px;
|
|
padding: 17px;
|
|
}
|
|
.am-spec-card span {
|
|
font-size: 10px;
|
|
color: #999;
|
|
display: block;
|
|
margin-bottom: 9px;
|
|
}
|
|
.am-spec-card strong {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
line-height: 1.6;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-spec-card small {
|
|
display: block;
|
|
font-size: 10px;
|
|
color: #999;
|
|
line-height: 1.8;
|
|
margin-top: 4px;
|
|
}
|
|
.am-spec-tools {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
margin: 23px 0 18px;
|
|
}
|
|
.am-spec-tools .am-search {
|
|
min-height: 36px;
|
|
}
|
|
.am-spec-tools select {
|
|
max-width: 180px;
|
|
min-height: 35px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 7px;
|
|
background: white;
|
|
font: inherit;
|
|
font-size: 11px;
|
|
padding: 7px;
|
|
}
|
|
.am-node {
|
|
border: 1px solid #e8e8e8;
|
|
border-radius: 9px;
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
}
|
|
.am-node summary {
|
|
padding: 13px 16px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
color: #555;
|
|
overflow-wrap: anywhere;
|
|
line-height: 1.6;
|
|
background: #fafafa;
|
|
}
|
|
.am-node-path {
|
|
display: block;
|
|
font-size: 9px;
|
|
color: #aaa;
|
|
margin-left: 14px;
|
|
}
|
|
.am-properties {
|
|
display: grid;
|
|
grid-template-columns: minmax(130px, 35%) minmax(0, 1fr);
|
|
margin: 0;
|
|
font-size: 11px;
|
|
line-height: 1.7;
|
|
}
|
|
.am-properties dt,
|
|
.am-properties dd {
|
|
margin: 0;
|
|
padding: 9px 15px;
|
|
overflow-wrap: anywhere;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
white-space: pre-wrap;
|
|
}
|
|
.am-properties dt {
|
|
color: #888;
|
|
background: #fdfdfd;
|
|
}
|
|
.am-properties dd {
|
|
color: #444;
|
|
}
|
|
.am-report-row {
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 9px;
|
|
padding: 16px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
align-items: center;
|
|
}
|
|
.am-report-row strong {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-report-row p {
|
|
color: #999;
|
|
font-size: 10px;
|
|
line-height: 1.8;
|
|
margin: 5px 0 0;
|
|
}
|
|
.am-report-row > div:last-child {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex: none;
|
|
}
|
|
.am-history-row {
|
|
padding: 16px 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
.am-history-row h4 {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
margin: 0 0 6px;
|
|
}
|
|
.am-history-row p {
|
|
font-size: 11px;
|
|
color: #888;
|
|
margin: 0 0 7px;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
line-height: 1.8;
|
|
}
|
|
.am-history-row small {
|
|
font-size: 10px;
|
|
color: #aaa;
|
|
}
|
|
.am-help h3 {
|
|
font-size: 13px;
|
|
margin: 10px 0;
|
|
}
|
|
.am-help p {
|
|
font-size: 12px;
|
|
line-height: 1.9;
|
|
color: #777;
|
|
}
|
|
.am-warning {
|
|
font-size: 11px;
|
|
line-height: 1.8;
|
|
border-radius: 8px;
|
|
background: #faf4e9;
|
|
color: #91763e;
|
|
padding: 12px 15px;
|
|
margin: 14px 0;
|
|
}
|
|
.am-workspace button:focus-visible,
|
|
.am-dialog button:focus-visible,
|
|
.am-drawer button:focus-visible,
|
|
.am-filters select:focus-visible,
|
|
.am-form input:focus-visible,
|
|
.am-form select:focus-visible,
|
|
.am-form textarea:focus-visible,
|
|
.am-search:focus-within {
|
|
outline: 2px solid #555;
|
|
outline-offset: 2px;
|
|
}
|
|
.am-workspace button:disabled,
|
|
.am-dialog button:disabled,
|
|
.am-drawer button:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
.am-workspace [hidden],
|
|
.am-dialog [hidden],
|
|
.am-drawer [hidden] {
|
|
display: none !important;
|
|
}
|
|
@media (min-width: 1700px) {
|
|
.am-main {
|
|
padding: 36px 45px;
|
|
}
|
|
.am-kpi {
|
|
padding: 22px;
|
|
}
|
|
.am-table td {
|
|
padding: 18px 22px;
|
|
}
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.am-workspace {
|
|
grid-template-columns: 165px minmax(0, 1fr);
|
|
}
|
|
.am-main {
|
|
padding: 24px 20px;
|
|
}
|
|
.am-heading {
|
|
align-items: flex-start;
|
|
}
|
|
.am-kpis {
|
|
gap: 8px;
|
|
}
|
|
.am-kpi {
|
|
padding: 14px 12px;
|
|
}
|
|
.am-kpi small {
|
|
font-size: 9px;
|
|
}
|
|
.am-bottom {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
@media (max-width: 900px) {
|
|
.am-workspace {
|
|
display: block;
|
|
}
|
|
.am-nav {
|
|
display: none;
|
|
}
|
|
.am-main {
|
|
padding: 20px 16px;
|
|
}
|
|
.am-heading h2 {
|
|
font-size: 22px;
|
|
}
|
|
.am-heading {
|
|
flex-wrap: wrap;
|
|
}
|
|
.am-kpis {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
.am-kpi > strong {
|
|
font-size: 25px;
|
|
}
|
|
.am-bottom {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.am-register-head {
|
|
padding: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.am-filters {
|
|
padding: 0 16px 15px;
|
|
}
|
|
.am-register-head > div {
|
|
flex-wrap: wrap;
|
|
}
|
|
.am-drawer {
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
border-radius: 0;
|
|
}
|
|
.am-dialog-head,
|
|
.am-detail-body,
|
|
.am-form {
|
|
padding: 20px;
|
|
}
|
|
.am-tabs {
|
|
padding: 0 20px;
|
|
gap: 20px;
|
|
}
|
|
.am-form-grid {
|
|
gap: 14px;
|
|
}
|
|
.am-info-grid {
|
|
gap: 18px;
|
|
}
|
|
.am-report-row {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
@media (max-width: 480px) {
|
|
.am-kpis {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
.am-kpi:last-child {
|
|
grid-column: 1/-1;
|
|
}
|
|
.am-kpi:last-child > strong {
|
|
display: inline-block;
|
|
margin: 0 14px;
|
|
}
|
|
.am-kpi:last-child > small {
|
|
display: inline-block;
|
|
}
|
|
.am-main {
|
|
padding: 18px 12px;
|
|
}
|
|
.am-search {
|
|
flex-basis: 100%;
|
|
}
|
|
.am-filters select {
|
|
flex: 1;
|
|
min-width: 100px;
|
|
max-width: none;
|
|
}
|
|
.am-spec-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.am-dialog-head h2 {
|
|
font-size: 17px;
|
|
}
|
|
.am-form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.am-dialog {
|
|
width: calc(100vw - 20px);
|
|
}
|
|
.am-properties {
|
|
grid-template-columns: minmax(100px, 40%) minmax(0, 1fr);
|
|
}
|
|
.am-spec-tools {
|
|
flex-wrap: wrap;
|
|
}
|
|
.am-breakdown {
|
|
gap: 15px;
|
|
}
|
|
.am-value strong {
|
|
font-size: 15px;
|
|
}
|
|
.am-info-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
/* 상세 보고서 앞에는 읽기 쉬운 부품 요약을 배치합니다. */
|
|
.am-system-strip {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
background: #fafafa;
|
|
border-radius: 9px;
|
|
padding: 17px;
|
|
margin: 18px 0;
|
|
}
|
|
.am-components {
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 10px;
|
|
margin: 12px 0;
|
|
overflow: hidden;
|
|
}
|
|
.am-components > summary {
|
|
padding: 14px 17px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
background: #fafafa;
|
|
}
|
|
.am-component-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
padding: 15px;
|
|
}
|
|
.am-component-card {
|
|
min-width: 0;
|
|
padding: 14px;
|
|
border: 1px solid #eee;
|
|
border-radius: 8px;
|
|
}
|
|
.am-component-card > strong {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-component-card > small {
|
|
display: block;
|
|
color: #aaa;
|
|
font-size: 9px;
|
|
line-height: 1.7;
|
|
margin-top: 6px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-component-card dl {
|
|
display: grid;
|
|
grid-template-columns: minmax(90px, 35%) minmax(0, 1fr);
|
|
gap: 8px 12px;
|
|
margin: 15px 0 0;
|
|
font-size: 10px;
|
|
line-height: 1.7;
|
|
}
|
|
.am-component-card dt {
|
|
color: #999;
|
|
}
|
|
.am-component-card dd {
|
|
margin: 0;
|
|
color: #555;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.am-full-report-title {
|
|
margin-top: 28px;
|
|
}
|
|
.am-spec-tools {
|
|
margin-top: 14px;
|
|
}
|
|
@media (max-width: 600px) {
|
|
.am-component-grid,
|
|
.am-system-strip {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.am-kpi {
|
|
transition: none;
|
|
}
|
|
}
|