10746 lines
243 KiB
CSS
10746 lines
243 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
|
|
|
|
:root {
|
|
--accent: #4f46e5;
|
|
--bg: #f3f4f6;
|
|
--settings-bg: #e9edf2;
|
|
--panel-gray: #282c34;
|
|
--glass: rgba(255, 255, 255, 0.6);
|
|
--radius: 12px;
|
|
--shadow: 0 8px 30px rgba(16, 24, 40, 0.12);
|
|
--muted: #6b7280;
|
|
--text: #0f172a;
|
|
--btn-grad: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 255, 0.96));
|
|
--btn-color: #071232;
|
|
--card-contrast-bg: rgba(255, 255, 255, 0.85);
|
|
--modal-bg: #d7dee6;
|
|
--hover-border: rgba(15, 23, 42, 0.08);
|
|
--gap: 24px;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--accent: #7c3aed;
|
|
--bg: #282c34;
|
|
--settings-bg: rgba(30, 36, 40, 0.92);
|
|
--panel-gray: #282c34;
|
|
--glass: rgba(255, 255, 255, 0.03);
|
|
--shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
|
|
--muted: #9ca3af;
|
|
--text: #e6eef8;
|
|
--btn-grad: linear-gradient(90deg, rgba(40, 44, 50, 0.92), rgba(48, 52, 58, 0.94));
|
|
--btn-color: #e6eef8;
|
|
--card-contrast-bg: rgba(0, 0, 0, 0.45);
|
|
--modal-bg: rgba(18, 20, 22, 0.96);
|
|
--hover-border: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
body.compact {
|
|
--gap: 12px;
|
|
}
|
|
|
|
body.no-animations * {
|
|
transition: none !important;
|
|
animation: none !important;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
display: none;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
padding: 20px;
|
|
transition: background .45s ease, color .35s ease;
|
|
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
|
|
}
|
|
|
|
.focus-ring:focus {
|
|
border: 1px solid #53a7f7 !important;
|
|
box-shadow: 0 0 6px #53a7f777 !important;
|
|
}
|
|
|
|
.theme-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9998;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity .28s ease;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.04));
|
|
}
|
|
|
|
.theme-overlay.show {
|
|
opacity: 1
|
|
}
|
|
|
|
.app {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
grid-template-columns: 260px 1fr;
|
|
gap: var(--gap);
|
|
align-items: start
|
|
}
|
|
|
|
main,
|
|
.panel,
|
|
.layout-inner,
|
|
.content-flex,
|
|
.content-area {
|
|
min-width: 0;
|
|
}
|
|
|
|
main {
|
|
display: block;
|
|
}
|
|
|
|
.sidebar {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.5));
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
box-shadow: var(--shadow);
|
|
position: sticky;
|
|
top: 18px;
|
|
height: auto;
|
|
max-height: calc(100vh - 36px);
|
|
overflow: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
[data-theme="dark"] .sidebar {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 6px;
|
|
flex: 0 0 auto
|
|
}
|
|
|
|
.brand .logo {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--panel-gray);
|
|
color: #fff;
|
|
font-weight: 700;
|
|
font-size: 18px;
|
|
box-shadow: 0 6px 18px rgba(40, 44, 52, 0.12)
|
|
}
|
|
|
|
.brand h1 {
|
|
font-size: 14px;
|
|
margin: 0
|
|
}
|
|
|
|
.brand p {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: var(--muted)
|
|
}
|
|
|
|
.nav {
|
|
margin-top: 6px;
|
|
flex: 1 1 auto;
|
|
overflow: auto
|
|
}
|
|
|
|
.nav button {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', sans-serif;
|
|
font-weight: 510;
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
transition: all .18s ease;
|
|
white-space: nowrap;
|
|
outline: none;
|
|
letter-spacing: -0.015em;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
.nav button:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.nav button.active {
|
|
background: linear-gradient(90deg, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0.04));
|
|
color: var(--accent);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.nav button i {
|
|
width: 18px;
|
|
text-align: center;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.panel {
|
|
background: var(--settings-bg);
|
|
border-radius: 12px;
|
|
padding: 18px;
|
|
box-shadow: var(--shadow);
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: transform .28s cubic-bezier(.2, .9, .2, 1), box-shadow .2s
|
|
}
|
|
|
|
.panel:hover {
|
|
transform: none
|
|
}
|
|
|
|
.panel h2 {
|
|
margin: 0 0 6px 0;
|
|
font-family: 'Space Grotesk', sans-serif
|
|
}
|
|
|
|
.panel p {
|
|
margin: 0 0 14px 0;
|
|
color: var(--muted)
|
|
}
|
|
|
|
.closeEscFixed {
|
|
position: fixed;
|
|
right: 14px;
|
|
top: 14px;
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 999px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
background: var(--btn-grad);
|
|
cursor: pointer;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
font-weight: 700;
|
|
z-index: 9999;
|
|
transition: transform .14s ease, box-shadow .14s ease, background .14s ease
|
|
}
|
|
|
|
.closeEscFixed:hover {
|
|
transform: scale(1.03);
|
|
box-shadow: 0 12px 30px rgba(2, 6, 23, 0.12)
|
|
}
|
|
|
|
.closeEscFixed:hover .closeEscFixed-inner {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.closeEscFixed i {
|
|
font-size: 15px;
|
|
color: var(--btn-color)
|
|
}
|
|
|
|
.closeEscFixed small {
|
|
display: block;
|
|
font-size: 10px;
|
|
color: var(--muted);
|
|
margin-top: 2px
|
|
}
|
|
|
|
.layout-inner {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex: 1 1 auto;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.left-col {
|
|
width: 320px
|
|
}
|
|
|
|
.theme-btn {
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
border: 0;
|
|
background: var(--btn-grad);
|
|
color: var(--btn-color);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
|
|
transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease
|
|
}
|
|
|
|
.theme-btn:hover {
|
|
transform: translateY(-2px)
|
|
}
|
|
|
|
.theme-btn.active {
|
|
box-shadow: 0 12px 36px rgba(16, 24, 40, 0.12);
|
|
outline: 3px solid rgba(79, 70, 229, 0.06)
|
|
}
|
|
|
|
.btn {
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
border: 0;
|
|
background: var(--btn-grad);
|
|
color: var(--btn-color);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
|
|
transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
|
|
;
|
|
}
|
|
|
|
.btn:hover {
|
|
box-shadow: 0 14px 36px rgba(16, 24, 40, 0.12);
|
|
transform: none;
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.98));
|
|
}
|
|
|
|
[data-theme="dark"] .btn:hover {
|
|
background: linear-gradient(90deg, rgba(48, 52, 62, 0.98), rgba(56, 60, 70, 0.98));
|
|
}
|
|
|
|
.btn.ghost {
|
|
background: transparent;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
color: var(--text);
|
|
box-shadow: none
|
|
}
|
|
|
|
[data-theme="dark"] .btn.ghost {
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
color: var(--text)
|
|
}
|
|
|
|
.card {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75));
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06)
|
|
}
|
|
|
|
[data-theme="dark"] .card {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
|
|
}
|
|
|
|
.bg-select {
|
|
margin-top: 10px
|
|
}
|
|
|
|
.bg-preview {
|
|
height: 120px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: all .18s ease;
|
|
border: none !important
|
|
}
|
|
|
|
.bg-preview .label {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 8px;
|
|
background: rgba(0, 0, 0, 0.12);
|
|
padding: 6px 10px;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 13px
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
margin-top: 10px
|
|
}
|
|
|
|
.color-dot {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 8px;
|
|
border: 4px solid #fff;
|
|
box-shadow: 0 8px 18px rgba(2, 6, 23, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700
|
|
}
|
|
|
|
input[type=color] {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 8px;
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
background: transparent;
|
|
cursor: pointer
|
|
}
|
|
|
|
.field {
|
|
flex: 1
|
|
}
|
|
|
|
.field input[type=text] {
|
|
width: 100%;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15, 23, 42, 0.06)
|
|
}
|
|
|
|
.thumbs {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 8px;
|
|
margin-top: 10px
|
|
}
|
|
|
|
.thumb {
|
|
height: 70px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
cursor: pointer;
|
|
border: 3px solid transparent;
|
|
transition: transform .14s, box-shadow .14s
|
|
}
|
|
|
|
.thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block
|
|
}
|
|
|
|
.thumb:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12)
|
|
}
|
|
|
|
.thumb.selected {
|
|
border-color: var(--accent)
|
|
}
|
|
|
|
.upload {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center
|
|
}
|
|
|
|
.upload input[type=file] {
|
|
display: none
|
|
}
|
|
|
|
.upload .upload-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
border: 1px dashed rgba(15, 23, 42, 0.06);
|
|
background: transparent;
|
|
cursor: pointer
|
|
}
|
|
|
|
.note {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
margin-top: 12px
|
|
}
|
|
|
|
.prefs-list {
|
|
margin-top: 10px;
|
|
display: grid;
|
|
gap: 8px
|
|
}
|
|
|
|
.pref-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px;
|
|
border-radius: 10px;
|
|
background: var(--card-contrast-bg);
|
|
border: 1px solid rgba(15, 23, 42, 0.04)
|
|
}
|
|
|
|
.pref-row small {
|
|
color: var(--muted)
|
|
}
|
|
|
|
.content-area {
|
|
padding: 8px 0;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.content-area:hover {
|
|
transform: none !important;
|
|
}
|
|
|
|
.panel-section {
|
|
display: none
|
|
}
|
|
|
|
.panel-section.active {
|
|
display: block;
|
|
}
|
|
|
|
.clickable-card {
|
|
cursor: pointer;
|
|
transition: transform .12s ease, box-shadow .12s ease;
|
|
border: 1px solid transparent;
|
|
padding: 10px
|
|
}
|
|
|
|
.clickable-card:hover {
|
|
transform: none;
|
|
box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
|
|
}
|
|
|
|
.server-row {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: none;
|
|
min-height: 64px;
|
|
transform: scale(1);
|
|
transform-origin: center;
|
|
transition: transform .2s ease, background .2s ease;
|
|
}
|
|
|
|
.server-row:hover {
|
|
transform: scale(1.02);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
body.no-animations .server-row,
|
|
body.no-animations .server-row:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.server-row-suspended {
|
|
background: rgba(239, 68, 68, 0.06);
|
|
}
|
|
|
|
.server-row-suspended:hover {
|
|
background: rgba(239, 68, 68, 0.09);
|
|
}
|
|
|
|
.server-row .left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
flex-wrap: wrap
|
|
}
|
|
|
|
.server-row .iconWrap {
|
|
flex-shrink: 0;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 17px;
|
|
color: var(--muted);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.server-row-suspended .iconWrap {
|
|
color: #f87171;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
.server-row .name {
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.server-name-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0
|
|
}
|
|
|
|
.server-name-display {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 280px
|
|
}
|
|
|
|
.server-row .actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
justify-content: flex-end;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.server-row .actions .btn.ghost {
|
|
width: 36px;
|
|
height: 36px;
|
|
min-height: 36px;
|
|
padding: 0;
|
|
border: none !important;
|
|
border-radius: 9px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--muted);
|
|
box-shadow: none;
|
|
transition: background .2s ease, color .2s ease;
|
|
}
|
|
|
|
.server-row .actions .btn.ghost:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--text);
|
|
}
|
|
|
|
.server-row .actions .suspend-server:hover {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #f87171;
|
|
}
|
|
|
|
.server-row .actions .restore-server:hover {
|
|
background: rgba(34, 197, 94, 0.12);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.server-row .actions .delete-server:hover {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #f87171;
|
|
}
|
|
|
|
/* suspend / restore are icon-only buttons, sized like the rest */
|
|
.server-row .actions .server-suspension-action {
|
|
width: 36px;
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
|
|
.server-row .inline-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.server-row .template-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.server-state-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 2px 10px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
border: 1px solid rgba(239, 68, 68, 0.26);
|
|
background: rgba(239, 68, 68, 0.11);
|
|
color: #fca5a5;
|
|
white-space: nowrap
|
|
}
|
|
|
|
.suspend-server {
|
|
color: #fca5a5
|
|
}
|
|
|
|
.restore-server {
|
|
color: #86efac
|
|
}
|
|
|
|
.suspend-server:disabled {
|
|
opacity: .5;
|
|
cursor: not-allowed
|
|
}
|
|
|
|
.templates-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 12px;
|
|
align-items: start;
|
|
}
|
|
|
|
.template-card {
|
|
padding: 0;
|
|
border-radius: 14px;
|
|
background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
|
|
backdrop-filter: blur(8px);
|
|
background-clip: padding-box;
|
|
overflow: hidden;
|
|
display: flex;
|
|
transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.template-card.clickable-card {
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.template-card.clickable-card:hover,
|
|
.template-card:hover {
|
|
background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
|
|
transform: none;
|
|
}
|
|
|
|
.template-card__body {
|
|
display: grid;
|
|
grid-template-columns: 46px minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 12px 14px;
|
|
width: 100%;
|
|
}
|
|
|
|
.template-card__icon {
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 11px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.template-card__thumb {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 11px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
display: block;
|
|
}
|
|
|
|
.template-card__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.template-card__title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.template-card__title .name {
|
|
font-weight: 700;
|
|
font-size: 14.5px;
|
|
}
|
|
|
|
.template-card__title .inline-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.template-card__description {
|
|
color: var(--muted);
|
|
font-size: 12.5px;
|
|
line-height: 1.35;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-card__meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
font-size: 11.5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.template-card__meta span {
|
|
padding: 4px 8px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
display: inline-flex;
|
|
gap: 5px;
|
|
align-items: center;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.template-card__actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.template-card__actions .btn.ghost {
|
|
width: 32px;
|
|
height: 32px;
|
|
min-height: 32px;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.template-card__actions .btn.edit-template {
|
|
border-color: rgba(96, 165, 250, 0.32);
|
|
color: #bfdbfe;
|
|
}
|
|
|
|
.template-card__actions .btn.export-template {
|
|
border-color: rgba(148, 163, 184, 0.35);
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.template-card__actions .btn.delete-template {
|
|
border-color: rgba(239, 68, 68, 0.35);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.templates-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.template-card__body {
|
|
grid-template-columns: 44px minmax(0, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.template-card__icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.template-card__actions {
|
|
grid-column: 1 / -1;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-top: 2px;
|
|
}
|
|
}
|
|
|
|
.btn.ghost {
|
|
transform: scale(1) !important;
|
|
}
|
|
|
|
.btn.ghost:hover {
|
|
background-color: rgba(143, 143, 143, 0.056);
|
|
}
|
|
|
|
#openCreateUserBtn {
|
|
font-weight: 500;
|
|
border: 2px solid rgba(96, 165, 250, 0.2) !important;
|
|
}
|
|
|
|
#openCreateUserBtn:hover {
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 255, 0.98));
|
|
box-shadow: 0 14px 36px rgba(16, 24, 40, 0.12);
|
|
}
|
|
|
|
[data-theme="dark"] #openCreateUserBtn:hover {
|
|
background: linear-gradient(90deg, rgba(48, 52, 62, 0.98), rgba(56, 60, 70, 0.98));
|
|
}
|
|
|
|
.servers-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 8px
|
|
}
|
|
|
|
.templates-header {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.templates-header-actions {
|
|
margin-left: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.template-store-open-btn {
|
|
background: rgba(255, 255, 255, 0.065);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.template-store-open-btn:hover {
|
|
background: rgba(255, 255, 255, 0.09);
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
box-shadow: none;
|
|
}
|
|
|
|
#openCreateTemplate:hover,
|
|
#openTemplateStore:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.enterprise-modal.template-store-modal {
|
|
width: 85%;
|
|
height: 85%;
|
|
max-width: 85%;
|
|
max-height: 85%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#templateStoreOverlay.show {
|
|
display: flex;
|
|
}
|
|
|
|
#templateStoreOverlay.closing {
|
|
display: none;
|
|
}
|
|
|
|
#templateStoreModal {
|
|
transform-origin: center;
|
|
}
|
|
|
|
.template-store-header {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 22px;
|
|
padding: 16px 28px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
|
background: rgba(255, 255, 255, 0.025);
|
|
overflow: visible;
|
|
}
|
|
|
|
.template-store-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
min-width: 0;
|
|
}
|
|
|
|
.template-store-brand img {
|
|
width: 72px;
|
|
height: 72px;
|
|
object-fit: contain;
|
|
flex: 0 0 auto;
|
|
filter: none;
|
|
}
|
|
|
|
.template-store-body {
|
|
padding: 22px 28px 28px;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.template-store-body::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.template-store-toolbar {
|
|
display: flex;
|
|
min-width: 0;
|
|
justify-content: space-between;
|
|
gap: 22px;
|
|
align-items: center;
|
|
overflow: visible;
|
|
}
|
|
|
|
.template-store-tabs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: clamp(16px, 1.7vw, 30px);
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
overflow: visible;
|
|
padding: 8px 14px;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.template-store-tabs::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.template-store-tab {
|
|
position: relative;
|
|
isolation: isolate;
|
|
min-height: 34px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.68);
|
|
font: inherit;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
overflow: visible;
|
|
transition: color 0.18s ease, transform 0.18s ease;
|
|
}
|
|
|
|
.template-store-tab::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 3px -12px;
|
|
z-index: -1;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.075);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
opacity: 0;
|
|
transform: scale(0.94);
|
|
transition: opacity 0.18s ease, transform 0.18s ease;
|
|
}
|
|
|
|
.template-store-tab.active {
|
|
color: #fff;
|
|
font-weight: 550;
|
|
}
|
|
|
|
.template-store-tab:hover {
|
|
color: #fff;
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.template-store-tab:hover::before {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
.template-store-search {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 0 1 320px;
|
|
width: clamp(150px, 26vw, 320px);
|
|
min-width: 150px;
|
|
}
|
|
|
|
.template-store-search i {
|
|
position: absolute;
|
|
left: 14px;
|
|
color: rgba(203, 213, 225, 0.58);
|
|
font-size: 13px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.template-store-search input {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
padding: 0 14px 0 40px;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 8px;
|
|
outline: none;
|
|
background: rgba(8, 12, 18, 0.42);
|
|
color: rgba(255, 255, 255, 0.94);
|
|
font-size: 13px;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
|
|
}
|
|
|
|
.template-store-search input:focus {
|
|
border-color: rgba(148, 163, 184, 0.18);
|
|
background: rgba(8, 12, 18, 0.42);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.template-store-search input::placeholder {
|
|
color: rgba(203, 213, 225, 0.48);
|
|
}
|
|
|
|
.template-store-feedback {
|
|
flex: 0 0 18px;
|
|
margin-bottom: 12px;
|
|
color: rgba(203, 213, 225, 0.7);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.template-store-feedback.is-error {
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.template-store-feedback.is-success {
|
|
color: rgba(187, 247, 208, 0.86);
|
|
}
|
|
|
|
.template-store-grid {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
grid-auto-rows: minmax(248px, auto);
|
|
gap: clamp(12px, 1.1vw, 18px);
|
|
align-items: stretch;
|
|
align-content: start;
|
|
}
|
|
|
|
.template-store-card {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-rows: 112px minmax(0, 1fr) auto;
|
|
min-height: 248px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
background: rgba(20, 22, 36, 0.94);
|
|
overflow: hidden;
|
|
height: 100%;
|
|
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(97, 106, 132, 0.34);
|
|
}
|
|
|
|
.template-store-card-media {
|
|
position: relative;
|
|
background: rgba(36, 40, 58, 0.86);
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
.template-store-card-media::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
linear-gradient(180deg,
|
|
rgba(20, 22, 36, 0) 0%,
|
|
rgba(20, 22, 36, 0.1) 42%,
|
|
rgba(20, 22, 36, 0.72) 78%,
|
|
rgba(20, 22, 36, 0.98) 100%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.template-store-card-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(226, 232, 240, 0.78);
|
|
font-size: 34px;
|
|
background: rgba(255, 255, 255, 0.045);
|
|
}
|
|
|
|
.template-store-category-chip {
|
|
position: absolute;
|
|
left: 10px;
|
|
bottom: 10px;
|
|
z-index: 1;
|
|
max-width: calc(100% - 20px);
|
|
padding: 5px 8px;
|
|
border-radius: 8px;
|
|
background: rgba(2, 6, 23, 0.72);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.template-store-local-chip {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
z-index: 1;
|
|
max-width: calc(100% - 20px);
|
|
padding: 5px 8px;
|
|
border-radius: 8px;
|
|
background: rgba(120, 53, 15, 0.85);
|
|
border: 1px solid rgba(251, 191, 36, 0.55);
|
|
color: #fde68a;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
backdrop-filter: blur(10px);
|
|
cursor: help;
|
|
}
|
|
|
|
.template-store-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
padding: 12px 14px 8px;
|
|
background: rgba(20, 22, 36, 0.98);
|
|
}
|
|
|
|
.template-store-card-title {
|
|
color: rgba(255, 255, 255, 0.96);
|
|
font-size: 15px;
|
|
font-weight: 760;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.template-store-card-desc {
|
|
color: rgba(203, 213, 225, 0.72);
|
|
font-size: 12.5px;
|
|
line-height: 1.45;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-store-card-meta {
|
|
margin-top: auto;
|
|
color: rgba(148, 163, 184, 0.82);
|
|
font-size: 11.5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.template-store-card-meta span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.template-store-card-actions {
|
|
padding: 0 14px 14px;
|
|
background: rgba(20, 22, 36, 0.98);
|
|
}
|
|
|
|
.template-store-install {
|
|
width: 100%;
|
|
min-height: 36px;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
background: #4f46e5;
|
|
border: 1px solid rgba(199, 210, 254, 0.18);
|
|
color: #fff;
|
|
box-shadow: none;
|
|
transition: background 0.18s ease, opacity 0.18s ease;
|
|
}
|
|
|
|
.template-store-install:hover:not(:disabled) {
|
|
background: #6366f1;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.template-store-install:disabled {
|
|
opacity: 0.72;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.template-store-install.is-installed {
|
|
background: rgba(51, 65, 85, 0.92);
|
|
border-color: rgba(148, 163, 184, 0.22);
|
|
color: rgba(226, 232, 240, 0.86);
|
|
opacity: 1;
|
|
}
|
|
|
|
.template-store-card-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
padding: 0 14px 10px;
|
|
background: rgba(20, 22, 36, 0.98);
|
|
}
|
|
|
|
.template-store-card-tag {
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(59, 130, 246, 0.14);
|
|
border: 1px solid rgba(59, 130, 246, 0.32);
|
|
color: rgba(147, 197, 253, 0.95);
|
|
font-size: 10.5px;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.template-store-card-tag.is-warn {
|
|
background: rgba(249, 115, 22, 0.14);
|
|
border-color: rgba(249, 115, 22, 0.4);
|
|
color: rgba(253, 186, 116, 0.98);
|
|
}
|
|
|
|
/* Pre-install review dialog: renders every submitted field of a store
|
|
template. DOM built in settings.js from summarizeStoreTemplatePayload. */
|
|
.enterprise-modal.template-store-review-modal {
|
|
width: 720px;
|
|
max-width: 94vw;
|
|
max-height: 88vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.template-store-review-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.template-store-review-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.template-store-review-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #34d399;
|
|
}
|
|
|
|
.template-store-review-body {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.template-store-review-body::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.template-store-review-body::-webkit-scrollbar-thumb {
|
|
background: rgba(148, 163, 184, 0.25);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.tsr-banner {
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
font-size: 12.5px;
|
|
line-height: 1.5;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.tsr-banner.is-danger {
|
|
background: rgba(127, 29, 29, 0.35);
|
|
border: 1px solid rgba(248, 113, 113, 0.45);
|
|
color: #fecaca;
|
|
}
|
|
|
|
.tsr-banner.is-warn {
|
|
background: rgba(120, 53, 15, 0.35);
|
|
border: 1px solid rgba(251, 191, 36, 0.45);
|
|
color: #fde68a;
|
|
}
|
|
|
|
.tsr-section {
|
|
border: 1px solid rgba(148, 163, 184, 0.14);
|
|
border-radius: 12px;
|
|
background: rgba(15, 23, 42, 0.45);
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.tsr-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: rgba(226, 232, 240, 0.95);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.tsr-section-title i {
|
|
color: rgba(129, 140, 248, 0.9);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.tsr-rows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.tsr-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(120px, 190px) 1fr;
|
|
gap: 10px;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.tsr-key {
|
|
color: rgba(148, 163, 184, 0.85);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tsr-val {
|
|
color: rgba(241, 245, 249, 0.94);
|
|
font-size: 12.5px;
|
|
line-height: 1.5;
|
|
overflow-wrap: anywhere;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.tsr-val.is-mono {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
color: rgba(199, 210, 254, 0.96);
|
|
}
|
|
|
|
.tsr-val.is-warn {
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.tsr-sub-label {
|
|
color: rgba(148, 163, 184, 0.9);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.tsr-script {
|
|
margin: 4px 0 0;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
background: rgba(2, 6, 23, 0.75);
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
color: rgba(226, 232, 240, 0.94);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11.5px;
|
|
line-height: 1.55;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
max-height: 240px;
|
|
overflow-y: auto;
|
|
user-select: text;
|
|
-webkit-user-select: text;
|
|
}
|
|
|
|
.tsr-env-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(120px, max-content) 1fr;
|
|
gap: 6px 12px;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.tsr-env-key {
|
|
padding: 2px 7px;
|
|
border-radius: 6px;
|
|
background: rgba(59, 130, 246, 0.12);
|
|
border: 1px solid rgba(59, 130, 246, 0.28);
|
|
color: rgba(147, 197, 253, 0.96);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
overflow-wrap: anywhere;
|
|
justify-self: start;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.tsr-env-val {
|
|
color: rgba(241, 245, 249, 0.92);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11.5px;
|
|
line-height: 1.5;
|
|
overflow-wrap: anywhere;
|
|
white-space: pre-wrap;
|
|
user-select: text;
|
|
-webkit-user-select: text;
|
|
}
|
|
|
|
.tsr-env-empty {
|
|
color: rgba(148, 163, 184, 0.7);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.tsr-footnote {
|
|
color: rgba(148, 163, 184, 0.8);
|
|
font-size: 11.5px;
|
|
line-height: 1.55;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.14);
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.template-store-review-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 14px 20px;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.14);
|
|
}
|
|
|
|
.template-store-state {
|
|
grid-column: 1 / -1;
|
|
min-height: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
border: 1px dashed rgba(148, 163, 184, 0.2);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.025);
|
|
color: rgba(203, 213, 225, 0.72);
|
|
text-align: center;
|
|
padding: 26px;
|
|
}
|
|
|
|
.template-store-state i {
|
|
color: rgba(203, 213, 225, 0.7);
|
|
font-size: 24px;
|
|
}
|
|
|
|
.template-store-empty-face {
|
|
color: rgba(226, 232, 240, 0.62);
|
|
font-size: 34px;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
}
|
|
|
|
.template-store-empty-title {
|
|
color: rgba(226, 232, 240, 0.66);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.template-store-header {
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
padding: 18px 18px 14px;
|
|
gap: 14px;
|
|
}
|
|
|
|
.template-store-body {
|
|
padding: 14px 16px 18px;
|
|
}
|
|
|
|
.template-store-toolbar {
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.template-store-tabs {
|
|
flex-basis: 100%;
|
|
order: 2;
|
|
overflow-x: auto;
|
|
overflow-y: visible;
|
|
}
|
|
|
|
.template-store-search {
|
|
flex-basis: 320px;
|
|
}
|
|
|
|
.template-store-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.templates-header-actions {
|
|
width: 100%;
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.templates-header-actions .nodes-search-wrap {
|
|
width: 100%;
|
|
}
|
|
|
|
.templates-header-actions .nodes-search-wrap input {
|
|
width: 100%;
|
|
}
|
|
|
|
.enterprise-modal.template-store-modal {
|
|
width: 94vw;
|
|
max-width: 94vw;
|
|
}
|
|
|
|
.template-store-brand {
|
|
gap: 10px;
|
|
}
|
|
|
|
.template-store-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.template-store-card {
|
|
min-height: 292px;
|
|
grid-template-rows: 126px minmax(0, 1fr) auto;
|
|
}
|
|
}
|
|
|
|
.create-inline {
|
|
display: none;
|
|
gap: 8px;
|
|
align-items: center
|
|
}
|
|
|
|
.create-inline input {
|
|
display: none;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15, 23, 42, 0.06)
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(2, 6, 23, 0.6);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000
|
|
}
|
|
|
|
.modal-overlay.show {
|
|
display: flex
|
|
}
|
|
|
|
#sessionRevokeModalOverlay.show {
|
|
z-index: 10002
|
|
}
|
|
|
|
/* Step-up credential prompt: branding, login-background, template and
|
|
global-alert saves open it while their own modal is still up. All
|
|
overlays share z-index 10000, so DOM order buries this prompt behind
|
|
the modal that triggered it — the save button then spins forever
|
|
waiting on an invisible dialog. Lift it above every overlay. */
|
|
#nodeSecretModalOverlay.show {
|
|
z-index: 10002
|
|
}
|
|
|
|
.modal {
|
|
width: 440px;
|
|
background: var(--modal-bg);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
box-shadow: 0 20px 60px rgba(2, 6, 23, 0.4);
|
|
color: var(--text)
|
|
}
|
|
|
|
.modal.show {
|
|
opacity: 1
|
|
}
|
|
|
|
.modal h3 {
|
|
margin: 0 0 6px 0
|
|
}
|
|
|
|
.modal .actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
margin-top: 12px
|
|
}
|
|
|
|
.account-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
background: var(--card-contrast-bg);
|
|
border: 1px solid rgba(15, 23, 42, 0.04)
|
|
}
|
|
|
|
.account-row-suspended {
|
|
border-color: rgba(248, 113, 113, 0.24);
|
|
background: linear-gradient(135deg, rgba(248, 113, 113, 0.09), var(--card-contrast-bg));
|
|
}
|
|
|
|
.account-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0
|
|
}
|
|
|
|
.account-email {
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
word-break: break-word
|
|
}
|
|
|
|
.account-badge-row {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.account-role-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 18px;
|
|
padding: 0 7px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.66);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.account-role-badge-admin {
|
|
display: none;
|
|
}
|
|
|
|
.account-role-badge-suspended {
|
|
border-color: rgba(248, 113, 113, 0.32);
|
|
background: rgba(248, 113, 113, 0.14);
|
|
color: #fecaca;
|
|
}
|
|
|
|
.access-pill {
|
|
padding: 6px 8px;
|
|
border-radius: 8px;
|
|
background: rgba(0, 0, 0, 0.04);
|
|
font-size: 13px
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 1; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@media (max-width:760px) {
|
|
.app {
|
|
grid-template-columns: 1fr;
|
|
padding: 12px
|
|
}
|
|
|
|
.sidebar {
|
|
position: relative;
|
|
height: auto;
|
|
margin-bottom: 12px;
|
|
max-height: none;
|
|
overflow: visible
|
|
}
|
|
|
|
.layout-inner {
|
|
flex-direction: column
|
|
}
|
|
|
|
.left-col {
|
|
width: 100%
|
|
}
|
|
|
|
.thumbs {
|
|
grid-template-columns: repeat(2, 1fr)
|
|
}
|
|
|
|
.bg-preview {
|
|
height: 100px
|
|
}
|
|
|
|
.closeEscFixed {
|
|
right: 12px;
|
|
top: 12px;
|
|
width: 48px;
|
|
height: 48px
|
|
}
|
|
}
|
|
|
|
@media (max-width:420px) {
|
|
.thumbs {
|
|
grid-template-columns: repeat(2, 1fr)
|
|
}
|
|
|
|
.brand .logo {
|
|
width: 36px;
|
|
height: 36px;
|
|
font-size: 16px
|
|
}
|
|
}
|
|
|
|
.nodes-empty {
|
|
padding: 16px;
|
|
color: var(--muted);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: var(--card-contrast-bg);
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.nodes-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.node-update-card {
|
|
margin: 16px 0;
|
|
padding: 14px 16px;
|
|
border-radius: 10px;
|
|
background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.58));
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
}
|
|
|
|
.node-update-card-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.node-update-card-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 8px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #dbeafe;
|
|
background: rgba(37, 99, 235, 0.22);
|
|
border: 1px solid rgba(96, 165, 250, 0.28);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.node-update-card-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.node-update-card-subtitle {
|
|
margin-top: 3px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.54);
|
|
}
|
|
|
|
.node-update-card-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
color: rgba(255, 255, 255, 0.56);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.node-update-card-meta span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.nodes-header {
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.node-update-card {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.node-update-card-meta {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
/* Node Update Modal Styling */
|
|
.node-update-enterprise-modal {
|
|
width: 580px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.node-update-info-card {
|
|
background: #3F3F3F !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 12px;
|
|
padding: 14px 18px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-card-inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-row:last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-row:first-child {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-label i {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-value-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-value {
|
|
font-size: 13px;
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-value code {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.75);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 4px;
|
|
padding: 2px 6px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-copy-btn {
|
|
background-color: #4A4A4A !important;
|
|
background: #4A4A4A !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
color: #ffffff !important;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 6px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease !important;
|
|
}
|
|
|
|
.node-update-info-card .panelinfo-copy-btn:hover {
|
|
background-color: #525252 !important;
|
|
background: #525252 !important;
|
|
border-color: rgba(255, 255, 255, 0.16) !important;
|
|
}
|
|
|
|
.node-update-actions-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.panelinfo-update-section {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn.btn-update-check {
|
|
flex: 1;
|
|
min-height: 40px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
background-color: #4A4A4A !important;
|
|
background: #4A4A4A !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #ffffff !important;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease !important;
|
|
}
|
|
|
|
.btn.btn-update-check:hover:not(:disabled) {
|
|
background-color: #525252 !important;
|
|
background: #525252 !important;
|
|
border-color: rgba(255, 255, 255, 0.16) !important;
|
|
}
|
|
|
|
.btn.btn-update-install {
|
|
flex: 1;
|
|
min-height: 40px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
background-color: #16a34a !important;
|
|
background: #16a34a !important;
|
|
color: #fff !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.15) !important;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn.btn-update-install:hover:not(:disabled) {
|
|
background-color: #15803d !important;
|
|
background: #15803d !important;
|
|
}
|
|
|
|
.btn.btn-update-installing {
|
|
flex: 1;
|
|
min-height: 40px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
background-color: #4A4A4A !important;
|
|
background: #4A4A4A !important;
|
|
color: #fff !important;
|
|
opacity: 0.8;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn.btn-auto-update {
|
|
min-height: 40px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
background-color: #333333 !important;
|
|
background: #333333 !important;
|
|
color: #ffffff !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
padding: 0 16px;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease !important;
|
|
}
|
|
|
|
.btn.btn-auto-update:hover {
|
|
background-color: #424242 !important;
|
|
background: #424242 !important;
|
|
color: #ffffff !important;
|
|
border-color: rgba(255, 255, 255, 0.16) !important;
|
|
}
|
|
|
|
.btn.btn-auto-update.enabled {
|
|
background-color: #333333 !important;
|
|
background: #333333 !important;
|
|
color: #86efac !important;
|
|
border-color: rgba(34, 197, 94, 0.3) !important;
|
|
}
|
|
|
|
.panelinfo-manual-section {
|
|
background: #3F3F3F !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 12px;
|
|
padding: 14px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.panelinfo-manual-label {
|
|
font-size: 11.5px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.panelinfo-manual-input-group {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.panelinfo-manual-input {
|
|
flex: 1;
|
|
height: 38px;
|
|
background: #333333 !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 8px;
|
|
padding: 0 12px;
|
|
color: #ffffff !important;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 13px;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.panelinfo-manual-input:focus {
|
|
border-color: rgba(255, 255, 255, 0.2) !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.btn.btn-manual-install {
|
|
height: 38px;
|
|
padding: 0 18px;
|
|
background-color: #4A4A4A !important;
|
|
background: #4A4A4A !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 8px;
|
|
color: #ffffff !important;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease !important;
|
|
}
|
|
|
|
.btn.btn-manual-install:hover:not(:disabled) {
|
|
background-color: #525252 !important;
|
|
background: #525252 !important;
|
|
border-color: rgba(255, 255, 255, 0.16) !important;
|
|
}
|
|
|
|
.panelinfo-update-status {
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
display: none;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.panelinfo-update-status:not(:empty) {
|
|
display: block;
|
|
}
|
|
|
|
.panelinfo-update-status.info {
|
|
display: block;
|
|
background: #3F3F3F !important;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
}
|
|
|
|
.panelinfo-update-status.success {
|
|
display: block;
|
|
background: rgba(34, 197, 94, 0.12);
|
|
color: #86efac;
|
|
border: 1px solid rgba(34, 197, 94, 0.25);
|
|
}
|
|
|
|
.panelinfo-update-status.error {
|
|
display: block;
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #fca5a5;
|
|
border: 1px solid rgba(239, 68, 68, 0.25);
|
|
}
|
|
|
|
/* Node token rotation (startup integrity gate: rotate_required flag) */
|
|
.token-rotate-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #fca5a5;
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.node-rotate-warning {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
padding: 14px 16px;
|
|
border-radius: 10px;
|
|
background: rgba(234, 179, 8, 0.1);
|
|
border: 1px solid rgba(234, 179, 8, 0.3);
|
|
color: #fde68a;
|
|
}
|
|
|
|
.node-rotate-warning.node-rotate-warning-info {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
border: 1px solid rgba(59, 130, 246, 0.3);
|
|
color: #bfdbfe;
|
|
}
|
|
|
|
.node-rotate-warning-icon {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.node-rotate-warning-title {
|
|
font-weight: 700;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.node-rotate-warning-text {
|
|
font-size: 12.5px;
|
|
opacity: 0.85;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
@keyframes spinOnce {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.spinning {
|
|
animation: spinOnce 0.6s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.node-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
background: var(--card-contrast-bg);
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
cursor: pointer;
|
|
transition: background 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.node-row:hover,
|
|
.node-card:hover {
|
|
background: #464646;
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.node-left {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
margin-right: 8px;
|
|
background: #a1a1a1;
|
|
}
|
|
|
|
.status-dot.green {
|
|
background: #16a34a;
|
|
}
|
|
|
|
.status-dot.red {
|
|
background: #ef4444;
|
|
}
|
|
|
|
.status-dot.gray {
|
|
background: #9ca3af;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.kpi {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.modal.big {
|
|
width: 1000vw;
|
|
height: 80vh;
|
|
max-height: 900px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.modal .tabs {
|
|
display: flex;
|
|
gap: 8px;
|
|
border-bottom: 1px solid rgba(15, 23, 42, 0.08);
|
|
padding-bottom: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.modal .tabs button {
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.modal .tabs button.active {
|
|
background: var(--accent, #4f46e5);
|
|
color: #fff;
|
|
}
|
|
|
|
.modal .tab-page {
|
|
display: none;
|
|
overflow: auto;
|
|
}
|
|
|
|
.modal .tab-page.active {
|
|
display: block;
|
|
}
|
|
|
|
.grid-2 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.field-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.field-col input,
|
|
.field-col textarea,
|
|
.field-col select {
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
background: var(--panel-bg, #fff);
|
|
color: var(--text, #111827);
|
|
}
|
|
|
|
.codebox {
|
|
width: 100%;
|
|
min-height: 260px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
background: rgba(0, 0, 0, 0.04);
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
resize: vertical;
|
|
color: var(--text);
|
|
}
|
|
|
|
.inline-badge {
|
|
font-size: 12px;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(15, 23, 42, 0.06);
|
|
}
|
|
|
|
.danger {
|
|
background: #fee2e2;
|
|
border-color: #fecaca;
|
|
}
|
|
|
|
.row-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 2px 8px;
|
|
border-radius: 9999px;
|
|
background: rgba(15, 23, 42, 0.06);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.template-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.template-picker-grid-enterprise {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.template-option-card {
|
|
position: relative;
|
|
height: 160px;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.template-option-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: var(--bg-image, linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1)));
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
opacity: 0.4;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.template-option-card[style*="assetto-corsa-logo.png"]::before {
|
|
background-size: contain;
|
|
opacity: 1;
|
|
}
|
|
|
|
.template-option-card:hover::before {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.template-option-card:hover {
|
|
border-color: rgba(99, 102, 241, 0.4);
|
|
}
|
|
|
|
.template-option-card.active {
|
|
border-color: rgba(99, 102, 241, 0.7);
|
|
}
|
|
|
|
.template-option-card.active::before {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.template-option-card.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #6366f1, #8b5cf6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.template-option-card.active .template-card-check {
|
|
display: flex;
|
|
}
|
|
|
|
.template-card-check {
|
|
display: none;
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #6366f1, #8b5cf6);
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
|
|
z-index: 3;
|
|
}
|
|
|
|
.template-card-check i {
|
|
font-size: 12px;
|
|
color: #fff;
|
|
}
|
|
|
|
.template-option-content {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 16px;
|
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
|
|
z-index: 2;
|
|
}
|
|
|
|
.template-option-title {
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.template-option-title i {
|
|
font-size: 14px;
|
|
color: rgba(99, 102, 241, 0.9);
|
|
}
|
|
|
|
.template-option-desc {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.template-option-pill {
|
|
margin-top: 8px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(4px);
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.template-option-pill i {
|
|
font-size: 10px;
|
|
color: rgba(56, 189, 248, 0.9);
|
|
}
|
|
|
|
.template-picker-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.template-option {
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(79, 70, 229, 0.12));
|
|
cursor: pointer;
|
|
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
position: relative;
|
|
}
|
|
|
|
.template-option:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 20px rgba(15, 23, 42, 0.25);
|
|
border-color: rgba(79, 70, 229, 0.5);
|
|
}
|
|
|
|
.template-option.active {
|
|
border-color: var(--accent, #4f46e5);
|
|
box-shadow: 0 10px 30px rgba(79, 70, 229, 0.35);
|
|
background: linear-gradient(135deg, rgba(79, 70, 229, 0.18), rgba(56, 189, 248, 0.16));
|
|
}
|
|
|
|
.template-option .title {
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.template-option .desc {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.template-option .pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(15, 23, 42, 0.08);
|
|
font-size: 12px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.templates-header {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.templates-header-actions {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.grid-2 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.modal.big {
|
|
width: 92vw;
|
|
height: 90vh;
|
|
}
|
|
}
|
|
|
|
#modalCurrent {
|
|
color: white;
|
|
caret-color: white;
|
|
}
|
|
|
|
#modalNew {
|
|
color: white;
|
|
caret-color: white;
|
|
}
|
|
|
|
#modalConfirm {
|
|
color: white;
|
|
caret-color: white;
|
|
}
|
|
|
|
.modalcurrent-placeholder {
|
|
position: relative;
|
|
width: 420px;
|
|
}
|
|
|
|
.modalcurrent-placeholder input {
|
|
width: 100%;
|
|
height: 35px;
|
|
padding: 10px 42px 10px 35px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
outline: none;
|
|
background: rgba(49, 49, 49, 0.697);
|
|
color: #fff;
|
|
}
|
|
|
|
.modalcurrent-placeholder i.fa-lock {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: gray;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toggle-pass {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.toggle-pass i {
|
|
font-size: 18px;
|
|
color: gray;
|
|
}
|
|
|
|
.modalnew-placeholder {
|
|
position: relative;
|
|
width: 420px;
|
|
}
|
|
|
|
.modalnew-placeholder input {
|
|
width: 100%;
|
|
height: 35px;
|
|
padding: 10px 42px 10px 35px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
outline: none;
|
|
background: rgba(49, 49, 49, 0.697);
|
|
color: #fff;
|
|
}
|
|
|
|
.modalnew-placeholder i.fa-lock {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: gray;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.modalconfirm-placeholder {
|
|
position: relative;
|
|
width: 420px;
|
|
}
|
|
|
|
.modalconfirm-placeholder input {
|
|
width: 100%;
|
|
height: 35px;
|
|
padding: 10px 42px 10px 35px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
outline: none;
|
|
background: rgba(49, 49, 49, 0.697);
|
|
color: #fff;
|
|
}
|
|
|
|
.modalconfirm-placeholder i.fa-lock {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: gray;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.panel-section:focus,
|
|
.panel-section:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
#preferences:focus,
|
|
#preferences:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
#preferences::before,
|
|
#preferences::after {
|
|
display: none !important;
|
|
content: none !important;
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 52px;
|
|
height: 26px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.switch .slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transition: 0.3s ease;
|
|
border-radius: 26px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.switch .slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 20px;
|
|
width: 20px;
|
|
left: 2px;
|
|
bottom: 2px;
|
|
background: #fff;
|
|
transition: 0.3s ease;
|
|
border-radius: 50%;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.switch input:checked+.slider {
|
|
background: linear-gradient(135deg, #7c3aed, #6366f1);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.switch input:checked+.slider:before {
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
.switch input:focus+.slider {
|
|
box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
|
|
}
|
|
|
|
.node-ssl-switch {
|
|
width: 56px;
|
|
height: 32px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.node-ssl-switch .slider {
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.node-ssl-switch .slider:before {
|
|
width: 24px;
|
|
height: 24px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.node-ssl-switch input:checked+.slider {
|
|
background: rgba(34, 197, 94, 0.9);
|
|
border-color: rgba(34, 197, 94, 0.9);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.node-ssl-switch input:checked+.slider:before {
|
|
transform: translateX(24px);
|
|
}
|
|
|
|
.node-ssl-switch input:focus+.slider {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.node-ssl-switch input:focus-visible+.slider {
|
|
outline: 2px solid rgba(34, 197, 94, 0.45);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.security-card:hover {
|
|
background: rgba(255, 255, 255, 0.05) !important;
|
|
border-color: rgba(255, 255, 255, 0.12) !important;
|
|
}
|
|
|
|
|
|
.closeEscFixed-inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.bg-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.bg-card-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.bg-card-subtitle {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.bg-card-icon {
|
|
font-size: 18px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.bg-preview-text {
|
|
text-align: center;
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.bg-hex-display {
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.bg-preview-label {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.86);
|
|
}
|
|
|
|
.image-selection-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.image-selection-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.image-selection-subtitle {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.url-input-container {
|
|
flex: 1;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.url-input {
|
|
flex: 1;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
}
|
|
|
|
.card-mt {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.card-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.pref-label {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.density-select {
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.content-flex {
|
|
flex: 1 1 auto;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.preferences-title {
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
outline: none;
|
|
border: none;
|
|
}
|
|
|
|
.preferences-desc {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.preferences-grid {
|
|
margin-top: 12px;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.saved-bg-card {
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
background: var(--card-contrast-bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
.saved-bg-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.saved-bg-value {
|
|
margin-top: 8px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.account-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.account-title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.account-subtitle {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.logout-container {
|
|
transform: translateX(-78%);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.account-content {
|
|
margin-top: 12px;
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.change-pass-card {
|
|
margin-top: 6px;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
background: var(--card-contrast-bg);
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.change-pass-card:hover {
|
|
transform: none !important;
|
|
background-color: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
[data-theme="dark"] .change-pass-card:hover {
|
|
background-color: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.change-pass-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.change-pass-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.change-pass-subtitle {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.change-pass-icon {
|
|
font-size: 18px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.note-box {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(15, 23, 42, 0.04);
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.accounts-section {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.accounts-title {
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.accounts-subtitle {
|
|
color: var(--muted);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.accounts-search-container {
|
|
position: relative;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.accounts-search-icon {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.accounts-search-input {
|
|
width: 100%;
|
|
padding: 12px 14px 12px 40px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.accounts-search-input:focus {
|
|
outline: none;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.accounts-search-input::placeholder {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.accounts-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.security-title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.security-subtitle {
|
|
color: var(--muted);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.security-card {
|
|
margin-top: 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.security-card-mt-sm {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.security-card-inner {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.security-card-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.security-card-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 10px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.security-card-icon-rate {
|
|
background-image: url('/images/rate-limiter.webp');
|
|
}
|
|
|
|
.security-card-icon-captcha {
|
|
background-image: url('/images/captcha.webp');
|
|
}
|
|
|
|
.security-card-title {
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.security-card-desc {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.security-details {
|
|
display: none;
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.security-details-grid {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.security-details-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.security-details-col {
|
|
flex: 1;
|
|
}
|
|
|
|
.security-details-label {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.security-details-label i {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.security-details-input {
|
|
width: 100%;
|
|
height: 38px;
|
|
padding: 0 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
color: white;
|
|
outline: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.security-details-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.security-summary {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.security-save-btn {
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.security-feedback {
|
|
font-size: 13px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.captcha-active-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
background: rgba(34, 197, 94, 0.1);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.captcha-active-icon {
|
|
color: #22c55e;
|
|
}
|
|
|
|
.captcha-active-text {
|
|
font-size: 13px;
|
|
color: #22c55e;
|
|
}
|
|
|
|
.captcha-info {
|
|
margin-top: 12px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.security-card-icon-maintenance {
|
|
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 88, 12, 0.12));
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.security-card-icon-sessions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(14, 165, 233, 0.12));
|
|
border: 1px solid rgba(59, 130, 246, 0.18);
|
|
}
|
|
|
|
.security-card-icon-sessions i {
|
|
font-size: 18px;
|
|
color: #7dd3fc;
|
|
}
|
|
|
|
.sessions-panel-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 14px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.sessions-panel-title {
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.sessions-panel-subtitle {
|
|
margin-top: 8px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.security-sessions-card {
|
|
cursor: default;
|
|
}
|
|
|
|
.sessions-standalone-card {
|
|
margin-top: 0;
|
|
cursor: default;
|
|
}
|
|
|
|
.security-sessions-header-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.security-inline-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 32px;
|
|
padding: 0 12px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.security-inline-chip.security-inline-chip-warning {
|
|
background: rgba(245, 158, 11, 0.12);
|
|
border-color: rgba(245, 158, 11, 0.22);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.security-inline-chip.security-inline-chip-success {
|
|
background: rgba(34, 197, 94, 0.12);
|
|
border-color: rgba(34, 197, 94, 0.22);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.sessions-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.sessions-search-container {
|
|
flex: 1 1 320px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.sessions-summary {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sessions-feedback {
|
|
margin-bottom: 12px;
|
|
min-height: 18px;
|
|
}
|
|
|
|
.sessions-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.sessions-empty-state {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
min-height: 110px;
|
|
border-radius: 14px;
|
|
border: 1px dashed rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
text-align: center;
|
|
padding: 18px;
|
|
}
|
|
|
|
.session-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 14px 16px;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
transition: border-color 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.session-row:hover {
|
|
border-color: rgba(96, 165, 250, 0.18);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.session-row-remembered {
|
|
border-color: rgba(245, 158, 11, 0.14);
|
|
background: rgba(245, 158, 11, 0.045);
|
|
}
|
|
|
|
.session-row-remembered:hover {
|
|
border-color: rgba(245, 158, 11, 0.24);
|
|
background: rgba(245, 158, 11, 0.07);
|
|
}
|
|
|
|
.session-row-main {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.session-row-top {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.session-row-id {
|
|
font-family: 'SF Mono', Monaco, monospace;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.78);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.07);
|
|
border-radius: 10px;
|
|
padding: 7px 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.session-row-email {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.94);
|
|
word-break: break-word;
|
|
}
|
|
|
|
.session-row-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.session-meta-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: 30px;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.68);
|
|
font-size: 12px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.session-meta-pill.session-meta-pill-current {
|
|
background: rgba(34, 197, 94, 0.12);
|
|
border-color: rgba(34, 197, 94, 0.22);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.session-meta-pill.session-meta-pill-active {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
border-color: rgba(59, 130, 246, 0.18);
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.session-meta-pill.session-meta-pill-offline {
|
|
background: rgba(245, 158, 11, 0.12);
|
|
border-color: rgba(245, 158, 11, 0.22);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.session-meta-pill.session-meta-pill-ua {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.session-row-actions {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.session-revoke-btn {
|
|
min-width: 124px;
|
|
justify-content: center;
|
|
background: rgba(239, 68, 68, 0.12);
|
|
border: 1px solid rgba(239, 68, 68, 0.22);
|
|
color: #fda4af;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.session-revoke-btn:hover {
|
|
background: rgba(239, 68, 68, 0.18);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.session-revoke-btn:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.sessions-pagination {
|
|
margin-top: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.sessions-pagination-pages {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.sessions-page-btn {
|
|
min-width: 40px;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.sessions-page-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.sessions-page-btn.is-active {
|
|
background: rgba(59, 130, 246, 0.18);
|
|
border-color: rgba(59, 130, 246, 0.28);
|
|
color: #bfdbfe;
|
|
}
|
|
|
|
.sessions-page-btn:disabled {
|
|
opacity: 0.35;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.session-revoke-modal {
|
|
width: 480px;
|
|
}
|
|
|
|
.session-revoke-form {
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.session-revoke-target-card {
|
|
padding: 14px 16px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.07);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.session-revoke-target-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.session-revoke-target-value {
|
|
font-family: 'SF Mono', Monaco, monospace;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.session-revoke-target-subvalue {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.68);
|
|
word-break: break-word;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.security-sessions-header-meta {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
margin-left: 0;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.sessions-panel-header {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.sessions-summary {
|
|
white-space: normal;
|
|
}
|
|
|
|
.session-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.session-row-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.session-revoke-btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.maintenance-enterprise-modal {
|
|
width: 560px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.enterprise-modal-icon.maintenance-icon {
|
|
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 88, 12, 0.1));
|
|
}
|
|
|
|
.enterprise-modal-icon.maintenance-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.maintenance-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.maintenance-modal-body {
|
|
padding: 20px 28px;
|
|
max-height: 55vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.maintenance-timing-chips {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.maintenance-alert-toggle-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.maintenance-alert-toggle-row .switch {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.maintenance-modal-body input[type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
filter: invert(0.7);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.maintenance-security-notice {
|
|
margin-top: 8px;
|
|
padding: 14px;
|
|
background: rgba(245, 158, 11, 0.05);
|
|
border: 1px solid rgba(245, 158, 11, 0.08);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.maintenance-security-notice-inner {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.maintenance-security-notice-inner > i {
|
|
color: #f59e0b;
|
|
margin-top: 2px;
|
|
flex-shrink: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.maintenance-security-notice-inner > div {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.maintenance-security-notice-inner strong {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.maintenance-btn-enable {
|
|
background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(217, 119, 6, 0.85)) !important;
|
|
}
|
|
|
|
.maintenance-btn-enable:hover {
|
|
background: linear-gradient(135deg, rgba(245, 158, 11, 1), rgba(217, 119, 6, 0.95)) !important;
|
|
}
|
|
|
|
.maintenance-btn-enable:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.switch-sm {
|
|
transform: scale(0.85);
|
|
}
|
|
|
|
.nodes-title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.nodes-list {
|
|
margin-top: 12px;
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.nodes-search-wrap {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.nodes-search-wrap i {
|
|
position: absolute;
|
|
left: 10px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
pointer-events: none;
|
|
}
|
|
.nodes-search-wrap input {
|
|
padding: 8px 12px 8px 32px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15,23,42,0.12);
|
|
background: var(--card-contrast-bg);
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
min-width: 180px;
|
|
outline: none;
|
|
transition: border-color .15s;
|
|
}
|
|
.nodes-search-wrap input:focus {
|
|
border-color: var(--accent, #6366f1);
|
|
}
|
|
|
|
.nodes-pagination {
|
|
margin-top: 8px;
|
|
}
|
|
.nodes-pagination-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 4px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
.nodes-pagination-btns {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.nodes-pagination-current {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
min-width: 90px;
|
|
text-align: center;
|
|
}
|
|
.nodes-pagination-info {
|
|
font-size: 13px;
|
|
}
|
|
.btn-sm {
|
|
padding: 4px 10px !important;
|
|
font-size: 13px !important;
|
|
min-height: unset !important;
|
|
}
|
|
|
|
.templates-title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.templates-subtitle {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.templates-feedback {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.templates-list {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.servers-title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.servers-subtitle {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.servers-list {
|
|
margin-top: 14px;
|
|
display: grid;
|
|
gap: 11px;
|
|
}
|
|
|
|
.modal-body {
|
|
margin-top: 10px;
|
|
max-height: 360px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.modal-body-lg {
|
|
max-height: 420px;
|
|
}
|
|
|
|
.modal-actions {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.modal-actions-end {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
|
|
.server-template-enterprise-modal {
|
|
width: 680px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.enterprise-modal-icon.server-template-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.enterprise-modal-icon.server-template-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.server-template-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #a78bfa;
|
|
}
|
|
|
|
.server-template-body {
|
|
padding: 20px 28px;
|
|
max-height: 50vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.server-template-body::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.server-template-body {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
|
|
.template-enterprise-modal {
|
|
width: 540px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.enterprise-modal-icon.template-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.enterprise-modal-icon.template-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.template-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #fff;
|
|
}
|
|
|
|
.template-modal-body {
|
|
padding: 20px 28px;
|
|
max-height: 55vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.template-modal-body::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.template-modal-body {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.node-form-textarea {
|
|
width: 100%;
|
|
min-height: 80px;
|
|
padding: 12px 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
resize: vertical;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.node-form-textarea:focus {
|
|
outline: none;
|
|
border-color: rgba(99, 102, 241, 0.5);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
|
|
}
|
|
|
|
.node-form-textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.startup-cmd-display {
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 12px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.startup-cmd-display-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.startup-cmd-copy-btn {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 6px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
padding: 5px 9px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
flex-shrink: 0;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.startup-cmd-copy-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.startup-cmd-code {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
|
|
font-size: 12.5px;
|
|
line-height: 1.6;
|
|
color: rgba(167, 243, 208, 0.9);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
overflow-wrap: break-word;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.startup-cmd-code code {
|
|
font-family: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
.startup-cmd-editor-wrap {
|
|
display: flex;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
overflow: hidden;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.startup-cmd-editor-wrap:focus-within {
|
|
border-color: rgba(99, 102, 241, 0.5);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
|
|
}
|
|
|
|
.startup-cmd-editor-gutter {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 13px 0 13px 14px;
|
|
user-select: none;
|
|
}
|
|
|
|
.startup-cmd-prompt {
|
|
font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(99, 102, 241, 0.6);
|
|
}
|
|
|
|
.startup-cmd-textarea {
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
padding-left: 8px !important;
|
|
font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
min-height: 70px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.startup-cmd-textarea:focus {
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.startup-cmd-variables {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.startup-cmd-var-label {
|
|
font-size: 11.5px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.startup-cmd-var {
|
|
font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
|
|
font-size: 11px;
|
|
padding: 3px 8px;
|
|
border-radius: 5px;
|
|
background: rgba(99, 102, 241, 0.1);
|
|
border: 1px solid rgba(99, 102, 241, 0.15);
|
|
color: rgba(165, 180, 252, 0.85);
|
|
}
|
|
|
|
.startup-cmd-help {
|
|
display: block;
|
|
margin-top: 8px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.startup-cmd-help.is-error {
|
|
color: rgba(248, 113, 113, 0.96);
|
|
}
|
|
|
|
.minecraft-java-field {
|
|
margin: 0;
|
|
}
|
|
|
|
.minecraft-java-select-wrap {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
border: 1px solid rgba(99, 102, 241, 0.22);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.minecraft-java-select-wrap:focus-within {
|
|
border-color: rgba(99, 102, 241, 0.55);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
|
|
}
|
|
|
|
.minecraft-java-select-wrap > i {
|
|
position: absolute;
|
|
left: 13px;
|
|
color: rgba(248, 113, 113, 0.82);
|
|
font-size: 16px;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.minecraft-java-select {
|
|
width: 100%;
|
|
min-height: 44px;
|
|
padding-left: 42px !important;
|
|
border: none !important;
|
|
border-radius: 10px !important;
|
|
background-color: transparent !important;
|
|
box-shadow: none !important;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.minecraft-java-select:focus {
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.minecraft-java-select option {
|
|
color: #0f172a;
|
|
background: #ffffff;
|
|
}
|
|
|
|
|
|
.create-node-header {
|
|
display: grid;
|
|
gap: 4px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.template-form-input-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.template-form-input {
|
|
width: 100%;
|
|
height: 35px;
|
|
padding-right: 35px;
|
|
outline: none;
|
|
background-color: rgba(37, 37, 37, 0.85);
|
|
color: white;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 5px;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.template-form-input-no-border {
|
|
border: none;
|
|
border-radius: 4px;
|
|
background-color: rgba(37, 37, 37, 0.84);
|
|
}
|
|
|
|
.template-form-textarea {
|
|
width: 100%;
|
|
min-height: 72px;
|
|
padding-right: 35px;
|
|
outline: none;
|
|
background-color: rgba(37, 37, 37, 0.85);
|
|
color: white;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 5px;
|
|
resize: vertical;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.template-form-icon {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #aaa;
|
|
pointer-events: none;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.template-form-icon-top {
|
|
top: 10px;
|
|
transform: none;
|
|
}
|
|
|
|
.template-form-actions {
|
|
margin-top: 4px;
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.template-form-feedback {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
|
|
.create-node-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.create-node-form {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.create-node-ports {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.create-node-ports-title {
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.create-node-ports-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.ports-range-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.ports-list-field {
|
|
display: none;
|
|
flex: 1;
|
|
}
|
|
|
|
.create-node-actions {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.create-node-feedback {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.captcha-enterprise-modal {
|
|
width: 580px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.enterprise-modal-icon.captcha-icon {
|
|
background: transparent;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.enterprise-modal-icon.captcha-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.captcha-modal-icon {
|
|
width: 58px;
|
|
height: 58px;
|
|
object-fit: contain;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.captcha-modal-body {
|
|
padding: 20px 28px;
|
|
max-height: 55vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.captcha-modal-form {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.captcha-input-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.captcha-input {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
}
|
|
|
|
.captcha-input-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.captcha-input-secret {
|
|
padding-right: 44px;
|
|
}
|
|
|
|
.captcha-toggle-btn {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 26px;
|
|
height: 26px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.65);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.captcha-toggle-btn:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.captcha-notice {
|
|
margin-top: 18px;
|
|
padding: 14px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(59, 130, 246, 0.25);
|
|
background: rgba(59, 130, 246, 0.12);
|
|
}
|
|
|
|
.captcha-notice-inner {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.captcha-notice-icon {
|
|
color: #60a5fa;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.captcha-notice-text {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.78);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.captcha-notice-strong {
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.captcha-modal-feedback {
|
|
font-size: 13px;
|
|
margin-top: 14px;
|
|
min-height: 18px;
|
|
}
|
|
|
|
.node-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.node-modal-tabs {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.node-modal-ports {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.node-modal-ports-title {
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.node-modal-ports-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.node-modal-actions {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.linking-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.linking-section {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.cmd-textarea {
|
|
display: none;
|
|
}
|
|
|
|
.cmd-actions {
|
|
display: none;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.danger-zone {
|
|
padding: 12px;
|
|
border: 1px solid;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.danger-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.danger-desc {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.danger-actions {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.danger-feedback {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
|
|
.account-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.logout-btn-modern {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 20px;
|
|
border-radius: 12px;
|
|
border: none;
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
|
|
color: #f87171;
|
|
font-weight: 500;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.logout-btn-modern:hover {
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.2));
|
|
}
|
|
|
|
.logout-btn-modern:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.logout-btn-modern i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
#logoutBtn.logout-container,
|
|
.logout-container {
|
|
display: none !important;
|
|
}
|
|
|
|
.enterprise-modal *::-webkit-scrollbar,
|
|
.enterprise-modal-body::-webkit-scrollbar {
|
|
display: none;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.enterprise-modal *,
|
|
.enterprise-modal-body {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.enterprise-modal-overlay {
|
|
background: rgba(0, 0, 0, 0.65);
|
|
backdrop-filter: blur(24px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
}
|
|
|
|
.enterprise-modal-overlay.show {
|
|
display: flex;
|
|
}
|
|
|
|
@keyframes overlayReveal {
|
|
from { opacity: 1; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.enterprise-modal {
|
|
position: relative;
|
|
width: 520px;
|
|
max-width: 94vw;
|
|
max-height: 85vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: linear-gradient(165deg,
|
|
rgba(30, 32, 38, 0.95) 0%,
|
|
rgba(22, 24, 28, 0.98) 100%);
|
|
backdrop-filter: blur(40px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(40px) saturate(180%);
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
animation: none;
|
|
opacity: 1;
|
|
box-shadow:
|
|
0 0 0 1px rgba(255, 255, 255, 0.06),
|
|
0 25px 80px -12px rgba(0, 0, 0, 0.5),
|
|
0 0 100px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
@keyframes modalReveal {
|
|
from { opacity: 1; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.enterprise-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 24px 28px 20px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
|
|
}
|
|
|
|
.enterprise-modal-icon {
|
|
width: auto;
|
|
height: auto;
|
|
background: transparent;
|
|
border-radius: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
.enterprise-modal-icon img {
|
|
max-height: 48px;
|
|
max-width: 60px;
|
|
width: 54px;
|
|
height: 42px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.enterprise-modal-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon[style*="transparent"]::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon i {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.perm-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.enterprise-modal-icon.perm-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.perm-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #fff;
|
|
}
|
|
|
|
.enterprise-modal-icon.node-secret-icon,
|
|
.enterprise-modal-icon.password-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.enterprise-modal-icon.node-secret-icon::before,
|
|
.enterprise-modal-icon.password-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.node-secret-icon i,
|
|
.enterprise-modal-icon.password-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #fff;
|
|
}
|
|
|
|
.enterprise-modal-titles {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.enterprise-modal-title {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.enterprise-modal-subtitle {
|
|
margin: 6px 0 0;
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.enterprise-modal-close {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.5);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.enterprise-modal-close:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.enterprise-modal-body {
|
|
flex: 1;
|
|
padding: 4px 28px 20px;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.enterprise-modal-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 16px 28px 24px;
|
|
background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15));
|
|
}
|
|
|
|
#qrResetDoneBtn {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.enterprise-btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 20px;
|
|
border-radius: 12px;
|
|
border: none;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(79, 70, 229, 0.85));
|
|
color: #fff;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.enterprise-btn-primary:hover {
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(79, 70, 229, 0.95));
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.enterprise-btn-primary:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.enterprise-btn-secondary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 20px;
|
|
border-radius: 12px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.enterprise-btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.access-modal {
|
|
width: 580px;
|
|
}
|
|
|
|
.access-modal .enterprise-modal-body {
|
|
padding: 8px 28px 20px;
|
|
max-height: 400px;
|
|
}
|
|
|
|
.access-server-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding: 14px 16px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
margin-bottom: 8px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.access-server-row:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.access-server-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.access-server-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.1));
|
|
color: #93c5fd;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.access-server-name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.access-server-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.access-btn {
|
|
padding: 8px 14px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.access-btn-edit {
|
|
background: rgba(99, 102, 241, 0.15);
|
|
color: #a5b4fc;
|
|
}
|
|
|
|
.access-btn-edit:hover {
|
|
background: rgba(99, 102, 241, 0.25);
|
|
}
|
|
|
|
.access-btn-revoke {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.access-btn-revoke:hover {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
}
|
|
|
|
.access-btn-add {
|
|
background: rgba(16, 185, 129, 0.15);
|
|
color: #6ee7b7;
|
|
}
|
|
|
|
.access-btn-add:hover {
|
|
background: rgba(16, 185, 129, 0.25);
|
|
}
|
|
|
|
.perm-modal {
|
|
width: 500px;
|
|
}
|
|
|
|
.perm-modal-body {
|
|
max-height: 380px;
|
|
}
|
|
|
|
.perm-info {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
margin-bottom: 14px;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.perm-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.perm-item {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.perm-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.perm-item.select-all {
|
|
background: rgba(99, 102, 241, 0.08);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.perm-checkbox {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 6px;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
flex-shrink: 0;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.perm-checkbox:checked {
|
|
background: linear-gradient(135deg, #6366f1, #4f46e5);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.perm-checkbox:checked::after {
|
|
content: '✓';
|
|
color: white;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.perm-label {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
flex: 1;
|
|
}
|
|
|
|
.perm-item.select-all .perm-label {
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.perm-note {
|
|
display: block;
|
|
flex-basis: 100%;
|
|
margin-left: 38px;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
color: #d97706;
|
|
}
|
|
|
|
.perm-note.danger {
|
|
color: #f87171;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.perm-success-toast {
|
|
position: fixed;
|
|
bottom: 32px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(20px);
|
|
background: #22c55e;
|
|
color: #fff;
|
|
padding: 14px 24px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
z-index: 100000;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.3s, transform 0.3s;
|
|
box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
|
|
}
|
|
|
|
.perm-success-toast.show {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(0);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.perm-success-toast i {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.password-modal {
|
|
width: 460px;
|
|
}
|
|
|
|
.password-form {
|
|
padding: 0 28px 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.password-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.password-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.password-input-wrap {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.password-input-wrap input {
|
|
width: 100%;
|
|
height: 48px;
|
|
padding: 0 48px 0 16px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-size: 14px;
|
|
outline: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.password-input-wrap input::placeholder {
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.password-input-wrap input:focus {
|
|
border-color: rgba(99, 102, 241, 0.5);
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.password-toggle {
|
|
position: absolute;
|
|
right: 12px;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
z-index: 10;
|
|
}
|
|
|
|
.password-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.password-strength {
|
|
height: 4px;
|
|
border-radius: 2px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
overflow: hidden;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.password-strength-bar {
|
|
height: 100%;
|
|
border-radius: 2px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.password-strength-bar.weak {
|
|
width: 25%;
|
|
background: #ef4444;
|
|
}
|
|
|
|
.password-strength-bar.fair {
|
|
width: 50%;
|
|
background: #f59e0b;
|
|
}
|
|
|
|
.password-strength-bar.good {
|
|
width: 75%;
|
|
background: #10b981;
|
|
}
|
|
|
|
.password-strength-bar.strong {
|
|
width: 100%;
|
|
background: #22c55e;
|
|
}
|
|
|
|
.enterprise-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 40px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.enterprise-loading-spinner {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
border: 3px solid rgba(255, 255, 255, 0.1);
|
|
border-top-color: rgba(99, 102, 241, 0.8);
|
|
animation: enterpriseSpin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes enterpriseSpin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.enterprise-empty {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.enterprise-empty i {
|
|
font-size: 36px;
|
|
margin-bottom: 12px;
|
|
display: block;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
|
|
.node-enterprise-modal {
|
|
width: 580px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.node-configure-modal {
|
|
width: 620px;
|
|
}
|
|
|
|
.enterprise-modal-icon.node-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.enterprise-modal-icon.node-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.node-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #fff;
|
|
}
|
|
|
|
.node-tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 0 28px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.node-tab {
|
|
padding: 12px 16px;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -1px;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.node-tab:hover {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.node-tab.active {
|
|
color: rgba(255, 255, 255, 0.95);
|
|
border-bottom-color: #6366f1;
|
|
}
|
|
|
|
.node-tab-danger {
|
|
color: rgba(239, 68, 68, 0.6);
|
|
}
|
|
|
|
.node-tab-danger:hover {
|
|
color: rgba(239, 68, 68, 0.9);
|
|
}
|
|
|
|
.node-tab-danger.active {
|
|
color: #f87171;
|
|
border-bottom-color: #ef4444;
|
|
}
|
|
|
|
.node-modal-body {
|
|
padding: 20px 28px;
|
|
max-height: 55vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.node-modal-body::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.node-modal-body {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.node-enterprise-modal .tab-page {
|
|
display: none;
|
|
}
|
|
|
|
.node-enterprise-modal .tab-page.active {
|
|
display: block;
|
|
}
|
|
|
|
.node-form-section {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.node-form-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.node-form-section-title {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
margin-bottom: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.node-form-section-title i {
|
|
color: rgba(99, 102, 241, 0.8);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.template-advanced-settings {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding-top: 14px;
|
|
}
|
|
|
|
.template-advanced-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.template-advanced-summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.template-advanced-summary .node-form-section-title {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.template-advanced-chevron {
|
|
color: rgba(255, 255, 255, 0.48);
|
|
font-size: 12px;
|
|
transition: transform 0.18s ease;
|
|
}
|
|
|
|
.template-advanced-settings[open] .template-advanced-chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.template-advanced-content {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.resources-section {
|
|
margin-bottom: 24px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.resources-section:last-of-type {
|
|
border-bottom: none;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.resources-section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.resources-section-header i {
|
|
font-size: 14px;
|
|
color: rgba(99, 102, 241, 0.85);
|
|
}
|
|
|
|
.resources-section-header span:first-of-type {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
letter-spacing: 0.3px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.resource-usage-row {
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.resource-usage-row .node-form-label {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.node-form-hint {
|
|
font-weight: 400;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.node-form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.node-form-grid-3 {
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
}
|
|
|
|
.node-form-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.node-form-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.node-form-input {
|
|
width: 100%;
|
|
height: 44px;
|
|
min-width: 0;
|
|
padding: 0 14px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(0, 0, 0, 0.25);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-size: 14px;
|
|
outline: none;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.node-form-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.node-form-input:focus {
|
|
border-color: rgba(99, 102, 241, 0.5);
|
|
background: rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.node-form-input[readonly] {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
color: rgba(255, 255, 255, 0.72);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.node-ports-mode {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.node-port-chip {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.node-port-chip input {
|
|
display: none;
|
|
}
|
|
|
|
.node-port-chip span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.node-port-chip input:checked+span {
|
|
background: rgba(99, 102, 241, 0.15);
|
|
color: #a5b4fc;
|
|
}
|
|
|
|
.node-port-chip:hover span {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.node-port-chip input:checked:hover+span {
|
|
background: rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
.ports-list-field {
|
|
display: none;
|
|
}
|
|
|
|
.node-feedback {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin-top: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.node-feedback:empty {
|
|
display: none;
|
|
}
|
|
|
|
.node-modal-footer {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.node-linking-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.node-linking-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.node-linking-desc {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
margin: 4px 0 0;
|
|
}
|
|
|
|
.node-linking-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.node-action-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.node-action-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.node-generate-btn {
|
|
padding: 8px 14px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.node-codebox {
|
|
width: 100%;
|
|
min-height: 120px;
|
|
padding: 14px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(0, 0, 0, 0.3);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Monaco, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
resize: none;
|
|
outline: none;
|
|
}
|
|
|
|
.node-codebox::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.node-codebox {
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.node-cmd-box {
|
|
min-height: 80px;
|
|
display: none;
|
|
}
|
|
|
|
.node-cmd-actions {
|
|
display: none;
|
|
margin-top: 8px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.node-danger-zone {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 32px 24px;
|
|
border-radius: 14px;
|
|
background: linear-gradient(180deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.04));
|
|
}
|
|
|
|
.node-danger-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 50%;
|
|
background: rgba(239, 68, 68, 0.15);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.node-danger-icon i {
|
|
font-size: 24px;
|
|
color: #f87171;
|
|
}
|
|
|
|
.node-danger-content {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.node-danger-title {
|
|
margin: 0 0 8px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.node-danger-desc {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
max-width: 340px;
|
|
}
|
|
|
|
.node-danger-desc strong {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.node-delete-security-field {
|
|
width: min(100%, 340px);
|
|
margin: 18px auto 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.node-delete-security-field .node-form-input {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.node-danger-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 20px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.85));
|
|
color: #fff;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.node-danger-btn:hover {
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.node-danger-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.node-danger-feedback {
|
|
margin-top: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.enterprise-modal {
|
|
width: 95vw;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.enterprise-modal-header {
|
|
padding: 20px 20px 16px;
|
|
}
|
|
|
|
.enterprise-modal-body {
|
|
padding: 4px 20px 16px;
|
|
}
|
|
|
|
.enterprise-modal-footer {
|
|
padding: 14px 20px 20px;
|
|
}
|
|
|
|
.password-form {
|
|
padding: 0 20px 8px;
|
|
}
|
|
|
|
.access-server-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
}
|
|
|
|
.access-server-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.node-enterprise-modal {
|
|
width: 95vw;
|
|
}
|
|
|
|
.node-form-grid,
|
|
.node-form-grid-3 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.node-tabs {
|
|
padding: 0 20px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.node-modal-body {
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.node-linking-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.node-linking-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
|
|
.resources-enterprise-modal {
|
|
width: 580px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.enterprise-modal-icon.resources-icon {
|
|
background: transparent;
|
|
width: auto;
|
|
height: auto;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.enterprise-modal-icon.resources-icon img {
|
|
max-height: 36px;
|
|
max-width: 44px;
|
|
width: auto;
|
|
height: auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.enterprise-modal-icon.resources-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.resources-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #10b981;
|
|
}
|
|
|
|
.resources-modal-body {
|
|
padding: 4px 28px 20px;
|
|
}
|
|
|
|
.resource-rename-action {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.resource-rename-btn {
|
|
width: 100%;
|
|
min-height: 44px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.resources-warning-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px 16px;
|
|
margin-bottom: 24px;
|
|
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
|
|
border: 1px solid rgba(245, 158, 11, 0.25);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.resources-warning-banner i {
|
|
font-size: 16px;
|
|
color: #f59e0b;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.resources-warning-banner span {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.resource-input-wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.resource-input-wrapper .node-form-input {
|
|
padding-right: 60px;
|
|
}
|
|
|
|
.resource-input-suffix {
|
|
position: absolute;
|
|
right: 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.resource-tooltip {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: help;
|
|
}
|
|
|
|
.resource-tooltip i {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.resource-tooltip:hover i {
|
|
color: rgba(255, 255, 255, 0.78);
|
|
}
|
|
|
|
.resource-tooltip-card {
|
|
display: none !important;
|
|
position: absolute;
|
|
z-index: 30;
|
|
bottom: calc(100% + 8px);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: max-content;
|
|
max-width: 260px;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(18, 18, 24, 0.96);
|
|
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1.45;
|
|
text-align: left;
|
|
}
|
|
|
|
.resource-tooltip:hover .resource-tooltip-card {
|
|
display: block;
|
|
}
|
|
|
|
.resource-select {
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 12px center;
|
|
padding-right: 32px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.resource-hint {
|
|
display: block;
|
|
margin-top: 6px;
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.resource-current-display {
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.resource-usage-bar {
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.resource-usage-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #10b981, #34d399);
|
|
border-radius: 4px;
|
|
transition: width 0.5s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.resource-usage-fill.warning {
|
|
background: linear-gradient(90deg, #f59e0b, #fbbf24);
|
|
}
|
|
|
|
.transfer-enterprise-modal {
|
|
width: 580px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.enterprise-modal-icon.transfer-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.enterprise-modal-icon.transfer-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.transfer-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.transfer-node-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.transfer-node-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
cursor: pointer;
|
|
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
|
|
}
|
|
|
|
.transfer-node-item:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
|
|
border-color: rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
.transfer-node-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.transfer-node-title {
|
|
font-weight: 800;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.transfer-node-sub {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.transfer-node-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.transfer-progress {
|
|
margin-top: 14px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.transfer-progress-text {
|
|
margin-top: 8px;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.resource-usage-text {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.resources-enterprise-modal {
|
|
width: 95vw;
|
|
}
|
|
|
|
.resources-warning-banner {
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.resources-warning-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.ports-list-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ports-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
min-height: 36px;
|
|
}
|
|
|
|
.ports-list:empty::before {
|
|
content: 'No ports configured';
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.port-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 32px;
|
|
min-height: 32px;
|
|
max-height: 32px;
|
|
box-sizing: border-box;
|
|
background: rgba(51, 51, 51, 0.16);
|
|
border-radius: 6px;
|
|
padding: 0 14px 0 12px;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
border: 1px solid rgba(255, 255, 255, 0.07);
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.port-item i {
|
|
font-size: 11px;
|
|
opacity: 0.5;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
transform: translateY(0.5px);
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.port-item .port-remove {
|
|
background: none;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
cursor: pointer;
|
|
padding: 2px 3px;
|
|
border-radius: 3px;
|
|
transition: all 0.15s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.port-item .port-remove:hover {
|
|
color: #ef4444;
|
|
background: rgba(239, 68, 68, 0.12);
|
|
}
|
|
|
|
.port-set-primary-btn {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.85);
|
|
border-radius: 4px;
|
|
padding: 2px 7px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
transition: all 0.15s ease;
|
|
margin-left: 4px;
|
|
line-height: 1.2;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.port-set-primary-btn i {
|
|
font-size: 9px;
|
|
opacity: 0.9;
|
|
color: #f59e0b;
|
|
transform: none !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.port-set-primary-btn:hover {
|
|
background: rgba(255, 255, 255, 0.16);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.port-set-primary-btn:active {
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.port-item-primary {
|
|
background: rgba(19, 19, 19, 0.41) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
color: #ffffff !important;
|
|
font-weight: 400 !important;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
padding: 0 10px 0 12px !important;
|
|
gap: 8px !important;
|
|
height: 32px !important;
|
|
min-height: 32px !important;
|
|
max-height: 32px !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
.port-item-primary i {
|
|
opacity: 0.7 !important;
|
|
color: #ffffff !important;
|
|
transform: translateY(0.5px) !important;
|
|
margin-right: 0px !important;
|
|
}
|
|
|
|
.port-item-primary .port-remove {
|
|
background: none;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
cursor: pointer;
|
|
padding: 2px 3px;
|
|
border-radius: 3px;
|
|
transition: all 0.15s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.port-item-primary .port-remove:hover {
|
|
color: #ef4444;
|
|
background: rgba(239, 68, 68, 0.18);
|
|
}
|
|
|
|
.port-endpoint-wrap {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0px;
|
|
}
|
|
|
|
.port-edit-input {
|
|
width: 42px;
|
|
min-width: 0;
|
|
max-width: 48px;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
color: #ffffff;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
padding: 0;
|
|
margin: 0;
|
|
text-align: left;
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
.port-edit-input::-webkit-outer-spin-button,
|
|
.port-edit-input::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.port-edit-input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.port-badge-primary {
|
|
font-size: 10px;
|
|
font-weight: 400;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.5);
|
|
padding: 2px 5px;
|
|
border-radius: 3px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.port-item .port-ip-prefix {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
letter-spacing: 0.01em;
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.port-item-primary .port-ip-prefix {
|
|
color: rgba(255, 255, 255, 0.9) !important;
|
|
font-weight: 500;
|
|
margin-right: 0px;
|
|
}
|
|
|
|
/* Custom Port Allocation & Java & Node IP Dropdowns in Settings */
|
|
.port-select-dropdown.dashboard-assistant-custom-dropdown,
|
|
.java-select-dropdown.dashboard-assistant-custom-dropdown,
|
|
.node-port-ip-dropdown.dashboard-assistant-custom-dropdown {
|
|
position: relative !important;
|
|
box-sizing: border-box !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.port-select-dropdown.dashboard-assistant-custom-dropdown.is-open,
|
|
.java-select-dropdown.dashboard-assistant-custom-dropdown.is-open,
|
|
.node-port-ip-dropdown.dashboard-assistant-custom-dropdown.is-open {
|
|
z-index: 100000 !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-hidden-select,
|
|
.java-select-dropdown .dashboard-assistant-hidden-select,
|
|
.node-port-ip-dropdown .dashboard-assistant-hidden-select {
|
|
display: none !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-dropdown-trigger,
|
|
.java-select-dropdown .dashboard-assistant-dropdown-trigger,
|
|
.node-port-ip-dropdown .dashboard-assistant-dropdown-trigger {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 37px !important;
|
|
background: rgba(56, 56, 56, 0.94) !important;
|
|
box-shadow: 0px 11px 37.4px -18px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 8px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
padding: 0 12px !important;
|
|
cursor: pointer !important;
|
|
box-sizing: border-box !important;
|
|
transition: background 0.2s ease, border-radius 0.2s ease !important;
|
|
user-select: none !important;
|
|
}
|
|
|
|
.port-select-dropdown.is-open .dashboard-assistant-dropdown-trigger,
|
|
.java-select-dropdown.is-open .dashboard-assistant-dropdown-trigger,
|
|
.node-port-ip-dropdown.is-open .dashboard-assistant-dropdown-trigger {
|
|
background: rgba(39, 39, 39, 0.94) !important;
|
|
border-radius: 8px 8px 0px 0px !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-dropdown-selected-text,
|
|
.java-select-dropdown .dashboard-assistant-dropdown-selected-text,
|
|
.node-port-ip-dropdown .dashboard-assistant-dropdown-selected-text {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 400 !important;
|
|
font-size: 13px !important;
|
|
line-height: 18px !important;
|
|
color: #EFEFEF !important;
|
|
white-space: nowrap !important;
|
|
overflow: hidden !important;
|
|
text-overflow: ellipsis !important;
|
|
margin-right: 18px !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-provider-arrow,
|
|
.java-select-dropdown .dashboard-assistant-provider-arrow,
|
|
.node-port-ip-dropdown .dashboard-assistant-provider-arrow {
|
|
position: absolute !important;
|
|
right: 12px !important;
|
|
top: 50% !important;
|
|
transform: translateY(-50%) !important;
|
|
width: 10px !important;
|
|
height: 10px !important;
|
|
object-fit: contain !important;
|
|
transition: transform 0.2s ease !important;
|
|
opacity: 0.9 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.port-select-dropdown.is-open .dashboard-assistant-provider-arrow,
|
|
.java-select-dropdown.is-open .dashboard-assistant-provider-arrow,
|
|
.node-port-ip-dropdown.is-open .dashboard-assistant-provider-arrow {
|
|
transform: translateY(-50%) rotate(180deg) !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-dropdown-menu,
|
|
.java-select-dropdown .dashboard-assistant-dropdown-menu,
|
|
.node-port-ip-dropdown .dashboard-assistant-dropdown-menu {
|
|
position: absolute !important;
|
|
top: 37px !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
background: rgba(56, 56, 56, 0.97) !important;
|
|
border-radius: 0px 0px 8px 8px !important;
|
|
backdrop-filter: blur(8px) !important;
|
|
-webkit-backdrop-filter: blur(8px) !important;
|
|
z-index: 9999 !important;
|
|
padding: 4px 0 !important;
|
|
box-shadow: 0px 11px 37.4px -18px rgba(0, 0, 0, 0.4) !important;
|
|
max-height: 220px !important;
|
|
overflow-y: auto !important;
|
|
scrollbar-width: none !important;
|
|
-ms-overflow-style: none !important;
|
|
box-sizing: border-box !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-top: none !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-dropdown-menu::-webkit-scrollbar,
|
|
.java-select-dropdown .dashboard-assistant-dropdown-menu::-webkit-scrollbar,
|
|
.node-port-ip-dropdown .dashboard-assistant-dropdown-menu::-webkit-scrollbar {
|
|
display: none !important;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-dropdown-menu[hidden],
|
|
.java-select-dropdown .dashboard-assistant-dropdown-menu[hidden],
|
|
.node-port-ip-dropdown .dashboard-assistant-dropdown-menu[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-dropdown-item,
|
|
.java-select-dropdown .dashboard-assistant-dropdown-item,
|
|
.node-port-ip-dropdown .dashboard-assistant-dropdown-item {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
height: 32px !important;
|
|
min-height: 32px !important;
|
|
padding: 0 14px !important;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 400 !important;
|
|
font-size: 13px !important;
|
|
line-height: 18px !important;
|
|
color: #EFEFEF !important;
|
|
cursor: pointer !important;
|
|
transition: background 0.15s ease !important;
|
|
box-sizing: border-box !important;
|
|
user-select: none !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-dropdown-item:hover,
|
|
.java-select-dropdown .dashboard-assistant-dropdown-item:hover,
|
|
.node-port-ip-dropdown .dashboard-assistant-dropdown-item:hover {
|
|
background: rgba(75, 75, 75, 0.95) !important;
|
|
}
|
|
|
|
.port-select-dropdown .dashboard-assistant-dropdown-divider,
|
|
.java-select-dropdown .dashboard-assistant-dropdown-divider,
|
|
.node-port-ip-dropdown .dashboard-assistant-dropdown-divider {
|
|
width: calc(100% - 16px) !important;
|
|
height: 1px !important;
|
|
background: rgba(83, 83, 83, 0.3) !important;
|
|
margin: 2px auto !important;
|
|
}
|
|
|
|
/* Startup Command Box Styling in Settings */
|
|
#pane_startup .panelinfo-row-item {
|
|
height: auto !important;
|
|
min-height: 47px !important;
|
|
padding: 14.5px 30px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
gap: 16px !important;
|
|
box-sizing: border-box !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-row-item.row-top {
|
|
height: auto !important;
|
|
min-height: 66px !important;
|
|
padding: 24px 30px 16px 30px !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-row-item.row-mid {
|
|
height: 47px !important;
|
|
min-height: 47px !important;
|
|
padding: 14.5px 30px !important;
|
|
align-items: center !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-row-item.row-bottom {
|
|
height: 66px !important;
|
|
min-height: 66px !important;
|
|
padding: 16px 30px 24px 30px !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-divider {
|
|
height: 1px !important;
|
|
min-height: 1px !important;
|
|
max-height: 1px !important;
|
|
background: rgba(217, 217, 217, 0.16) !important;
|
|
margin: 0 30px !important;
|
|
border: none !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-left {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
flex-shrink: 0 !important;
|
|
white-space: nowrap !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-left .panelinfo-icon {
|
|
font-size: 14px !important;
|
|
width: 18px !important;
|
|
min-width: 18px !important;
|
|
max-width: 18px !important;
|
|
height: 18px !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
text-align: center !important;
|
|
line-height: 1 !important;
|
|
margin-right: 11px !important;
|
|
margin-left: 0 !important;
|
|
padding: 0 !important;
|
|
color: rgba(255, 255, 255, 0.7) !important;
|
|
flex-shrink: 0 !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-left .panelinfo-icon.fa-terminal {
|
|
font-size: 13px !important;
|
|
color: rgba(255, 255, 255, 0.7) !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-left .panelinfo-icon.fa-java {
|
|
font-size: 15px !important;
|
|
color: rgba(255, 255, 255, 0.7) !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-left .panelinfo-text {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
font-size: 16px !important;
|
|
font-weight: 400 !important;
|
|
color: rgba(255, 255, 255, 0.75) !important;
|
|
line-height: 1.2 !important;
|
|
letter-spacing: -0.01em !important;
|
|
-webkit-font-smoothing: antialiased !important;
|
|
-moz-osx-font-smoothing: grayscale !important;
|
|
white-space: nowrap !important;
|
|
flex-shrink: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#pane_startup .startup-cmd-right {
|
|
flex: 1 1 auto !important;
|
|
max-width: 65% !important;
|
|
width: auto !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
align-items: flex-end !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.startup-cmd-box-wrap {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
max-width: 540px !important;
|
|
min-height: 37px !important;
|
|
background: rgba(56, 56, 56, 0.94) !important;
|
|
box-shadow: 0px 11px 37.4px -18px rgba(0, 0, 0, 0.25) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 8px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
padding: 0 6px 0 14px !important;
|
|
box-sizing: border-box !important;
|
|
transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
|
|
}
|
|
|
|
.startup-cmd-box-wrap:focus-within {
|
|
background: rgba(39, 39, 39, 0.96) !important;
|
|
border-color: rgba(255, 255, 255, 0.2) !important;
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
|
|
}
|
|
|
|
.startup-cmd-textarea {
|
|
flex: 1 1 auto !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
color: #4ade80 !important;
|
|
font-family: 'Fira Code', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
|
|
font-size: 12.5px !important;
|
|
line-height: 20px !important;
|
|
resize: none !important;
|
|
height: 20px !important;
|
|
min-height: 20px !important;
|
|
max-height: 140px !important;
|
|
width: 100% !important;
|
|
padding: 0 !important;
|
|
margin: 0 8px 0 0 !important;
|
|
white-space: pre-wrap !important;
|
|
word-break: break-all !important;
|
|
box-sizing: border-box !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
.startup-cmd-textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.3) !important;
|
|
font-style: italic !important;
|
|
}
|
|
|
|
.startup-cmd-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 6px !important;
|
|
flex-shrink: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.panelinfo-copy-icon-btn {
|
|
background: rgba(255, 255, 255, 0.06) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
color: rgba(255, 255, 255, 0.5) !important;
|
|
border-radius: 6px !important;
|
|
width: 26px !important;
|
|
height: 26px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
cursor: pointer !important;
|
|
transition: all 0.15s ease !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.panelinfo-copy-icon-btn:hover {
|
|
background: rgba(255, 255, 255, 0.15) !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
#pane_startup .panelinfo-card-main {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Configured Ports Row in Settings */
|
|
#pane_ports .ports-configured-row,
|
|
#pane_ports .panelinfo-row-item.row-top {
|
|
height: auto !important;
|
|
min-height: 66px !important;
|
|
padding: 17px 30px !important;
|
|
display: flex !important;
|
|
flex-wrap: wrap !important;
|
|
align-items: center !important;
|
|
justify-content: flex-start !important;
|
|
gap: 8px 8px !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
#pane_ports .ports-configured-left,
|
|
#pane_ports .panelinfo-row-item.row-top .panelinfo-left {
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
height: 32px !important;
|
|
min-height: 32px !important;
|
|
max-height: 32px !important;
|
|
flex-shrink: 0 !important;
|
|
white-space: nowrap !important;
|
|
margin: 0 4px 0 0 !important;
|
|
padding: 0 !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
#pane_ports .ports-configured-left .panelinfo-icon,
|
|
#pane_ports .panelinfo-row-item.row-top .panelinfo-icon {
|
|
font-size: 16px !important;
|
|
width: 18px !important;
|
|
height: 18px !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
line-height: 1 !important;
|
|
margin-right: 11px !important;
|
|
color: rgba(255, 255, 255, 0.7) !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
#pane_ports .ports-configured-left .panelinfo-text,
|
|
#pane_ports .panelinfo-row-item.row-top .panelinfo-text {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
font-size: 16px !important;
|
|
font-weight: 400 !important;
|
|
color: rgba(255, 255, 255, 0.75) !important;
|
|
line-height: 32px !important;
|
|
white-space: nowrap !important;
|
|
flex-shrink: 0 !important;
|
|
display: inline-block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#pane_ports .ports-list {
|
|
display: contents !important;
|
|
}
|
|
|
|
#pane_ports .panelinfo-card-main {
|
|
overflow: visible !important;
|
|
height: auto !important;
|
|
}
|
|
|
|
#pane_ports .panelinfo-row-item {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.ports-add-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.ports-input {
|
|
flex: 1;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.ports-add-btn {
|
|
padding: 8px 14px;
|
|
font-size: 13px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.customization-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.customization-title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
color: #fff;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.customization-subtitle {
|
|
font-size: 14px;
|
|
color: var(--muted);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.customization-section {
|
|
background: var(--card-contrast-bg);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 12px;
|
|
padding: 16px 20px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.customization-section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.customization-section-header:not(:last-child) {
|
|
margin-bottom: 16px;
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.customization-section-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.customization-section-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.customization-section-icon i {
|
|
font-size: 18px;
|
|
color: #a5b4fc;
|
|
}
|
|
|
|
.customization-section-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
}
|
|
|
|
.customization-section-desc {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.login-watermark-enterprise-modal {
|
|
width: 560px;
|
|
}
|
|
|
|
.login-background-enterprise-modal {
|
|
width: 600px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.alert-schedule-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.login-background-modal-badge {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(59, 130, 246, 0.12));
|
|
color: #c7d2fe;
|
|
box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.14);
|
|
}
|
|
|
|
.login-background-modal-badge i {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.login-watermark-intro {
|
|
font-size: 13px;
|
|
line-height: 1.65;
|
|
color: rgba(255, 255, 255, 0.62);
|
|
}
|
|
|
|
.login-watermark-source-tabs {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.login-watermark-source-tab {
|
|
flex: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: rgba(255, 255, 255, 0.62);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.login-watermark-source-tab:hover {
|
|
border-color: rgba(255, 255, 255, 0.14);
|
|
color: rgba(255, 255, 255, 0.86);
|
|
}
|
|
|
|
.login-watermark-source-tab.active {
|
|
border-color: rgba(99, 102, 241, 0.45);
|
|
background: rgba(99, 102, 241, 0.15);
|
|
color: #c7d2fe;
|
|
box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
|
|
}
|
|
|
|
.create-user-enterprise-modal {
|
|
width: min(620px, calc(100vw - 28px));
|
|
}
|
|
|
|
.create-user-modal-body {
|
|
padding: 24px;
|
|
}
|
|
|
|
.create-user-role-tabs {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.create-user-role-tabs .login-watermark-source-tab {
|
|
min-height: 46px;
|
|
}
|
|
|
|
.create-user-admin-tab.active {
|
|
border-color: rgba(245, 158, 11, 0.46);
|
|
background: rgba(245, 158, 11, 0.14);
|
|
color: #fde68a;
|
|
box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12);
|
|
}
|
|
|
|
.create-user-admin-stepup {
|
|
border: 1px solid rgba(245, 158, 11, 0.16);
|
|
background: linear-gradient(160deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.025));
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.create-user-password-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.create-user-password-wrap .node-form-input {
|
|
padding-right: 48px;
|
|
}
|
|
|
|
.create-user-password-toggle {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 32px;
|
|
height: 32px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
cursor: pointer;
|
|
transition: background 0.18s ease, color 0.18s ease;
|
|
}
|
|
|
|
.create-user-password-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.86);
|
|
}
|
|
|
|
.create-user-2fa-input {
|
|
font-family: "SF Mono", Monaco, Consolas, monospace;
|
|
letter-spacing: 0.16em;
|
|
}
|
|
|
|
.create-user-feedback {
|
|
display: none;
|
|
margin-top: 16px;
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(239, 68, 68, 0.28);
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #fecaca;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.created-user-role-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
width: fit-content;
|
|
margin-top: 8px;
|
|
padding: 5px 9px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.created-user-role-badge.admin {
|
|
border-color: rgba(245, 158, 11, 0.32);
|
|
background: rgba(245, 158, 11, 0.14);
|
|
color: #fde68a;
|
|
}
|
|
|
|
.login-watermark-upload-input {
|
|
display: none;
|
|
}
|
|
|
|
.login-watermark-dropzone {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 18px;
|
|
border-radius: 18px;
|
|
border: 1px dashed rgba(255, 255, 255, 0.14);
|
|
background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
|
|
color: #fff;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.login-watermark-dropzone:hover {
|
|
border-color: rgba(99, 102, 241, 0.28);
|
|
background: linear-gradient(160deg, rgba(99, 102, 241, 0.09), rgba(255, 255, 255, 0.04));
|
|
}
|
|
|
|
.login-watermark-dropzone-icon {
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 14px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(99, 102, 241, 0.14);
|
|
color: #c7d2fe;
|
|
flex-shrink: 0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.login-watermark-dropzone-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.login-watermark-dropzone-copy strong {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.login-watermark-dropzone-copy span {
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: rgba(255, 255, 255, 0.52);
|
|
}
|
|
|
|
.login-watermark-dropzone-action {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: #c7d2fe;
|
|
}
|
|
|
|
.login-watermark-upload-meta {
|
|
min-height: 18px;
|
|
margin-top: 10px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.54);
|
|
}
|
|
|
|
.login-watermark-input-hint {
|
|
display: block;
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
}
|
|
|
|
.login-watermark-preview-card {
|
|
margin-top: 8px;
|
|
padding: 16px;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
|
|
}
|
|
|
|
.login-watermark-preview-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.login-watermark-preview-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.96);
|
|
}
|
|
|
|
.login-watermark-preview-badge {
|
|
padding: 6px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(99, 102, 241, 0.16);
|
|
color: #c7d2fe;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.login-watermark-preview-frame {
|
|
position: relative;
|
|
min-height: 158px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 22px;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, rgba(18, 20, 25, 0.94), rgba(31, 36, 46, 0.88));
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.login-watermark-preview-frame::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(circle at top right, rgba(99, 102, 241, 0.22), transparent 42%),
|
|
radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.12), transparent 35%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.login-watermark-preview-frame img {
|
|
position: relative;
|
|
max-width: 100%;
|
|
max-height: 124px;
|
|
object-fit: contain;
|
|
filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.34));
|
|
}
|
|
|
|
.login-background-media-frame {
|
|
position: relative;
|
|
min-height: 190px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, rgba(18, 20, 25, 0.94), rgba(31, 36, 46, 0.88));
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.login-background-media-frame::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(circle at top right, rgba(99, 102, 241, 0.24), transparent 40%),
|
|
radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.14), transparent 38%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.login-background-media {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 170px;
|
|
display: none;
|
|
border-radius: 14px;
|
|
object-fit: cover;
|
|
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
|
|
background: rgba(8, 10, 14, 0.82);
|
|
}
|
|
|
|
.login-background-media.is-visible {
|
|
display: block;
|
|
}
|
|
|
|
.login-watermark-preview-meta {
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: rgba(255, 255, 255, 0.56);
|
|
}
|
|
|
|
.login-watermark-feedback {
|
|
display: none;
|
|
margin-top: 16px;
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.login-watermark-feedback.error {
|
|
display: block;
|
|
border: 1px solid rgba(239, 68, 68, 0.28);
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #fecaca;
|
|
}
|
|
|
|
.login-watermark-feedback.success {
|
|
display: block;
|
|
border: 1px solid rgba(34, 197, 94, 0.28);
|
|
background: rgba(34, 197, 94, 0.12);
|
|
color: #bbf7d0;
|
|
}
|
|
|
|
.required {
|
|
color: #f87171;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
|
|
.customization-section-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
}
|
|
|
|
.login-watermark-source-tabs,
|
|
.create-user-role-tabs,
|
|
.login-watermark-dropzone,
|
|
.login-watermark-preview-top {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.create-user-modal-body {
|
|
padding: 18px;
|
|
}
|
|
|
|
.login-watermark-dropzone-action {
|
|
margin-left: 0;
|
|
align-self: flex-start;
|
|
}
|
|
}
|
|
|
|
|
|
.databases-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.databases-title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.databases-subtitle {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.databases-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.db-card-icon-phpmyadmin {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.db-details {
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.db-status-box {
|
|
padding: 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.db-status-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.db-status-loading i {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.db-status-success {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: #22c55e;
|
|
}
|
|
|
|
.db-status-success i {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.db-status-error {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.db-status-error i {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.db-disable-progress {
|
|
--db-brand: #f59e0b;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.db-disable-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.db-disable-header i {
|
|
font-size: 20px;
|
|
color: var(--db-brand);
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
.db-disable-header-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.db-disable-title {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--db-brand);
|
|
}
|
|
|
|
.db-disable-subtitle {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.db-disable-bar-track {
|
|
width: 100%;
|
|
height: 6px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.db-disable-bar-fill {
|
|
height: 100%;
|
|
background: var(--db-brand);
|
|
border-radius: 6px;
|
|
transition: width 0.5s ease;
|
|
width: 0%;
|
|
}
|
|
|
|
.db-disable-steps {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.db-disable-step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
opacity: 0.5;
|
|
transition: opacity 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.db-disable-step.active {
|
|
opacity: 1;
|
|
color: var(--db-brand);
|
|
}
|
|
|
|
.db-disable-step.done {
|
|
opacity: 1;
|
|
color: var(--db-brand);
|
|
}
|
|
|
|
.db-disable-step i {
|
|
width: 14px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.db-disable-elapsed {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
text-align: right;
|
|
}
|
|
|
|
.db-disable-done {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.db-disable-done i {
|
|
font-size: 20px;
|
|
color: var(--db-brand);
|
|
}
|
|
|
|
.db-disable-done span {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--db-brand);
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.db-users-section {
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.db-users-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.db-users-title {
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.db-users-subtitle {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.db-users-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.db-users-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 32px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.db-users-empty i {
|
|
font-size: 32px;
|
|
margin-bottom: 12px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.db-users-empty p {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.db-user-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.db-user-row:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.db-user-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.db-user-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.15));
|
|
color: #a5b4fc;
|
|
}
|
|
|
|
.db-user-icon.admin {
|
|
background: linear-gradient(135deg, rgba(19, 170, 82, 0.25), rgba(16, 140, 68, 0.15));
|
|
color: #22c55e;
|
|
}
|
|
|
|
.db-user-badge {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
background: linear-gradient(135deg, rgba(19, 170, 82, 0.2), rgba(16, 140, 68, 0.12));
|
|
color: #22c55e;
|
|
border-radius: 6px;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.db-user-name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.db-user-created {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.db-user-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.db-user-btn {
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.db-user-btn-edit {
|
|
background: rgba(99, 102, 241, 0.15);
|
|
color: #a5b4fc;
|
|
}
|
|
|
|
.db-user-btn-edit:hover {
|
|
background: rgba(99, 102, 241, 0.25);
|
|
}
|
|
|
|
.db-user-btn-delete {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.db-user-btn-delete:hover {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
}
|
|
|
|
.mongodb-delete-modal {
|
|
width: 420px;
|
|
max-width: 95vw;
|
|
background: rgba(20, 20, 28, 0.98);
|
|
border: none;
|
|
box-shadow: none;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.mongodb-delete-modal-content {
|
|
padding: 40px 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mongodb-delete-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto 24px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(145deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.15));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mongodb-delete-icon i {
|
|
font-size: 36px;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.mongodb-delete-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.mongodb-delete-text {
|
|
font-size: 15px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.mongodb-delete-text strong {
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.mongodb-delete-subtext {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
margin: 0 0 28px;
|
|
}
|
|
|
|
.mongodb-delete-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mongodb-delete-btn {
|
|
padding: 12px 24px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: transform 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.mongodb-delete-btn:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.mongodb-delete-btn-cancel {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.mongodb-delete-btn-cancel:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.mongodb-delete-btn-confirm {
|
|
background: linear-gradient(145deg, #ef4444, #dc2626);
|
|
color: #fff;
|
|
}
|
|
|
|
.mongodb-delete-btn-confirm:hover {
|
|
background: linear-gradient(145deg, #f87171, #ef4444);
|
|
}
|
|
|
|
.db-type-section {
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.db-type-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.db-type-title {
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.db-type-subtitle {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.db-type-current {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.db-type-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.db-type-icon.postgresql {
|
|
background: linear-gradient(135deg, rgba(51, 103, 145, 0.2), rgba(51, 103, 145, 0.1));
|
|
color: #336791;
|
|
}
|
|
|
|
.db-type-icon.mongodb {
|
|
background: linear-gradient(135deg, rgba(77, 179, 61, 0.2), rgba(77, 179, 61, 0.1));
|
|
color: #4db33d;
|
|
}
|
|
|
|
.db-type-name {
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.db-type-host {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.db-access-section {
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.05));
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.db-access-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.db-access-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.db-access-icon.success {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: #22c55e;
|
|
}
|
|
|
|
.db-access-title {
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
color: #22c55e;
|
|
}
|
|
|
|
.db-access-subtitle {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.db-access-url-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.db-access-url-wrapper {
|
|
font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
word-break: break-all;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.db-access-url {
|
|
font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.db-conn-prefix,
|
|
.db-conn-suffix,
|
|
.db-conn-sep {
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.db-conn-user {
|
|
color: #a5f3fc;
|
|
}
|
|
|
|
.db-conn-host {
|
|
color: #86efac;
|
|
}
|
|
|
|
.db-conn-pass {
|
|
color: #fcd34d;
|
|
transition: filter 0.2s ease, color 0.2s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.db-conn-pass.blurred {
|
|
filter: blur(5px);
|
|
user-select: none;
|
|
}
|
|
|
|
.db-conn-pass.blurred:hover {
|
|
filter: blur(3px);
|
|
}
|
|
|
|
.db-access-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* One-time display of the sealed pgAdmin login (recovery credential):
|
|
values are injected via textContent, never markup or URLs. */
|
|
.pgadmin-cred-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.pgadmin-cred-value {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
padding: 9px 12px;
|
|
word-break: break-all;
|
|
align-self: center;
|
|
}
|
|
|
|
.db-enterprise-modal {
|
|
width: 540px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.enterprise-modal-icon.db-setup-icon {
|
|
background: none;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
.enterprise-modal-icon.db-setup-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.db-setup-icon i {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.db-setup-icon img {
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.db-setup-modal-body {
|
|
padding: 24px 28px 28px;
|
|
max-height: 60vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.db-setup-modal-body .node-form-section {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.db-setup-modal-body .node-form-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.db-type-selector {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.db-type-option {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.db-type-option input {
|
|
display: none;
|
|
}
|
|
|
|
.db-type-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 16px 12px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 2px solid rgba(255, 255, 255, 0.08);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.db-type-card i {
|
|
font-size: 24px;
|
|
color: var(--muted);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.db-type-card span {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.db-type-option input:checked+.db-type-card {
|
|
background: rgba(99, 102, 241, 0.12);
|
|
border-color: rgba(99, 102, 241, 0.5);
|
|
}
|
|
|
|
.db-type-option input:checked+.db-type-card i {
|
|
color: #a5b4fc;
|
|
}
|
|
|
|
.db-type-option input:checked+.db-type-card span {
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.db-type-card:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.db-security-notice {
|
|
margin-top: 16px;
|
|
padding: 14px;
|
|
background: rgba(59, 130, 246, 0.08);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(59, 130, 246, 0.15);
|
|
}
|
|
|
|
.db-security-notice-inner {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.db-security-notice-inner>i {
|
|
font-size: 16px;
|
|
color: #3b82f6;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.db-security-notice strong {
|
|
display: block;
|
|
font-size: 13px;
|
|
color: #60a5fa;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.db-security-notice p {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.db-user-modal {
|
|
width: 420px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.enterprise-modal-icon.db-user-icon {
|
|
background: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.db-user-icon::before {
|
|
display: none;
|
|
}
|
|
|
|
.enterprise-modal-icon.db-user-icon i {
|
|
display: block;
|
|
font-size: 28px;
|
|
color: #6ee7b7;
|
|
}
|
|
|
|
.db-pass-modal {
|
|
width: 420px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.db-change-type-modal {
|
|
width: 540px;
|
|
max-width: 95vw;
|
|
}
|
|
|
|
.db-change-warning {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 14px;
|
|
padding: 16px;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-radius: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.db-change-warning-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #f87171;
|
|
font-size: 18px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.db-change-warning-content strong {
|
|
display: block;
|
|
color: #f87171;
|
|
font-size: 14px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.db-change-warning-content p {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.db-btn-danger {
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.85)) !important;
|
|
}
|
|
|
|
.db-btn-danger:hover {
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 1), rgba(220, 38, 38, 0.95)) !important;
|
|
}
|
|
|
|
.db-pass-toggle {
|
|
right: 12px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.db-type-selector {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.db-enterprise-modal,
|
|
.db-change-type-modal {
|
|
width: 95vw;
|
|
}
|
|
|
|
.db-access-url-box {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.db-access-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.db-users-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
}
|
|
|
|
.db-user-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
}
|
|
|
|
.db-user-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
|
|
.install-progress-container {
|
|
margin: 16px 0;
|
|
padding: 16px;
|
|
background: rgba(139, 92, 246, 0.08);
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(139, 92, 246, 0.2);
|
|
}
|
|
|
|
.install-progress-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.install-progress-label span:first-child {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.install-progress-label span:last-child {
|
|
color: #a78bfa;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.install-progress-bar {
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.install-progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #8b5cf6, #a78bfa, #c4b5fd);
|
|
border-radius: 4px;
|
|
transition: width 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.install-progress-fill::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
animation: progressShine 1.5s infinite;
|
|
}
|
|
|
|
@keyframes progressShine {
|
|
0% {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
.db-pass-toggle {
|
|
position: absolute !important;
|
|
right: 12px !important;
|
|
top: 50% !important;
|
|
transform: translateY(-50%) !important;
|
|
width: 32px !important;
|
|
height: 32px !important;
|
|
border-radius: 8px !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
color: rgba(255, 255, 255, 0.4) !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
z-index: 100 !important;
|
|
transition: all 0.2s ease !important;
|
|
}
|
|
|
|
.db-pass-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.1) !important;
|
|
color: rgba(255, 255, 255, 0.8) !important;
|
|
}
|
|
|
|
.db-pass-toggle i {
|
|
font-size: 14px !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.qr-option-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
width: 100%;
|
|
padding: 16px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
cursor: pointer;
|
|
transition: all 0.25s ease;
|
|
text-align: left;
|
|
}
|
|
|
|
.qr-option-btn:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
transform: none;
|
|
}
|
|
|
|
.qr-option-btn:active:not(:disabled) {
|
|
transform: scale(0.99);
|
|
}
|
|
|
|
.qr-option-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: 18px;
|
|
color: white;
|
|
}
|
|
|
|
.qr-option-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.qr-option-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.qr-option-desc {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.qr-options-modal {
|
|
width: 440px;
|
|
}
|
|
|
|
.qr-reset-modal {
|
|
width: 460px;
|
|
}
|
|
|
|
.stats-enterprise-modal {
|
|
width: 90vw !important;
|
|
height: 90vh !important;
|
|
max-width: 1400px !important;
|
|
max-height: 900px !important;
|
|
}
|
|
|
|
.stats-icon {
|
|
background: transparent !important;
|
|
color: #a78bfa !important;
|
|
}
|
|
|
|
.stats-icon::before {
|
|
display: none !important;
|
|
}
|
|
|
|
.stats-icon i {
|
|
color: #a78bfa;
|
|
}
|
|
|
|
.stats-modal-body {
|
|
flex: 1;
|
|
padding: 32px;
|
|
overflow-y: auto;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 24px;
|
|
align-content: start;
|
|
}
|
|
|
|
.stats-loading {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
height: 300px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.stats-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid rgba(255, 255, 255, 0.1);
|
|
border-top-color: #a78bfa;
|
|
border-radius: 50%;
|
|
animation: stats-spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes stats-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.stats-offline {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
height: 300px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.stats-offline-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background: rgba(239, 68, 68, 0.15);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32px;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.stats-offline-text {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.stats-offline-desc {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.stats-card {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.stats-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.stats-card-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.stats-card-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.stats-card-icon.cpu,
|
|
.stats-card-icon.ram,
|
|
.stats-card-icon.disk,
|
|
.stats-card-icon.info {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.stats-card-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
|
|
.stats-card-value.warning,
|
|
.stats-card-value.critical {
|
|
color: #fff;
|
|
}
|
|
|
|
.stats-progress-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.stats-progress-bar {
|
|
height: 12px;
|
|
background: #1e1e1e;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.stats-progress-fill {
|
|
height: 100%;
|
|
background: #505050;
|
|
border-radius: 3px 0 0 3px;
|
|
transition: width 0.5s ease, background 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.stats-progress-fill.cpu,
|
|
.stats-progress-fill.ram,
|
|
.stats-progress-fill.disk {
|
|
background: #505050;
|
|
}
|
|
|
|
.stats-progress-fill.warning,
|
|
.stats-progress-fill.critical {
|
|
background: #505050 !important;
|
|
}
|
|
|
|
.stats-progress-labels {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.stats-details {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.stats-detail-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.stats-detail-label {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.stats-detail-value {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.stats-warnings {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stats-warning-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px 20px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.stats-warning-item.warning {
|
|
background: rgba(245, 158, 11, 0.12);
|
|
border: 1px solid rgba(245, 158, 11, 0.25);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.stats-warning-item.critical {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
border: 1px solid rgba(239, 68, 68, 0.25);
|
|
color: #f87171;
|
|
}
|
|
|
|
.stats-warning-icon {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.stats-info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 16px;
|
|
}
|
|
|
|
.stats-info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.stats-info-label {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.stats-info-value {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.stats-last-updated {
|
|
grid-column: 1 / -1;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.stats-enterprise-modal {
|
|
width: 95vw !important;
|
|
height: 95vh !important;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.stats-modal-body {
|
|
padding: 20px;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.qa-subgroup {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.qa-subgroup-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.qa-subgroup-title {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.qa-separator {
|
|
height: 1px;
|
|
background: rgba(15, 23, 42, 0.08);
|
|
margin: 24px 0;
|
|
}
|
|
|
|
[data-theme="dark"] .qa-separator {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 12px;
|
|
font-size: 13px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.webhooks-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.webhooks-title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.webhooks-subtitle {
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.webhooks-mode-selector {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.webhook-mode-tab {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px 18px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
text-align: left;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.webhook-mode-tab:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.webhook-mode-tab::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
padding: 1px;
|
|
background:
|
|
linear-gradient(90deg, #a5b4fc 50%, transparent 50%) top repeat-x,
|
|
linear-gradient(90deg, #a5b4fc 50%, transparent 50%) bottom repeat-x,
|
|
linear-gradient(0deg, #a5b4fc 50%, transparent 50%) left repeat-y,
|
|
linear-gradient(0deg, #a5b4fc 50%, transparent 50%) right repeat-y;
|
|
background-size: 20px 1px, 20px 1px, 1px 20px, 1px 20px;
|
|
background-position: 0 0, 0 100%, 0 0, 100% 0;
|
|
-webkit-mask:
|
|
linear-gradient(#fff 0 0) content-box,
|
|
linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
animation: borderMoving 4s linear infinite;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.webhook-mode-tab:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
@keyframes borderMoving {
|
|
0% {
|
|
background-position: 0 0, 0 100%, 0 0, 100% 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: 20px 0, -20px 100%, 0 -20px, 100% 20px;
|
|
}
|
|
}
|
|
|
|
|
|
.webhook-mode-tab.active {
|
|
border-color: rgba(99, 102, 241, 0.5);
|
|
background: rgba(99, 102, 241, 0.08);
|
|
}
|
|
|
|
.webhook-icon-wrap {
|
|
flex-shrink: 0;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 17px;
|
|
color: var(--muted);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.webhook-mode-tab.active .webhook-icon-wrap {
|
|
color: #a5b4fc;
|
|
background: rgba(99, 102, 241, 0.1);
|
|
}
|
|
|
|
.webhook-mode-title {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.webhook-mode-desc {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.webhooks-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.webhooks-empty {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.webhooks-empty i {
|
|
font-size: 36px;
|
|
margin-bottom: 12px;
|
|
opacity: 0.3;
|
|
display: block;
|
|
}
|
|
|
|
.webhooks-empty p {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.webhooks-empty small {
|
|
font-size: 13px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.webhook-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.webhook-item:hover {
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.webhook-item-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.webhook-item-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: 17px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.webhook-item-icon i {
|
|
font-size: 17px;
|
|
color: inherit;
|
|
}
|
|
|
|
.webhook-item-info {
|
|
min-width: 0;
|
|
}
|
|
|
|
.webhook-item-label {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.webhook-item-url {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 320px;
|
|
}
|
|
|
|
.webhook-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webhook-action-btn {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.webhook-action-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--text);
|
|
}
|
|
|
|
.webhook-action-btn.danger:hover {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #f87171;
|
|
}
|
|
|
|
.webhook-action-btn.test:hover {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: #34d399;
|
|
}
|
|
|
|
.webhook-categories-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.webhook-category-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.webhook-category-card:hover {
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.webhook-category-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.webhook-category-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: 17px;
|
|
background: rgba(255, 255, 255, 0.05) !important;
|
|
}
|
|
|
|
.webhook-category-name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.webhook-category-desc {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.webhook-category-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.webhook-category-status {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.webhook-category-status.active {
|
|
color: #34d399;
|
|
background: rgba(34, 197, 94, 0.1);
|
|
}
|
|
|
|
.webhook-category-btn {
|
|
padding: 7px 14px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.webhook-category-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.webhooks-mode-selector {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.webhook-item-url {
|
|
max-width: 180px;
|
|
}
|
|
}
|
|
|
|
/* Panel Information Redesign (Figma Replica) */
|
|
.panelinfo-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.panelinfo-title {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 24px;
|
|
font-weight: 400 !important;
|
|
letter-spacing: -0.02em;
|
|
color: #ffffff;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.panelinfo-subtitle {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
color: rgba(255, 255, 255, 0.54);
|
|
font-size: 14px;
|
|
font-weight: 400 !important;
|
|
margin-top: 4px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.panelinfo-content-new {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Main Card (Card 1) */
|
|
.panelinfo-card-main {
|
|
background: rgba(65, 65, 65, 0.78);
|
|
border-radius: 14px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Card Rows */
|
|
.panelinfo-row-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
|
|
.panelinfo-row-item.row-top {
|
|
height: 66px;
|
|
padding: 32px 30px 16px 30px;
|
|
}
|
|
|
|
.panelinfo-row-item.row-mid {
|
|
height: 47px;
|
|
padding: 14.5px 30px;
|
|
}
|
|
|
|
.panelinfo-row-item.row-bottom {
|
|
height: 66px;
|
|
padding: 16px 30px 32px 30px;
|
|
}
|
|
|
|
/* Separation Lines */
|
|
.panelinfo-divider {
|
|
height: 1px;
|
|
background: rgba(217, 217, 217, 0.16);
|
|
margin: 0 30px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Row Item Left Side */
|
|
.panelinfo-left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.panelinfo-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
object-fit: contain;
|
|
margin-right: 11px;
|
|
flex-shrink: 0;
|
|
display: block;
|
|
}
|
|
|
|
.panelinfo-text {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 400 !important;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
line-height: 1.2;
|
|
letter-spacing: -0.01em;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* "You're up to date" Tag */
|
|
.panelinfo-uptodate-tag {
|
|
width: 120px;
|
|
height: 20px;
|
|
border-radius: 4px;
|
|
background: rgba(83, 83, 83, 0.59);
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 400 !important;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 12px;
|
|
box-sizing: border-box;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* Row Item Right Side */
|
|
.panelinfo-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* Version & Date Tags */
|
|
.panelinfo-tag {
|
|
background: rgba(40, 40, 40, 0.57);
|
|
color: rgba(255, 255, 255, 0.54);
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 400 !important;
|
|
height: 24px;
|
|
border-radius: 4px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
white-space: nowrap;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.panelinfo-version-tag {
|
|
padding: 0 18px;
|
|
}
|
|
|
|
.panelinfo-date-tag {
|
|
padding: 0 13px;
|
|
}
|
|
|
|
/* Copy Button */
|
|
.panelinfo-copy-icon-btn {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 4px;
|
|
background: rgba(40, 40, 40, 0.30);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
transition: background 0.2s ease, opacity 0.2s ease;
|
|
outline: none;
|
|
}
|
|
|
|
.panelinfo-copy-icon-btn img {
|
|
width: 8px;
|
|
height: 9px;
|
|
object-fit: contain;
|
|
display: block;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.panelinfo-copy-icon-btn:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.panelinfo-copy-icon-btn:hover img {
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.panelinfo-copy-icon-btn.copied {
|
|
background: rgba(34, 197, 94, 0.25);
|
|
}
|
|
|
|
/* Action Buttons (Check, Off/On) */
|
|
.panelinfo-action-btn {
|
|
height: 26px;
|
|
min-width: 44px;
|
|
padding: 0 16px;
|
|
border-radius: 4px;
|
|
background: rgba(83, 83, 83, 0.59);
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 400 !important;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
outline: none;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.panelinfo-action-btn:hover:not(:disabled) {
|
|
background: rgba(83, 83, 83, 0.85);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.panelinfo-action-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.back-to-servers-btn .back-arrow-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-right: 6px;
|
|
transform: translateX(0);
|
|
transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
|
|
will-change: transform;
|
|
}
|
|
|
|
.back-to-servers-btn:hover:not(:disabled) .back-arrow-icon {
|
|
transform: translateX(-5px);
|
|
}
|
|
|
|
/* Card 2: Latest Update Card */
|
|
.panelinfo-card-latest {
|
|
background: rgba(65, 65, 65, 0.78);
|
|
height: 79px;
|
|
width: 100%;
|
|
border-radius: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 48px 0 43px;
|
|
box-sizing: border-box;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.panelinfo-latest-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.panelinfo-latest-title {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 24px;
|
|
font-weight: 400 !important;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.panelinfo-latest-tag {
|
|
padding: 0 18px;
|
|
}
|
|
|
|
.panelinfo-update-btn {
|
|
width: 70px;
|
|
height: 26px;
|
|
border-radius: 4px;
|
|
background: rgba(83, 83, 83, 0.59);
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 400 !important;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
outline: none;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.panelinfo-update-btn:hover:not(:disabled) {
|
|
background: rgba(83, 83, 83, 0.85);
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Update Status Feedback */
|
|
.panelinfo-update-status {
|
|
font-family: 'Inter', sans-serif;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
min-height: 20px;
|
|
padding: 4px 8px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.panelinfo-update-status.success {
|
|
color: #34d399;
|
|
}
|
|
|
|
.panelinfo-update-status.error {
|
|
color: #f87171;
|
|
}
|
|
|
|
.panelinfo-update-status.info {
|
|
color: #60a5fa;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.panelinfo-row-item {
|
|
padding: 12px 20px;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
height: auto !important;
|
|
gap: 8px;
|
|
}
|
|
|
|
.panelinfo-right {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.panelinfo-card-latest {
|
|
padding: 16px 20px;
|
|
height: auto;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.panelinfo-latest-right {
|
|
align-self: flex-end;
|
|
}
|
|
}
|
|
|
|
/* Server Management Inline Redesign (Panel Information Style) */
|
|
.server-manage-inline-view {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.server-manage-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.server-manage-layout {
|
|
display: flex;
|
|
gap: 24px;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
}
|
|
|
|
.server-manage-categories {
|
|
width: 220px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
background: rgba(65, 65, 65, 0.45);
|
|
padding: 12px;
|
|
border-radius: 14px;
|
|
border: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.server-category-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.65);
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
cursor: pointer;
|
|
transition: background 0.18s ease, color 0.18s ease;
|
|
text-align: left;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
outline: none;
|
|
}
|
|
|
|
.server-category-btn i {
|
|
width: 18px;
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.server-category-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.server-category-btn:hover i {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.server-category-btn.active {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
color: #ffffff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.server-category-btn.active i {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.server-category-btn-danger {
|
|
color: rgba(248, 113, 113, 0.75) !important;
|
|
}
|
|
.server-category-btn-danger i {
|
|
color: rgba(248, 113, 113, 0.6) !important;
|
|
}
|
|
.server-category-btn-danger:hover {
|
|
background: rgba(239, 68, 68, 0.15) !important;
|
|
color: #f87171 !important;
|
|
}
|
|
.server-category-btn-danger:hover i {
|
|
color: #f87171 !important;
|
|
}
|
|
.server-category-btn-danger.active {
|
|
background: rgba(239, 68, 68, 0.22) !important;
|
|
color: #fca5a5 !important;
|
|
}
|
|
.server-category-btn-danger.active i {
|
|
color: #fca5a5 !important;
|
|
}
|
|
|
|
.server-category-btn.is-locked {
|
|
pointer-events: none !important;
|
|
opacity: 0.38 !important;
|
|
cursor: not-allowed !important;
|
|
user-select: none !important;
|
|
}
|
|
|
|
.node-wizard-nav-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.node-wizard-next-btn {
|
|
background: #4A4A4A !important;
|
|
color: #ffffff !important;
|
|
transition: background 0.22s ease, color 0.22s ease !important;
|
|
}
|
|
|
|
.node-wizard-next-btn:hover:not(:disabled) {
|
|
background: #5A5A5A !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.node-wizard-next-btn .next-arrow-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-left: 6px;
|
|
transform: translateX(0);
|
|
transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
|
|
will-change: transform;
|
|
}
|
|
|
|
.node-wizard-next-btn:hover:not(:disabled) .next-arrow-icon {
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.node-wizard-prev-btn {
|
|
background: #333333 !important;
|
|
color: rgba(255, 255, 255, 0.85) !important;
|
|
transition: background 0.22s ease, color 0.22s ease !important;
|
|
}
|
|
|
|
.node-wizard-prev-btn:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.22) !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.node-wizard-prev-btn .back-arrow-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-right: 6px;
|
|
transform: translateX(0);
|
|
transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
|
|
will-change: transform;
|
|
}
|
|
|
|
.node-wizard-prev-btn:hover:not(:disabled) .back-arrow-icon {
|
|
transform: translateX(-5px);
|
|
}
|
|
|
|
.node-wizard-complete-btn {
|
|
background: #16a34a !important;
|
|
color: #ffffff !important;
|
|
transition: background 0.22s ease, color 0.22s ease, opacity 0.22s ease !important;
|
|
}
|
|
|
|
.node-wizard-complete-btn:hover:not(:disabled) {
|
|
background: #22c55e !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.node-status-beacon {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
flex-shrink: 0;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.node-status-beacon.offline {
|
|
background: #ef4444;
|
|
box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
|
|
}
|
|
|
|
.node-status-beacon.online {
|
|
background: #22c55e;
|
|
box-shadow: 0 0 12px rgba(34, 197, 94, 0.65);
|
|
animation: pulseGreenBeacon 2s infinite ease-in-out;
|
|
}
|
|
|
|
@keyframes pulseGreenBeacon {
|
|
0%, 100% {
|
|
box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
|
|
}
|
|
50% {
|
|
box-shadow: 0 0 16px rgba(34, 197, 94, 0.9);
|
|
}
|
|
}
|
|
|
|
.node-ports-mode {
|
|
display: inline-flex;
|
|
background: rgba(40, 40, 40, 0.57);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
padding: 3px;
|
|
gap: 3px;
|
|
}
|
|
.node-port-chip {
|
|
cursor: pointer;
|
|
margin: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
.node-port-chip input[type="radio"] {
|
|
display: none;
|
|
}
|
|
.node-port-chip span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 13px;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
transition: all 0.18s ease;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
user-select: none;
|
|
}
|
|
.node-port-chip:hover span {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
.node-port-chip input[type="radio"]:checked + span {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
color: #ffffff;
|
|
font-weight: 500;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.node-disk-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
margin-bottom: 8px;
|
|
transition: background 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
.node-disk-row:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
.node-disk-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: rgba(40, 40, 40, 0.75);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.65);
|
|
padding: 2px 8px;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
line-height: 1.4;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
.node-action-btn.node-disk-remove {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
border: none !important;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
cursor: pointer;
|
|
transition: all 0.18s ease;
|
|
font-size: 13px;
|
|
outline: none;
|
|
}
|
|
.node-action-btn.node-disk-remove:hover {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #f87171;
|
|
}
|
|
|
|
#pane_node_danger .danger-title {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
font-weight: 500 !important;
|
|
font-size: 16px !important;
|
|
color: #f87171 !important;
|
|
line-height: 1.2 !important;
|
|
letter-spacing: -0.01em !important;
|
|
}
|
|
|
|
/* Allocated Ports Pool Styles */
|
|
.node-allocated-ports-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
max-height: 260px;
|
|
overflow-y: auto;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.node-allocated-ports-container::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.node-allocated-ports-container::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.node-allocated-ports-container::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.node-port-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 5px 8px 5px 9px;
|
|
background: rgba(40, 40, 40, 0.65);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 6px;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 12.5px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
transition: all 0.18s ease;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.node-port-item:hover {
|
|
background: rgba(55, 55, 55, 0.85);
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.node-port-item.selected {
|
|
background: rgba(72, 72, 72, 0.85) !important;
|
|
border: 1px solid transparent !important;
|
|
color: #ffffff !important;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.node-port-item.selected:hover {
|
|
background: rgba(85, 85, 85, 0.95) !important;
|
|
}
|
|
|
|
.node-port-item.in-use,
|
|
.node-port-item.is-occupied {
|
|
opacity: 0.45 !important;
|
|
cursor: not-allowed !important;
|
|
pointer-events: none !important;
|
|
user-select: none !important;
|
|
background: rgba(255, 255, 255, 0.02) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.04) !important;
|
|
}
|
|
|
|
.node-port-item.in-use .node-port-checkbox,
|
|
.node-port-item.is-occupied .node-port-checkbox {
|
|
cursor: not-allowed !important;
|
|
pointer-events: none !important;
|
|
opacity: 0.25 !important;
|
|
border-color: rgba(255, 255, 255, 0.1) !important;
|
|
}
|
|
|
|
.node-port-item.in-use .node-port-delete-btn,
|
|
.node-port-item.is-occupied .node-port-delete-btn {
|
|
display: none !important;
|
|
}
|
|
|
|
.node-port-occupied-icon {
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
margin-left: 2px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.node-port-checkbox {
|
|
width: 15px;
|
|
height: 15px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
cursor: pointer;
|
|
margin: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s ease;
|
|
flex-shrink: 0;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
outline: none;
|
|
position: relative;
|
|
}
|
|
|
|
.node-port-checkbox:hover {
|
|
border-color: rgba(255, 255, 255, 0.5);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.node-port-checkbox:checked {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.node-port-checkbox:checked::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 3.5px;
|
|
height: 7px;
|
|
border: solid #ffffff;
|
|
border-width: 0 1.5px 1.5px 0;
|
|
transform: rotate(45deg);
|
|
top: 1px;
|
|
left: 4.5px;
|
|
}
|
|
|
|
.node-port-label {
|
|
font-family: 'Fira Code', 'SFMono-Regular', Consolas, Menlo, monospace;
|
|
font-size: 12px;
|
|
letter-spacing: -0.01em;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.node-port-item.selected .node-port-label {
|
|
color: #ffffff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.node-port-delete-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
padding: 2px 5px;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
transition: all 0.15s ease;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.node-port-delete-btn:hover {
|
|
background: rgba(239, 68, 68, 0.22);
|
|
color: #f87171;
|
|
}
|
|
|
|
.node-port-delete-btn:active {
|
|
background: rgba(239, 68, 68, 0.35);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.node-ports-bulk-delete-btn,
|
|
#nm_ports_delete_selected {
|
|
background: #dc2626 !important;
|
|
color: #ffffff !important;
|
|
border: none !important;
|
|
box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25) !important;
|
|
transition: background 0.18s ease, transform 0.1s ease, color 0.18s ease, box-shadow 0.18s ease !important;
|
|
}
|
|
|
|
.node-ports-bulk-delete-btn:hover:not(:disabled),
|
|
#nm_ports_delete_selected:hover:not(:disabled) {
|
|
background: #b91c1c !important;
|
|
color: #ffffff !important;
|
|
box-shadow: 0 3px 8px rgba(185, 28, 28, 0.35) !important;
|
|
}
|
|
|
|
.node-ports-bulk-delete-btn:active:not(:disabled),
|
|
#nm_ports_delete_selected:active:not(:disabled) {
|
|
background: #991b1b !important;
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.server-manage-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.server-category-pane {
|
|
display: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.server-category-pane.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Hide number input spinners / arrows on all browsers */
|
|
input[type="number"]::-webkit-outer-spin-button,
|
|
input[type="number"]::-webkit-inner-spin-button {
|
|
-webkit-appearance: none !important;
|
|
margin: 0 !important;
|
|
}
|
|
input[type="number"] {
|
|
-moz-appearance: textfield !important;
|
|
appearance: textfield !important;
|
|
}
|
|
|
|
/* Panel Information Form Control Extensions */
|
|
.panelinfo-input-wrap {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
justify-content: flex-end;
|
|
background: rgba(40, 40, 40, 0.57);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
padding: 0 10px;
|
|
height: 30px;
|
|
box-sizing: border-box;
|
|
gap: 6px;
|
|
transition: border-color 0.2s ease, background 0.2s ease;
|
|
width: auto;
|
|
max-width: 100%;
|
|
cursor: text;
|
|
}
|
|
|
|
.panelinfo-input-wrap:focus-within {
|
|
border-color: rgba(255, 255, 255, 0.35);
|
|
background: rgba(45, 45, 45, 0.8);
|
|
}
|
|
|
|
.panelinfo-input-wrap .panelinfo-input {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
height: 28px !important;
|
|
line-height: 28px !important;
|
|
color: #ffffff !important;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
font-size: 13px !important;
|
|
font-weight: 400 !important;
|
|
text-align: right;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
field-sizing: content;
|
|
min-width: 1.5ch;
|
|
max-width: 180px;
|
|
width: auto;
|
|
margin: 0 !important;
|
|
box-sizing: border-box;
|
|
cursor: text;
|
|
vertical-align: baseline !important;
|
|
}
|
|
|
|
.panelinfo-input-wrap .panelinfo-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.35);
|
|
text-align: right;
|
|
}
|
|
|
|
.panelinfo-input {
|
|
background: rgba(40, 40, 40, 0.57);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
color: #ffffff;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
padding: 0 10px;
|
|
height: 30px;
|
|
line-height: 28px;
|
|
box-sizing: border-box;
|
|
outline: none;
|
|
transition: border-color 0.2s ease, background 0.2s ease;
|
|
field-sizing: content;
|
|
min-width: 1.5ch;
|
|
max-width: 320px;
|
|
width: auto;
|
|
}
|
|
|
|
.panelinfo-input:focus {
|
|
border-color: rgba(255, 255, 255, 0.35);
|
|
background: rgba(45, 45, 45, 0.8);
|
|
}
|
|
|
|
#res_newPort {
|
|
text-align: center;
|
|
width: 5ch;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
#res_newPort::placeholder {
|
|
text-align: center;
|
|
}
|
|
|
|
.panelinfo-input-wrap:has(#res_newPort) {
|
|
padding: 0 8px;
|
|
width: auto;
|
|
min-width: unset;
|
|
}
|
|
|
|
.panelinfo-unit {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-weight: 400;
|
|
cursor: text;
|
|
pointer-events: auto;
|
|
height: 28px;
|
|
line-height: 28px;
|
|
white-space: nowrap;
|
|
user-select: none;
|
|
flex-shrink: 0;
|
|
display: inline-block;
|
|
vertical-align: baseline !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* --- Node secret reveal lock (config.yml / setup command) -------------- */
|
|
.node-secret-wrap {
|
|
position: relative;
|
|
}
|
|
.node-secret-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 5;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
padding: 16px 22px;
|
|
box-sizing: border-box;
|
|
border-radius: 8px;
|
|
background: rgba(16, 16, 18, 0.55);
|
|
-webkit-backdrop-filter: blur(12px) saturate(0.75);
|
|
backdrop-filter: blur(12px) saturate(0.75);
|
|
cursor: pointer;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
user-select: none;
|
|
}
|
|
.node-secret-overlay:focus-visible {
|
|
outline: 2px solid rgba(255, 255, 255, 0.35);
|
|
outline-offset: 2px;
|
|
}
|
|
.node-secret-overlay-input {
|
|
gap: 6px;
|
|
padding: 8px 16px;
|
|
}
|
|
.node-secret-faux {
|
|
width: 100%;
|
|
max-width: 420px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 9px;
|
|
align-items: stretch;
|
|
}
|
|
.node-secret-faux span {
|
|
display: block;
|
|
height: 9px;
|
|
border-radius: 5px;
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
.node-secret-faux span:nth-child(1) { width: 86%; }
|
|
.node-secret-faux span:nth-child(2) { width: 64%; }
|
|
.node-secret-faux span:nth-child(3) { width: 92%; }
|
|
.node-secret-faux span:nth-child(4) { width: 71%; }
|
|
.node-secret-faux span:nth-child(5) { width: 55%; }
|
|
.node-secret-faux span:nth-child(6) { width: 40%; }
|
|
.node-secret-faux-single {
|
|
align-items: center;
|
|
}
|
|
.node-secret-faux-single span {
|
|
width: 58%;
|
|
}
|
|
.node-secret-lockrow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
letter-spacing: 0.2px;
|
|
}
|
|
.node-secret-lockrow i {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
.node-secret-hint {
|
|
font-size: 11.5px;
|
|
line-height: 1.5;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
max-width: 400px;
|
|
}
|
|
.node-secret-receive-btn {
|
|
margin-top: 6px;
|
|
height: 28px !important;
|
|
padding: 0 18px !important;
|
|
border-radius: 4px !important;
|
|
font-size: 12px !important;
|
|
font-weight: 500 !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
text-align: center !important;
|
|
line-height: 1 !important;
|
|
gap: 0 !important;
|
|
box-sizing: border-box !important;
|
|
cursor: pointer !important;
|
|
background: rgba(83, 83, 83, 0.72) !important;
|
|
color: #ffffff !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
transition: background 0.2s ease, transform 0.15s ease !important;
|
|
}
|
|
.node-secret-receive-btn:hover {
|
|
background: rgba(100, 100, 100, 0.9) !important;
|
|
color: #ffffff !important;
|
|
}
|
|
.node-linking-copy-cmd-btn {
|
|
height: 38px !important;
|
|
border-radius: 8px !important;
|
|
padding: 0 16px !important;
|
|
font-size: 12px !important;
|
|
font-weight: 500 !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
gap: 6px !important;
|
|
}
|
|
.node-secret-modal {
|
|
width: 480px;
|
|
max-width: 94vw;
|
|
}
|
|
.node-secret-modal .enterprise-modal-header {
|
|
padding: 24px 28px 16px;
|
|
}
|
|
.node-secret-modal-body {
|
|
padding: 8px 28px 16px !important;
|
|
width: 100% !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
.node-secret-modal-reason {
|
|
font-size: 12.5px;
|
|
line-height: 1.55;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
margin: 0 0 12px;
|
|
text-align: left;
|
|
}
|
|
.node-secret-credential-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
width: 100%;
|
|
margin: 0 !important;
|
|
text-align: left !important;
|
|
box-sizing: border-box;
|
|
}
|
|
.node-secret-credential-row #nodeSecretCredentialLabel {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
margin: 0;
|
|
text-align: left;
|
|
}
|
|
.node-secret-credential-row .node-form-input {
|
|
width: 100% !important;
|
|
height: 44px !important;
|
|
padding: 0 16px !important;
|
|
border-radius: 12px !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
background: rgba(0, 0, 0, 0.25) !important;
|
|
color: rgba(255, 255, 255, 0.95) !important;
|
|
font-size: 14px !important;
|
|
box-sizing: border-box !important;
|
|
text-align: left !important;
|
|
outline: none !important;
|
|
transition: border-color 0.2s ease, background 0.2s ease !important;
|
|
}
|
|
.node-secret-credential-row .node-form-input:focus {
|
|
border-color: rgba(99, 102, 241, 0.5) !important;
|
|
background: rgba(0, 0, 0, 0.35) !important;
|
|
}
|
|
.node-secret-credential-row #nodeSecretCredentialHint {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
margin: 0;
|
|
text-align: left;
|
|
}
|
|
.node-secret-modal-error {
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: #f87171;
|
|
margin-top: 10px;
|
|
text-align: left;
|
|
}
|
|
.node-secret-modal .enterprise-modal-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 16px 28px 24px;
|
|
box-sizing: border-box;
|
|
}
|
|
.node-secret-modal .enterprise-btn-secondary,
|
|
.node-secret-modal .enterprise-btn-primary {
|
|
height: 42px !important;
|
|
padding: 0 20px !important;
|
|
border-radius: 12px !important;
|
|
font-size: 14px !important;
|
|
font-weight: 500 !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
text-align: center !important;
|
|
line-height: 1 !important;
|
|
box-sizing: border-box !important;
|
|
cursor: pointer !important;
|
|
transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1) !important;
|
|
}
|
|
.node-secret-modal .enterprise-btn-secondary {
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
background: rgba(255, 255, 255, 0.04) !important;
|
|
color: rgba(255, 255, 255, 0.7) !important;
|
|
}
|
|
.node-secret-modal .enterprise-btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.08) !important;
|
|
border-color: rgba(255, 255, 255, 0.15) !important;
|
|
color: rgba(255, 255, 255, 0.9) !important;
|
|
}
|
|
.node-secret-modal .enterprise-btn-primary {
|
|
border: 1px solid transparent !important;
|
|
background: #055DA6 !important;
|
|
color: #fff !important;
|
|
}
|
|
.node-secret-modal .enterprise-btn-primary:hover {
|
|
background: #0669b8 !important;
|
|
}
|
|
|
|
.node-linking-codebox {
|
|
width: 100%;
|
|
height: 220px;
|
|
background: rgba(30, 30, 30, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
color: #4ade80;
|
|
font-family: 'Fira Code', 'SFMono-Regular', Consolas, Menlo, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
padding: 14px 16px;
|
|
box-sizing: border-box;
|
|
resize: vertical;
|
|
outline: none;
|
|
white-space: pre;
|
|
overflow-x: auto;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
.node-linking-codebox:focus {
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.node-linking-cmd-input {
|
|
width: 100%;
|
|
height: 38px;
|
|
background: rgba(30, 30, 30, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
color: #4ade80;
|
|
font-family: 'Fira Code', 'SFMono-Regular', Consolas, Menlo, monospace;
|
|
font-size: 12px;
|
|
padding: 0 14px;
|
|
box-sizing: border-box;
|
|
outline: none;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
.node-linking-cmd-input:focus {
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
.node-linking-cmd-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.3);
|
|
font-style: italic;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
}
|
|
|
|
.panelinfo-select {
|
|
height: 30px;
|
|
padding: 0 12px;
|
|
font-size: 13px;
|
|
font-family: 'Inter', sans-serif;
|
|
background: rgba(40, 40, 40, 0.57);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
color: #ffffff;
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.panelinfo-memory-bar {
|
|
width: 120px !important;
|
|
height: 6px !important;
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
border-radius: 999px !important;
|
|
overflow: hidden !important;
|
|
margin: 0 0 0 15px !important;
|
|
flex-shrink: 0 !important;
|
|
display: inline-flex !important;
|
|
align-self: center !important;
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
|
|
.panelinfo-memory-bar .resource-usage-fill {
|
|
height: 100% !important;
|
|
border-radius: 999px !important;
|
|
transition: width 0.3s ease !important;
|
|
}
|
|
|
|
.panelinfo-usage-text {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
background: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.panelinfo-restart-warning {
|
|
width: 100%;
|
|
height: 33px;
|
|
background: rgba(255, 226, 64, 0.27);
|
|
border-radius: 6px;
|
|
border: none;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 18px;
|
|
gap: 10px;
|
|
box-sizing: border-box;
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.panelinfo-restart-warning .panelinfo-warning-icon {
|
|
width: 3px;
|
|
height: 14px;
|
|
object-fit: contain;
|
|
display: block;
|
|
flex-shrink: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.panelinfo-restart-warning .panelinfo-warning-text {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 400 !important;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.panelinfo-save-btn,
|
|
.server-category-pane .panelinfo-action-btn,
|
|
.server-category-pane .panelinfo-save-btn,
|
|
.server-manage-header .panelinfo-action-btn {
|
|
height: 26px !important;
|
|
min-width: 44px;
|
|
padding: 0 16px !important;
|
|
border-radius: 4px !important;
|
|
background: rgba(83, 83, 83, 0.59) !important;
|
|
color: rgba(255, 255, 255, 0.72) !important;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
font-size: 12px !important;
|
|
font-weight: 400 !important;
|
|
border: none !important;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
outline: none !important;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.panelinfo-save-btn:hover:not(:disabled),
|
|
.server-category-pane .panelinfo-action-btn:hover:not(:disabled),
|
|
.server-category-pane .panelinfo-save-btn:hover:not(:disabled),
|
|
.server-manage-header .panelinfo-action-btn:hover:not(:disabled) {
|
|
background: rgba(83, 83, 83, 0.85) !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.panelinfo-save-btn:disabled,
|
|
.server-category-pane .panelinfo-action-btn:disabled,
|
|
.server-category-pane .panelinfo-save-btn:disabled,
|
|
.server-manage-header .panelinfo-action-btn:disabled {
|
|
opacity: 0.5 !important;
|
|
cursor: not-allowed !important;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.server-manage-layout {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.server-manage-categories {
|
|
width: 100%;
|
|
flex-direction: row;
|
|
overflow-x: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.server-category-btn {
|
|
white-space: nowrap;
|
|
padding: 8px 12px;
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
.glass-card {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
margin-bottom: 24px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.glass-card:hover {
|
|
background: rgba(255, 255, 255, 0.10);
|
|
}
|
|
|
|
|
|
.color-picker-row {
|
|
display: grid;
|
|
grid-template-columns: 48px 1fr auto;
|
|
align-items: center;
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-row .glass-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.btn-glass,
|
|
.glass-input {
|
|
height: 48px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
|
|
.glass-card-inner {
|
|
padding: 0;
|
|
}
|
|
|
|
.glass-card-header {
|
|
display: grid;
|
|
grid-template-columns: 48px 1fr;
|
|
grid-template-rows: auto auto;
|
|
gap: 2px 16px;
|
|
align-items: center;
|
|
padding: 24px 32px;
|
|
}
|
|
|
|
.glass-card-title {
|
|
display: contents;
|
|
}
|
|
|
|
.background-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.background-title i {
|
|
color: var(--accent);
|
|
font-size: 28px;
|
|
width: 48px;
|
|
height: 48px;
|
|
min-width: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(124, 58, 237, 0.12);
|
|
border-radius: 14px;
|
|
align-self: center;
|
|
}
|
|
|
|
.background-title span {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
letter-spacing: -0.02em;
|
|
align-self: center;
|
|
}
|
|
|
|
.glass-card-title i {
|
|
grid-row: 1 / -1;
|
|
color: var(--accent);
|
|
font-size: 28px;
|
|
width: 48px;
|
|
height: 48px;
|
|
min-width: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(124, 58, 237, 0.12);
|
|
border-radius: 14px;
|
|
align-self: center;
|
|
}
|
|
|
|
.glass-card-title span {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
letter-spacing: -0.02em;
|
|
align-self: center;
|
|
}
|
|
|
|
.glass-card-header:has(.glass-card-subtitle) .glass-card-title span {
|
|
align-self: end;
|
|
}
|
|
|
|
.glass-card-subtitle {
|
|
grid-column: 2;
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-weight: 500;
|
|
margin: 0;
|
|
align-self: start;
|
|
}
|
|
|
|
.bg-section-grid {
|
|
display: grid;
|
|
grid-template-columns: 360px 1fr;
|
|
gap: 48px;
|
|
padding: 0 32px 32px 32px;
|
|
}
|
|
|
|
.bg-preview-wrapper {
|
|
min-width: 0;
|
|
}
|
|
|
|
#bgPreview {
|
|
height: 200px;
|
|
width: 100%;
|
|
border-radius: 16px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.bg-controls-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.control-group label {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.color-picker-row {
|
|
display: grid;
|
|
grid-template-columns: 140px 1fr auto;
|
|
align-items: center;
|
|
gap: 16px;
|
|
position: relative;
|
|
}
|
|
|
|
.upload-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-row input[type="file"] {
|
|
display: none;
|
|
}
|
|
|
|
.glass-input {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: none;
|
|
color: #fff;
|
|
padding: 14px 20px;
|
|
border-radius: 12px;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
outline: none;
|
|
width: 100%;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.glass-input:focus {
|
|
background: rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.btn-glass {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: none;
|
|
color: #fff;
|
|
padding: 0 24px;
|
|
border-radius: 12px;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
box-shadow: none;
|
|
height: 48px;
|
|
box-sizing: border-box;
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-glass:hover {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.btn-glass:active {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.btn-upload {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: none;
|
|
color: #fff;
|
|
padding: 0 20px;
|
|
border-radius: 12px;
|
|
font-family: inherit;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
line-height: 48px;
|
|
height: 48px;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
box-shadow: none;
|
|
outline: none;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.btn-upload:hover {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.btn-upload:active {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.color-dot {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
justify-self: start;
|
|
flex-shrink: 0;
|
|
box-shadow:
|
|
inset 0 0 0 2px rgba(0, 0, 0, 0.2),
|
|
0 0 0 2px rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.color-dot:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
#colorPicker {
|
|
width: 48px;
|
|
height: 48px;
|
|
opacity: 0;
|
|
position: absolute;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.color-picker-wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 48px;
|
|
}
|
|
|
|
|
|
|
|
.upload-row .glass-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.thumbs-section {
|
|
padding: 0 32px 32px 32px;
|
|
}
|
|
|
|
.thumbs-title {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.thumbs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.thumb {
|
|
height: 70px;
|
|
width: 100px;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
opacity: 0.5;
|
|
filter: grayscale(40%);
|
|
}
|
|
|
|
.thumb:hover {
|
|
opacity: 0.8;
|
|
transform: scale(1.05);
|
|
filter: grayscale(0%);
|
|
}
|
|
|
|
.thumb.selected {
|
|
opacity: 1;
|
|
transform: scale(1.1);
|
|
filter: grayscale(0%);
|
|
box-shadow: none;
|
|
outline: none;
|
|
position: relative;
|
|
}
|
|
|
|
.thumb.selected::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.note {
|
|
padding: 0 32px 24px 32px;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
font-style: italic;
|
|
margin-top: -10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.saved-bg-value {
|
|
padding: 24px 32px;
|
|
font-family: monospace;
|
|
color: #a5b4fc;
|
|
font-size: 14px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
margin: 0 32px 32px 32px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.bg-section-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 32px;
|
|
}
|
|
}
|
|
|
|
.glass-card {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.glass-card:hover {
|
|
background: rgba(255, 255, 255, 0.10);
|
|
}
|
|
|
|
.glass-card-title {
|
|
display: contents;
|
|
}
|
|
|
|
.glass-card-title i {
|
|
grid-row: 1 / -1;
|
|
font-size: 28px;
|
|
width: 48px;
|
|
height: 48px;
|
|
min-width: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(124, 58, 237, 0.12);
|
|
border-radius: 14px;
|
|
align-self: center;
|
|
}
|
|
|
|
.glass-card-title span {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
letter-spacing: -0.02em;
|
|
align-self: center;
|
|
}
|
|
|
|
.glass-card-header:has(.glass-card-subtitle) .glass-card-title span {
|
|
align-self: end;
|
|
}
|
|
|
|
.bg-controls-wrapper {
|
|
width: 100%;
|
|
}
|
|
|
|
.control-group {
|
|
width: 100%;
|
|
}
|
|
|
|
.color-picker-row {
|
|
display: grid;
|
|
grid-template-columns: 48px 1fr auto;
|
|
align-items: center;
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
.color-dot {
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
box-shadow:
|
|
inset 0 0 0 2px rgba(0, 0, 0, 0.2),
|
|
0 0 0 2px rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.color-dot:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.upload-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-row .glass-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
#hexInput,
|
|
#urlInput {
|
|
text-align: center;
|
|
font-weight: 600;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.btn-glass,
|
|
.glass-input {
|
|
height: 48px;
|
|
box-sizing: border-box;
|
|
}
|
|
.alert-enterprise-modal {
|
|
width: 620px;
|
|
}
|
|
|
|
.alert-schedule-grid input[type="datetime-local"] {
|
|
padding-right: 44px;
|
|
}
|
|
|
|
.enterprise-field-tooltip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-left: 6px;
|
|
cursor: help;
|
|
position: relative;
|
|
}
|
|
|
|
.enterprise-field-tooltip i {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.enterprise-field-tooltip:hover i {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.enterprise-field-tooltip-card {
|
|
display: none;
|
|
position: fixed;
|
|
bottom: auto;
|
|
left: auto;
|
|
transform: none;
|
|
background: rgba(30, 30, 40, 0.98);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 12px;
|
|
padding: 12px 16px;
|
|
min-width: 220px;
|
|
max-width: 280px;
|
|
z-index: 100000;
|
|
backdrop-filter: blur(20px);
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
|
|
pointer-events: none;
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.enterprise-field-tooltip-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
border: 7px solid transparent;
|
|
border-top-color: rgba(30, 30, 40, 0.98);
|
|
}
|
|
|
|
.enterprise-field-tooltip:hover .enterprise-field-tooltip-card {
|
|
display: block;
|
|
}
|
|
|
|
.enterprise-field-tooltip-card p {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Sidebar SVG Sprite Icon Styling */
|
|
.sidebar button svg,
|
|
.sidebar button .sidebar-icon-container svg,
|
|
.sidebar-toggle-btn svg,
|
|
.picture-icon-box svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
color: #ffffff !important;
|
|
fill: #ffffff !important;
|
|
transition: transform 0.2s ease, filter 0.2s ease;
|
|
}
|
|
|
|
.sidebar button:hover svg,
|
|
.sidebar button.active svg,
|
|
.sidebar button:hover .sidebar-icon-container svg,
|
|
.sidebar button.active .sidebar-icon-container svg {
|
|
color: #ffffff !important;
|
|
fill: #ffffff !important;
|
|
filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
|
|
}
|