:root { font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: #303133; background: #f0f2f5; font-synthesis: none; } * { box-sizing: border-box; } body { margin: 0; min-width: 1100px; background: #f0f2f5; } button, input { font: inherit; } .login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #142f4e, #409eff); } .login-card { width: 390px; padding: 42px; border-radius: 10px; background: white; box-shadow: 0 20px 50px rgb(0 21 41 / 25%); } .brand-mark { width: 48px; height: 48px; margin: 0 auto 14px; display: grid; place-items: center; color: white; font-size: 24px; font-weight: 700; background: #409eff; border-radius: 12px; } .login-card h1 { margin: 0; text-align: center; font-size: 22px; } .login-card > p { margin: 7px 0 28px; text-align: center; color: #909399; } .login-card .el-input { margin-bottom: 16px; } .login-card .el-button { width: 100%; margin-top: 8px; } .field-label { display: block; margin-bottom: 7px; color: #606266; font-size: 13px; } .shell { min-height: 100vh; display: flex; } .sidebar { position: fixed; inset: 0 auto 0 0; width: 220px; color: white; background: #001529; } .logo { height: 60px; display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 650; border-bottom: 1px solid #1f3a5f; } .logo span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #409eff; } .menu-item { width: 100%; padding: 14px 24px; display: flex; gap: 10px; border: 0; color: #a6adb4; background: transparent; cursor: pointer; text-align: left; } .menu-item:hover { color: white; } .menu-item.active { color: white; background: #409eff; } .main { width: calc(100% - 220px); margin-left: 220px; } .header { height: 60px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; background: white; box-shadow: 0 1px 4px rgb(0 21 41 / 8%); } .header > div:first-child { display: flex; align-items: center; gap: 12px; } .header-kicker { padding-right: 12px; color: #909399; border-right: 1px solid #dcdfe6; } .admin-user { display: flex; align-items: center; gap: 8px; color: #606266; } .avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #409eff; background: #ecf5ff; } .content { padding: 20px; } .card { margin-bottom: 16px; padding: 20px; border-radius: 5px; background: white; box-shadow: 0 1px 2px rgb(0 0 0 / 4%); } .card-title { min-height: 32px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 650; } .card-title small { margin-left: 5px; color: #909399; font-size: 12px; font-weight: 400; } .toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .toolbar .el-input { width: 230px; } .toolbar .el-select { width: 160px; } .toolbar.compact { flex-wrap: nowrap; } .toolbar.compact .el-input { width: auto; flex: 1; } .token-layout { display: grid; grid-template-columns: 340px minmax(680px, 1fr); gap: 16px; } .token-card { min-width: 0; } .user-list { max-height: 370px; overflow: auto; border-top: 1px solid #ebeef5; } .user-row { width: 100%; padding: 12px 9px; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid #ebeef5; color: #303133; background: white; cursor: pointer; text-align: left; } .user-row:hover { background: #f5f7fa; } .user-row.selected { background: #ecf5ff; } .user-row span:first-child { display: flex; flex-direction: column; gap: 4px; } .user-row small { color: #909399; } .user-pager { margin-top: 10px; justify-content: flex-end; } .permission-card dl { margin: 0; border-top: 1px solid #ebeef5; } .permission-card dl > div { display: grid; grid-template-columns: 92px 1fr; border-bottom: 1px solid #ebeef5; } .permission-card dt, .permission-card dd { margin: 0; padding: 10px 6px; } .permission-card dt { color: #909399; } .hint { margin: 12px 0 0; color: #909399; font-size: 12px; line-height: 1.6; } code { font-family: Menlo, Consolas, monospace; font-size: 12px; } .el-table .el-tag + .el-tag { margin-left: 5px; } .danger-text { color: #f56c6c; font-size: 12px; } .audit-toolbar .el-input { width: 150px; } .audit-toolbar .el-select { width: 140px; } .audit-toolbar .el-date-editor { width: 150px; } .scope-tools-toolbar { display: flex; gap: 12px; align-items: center; } .scope-tools-toolbar .el-input { max-width: 260px; } .scope-tools-tabs { margin-top: 4px; } .scope-tools-tabs .el-tabs__header { margin-bottom: 8px; } .tab-badge { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 12px; line-height: 16px; border-radius: 8px; background: #f0f9eb; color: #67c23a; vertical-align: 2px; } .scope-tools-footer { display: flex; align-items: center; justify-content: space-between; width: 100%; } .scope-tools-summary { color: #606266; font-size: 13px; text-align: left; } .el-table .row-selected { background: #ecf5ff; } .token-secret { display: block; margin-top: 14px; padding: 14px; word-break: break-all; border-radius: 4px; background: #f4f4f5; font-size: 13px; } .issued-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; } .issued-row .token-secret { flex: 1; margin-top: 0; padding: 9px 12px; } .client-table { margin-top: 16px; } .key-example-label { margin: 18px 0 7px; } .key-example { margin: 0; padding: 14px; overflow: auto; color: #e6edf3; background: #1f2328; border-radius: 5px; font: 12px/1.6 Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; } @media (max-width: 1200px) { .token-layout { grid-template-columns: 300px minmax(640px, 1fr); } }