.menu-group a.active { color: #1677ff; background: rgba(255, 255, 255, 0.24); font-weight: 700; } .machine-page { flex: 1; padding: 10px 12px 18px; background: #eef3f8; } .machine-card { min-height: calc(100vh - 118px); padding: 14px 18px 26px; border-radius: 6px; background: #fff; box-shadow: 0 1px 8px rgba(28, 82, 142, 0.08); } .machine-card h1 { margin: 0 0 18px; color: #111827; font-size: 16px; font-weight: 700; } .machine-layout { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 26px; } .area-side h2, .device-panel h2 { margin: 0 0 10px; color: #111827; font-size: 15px; font-weight: 700; } .machine-area-search { height: 22px; display: grid; grid-template-columns: 1fr 24px; margin-bottom: 10px; border: 1px solid #c8d1dc; background: #fff; } .machine-area-search input { min-width: 0; height: 20px; padding: 0 8px; border: 0; outline: 0; font-size: 12px; } .machine-area-search button { position: relative; border: 0; background: transparent; cursor: pointer; } .machine-area-search button::before { content: ""; position: absolute; left: 5px; top: 4px; width: 10px; height: 10px; border: 1.5px solid #52657a; border-radius: 50%; } .machine-area-search button::after { content: ""; position: absolute; left: 15px; top: 15px; width: 7px; height: 1.5px; background: #52657a; transform: rotate(45deg); } .machine-area-tree { min-height: 560px; border: 1px solid #d8dce2; background: #fff; overflow: auto; } .machine-area-node { color: #23364d; font-size: 14px; } .machine-area-row { height: 35px; display: flex; align-items: center; gap: 8px; padding: 0 10px; cursor: pointer; } .machine-area-row.active { color: #1685ff; background: #e5f8ff; font-weight: 700; } .machine-area-row.level-2 { padding-left: 28px; } .machine-area-row.level-3 { padding-left: 46px; } .machine-area-toggle { width: 10px; height: 10px; position: relative; } .machine-area-toggle::before { content: ""; position: absolute; left: 1px; top: 3px; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid currentColor; } .machine-area-node.collapsed > .machine-area-row .machine-area-toggle::before { border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid currentColor; border-right: 0; } .machine-area-node.no-children .machine-area-toggle::before { display: none; } .machine-folder-icon, .machine-file-icon { width: 14px; height: 14px; flex: 0 0 14px; color: currentColor; position: relative; } .machine-folder-icon { border: 1.4px solid currentColor; border-radius: 1px; } .machine-folder-icon::before { content: ""; position: absolute; left: 1px; top: -5px; width: 7px; height: 5px; border: 1.4px solid currentColor; border-bottom: 0; } .machine-file-icon { border: 1.4px solid currentColor; border-radius: 2px; } .machine-file-icon::before { content: ""; position: absolute; right: -1px; top: -1px; width: 5px; height: 5px; border-left: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; background: #fff; } .machine-area-children { display: block; } .machine-area-node.collapsed > .machine-area-children { display: none; } .query-panel { height: 80px; display: grid; grid-template-columns: 250px 240px 250px 58px 58px; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid #d8dce2; border-radius: 4px; } .query-panel label { display: flex; align-items: center; gap: 8px; color: #111827; font-size: 12px; font-weight: 700; } .query-panel input, .query-panel select { width: 130px; height: 24px; padding: 0 8px; border: 1px solid #cbd2dc; color: #1f2d3d; outline: 0; font-size: 12px; } .query-panel select { width: 128px; } .query-reset, .query-search, .device-toolbar button { height: 26px; border-radius: 3px; font-size: 12px; cursor: pointer; } .query-reset { border: 1px solid #cdd8e5; color: #111827; background: #fff; } .query-search, .device-toolbar button { border: 1px solid #2e73ff; color: #fff; background: #2e73ff; } .device-toolbar { height: 50px; display: flex; align-items: flex-end; justify-content: flex-end; } .device-toolbar button { min-width: 92px; height: 30px; } .machine-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #111827; font-size: 13px; } .machine-table thead tr { height: 34px; background: #e9e9e9; } .machine-table th, .machine-table td { padding: 0 12px; text-align: left; } .machine-table tbody tr { height: 32px; } .machine-table tbody tr:nth-child(even) { background: #f1f1f1; } .machine-table th:nth-child(1), .machine-table td:nth-child(1) { width: 48px; } .machine-table th:nth-child(2), .machine-table td:nth-child(2) { width: 116px; } .machine-table th:nth-child(3), .machine-table td:nth-child(3) { width: 64px; } .machine-table th:nth-child(4), .machine-table td:nth-child(4) { width: 170px; } .machine-table th:nth-child(5), .machine-table td:nth-child(5) { width: 104px; } .machine-table th:nth-child(6), .machine-table td:nth-child(6), .machine-table th:nth-child(7), .machine-table td:nth-child(7) { width: 76px; } .machine-table th:nth-child(9), .machine-table td:nth-child(9) { width: 104px; } .machine-table td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .machine-table td.machine-action-cell { overflow: visible; } .machine-actions { position: relative; display: flex; align-items: center; gap: 16px; z-index: 20; } .machine-actions button { border: 0; color: #1685ff; background: transparent; font-size: 13px; cursor: pointer; } .more-menu { position: absolute; right: 0; top: 22px; z-index: 120; width: 90px; padding: 6px 0; border: 1px solid #e1e6ee; border-radius: 3px; background: #fff; box-shadow: 0 4px 12px rgba(15, 35, 70, 0.18); } .more-menu button { width: 100%; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: #111827; text-align: left; } .more-menu button:hover { color: #1685ff; background: #f5f9ff; } .more-icon { width: 15px; height: 15px; display: inline-block; position: relative; } .more-icon.logout::before { content: "↻"; position: absolute; left: -1px; top: -6px; font-size: 23px; } .more-icon.disable::before { content: ""; position: absolute; left: 1px; top: 2px; width: 12px; height: 4px; border: 1.5px solid currentColor; border-radius: 5px; box-shadow: 0 7px 0 -1px #fff, 0 7px 0 0 currentColor; } .more-icon.delete::before { content: ""; position: absolute; left: 4px; top: 4px; width: 7px; height: 9px; background: currentColor; } .more-icon.delete::after { content: ""; position: absolute; left: 3px; top: 1px; width: 9px; height: 2px; background: currentColor; } .machine-empty { padding: 38px; color: #8a9ab0; text-align: center; font-size: 13px; } .pagination { height: 54px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: #606f83; font-size: 12px; } .pagination button { min-width: 22px; height: 22px; border: 0; color: #606f83; background: transparent; cursor: pointer; } .pagination button.active { color: #1685ff; } .pagination select, .pagination input { height: 24px; border: 1px solid #d8e2ee; color: #606f83; background: #fff; font-size: 12px; } .pagination input { width: 42px; padding: 0 6px; } .machine-modal-panel { width: 654px; min-height: 660px; border-radius: 4px; } .machine-modal-header { height: 58px; } .machine-modal-header h3 { font-size: 16px; } .machine-form { display: grid; gap: 22px; padding: 0 140px 92px; } .machine-row { display: grid; grid-template-columns: 1fr; gap: 12px; color: #111827; font-size: 14px; font-weight: 700; } .machine-row > span:first-child { position: relative; } .machine-row.required > span:first-child::before { content: "*"; position: absolute; left: -14px; color: #f15a5a; font-weight: 400; } .machine-row input, .machine-row select, .area-cascader-trigger { width: 100%; height: 34px; padding: 0 10px; border: 1px solid #cbd2dc; color: #1f2d3d; background: #fff; outline: 0; font: inherit; } .machine-row input:focus, .machine-row select:focus, .area-cascader-trigger:focus { border-color: #2f80ed; box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.08); } .area-cascader { position: relative; width: 100%; } .area-cascader-trigger { display: flex; align-items: center; justify-content: space-between; cursor: pointer; } #machineAreaCascaderText { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .area-cascader-arrow { width: 8px; height: 8px; border-right: 1.5px solid #68788c; border-bottom: 1.5px solid #68788c; transform: rotate(45deg); } .area-cascader-panel { position: absolute; left: 0; top: 38px; z-index: 180; display: flex; min-height: 130px; border: 1px solid #e3e8ef; border-radius: 4px; background: #fff; box-shadow: 0 8px 20px rgba(16, 42, 78, 0.12); } .area-cascader-column { width: 136px; max-height: 210px; padding: 6px 0; overflow: auto; border-right: 1px solid #eef2f6; } .area-cascader-column:last-child { border-right: 0; } .area-cascader-option { width: 100%; height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; border: 0; color: #1f2d3d; background: transparent; text-align: left; font-size: 13px; cursor: pointer; } .area-cascader-option span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .area-cascader-option:hover, .area-cascader-option.active { color: #1677ff; background: #f3f8ff; } .area-cascader-next { color: #8a9ab0; } .area-cascader-empty { width: 136px; padding: 18px 10px; color: #8a9ab0; text-align: center; font-size: 12px; } .switch-row input { position: absolute; opacity: 0; pointer-events: none; } .machine-switch { width: 28px; height: 16px; display: inline-block; position: relative; border-radius: 999px; background: #c8d3df; cursor: pointer; } .machine-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform 0.16s ease; } .switch-row input:checked + .machine-switch { background: #21c96b; } .switch-row input:checked + .machine-switch::after { transform: translateX(12px); } .machine-modal-actions { position: absolute; right: 40px; bottom: 22px; display: flex; gap: 32px; } .machine-modal-actions .ghost-button, .machine-modal-actions .primary-button { min-width: 58px; height: 24px; } @media (max-width: 1280px) { .machine-layout { grid-template-columns: 206px minmax(0, 1fr); gap: 18px; } .query-panel { grid-template-columns: 226px 210px 220px 58px 58px; } } /* Visitor machine UI refinement */ .machine-page { padding: 14px 16px 22px; background: #eef4fb; } .machine-card { padding: 18px 20px 28px; border: 1px solid #e8eef6; border-radius: 14px; box-shadow: 0 10px 28px rgba(31, 65, 112, 0.06); } .machine-card h1 { margin-bottom: 18px; font-size: 17px; } .machine-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 20px; align-items: start; } .area-side { min-height: 640px; padding: 16px 14px; border: 1px solid #e5edf7; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(31, 65, 112, 0.04); } .area-side h2, .device-panel h2 { margin-bottom: 14px; color: #1f2d3d; font-size: 16px; } .machine-area-search { height: 34px; grid-template-columns: 1fr 34px; margin-bottom: 12px; border-color: #d9e5f2; border-radius: 18px; background: #f8fbff; overflow: hidden; } .machine-area-search input { height: 32px; padding-left: 14px; background: transparent; color: #25364a; } .machine-area-search input::placeholder { color: #9aaabe; } .machine-area-search button::before { left: 9px; top: 8px; border-color: #7c8da3; } .machine-area-search button::after { left: 19px; top: 19px; background: #7c8da3; } .machine-area-tree { min-height: 570px; border: 0; background: transparent; } .machine-area-node { font-size: 14px; } .machine-area-row { height: 36px; margin: 2px 0; border-radius: 8px; color: #344963; } .machine-area-row:hover { background: #f3f8ff; } .machine-area-row.active { color: #1677ff; background: #e8f3ff; font-weight: 700; } .device-panel { min-width: 0; overflow: visible; } .query-panel { min-height: 76px; height: auto; grid-template-columns: minmax(210px, 1fr) minmax(190px, 0.9fr) minmax(190px, 0.9fr) 72px 72px; gap: 12px; padding: 16px; border-color: #e5edf7; border-radius: 12px; background: #fbfdff; } .query-panel label { gap: 10px; color: #2e4057; font-weight: 600; } .query-panel input, .query-panel select { width: 138px; height: 34px; border-color: #d8e3f0; border-radius: 8px; background: #fff; } .query-panel input:focus, .query-panel select:focus { border-color: #2e73ff; box-shadow: 0 0 0 3px rgba(46, 115, 255, 0.1); } .query-reset, .query-search, .device-toolbar button { height: 34px; border-radius: 9px; font-size: 13px; } .query-reset { border-color: #d7e1ee; color: #52657a; background: #fff; } .query-search, .device-toolbar button { border-color: #1677ff; background: #1677ff; box-shadow: 0 6px 14px rgba(22, 119, 255, 0.18); } .device-toolbar { height: 56px; } .device-toolbar button { min-width: 104px; } .machine-table { border-collapse: separate; border-spacing: 0; border: 1px solid #e5edf7; border-radius: 12px; overflow: visible; background: #fff; font-size: 13px; } .machine-table thead tr { height: 42px; background: #f2f6fb; } .machine-table th { color: #516579; font-weight: 700; } .machine-table th:first-child { border-top-left-radius: 12px; } .machine-table th:last-child { border-top-right-radius: 12px; } .machine-table tbody tr { height: 44px; } .machine-table tbody tr:nth-child(even) { background: #f8fbff; } .machine-table tbody tr:hover { background: #eef6ff; } .machine-table td { border-top: 1px solid #edf2f8; color: #25364a; } .status-pill { min-width: 52px; height: 24px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; } .status-pill.enabled, .status-pill.online { color: #18a058; background: #e9f8f0; } .status-pill.disabled { color: #708195; background: #eef2f6; } .status-pill.offline { color: #d9822b; background: #fff2df; } .status-pill.unactivated { color: #5f748c; background: #eaf1f8; } .machine-actions { gap: 14px; } .machine-actions button { color: #1677ff; font-weight: 600; } .more-menu { top: 28px; right: -6px; width: 112px; padding: 8px; border-color: #edf2f8; border-radius: 10px; box-shadow: 0 12px 30px rgba(23, 43, 77, 0.16); } .more-menu button { height: 34px; gap: 8px; padding: 0 10px; border-radius: 7px; color: #33465c; } .more-menu button:hover { background: #eef6ff; } .more-menu button[data-action="delete"] { color: #e5484d; } .machine-empty { border: 1px solid #e5edf7; border-top: 0; border-radius: 0 0 12px 12px; background: #fff; } .pagination { padding-right: 4px; } @media (max-width: 1360px) { .machine-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 16px; } .query-panel { grid-template-columns: repeat(3, minmax(170px, 1fr)) 68px 68px; } .query-panel input, .query-panel select { width: 120px; } } .machine-table th, .machine-table td, .machine-table th:nth-child(1), .machine-table td:nth-child(1), .machine-table th:nth-child(2), .machine-table td:nth-child(2), .machine-table th:nth-child(3), .machine-table td:nth-child(3), .machine-table th:nth-child(4), .machine-table td:nth-child(4), .machine-table th:nth-child(5), .machine-table td:nth-child(5), .machine-table th:nth-child(6), .machine-table td:nth-child(6), .machine-table th:nth-child(7), .machine-table td:nth-child(7), .machine-table th:nth-child(8), .machine-table td:nth-child(8), .machine-table th:nth-child(9), .machine-table td:nth-child(9), .machine-table th:nth-child(10), .machine-table td:nth-child(10) { width: 10%; }