.menu-group a.active {
|
color: #fff;
|
background: rgba(255, 255, 255, 0.18);
|
font-weight: 700;
|
}
|
|
.door-page {
|
flex: 1;
|
padding: 20px;
|
background: transparent;
|
}
|
|
.door-card {
|
min-height: calc(100vh - 122px);
|
padding: 18px 20px 28px;
|
border: 1px solid rgba(221, 232, 247, 0.92);
|
border-radius: 14px;
|
background: rgba(255, 255, 255, 0.94);
|
box-shadow: 0 16px 40px rgba(34, 69, 126, 0.08);
|
}
|
|
.door-card h1 {
|
margin: 0 0 18px;
|
color: #15243d;
|
font-size: 18px;
|
font-weight: 800;
|
}
|
|
.door-layout {
|
display: grid;
|
grid-template-columns: 248px minmax(0, 1fr);
|
gap: 20px;
|
align-items: start;
|
}
|
|
.door-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);
|
}
|
|
.door-area-side h2,
|
.door-device-panel h2 {
|
margin: 0 0 14px;
|
color: #1f2d3d;
|
font-size: 16px;
|
font-weight: 800;
|
}
|
|
.door-area-search {
|
height: 34px;
|
display: grid;
|
grid-template-columns: 1fr 34px;
|
margin-bottom: 12px;
|
border: 1px solid #d9e5f2;
|
border-radius: 18px;
|
background: #f8fbff;
|
overflow: hidden;
|
}
|
|
.door-area-search input {
|
min-width: 0;
|
height: 32px;
|
padding: 0 0 0 14px;
|
border: 0;
|
outline: 0;
|
color: #25364a;
|
background: transparent;
|
font-size: 12px;
|
}
|
|
.door-area-search button {
|
position: relative;
|
border: 0;
|
background: transparent;
|
cursor: pointer;
|
}
|
|
.door-area-search button::before {
|
content: "";
|
position: absolute;
|
left: 9px;
|
top: 8px;
|
width: 10px;
|
height: 10px;
|
border: 1.5px solid #7c8da3;
|
border-radius: 50%;
|
}
|
|
.door-area-search button::after {
|
content: "";
|
position: absolute;
|
left: 19px;
|
top: 19px;
|
width: 7px;
|
height: 1.5px;
|
background: #7c8da3;
|
transform: rotate(45deg);
|
}
|
|
.door-area-tree {
|
min-height: 570px;
|
overflow: auto;
|
}
|
|
.door-area-node {
|
color: #344963;
|
font-size: 14px;
|
}
|
|
.door-area-row {
|
height: 36px;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
margin: 2px 0;
|
padding: 0 10px;
|
border-radius: 8px;
|
cursor: pointer;
|
}
|
|
.door-area-row:hover {
|
background: #f3f8ff;
|
}
|
|
.door-area-row.active {
|
color: #1677ff;
|
background: #e8f3ff;
|
font-weight: 700;
|
}
|
|
.door-area-row.level-2 {
|
padding-left: 28px;
|
}
|
|
.door-area-row.level-3 {
|
padding-left: 46px;
|
}
|
|
.door-area-toggle {
|
width: 10px;
|
height: 10px;
|
position: relative;
|
}
|
|
.door-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;
|
}
|
|
.door-area-node.collapsed > .door-area-row .door-area-toggle::before {
|
border-top: 4px solid transparent;
|
border-bottom: 4px solid transparent;
|
border-left: 6px solid currentColor;
|
border-right: 0;
|
}
|
|
.door-area-node.no-children .door-area-toggle::before {
|
display: none;
|
}
|
|
.door-folder-icon,
|
.door-file-icon {
|
width: 14px;
|
height: 14px;
|
flex: 0 0 14px;
|
color: currentColor;
|
position: relative;
|
}
|
|
.door-folder-icon {
|
border: 1.4px solid currentColor;
|
border-radius: 3px;
|
}
|
|
.door-folder-icon::before {
|
content: "";
|
position: absolute;
|
left: 1px;
|
top: -5px;
|
width: 7px;
|
height: 5px;
|
border: 1.4px solid currentColor;
|
border-bottom: 0;
|
}
|
|
.door-file-icon {
|
border: 1.4px solid currentColor;
|
border-radius: 3px;
|
}
|
|
.door-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;
|
}
|
|
.door-area-node.collapsed > .door-area-children {
|
display: none;
|
}
|
|
.door-device-panel {
|
min-width: 0;
|
overflow: visible;
|
}
|
|
.door-query-panel {
|
min-height: 76px;
|
display: grid;
|
grid-template-columns: minmax(210px, 1fr) minmax(190px, 0.9fr) minmax(190px, 0.9fr) 72px 72px;
|
align-items: center;
|
gap: 12px;
|
padding: 16px;
|
border: 1px solid #e5edf7;
|
border-radius: 12px;
|
background: #fbfdff;
|
}
|
|
.door-query-panel label {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
color: #2e4057;
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
.door-query-panel input,
|
.door-query-panel select {
|
width: 138px;
|
height: 34px;
|
padding: 0 8px;
|
border: 1px solid #d8e3f0;
|
border-radius: 8px;
|
color: #1f2d3d;
|
background: #fff;
|
outline: 0;
|
font-size: 12px;
|
}
|
|
.door-query-reset,
|
.door-query-search,
|
.door-device-toolbar button {
|
height: 34px;
|
border-radius: 9px;
|
font-size: 13px;
|
cursor: pointer;
|
}
|
|
.door-query-reset {
|
border: 1px solid #d7e1ee;
|
color: #52657a;
|
background: #fff;
|
}
|
|
.door-query-search,
|
.door-device-toolbar button {
|
border: 1px solid #1677ff;
|
color: #fff;
|
background: #1677ff;
|
box-shadow: 0 6px 14px rgba(22, 119, 255, 0.18);
|
}
|
|
.door-device-toolbar {
|
height: 56px;
|
display: flex;
|
align-items: flex-end;
|
justify-content: flex-end;
|
}
|
|
.door-device-toolbar button {
|
min-width: 104px;
|
}
|
|
.door-table {
|
width: 100%;
|
border-collapse: separate;
|
border-spacing: 0;
|
table-layout: fixed;
|
border: 1px solid #e5edf7;
|
border-radius: 12px;
|
background: #fff;
|
color: #111827;
|
font-size: 13px;
|
overflow: visible;
|
}
|
|
.door-table thead tr {
|
height: 42px;
|
background: #f2f6fb;
|
}
|
|
.door-table th,
|
.door-table td {
|
width: 11.111%;
|
padding: 0 12px;
|
text-align: left;
|
}
|
|
.door-table th {
|
color: #516579;
|
font-weight: 800;
|
}
|
|
.door-table th:first-child {
|
border-top-left-radius: 12px;
|
}
|
|
.door-table th:last-child {
|
border-top-right-radius: 12px;
|
}
|
|
.door-table tbody tr {
|
height: 44px;
|
}
|
|
.door-table tbody tr:nth-child(even) {
|
background: #f8fbff;
|
}
|
|
.door-table tbody tr:hover {
|
background: #eef6ff;
|
}
|
|
.door-table td {
|
border-top: 1px solid #edf2f8;
|
color: #25364a;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.door-table td.door-action-cell {
|
overflow: visible;
|
}
|
|
.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;
|
}
|
|
.door-actions {
|
position: relative;
|
display: flex;
|
align-items: center;
|
gap: 14px;
|
z-index: 20;
|
}
|
|
.door-actions button {
|
border: 0;
|
color: #1677ff;
|
background: transparent;
|
font-size: 13px;
|
font-weight: 700;
|
cursor: pointer;
|
}
|
|
.door-more-menu {
|
position: absolute;
|
right: -6px;
|
top: 28px;
|
z-index: 120;
|
width: 112px;
|
padding: 8px;
|
border: 1px solid #edf2f8;
|
border-radius: 10px;
|
background: #fff;
|
box-shadow: 0 12px 30px rgba(23, 43, 77, 0.16);
|
}
|
|
.door-more-menu button {
|
width: 100%;
|
height: 34px;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
padding: 0 10px;
|
border-radius: 7px;
|
color: #33465c;
|
text-align: left;
|
}
|
|
.door-more-menu button:hover {
|
color: #1677ff;
|
background: #eef6ff;
|
}
|
|
.door-more-menu button[data-action="delete"] {
|
color: #e5484d;
|
}
|
|
.door-more-icon {
|
width: 15px;
|
height: 15px;
|
display: inline-block;
|
position: relative;
|
}
|
|
.door-more-icon.logout::before {
|
content: "↻";
|
position: absolute;
|
left: 0;
|
top: -4px;
|
font-size: 18px;
|
}
|
|
.door-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;
|
}
|
|
.door-more-icon.delete::before {
|
content: "";
|
position: absolute;
|
left: 4px;
|
top: 4px;
|
width: 7px;
|
height: 9px;
|
background: currentColor;
|
}
|
|
.door-more-icon.delete::after {
|
content: "";
|
position: absolute;
|
left: 3px;
|
top: 1px;
|
width: 9px;
|
height: 2px;
|
background: currentColor;
|
}
|
|
.door-empty {
|
padding: 38px;
|
border: 1px solid #e5edf7;
|
border-top: 0;
|
border-radius: 0 0 12px 12px;
|
color: #8a9ab0;
|
text-align: center;
|
font-size: 13px;
|
background: #fff;
|
}
|
|
.door-pagination {
|
height: 54px;
|
display: flex;
|
align-items: center;
|
justify-content: flex-end;
|
gap: 18px;
|
color: #606f83;
|
font-size: 12px;
|
}
|
|
.door-pagination button {
|
min-width: 22px;
|
height: 22px;
|
border: 0;
|
color: #606f83;
|
background: transparent;
|
cursor: pointer;
|
}
|
|
.door-pagination button.active {
|
color: #1685ff;
|
}
|
|
.door-pagination select,
|
.door-pagination input {
|
height: 24px;
|
border: 1px solid #d8e2ee;
|
color: #606f83;
|
background: #fff;
|
font-size: 12px;
|
}
|
|
.door-pagination input {
|
width: 42px;
|
padding: 0 6px;
|
}
|
|
.door-modal-panel {
|
width: 654px;
|
min-height: 636px;
|
border-radius: 6px;
|
}
|
|
.door-modal-header {
|
height: 58px;
|
}
|
|
.door-modal-header h3 {
|
font-size: 16px;
|
}
|
|
.door-form {
|
display: grid;
|
gap: 20px;
|
padding: 0 86px 92px;
|
}
|
|
.door-row {
|
display: grid;
|
grid-template-columns: 1fr;
|
gap: 12px;
|
color: #111827;
|
font-size: 14px;
|
font-weight: 700;
|
}
|
|
.door-row > span:first-child {
|
position: relative;
|
}
|
|
.door-row.required > span:first-child::before {
|
content: "*";
|
position: absolute;
|
left: -14px;
|
color: #f15a5a;
|
font-weight: 400;
|
}
|
|
.door-row input,
|
.door-row select,
|
.area-cascader-trigger {
|
width: 100%;
|
height: 34px;
|
padding: 0 10px;
|
border: 1px solid #cbd2dc;
|
border-radius: 4px;
|
color: #1f2d3d;
|
background: #fff;
|
outline: 0;
|
font: inherit;
|
}
|
|
.door-row input:focus,
|
.door-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;
|
}
|
|
.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:hover,
|
.area-cascader-option.active {
|
color: #1677ff;
|
background: #f3f8ff;
|
}
|
|
.area-cascader-next {
|
color: #8a9ab0;
|
}
|
|
.switch-row input {
|
position: absolute;
|
opacity: 0;
|
pointer-events: none;
|
}
|
|
.door-switch {
|
width: 28px;
|
height: 16px;
|
display: inline-block;
|
position: relative;
|
border-radius: 999px;
|
background: #c8d3df;
|
cursor: pointer;
|
}
|
|
.door-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 + .door-switch {
|
background: #21c96b;
|
}
|
|
.switch-row input:checked + .door-switch::after {
|
transform: translateX(12px);
|
}
|
|
.door-modal-actions {
|
position: absolute;
|
right: 40px;
|
bottom: 22px;
|
display: flex;
|
gap: 32px;
|
}
|
|
.door-modal-actions .ghost-button,
|
.door-modal-actions .primary-button {
|
min-width: 58px;
|
height: 24px;
|
}
|
|
@media (max-width: 1360px) {
|
.door-layout {
|
grid-template-columns: 230px minmax(0, 1fr);
|
gap: 16px;
|
}
|
|
.door-query-panel {
|
grid-template-columns: repeat(3, minmax(170px, 1fr)) 68px 68px;
|
}
|
|
.door-query-panel input,
|
.door-query-panel select {
|
width: 120px;
|
}
|
}
|