14412 lines
279 KiB
CSS
14412 lines
279 KiB
CSS
:root {
|
|
--ui-bg: url("/images/liquidor.avif");
|
|
}
|
|
|
|
.ptero-flash-bar {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
z-index: 100000;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
border-radius: 20px 20px 0 0;
|
|
}
|
|
|
|
.ptero-flash-bar .ptero-flash-fill {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 0%;
|
|
background: linear-gradient(90deg, #60a5fa, #818cf8, #60a5fa);
|
|
background-size: 200% 100%;
|
|
border-radius: 0 2px 2px 0;
|
|
transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
|
|
animation: pteroShimmer 1.5s linear infinite;
|
|
opacity: 1;
|
|
}
|
|
|
|
.ptero-flash-bar .ptero-flash-fill.complete {
|
|
width: 100% !important;
|
|
opacity: 0;
|
|
transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease 0.2s;
|
|
}
|
|
|
|
@keyframes pteroShimmer {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: -200% 0; }
|
|
}
|
|
|
|
.entry-actions {
|
|
position: relative;
|
|
}
|
|
|
|
.more-btn {
|
|
position: relative;
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
padding: 6px;
|
|
border-radius: 8px;
|
|
align-self: flex-end;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.more-btn:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.more-menu {
|
|
position: absolute;
|
|
left: -150px;
|
|
top: 28px;
|
|
background: rgba(18, 22, 30, 0.85);
|
|
backdrop-filter: blur(30px) saturate(160%);
|
|
-webkit-backdrop-filter: blur(30px) saturate(160%);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
z-index: 9999;
|
|
min-width: 160px;
|
|
display: none;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.more-menu.show {
|
|
display: block;
|
|
}
|
|
|
|
.more-menu button {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
background: transparent;
|
|
border: 0;
|
|
color: #c8d1da;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.more-menu button:hover {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
color: #fff;
|
|
}
|
|
|
|
.progress-wheel {
|
|
width: 22px;
|
|
height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
transition: transform .12s ease;
|
|
}
|
|
|
|
.progress-wheel svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
overflow: visible;
|
|
}
|
|
|
|
.progress-wheel .ring-track,
|
|
.progress-wheel .ring-progress {
|
|
fill: none;
|
|
stroke-width: 3;
|
|
transform: rotate(-90deg);
|
|
transform-origin: 50% 50%;
|
|
}
|
|
|
|
.progress-wheel .ring-track {
|
|
stroke: rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.progress-wheel .ring-progress {
|
|
stroke: #ffffff;
|
|
stroke-linecap: round;
|
|
transition: stroke-dasharray 140ms linear;
|
|
}
|
|
|
|
.progress-wheel:hover {
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.progress-wheel.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.progress-popup {
|
|
position: fixed;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background: rgba(12, 14, 20, 0.88);
|
|
color: #fff;
|
|
border-radius: 16px;
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
padding: 16px 18px;
|
|
z-index: 100000;
|
|
min-width: 300px;
|
|
max-width: min(520px, calc(100vw - 32px));
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
|
|
display: none;
|
|
backdrop-filter: blur(60px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(60px) saturate(150%);
|
|
}
|
|
|
|
.progress-popup .row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.progress-popup .percent {
|
|
font-weight: 700;
|
|
font-size: 20px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.progress-popup .close-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: #9aa3ad;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.progress-popup .progress-bar {
|
|
margin-top: 12px;
|
|
width: 100%;
|
|
height: 12px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-popup .progress-bar .bar {
|
|
height: 100%;
|
|
width: 0%;
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(220, 220, 220, 0.85));
|
|
transition: width 120ms linear;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) inset;
|
|
}
|
|
|
|
.progress-popup .meta {
|
|
margin-top: 10px;
|
|
font-size: 12px;
|
|
color: #9aa3ad;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.progress-file-list {
|
|
display: none;
|
|
margin-top: 12px;
|
|
max-height: min(260px, 42vh);
|
|
overflow: auto;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.progress-file-list.visible {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.progress-file-item {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 6px 10px;
|
|
align-items: center;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.055);
|
|
border: 1px solid rgba(255, 255, 255, 0.075);
|
|
}
|
|
|
|
.progress-file-name {
|
|
min-max-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
color: #eef3f8;
|
|
}
|
|
|
|
.progress-file-percent {
|
|
font-size: 12px;
|
|
color: #c8d0d8;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.progress-file-track {
|
|
grid-column: 1 / -1;
|
|
height: 5px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.progress-file-fill {
|
|
width: 0%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
transition: width 120ms linear;
|
|
}
|
|
|
|
#dropOverlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 99990;
|
|
pointer-events: none;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
backdrop-filter: blur(18px) saturate(140%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(140%);
|
|
transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1);
|
|
opacity: 0;
|
|
}
|
|
|
|
#dropOverlay.visible {
|
|
display: flex;
|
|
pointer-events: auto;
|
|
opacity: 1;
|
|
animation: dropFadeIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
|
|
}
|
|
|
|
@keyframes dropFadeIn {
|
|
from { opacity: 0; transform: scale(0.98); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
#dropOverlay .inner {
|
|
background: transparent;
|
|
border: 2px dashed rgba(96, 165, 250, 0.35);
|
|
padding: 48px 56px;
|
|
border-radius: 20px;
|
|
text-align: center;
|
|
color: #e6eef8;
|
|
position: relative;
|
|
transition: border-color 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
#dropOverlay.visible .inner {
|
|
animation: dropPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes dropPulse {
|
|
0%, 100% { border-color: rgba(96, 165, 250, 0.35); transform: scale(1); }
|
|
50% { border-color: rgba(96, 165, 250, 0.55); transform: scale(1.005); }
|
|
}
|
|
|
|
#dropOverlay .inner h3 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
color: #f0f4f8;
|
|
}
|
|
|
|
#dropOverlay .inner p {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-weight: 400;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
margin: 6px 0;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background-color: #212121;
|
|
border-radius: 999px;
|
|
border: 2px solid transparent;
|
|
background-clip: padding-box;
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background-color: #2a2a2a;
|
|
}
|
|
|
|
*::-webkit-scrollbar-corner {
|
|
background: transparent;
|
|
}
|
|
|
|
#console,
|
|
#entries,
|
|
.modal-body,
|
|
.modal-left,
|
|
.modal-right,
|
|
.code-area,
|
|
textarea,
|
|
.modal {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #212121 transparent;
|
|
}
|
|
|
|
#console {
|
|
height: 375px;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
background: #0b0f19;
|
|
white-space: pre-wrap;
|
|
position: relative;
|
|
width: 1100px;
|
|
font-family: 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: #d4d4d4;
|
|
word-break: break-word;
|
|
}
|
|
|
|
#consoleContent {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
.console-link {
|
|
color: #d4d4d4;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: color 0.15s ease, text-decoration 0.15s ease;
|
|
}
|
|
|
|
.console-link:hover {
|
|
color: #ffffff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.adaemon-tag,
|
|
.sent-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #404040;
|
|
border-radius: 4px;
|
|
padding: 0 9px;
|
|
height: 18px;
|
|
min-width: 68px;
|
|
box-sizing: border-box;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 11px;
|
|
line-height: 14px;
|
|
color: rgba(255, 255, 255, 0.65);
|
|
margin-right: 9px;
|
|
vertical-align: middle;
|
|
user-select: none;
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
letter-spacing: 0.2px;
|
|
}
|
|
|
|
.adaemon-msg,
|
|
.sent-cmd {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
color: #ffffff;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#filesModal .modal {
|
|
position: relative;
|
|
width: 90vw;
|
|
max-width: none;
|
|
height: 90vh;
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgba(12, 14, 20, 0.82);
|
|
backdrop-filter: blur(60px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(60px) saturate(150%);
|
|
color: var(--text);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 20px;
|
|
box-shadow:
|
|
0 0 0 0.5px rgba(255, 255, 255, 0.06),
|
|
0 24px 80px rgba(0, 0, 0, 0.35);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#filesModal .modal-body {
|
|
flex: 1;
|
|
overflow-y: auto !important;
|
|
overflow-x: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#filesModal .modal-left {
|
|
flex: 1;
|
|
min-height: 0 !important;
|
|
padding-bottom: 20px !important;
|
|
}
|
|
|
|
#filesModal .modal-right {
|
|
display: none;
|
|
}
|
|
|
|
#entries::after {
|
|
content: "";
|
|
height: -10px;
|
|
width: 100%;
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
#fileUploadModal {
|
|
display: none;
|
|
}
|
|
|
|
.file-toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 12px 0;
|
|
border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.file-toolbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.file-toolbar-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.select-all-control {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: rgba(96, 165, 250, 0.06);
|
|
border: 0.5px solid rgba(96, 165, 250, 0.2);
|
|
padding: 6px 10px;
|
|
border-radius: 10px;
|
|
color: #dbeafe;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: all 0.15s ease;
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.select-all-control:hover {
|
|
background: rgba(96, 165, 250, 0.1);
|
|
border-color: rgba(96, 165, 250, 0.3);
|
|
}
|
|
|
|
.select-all-control input {
|
|
display: none;
|
|
}
|
|
|
|
.select-all-checkbox {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #0b0f14;
|
|
font-size: 12px;
|
|
transition: all .12s ease;
|
|
}
|
|
|
|
.select-all-control input:checked+.select-all-checkbox {
|
|
background: linear-gradient(135deg, #38bdf8, #2563eb);
|
|
border-color: rgba(37, 99, 235, 0.65);
|
|
color: #e0f2fe;
|
|
box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
|
|
}
|
|
|
|
.select-all-label {
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: #bfdbfe;
|
|
}
|
|
|
|
.bulk-delete {
|
|
display: none;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: none;
|
|
outline: none;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #fecaca;
|
|
border-radius: 10px;
|
|
padding: 9px 14px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
border: 0.5px solid rgba(248, 113, 113, 0.2);
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.bulk-delete.show {
|
|
border: none;
|
|
outline: none;
|
|
display: flex;
|
|
}
|
|
|
|
.bulk-delete:hover {
|
|
border: none;
|
|
outline: none;
|
|
transform: none;
|
|
}
|
|
|
|
.bulk-delete i {
|
|
color: #fecdd3;
|
|
}
|
|
|
|
.bulk-archive {
|
|
display: none;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: none;
|
|
outline: none;
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: #bfdbfe;
|
|
border-radius: 10px;
|
|
padding: 9px 14px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
border: 0.5px solid rgba(96, 165, 250, 0.2);
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.bulk-archive.show {
|
|
border: none;
|
|
outline: none;
|
|
display: flex;
|
|
}
|
|
|
|
.bulk-archive:hover {
|
|
border: none;
|
|
outline: none;
|
|
transform: none;
|
|
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(96, 165, 250, 0.35);
|
|
}
|
|
|
|
.bulk-archive i {
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.file-toolbar-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 10px;
|
|
background: rgba(96, 165, 250, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
color: #60a5fa;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.file-toolbar-title {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.2em;
|
|
}
|
|
|
|
#storePrefModal .modal {
|
|
width: min(980px, calc(100vw - 48px));
|
|
max-height: min(680px, calc(100dvh - 48px));
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.store-pref-body {
|
|
padding: 20px 20px 22px 20px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.store-pref-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.store-pref-card {
|
|
min-height: 178px;
|
|
padding: 18px;
|
|
border: 0;
|
|
border-radius: 12px;
|
|
background:
|
|
radial-gradient(380px 200px at 20% -15%, rgba(255, 255, 255, 0.08), transparent 70%),
|
|
linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
|
|
box-shadow: none;
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
gap: 14px;
|
|
cursor: pointer;
|
|
transition: transform .16s ease, background .16s ease;
|
|
text-align: left;
|
|
color: var(--text);
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.store-pref-card .store-pref-media,
|
|
.store-pref-card .store-pref-copy,
|
|
.store-pref-card .store-pref-foot {
|
|
transition: transform .16s ease;
|
|
}
|
|
|
|
.store-pref-card:hover {
|
|
transform: scale(1.03);
|
|
background:
|
|
radial-gradient(420px 220px at 20% -15%, rgba(255, 255, 255, 0.12), transparent 70%),
|
|
linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
|
|
}
|
|
|
|
.store-pref-card:hover .store-pref-media,
|
|
.store-pref-card:hover .store-pref-copy,
|
|
.store-pref-card:hover .store-pref-foot {
|
|
transform: scale(0.970874);
|
|
}
|
|
|
|
.store-pref-media {
|
|
width: 100%;
|
|
height: 74px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.075);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.store-pref-logo {
|
|
width: min(86%, 180px);
|
|
height: 58px;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.store-pref-card[data-store-pref="fivem"] .store-pref-media {
|
|
background:
|
|
linear-gradient(135deg, rgba(246, 84, 64, 0.18), rgba(255, 255, 255, 0.07)),
|
|
rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.store-pref-card[data-store-pref="fivem"] .store-pref-logo {
|
|
width: min(96%, 210px);
|
|
height: 66px;
|
|
}
|
|
|
|
.store-pref-copy {
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.store-pref-title {
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
color: #edf4ff;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.store-pref-desc {
|
|
color: #a8b2bf;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.store-pref-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
color: #cbd5e1;
|
|
font-size: 13px;
|
|
}
|
|
|
|
#breadcrumbs {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
#breadcrumbs a {
|
|
color: #60a5fa;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.file-toolbar-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.file-action-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.file-selection-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
#filesModal .modal,
|
|
#filesModal .modal-body,
|
|
#filesModal .modal-left {
|
|
min-height: 0 !important;
|
|
}
|
|
|
|
.ghost-btn {
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #e6eef8;
|
|
border-radius: 10px;
|
|
padding: 9px 15px;
|
|
font-size: 13px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.ghost-btn i {
|
|
font-size: 13px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.ghost-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.ghost-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.file-glance {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 12px;
|
|
margin: 18px 0;
|
|
}
|
|
|
|
.glance-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px 16px;
|
|
height: 50px;
|
|
width: 450px;
|
|
margin-top: -95px;
|
|
margin-left: 880px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.glance-card:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.glance-card .icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
color: #10b981;
|
|
background: rgba(16, 185, 129, 0.12);
|
|
}
|
|
|
|
.glance-card:nth-child(2) .icon {
|
|
color: #60a5fa;
|
|
background: rgba(96, 165, 250, 0.12);
|
|
}
|
|
|
|
.glance-card:nth-child(3) .icon {
|
|
color: #f97316;
|
|
background: rgba(249, 115, 22, 0.12);
|
|
}
|
|
|
|
.glance-label {
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: #9aa3ad;
|
|
}
|
|
|
|
.glance-desc {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
#entries {
|
|
flex: 1;
|
|
overflow: visible !important;
|
|
padding: 4px 0 10px;
|
|
display: grid;
|
|
box-sizing: border-box;
|
|
width: 1400px !important;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 16px;
|
|
scroll-padding-bottom: 40px;
|
|
list-style: none;
|
|
margin: 0;
|
|
align-content: start;
|
|
}
|
|
|
|
.entry {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 14px 16px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.entry.selected .entry-left {
|
|
animation: none;
|
|
transform: none;
|
|
}
|
|
|
|
.entry.selectable .entry-left {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.entry.selectable .entry-left:active {
|
|
transform: none;
|
|
}
|
|
|
|
@keyframes ios-tremble {
|
|
0% {
|
|
transform: rotate(-1.2deg) translate3d(-0.5px, 0, 0);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(1.2deg) translate3d(0.5px, 0, 0);
|
|
}
|
|
}
|
|
|
|
.entry:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
transform: scale(1.05);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.entry-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.entry-text-wrap {
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.entry-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(96, 165, 250, 0.1);
|
|
color: #60a5fa;
|
|
font-size: 18px;
|
|
transition: background 0.15s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.entry:hover .entry-icon {
|
|
background: rgba(96, 165, 250, 0.16);
|
|
transform: scale(1.04);
|
|
}
|
|
|
|
.entry-icon.folder {
|
|
background: rgba(250, 204, 21, 0.1);
|
|
color: #facc15;
|
|
}
|
|
|
|
.entry:hover .entry-icon.folder {
|
|
background: rgba(250, 204, 21, 0.16);
|
|
}
|
|
|
|
.entry-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
letter-spacing: -0.01em;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.entry.renaming {
|
|
border-color: rgba(96, 165, 250, 0.3);
|
|
background: rgba(96, 165, 250, 0.08);
|
|
}
|
|
|
|
.entry-rename-inline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.entry-rename-input {
|
|
width: 100%;
|
|
min-max-width: 150px;
|
|
max-width: 320px;
|
|
height: 30px;
|
|
border-radius: 8px;
|
|
border: 0.5px solid rgba(255, 255, 255, 0.2);
|
|
background: rgba(9, 12, 18, 0.86);
|
|
color: #f8fafc;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
padding: 0 10px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.entry-rename-input:focus {
|
|
outline: none;
|
|
border-color: rgba(96, 165, 250, 0.8);
|
|
box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
|
|
}
|
|
|
|
.entry-rename-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.entry-rename-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 0.5px solid rgba(255, 255, 255, 0.14);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #e6eef8;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.entry-rename-btn:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.entry-rename-btn.save {
|
|
color: #22c55e;
|
|
}
|
|
|
|
.entry-rename-btn.cancel {
|
|
color: #fb7185;
|
|
}
|
|
|
|
.entry-rename-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: default;
|
|
transform: none;
|
|
}
|
|
|
|
.entry-meta {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
margin-top: 2px;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.entry-arrow {
|
|
color: #9aa3ad;
|
|
font-size: 14px;
|
|
opacity: 0;
|
|
transition: opacity .12s ease, transform .12s ease;
|
|
}
|
|
|
|
.entry:hover .entry-arrow {
|
|
opacity: 1;
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.entry-actions {
|
|
justify-self: end;
|
|
}
|
|
|
|
.entry-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* File created/modified date shown just before the 3-dots menu. */
|
|
.entry-date {
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
color: #3B3B3B;
|
|
white-space: nowrap;
|
|
letter-spacing: 0.02em;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
#editorModal .modal {
|
|
width: 98vw;
|
|
max-width: 100vw;
|
|
max-height: 93vh;
|
|
min-height: 93vh !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgba(12, 14, 20, 0.88);
|
|
backdrop-filter: blur(60px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(60px) saturate(150%);
|
|
color: var(--text);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
box-shadow:
|
|
0 0 0 0.5px rgba(255, 255, 255, 0.06),
|
|
0 24px 80px rgba(0, 0, 0, 0.35);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#editorModal .editor-header {
|
|
padding: 14px 18px;
|
|
border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#editorModal .editor-title {
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
color: #f0f4f8;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
#bigEditor {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.code-shell {
|
|
width: 100%;
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
align-items: stretch;
|
|
background: #1e1e1e;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
|
|
overflow: hidden;
|
|
position: relative;
|
|
isolation: isolate;
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
/* ============ Mini File Manager (inside Monaco editor) ============ */
|
|
.code-shell-editor {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.mini-fm {
|
|
flex: 0 0 auto;
|
|
width: 280px;
|
|
max-width: 60%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
background: rgba(20, 23, 30, 0.96);
|
|
border-left: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: -8px 0 30px rgba(0, 0, 0, 0.28);
|
|
transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
|
|
opacity 0.2s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
|
|
overflow: hidden;
|
|
resize: horizontal;
|
|
}
|
|
|
|
.code-shell.mini-fm-collapsed .mini-fm {
|
|
width: 0 !important;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translateX(12px);
|
|
border-left-color: transparent;
|
|
}
|
|
|
|
.mini-fm-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(255, 255, 255, 0.02);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mini-fm-header-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mini-fm-header-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
background: rgba(80, 140, 255, 0.14);
|
|
color: #6ea8ff;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.mini-fm-header-text {
|
|
min-width: 0;
|
|
}
|
|
|
|
.mini-fm-title {
|
|
font-weight: 700;
|
|
font-size: 12px;
|
|
letter-spacing: 0.02em;
|
|
color: #eef2f7;
|
|
}
|
|
|
|
.mini-fm-breadcrumbs {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 170px;
|
|
}
|
|
|
|
.mini-fm-breadcrumbs .file-crumb {
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mini-fm-breadcrumbs .file-crumb:hover {
|
|
color: #6ea8ff;
|
|
}
|
|
|
|
.mini-fm-breadcrumbs .file-crumb-separator {
|
|
color: rgba(255, 255, 255, 0.25);
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.mini-fm-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mini-fm-icon-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
|
|
}
|
|
|
|
.mini-fm-icon-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #eef2f7;
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
}
|
|
|
|
.mini-fm-entries {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 6px;
|
|
overflow-y: auto;
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.mini-fm-entry {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 7px 9px;
|
|
border-radius: 9px;
|
|
cursor: pointer;
|
|
color: var(--text);
|
|
transition: background 0.15s ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.mini-fm-entry:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.mini-fm-entry.active {
|
|
background: rgba(80, 140, 255, 0.16);
|
|
}
|
|
|
|
.mini-fm-entry-icon {
|
|
width: 26px;
|
|
height: 26px;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 7px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #9aa4b2;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mini-fm-entry-icon.folder {
|
|
background: rgba(255, 196, 84, 0.14);
|
|
color: #ffc454;
|
|
}
|
|
|
|
.mini-fm-entry-icon.up {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #9aa4b2;
|
|
}
|
|
|
|
.mini-fm-entry-text {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.mini-fm-entry-name {
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: #e6eaf0;
|
|
}
|
|
|
|
.mini-fm-entry-meta {
|
|
font-size: 10.5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.mini-fm-empty {
|
|
padding: 14px 10px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mini-fm-toggle {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 292px;
|
|
z-index: 6;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 9px;
|
|
border: none;
|
|
background: #383838;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
transition: background 0.18s ease, color 0.18s ease, right 0.28s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.mini-fm-toggle:hover {
|
|
background: #484848;
|
|
border: none;
|
|
color: #fff;
|
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
.mini-fm-toggle i {
|
|
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.code-shell.mini-fm-collapsed .mini-fm-toggle {
|
|
right: 12px;
|
|
}
|
|
|
|
.code-shell.mini-fm-collapsed .mini-fm-toggle i {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.mini-fm-close-editor {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 332px;
|
|
z-index: 6;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 9px;
|
|
border: none;
|
|
background: #383838;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
transition: background 0.18s ease, color 0.18s ease, right 0.28s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.mini-fm-close-editor:hover {
|
|
background: #484848;
|
|
border: none;
|
|
color: #ffffff;
|
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
.code-shell.mini-fm-collapsed .mini-fm-close-editor {
|
|
right: 52px;
|
|
}
|
|
|
|
/* ============ Image Viewer (file manager modal) ============ */
|
|
#imageViewerModal {
|
|
z-index: 10002;
|
|
}
|
|
|
|
#imageViewerModal .modal {
|
|
width: 98vw;
|
|
max-width: 100vw;
|
|
max-height: 93vh;
|
|
min-height: 93vh !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgba(12, 14, 20, 0.88);
|
|
backdrop-filter: blur(60px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(60px) saturate(150%);
|
|
color: var(--text);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
box-shadow:
|
|
0 0 0 0.5px rgba(255, 255, 255, 0.06),
|
|
0 24px 80px rgba(0, 0, 0, 0.35);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#imageViewerModal .editor-header {
|
|
padding: 14px 18px;
|
|
border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#imageViewerModal .editor-title {
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
color: #f0f4f8;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
#imageViewerModal #imageViewerPath {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 70vw;
|
|
}
|
|
|
|
#imageViewerBody {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.img-viewer-stage {
|
|
background: #15171c;
|
|
}
|
|
|
|
.img-viewer-canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
overflow: auto;
|
|
background:
|
|
repeating-conic-gradient(rgba(255, 255, 255, 0.018) 0% 25%, transparent 0% 50%) 50% / 26px 26px;
|
|
}
|
|
|
|
.img-viewer-canvas img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
width: auto;
|
|
height: auto;
|
|
object-fit: contain;
|
|
border-radius: 8px;
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
|
|
-webkit-user-drag: none;
|
|
user-drag: none;
|
|
display: none;
|
|
}
|
|
|
|
.img-viewer-canvas.has-image img {
|
|
display: block;
|
|
}
|
|
|
|
.img-viewer-spinner {
|
|
position: absolute;
|
|
color: var(--muted);
|
|
font-size: 22px;
|
|
display: none;
|
|
}
|
|
|
|
.img-viewer-canvas.loading .img-viewer-spinner {
|
|
display: block;
|
|
}
|
|
|
|
.img-viewer-error {
|
|
position: absolute;
|
|
display: none;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.img-viewer-error i {
|
|
font-size: 30px;
|
|
color: #ffbd2e;
|
|
}
|
|
|
|
.img-viewer-canvas.error .img-viewer-error {
|
|
display: flex;
|
|
}
|
|
|
|
.img-viewer-canvas.error .img-viewer-spinner,
|
|
.img-viewer-canvas.loading .img-viewer-error {
|
|
display: none;
|
|
}
|
|
|
|
/* Large-image confirmation screen */
|
|
.img-viewer-confirm {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
z-index: 4;
|
|
}
|
|
|
|
.img-viewer-confirm[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.img-viewer-confirm-box {
|
|
width: 100%;
|
|
max-width: 440px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 16px;
|
|
padding: 30px 28px;
|
|
background: rgba(20, 23, 30, 0.92);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
backdrop-filter: blur(30px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(30px) saturate(150%);
|
|
box-shadow:
|
|
0 0 0 0.5px rgba(255, 255, 255, 0.05),
|
|
0 24px 70px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.img-viewer-confirm-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 16px;
|
|
background: rgba(255, 189, 46, 0.14);
|
|
color: #ffbd2e;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.img-viewer-confirm-text {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 1.45;
|
|
color: #eef2f7;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.img-viewer-confirm-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.img-viewer-confirm-actions button {
|
|
min-width: 120px;
|
|
min-height: 40px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 18px;
|
|
font-size: 13.5px;
|
|
font-weight: 500;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: background-color 0.18s ease;
|
|
}
|
|
|
|
.img-viewer-confirm-actions button:hover {
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.img-viewer-continue {
|
|
background: #1668AB;
|
|
}
|
|
|
|
.img-viewer-continue:hover {
|
|
background: #1972BD;
|
|
}
|
|
|
|
.img-viewer-cancel {
|
|
background: #2E2E2E;
|
|
}
|
|
|
|
.img-viewer-cancel:hover {
|
|
background: #3D3C3C;
|
|
}
|
|
|
|
#monacoContainer {
|
|
background: #1e1e1e;
|
|
isolation: isolate;
|
|
}
|
|
|
|
#aceContainer {
|
|
background: #1e1e1e;
|
|
isolation: isolate;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-height: 0;
|
|
position: relative;
|
|
border-radius: 0;
|
|
overflow: hidden;
|
|
}
|
|
#aceContainer .ace_editor {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
|
|
font-size: 14px !important;
|
|
line-height: 1.6 !important;
|
|
background: #1e1e1e !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
#aceContainer .ace_gutter {
|
|
background: #1a1d23 !important;
|
|
color: #7c8494 !important;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
|
|
}
|
|
#aceContainer .ace_gutter-cell {
|
|
padding-left: 8px !important;
|
|
padding-right: 6px !important;
|
|
}
|
|
#aceContainer .ace_gutter-active-line {
|
|
background: rgba(255, 255, 255, 0.04) !important;
|
|
}
|
|
#aceContainer .ace_scroller {
|
|
background: #1e1e1e !important;
|
|
}
|
|
#aceContainer .ace_active-line {
|
|
background: rgba(255, 255, 255, 0.03) !important;
|
|
}
|
|
#aceContainer .ace_cursor {
|
|
color: #aeafad !important;
|
|
border-left: 2px solid #aeafad !important;
|
|
}
|
|
#aceContainer .ace_selection {
|
|
background: rgba(100, 150, 255, 0.18) !important;
|
|
}
|
|
#aceContainer .ace_bracket {
|
|
border: 1px solid rgba(255, 255, 255, 0.15) !important;
|
|
}
|
|
#aceContainer .ace_indent-guide {
|
|
border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
|
|
}
|
|
#aceContainer .ace_scrollbar::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
#aceContainer .ace_scrollbar::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 4px;
|
|
}
|
|
#aceContainer .ace_scrollbar::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
}
|
|
#aceContainer .ace_scrollbar::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.code-shell::-webkit-scrollbar {
|
|
max-width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.line-gutter {
|
|
flex: 0 0 64px;
|
|
width: 64px;
|
|
min-width: 64px;
|
|
margin-top: -4px;
|
|
background: #1a1d23;
|
|
color: #7c8494;
|
|
padding: var(--code-pad-top) 18px var(--code-pad-bottom) 12px;
|
|
text-align: right;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: var(--code-font-size);
|
|
line-height: var(--code-line-height);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.05);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.line-gutter::-webkit-scrollbar {
|
|
display: none;
|
|
max-width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.line-gutter div {
|
|
padding: 0;
|
|
line-height: var(--code-line-height);
|
|
height: auto;
|
|
}
|
|
|
|
.code-pane {
|
|
position: relative;
|
|
flex: 1;
|
|
overflow: auto;
|
|
min-height: 0;
|
|
height: 100%;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.code-pane::-webkit-scrollbar {
|
|
max-width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.code-overlay,
|
|
.code-input {
|
|
position: absolute;
|
|
inset: 0;
|
|
margin: 0;
|
|
padding: var(--code-pad-top) 22px var(--code-pad-bottom) 24px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: var(--code-font-size);
|
|
line-height: var(--code-line-height);
|
|
white-space: pre;
|
|
border: 0;
|
|
outline: none;
|
|
background: transparent;
|
|
height: auto;
|
|
min-height: 100%;
|
|
box-sizing: border-box;
|
|
tab-size: 2;
|
|
}
|
|
|
|
.code-overlay {
|
|
color: #e6eef8;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
margin: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
.code-overlay::after {
|
|
content: "";
|
|
display: block;
|
|
height: 0;
|
|
}
|
|
|
|
.code-overlay .line {
|
|
min-height: calc(var(--code-line-height) * 1em);
|
|
}
|
|
|
|
.code-input {
|
|
z-index: 2;
|
|
color: transparent;
|
|
caret-color: #e6eef8;
|
|
resize: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.code-spacer {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 0;
|
|
pointer-events: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
max-height: 60vh;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid #2d2d2d;
|
|
background: #1e1e1e;
|
|
color: #e6eef8;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: 14px;
|
|
resize: vertical;
|
|
outline: none;
|
|
}
|
|
|
|
#textArea:focus {
|
|
outline: none;
|
|
box-shadow: none;
|
|
border-color: transparent;
|
|
}
|
|
|
|
.code-overlay {
|
|
color: #d4d4d4;
|
|
}
|
|
|
|
.code-overlay [data-token="kw"],
|
|
.code-overlay [data-token="kw2"] {
|
|
color: #c586c0;
|
|
}
|
|
|
|
.code-overlay [data-token="str"] {
|
|
color: #ce9178;
|
|
}
|
|
|
|
.code-overlay [data-token="num"] {
|
|
color: #b5cea8;
|
|
}
|
|
|
|
.code-overlay [data-token="com"] {
|
|
color: #6a9955;
|
|
font-style: italic;
|
|
}
|
|
|
|
.code-overlay [data-token="fn"],
|
|
.code-overlay [data-token="call"] {
|
|
color: #dcdcaa;
|
|
}
|
|
|
|
.code-overlay [data-token="cls"],
|
|
.code-overlay [data-token="type"] {
|
|
color: #4ec9b0;
|
|
}
|
|
|
|
.code-overlay [data-token="prop"] {
|
|
color: #9cdcfe;
|
|
}
|
|
|
|
.code-overlay [data-token="tag"] {
|
|
color: #569cd6;
|
|
}
|
|
|
|
.code-overlay [data-token="attr"] {
|
|
color: #dcdcaa;
|
|
}
|
|
|
|
.code-overlay [data-token="const"] {
|
|
color: #4fc1ff;
|
|
}
|
|
|
|
.code-overlay [data-token="bool"] {
|
|
color: #569cd6;
|
|
}
|
|
|
|
.dock-wrap {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 18px;
|
|
transform: translateX(-50%);
|
|
z-index: 99999;
|
|
width: max-content;
|
|
max-width: calc(100vw - 36px);
|
|
display: flex;
|
|
justify-content: center;
|
|
backdrop-filter: blur(15px) saturate(150%) !important;
|
|
-webkit-backdrop-filter: blur(15px) saturate(150%) !important;
|
|
background: transparent !important;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
@media (max-height: 300px) {
|
|
.dock-wrap,
|
|
.dock-wrap *,
|
|
.dock,
|
|
.dock *,
|
|
.dock-item,
|
|
.dock-item * {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
}
|
|
|
|
.dock {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
padding: 10px 18px;
|
|
border-radius: 16px;
|
|
width: auto;
|
|
max-width: 100%;
|
|
border: none;
|
|
box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
|
|
backdrop-filter: blur(15px) saturate(150%) !important;
|
|
-webkit-backdrop-filter: blur(15px) saturate(150%) !important;
|
|
background: transparent !important;
|
|
align-items: center;
|
|
}
|
|
|
|
.dock-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
color: #d1d8de;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.dock-item .label {
|
|
font-size: 11px;
|
|
color: #c3cad2;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.dock-item:hover {
|
|
transform: translateY(-3px);
|
|
transition: transform .12s;
|
|
}
|
|
|
|
.dock-item .icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
|
|
background: linear-gradient(145deg,
|
|
rgba(255, 255, 255, 0.22) 0%,
|
|
rgba(255, 255, 255, 0.1) 50%,
|
|
rgba(255, 255, 255, 0.14) 100%);
|
|
backdrop-filter: blur(40px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(40px) saturate(180%);
|
|
}
|
|
|
|
.dock-item .icon>* {
|
|
filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
|
|
}
|
|
|
|
.dock-item .icon::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 12px;
|
|
padding: 1px;
|
|
background: linear-gradient(145deg,
|
|
rgba(255, 255, 255, 0.5) 0%,
|
|
rgba(255, 255, 255, 0.12) 40%,
|
|
rgba(255, 255, 255, 0.18) 100%);
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.dock-item .icon::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 10%;
|
|
right: 10%;
|
|
height: 40%;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
|
|
border-radius: 12px 12px 50% 50%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dock-item .icon i {
|
|
font-size: 18px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
position: relative;
|
|
z-index: 1;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.dock-item:hover .icon {
|
|
background: linear-gradient(145deg,
|
|
rgba(255, 255, 255, 0.3) 0%,
|
|
rgba(255, 255, 255, 0.14) 50%,
|
|
rgba(255, 255, 255, 0.18) 100%);
|
|
transform: scale(1.06);
|
|
}
|
|
|
|
.dock-item:hover .icon i {
|
|
color: rgba(255, 255, 255, 1);
|
|
}
|
|
|
|
.dock-item:active .icon {
|
|
transform: scale(0.95);
|
|
background: linear-gradient(145deg,
|
|
rgba(255, 255, 255, 0.35) 0%,
|
|
rgba(255, 255, 255, 0.18) 50%,
|
|
rgba(255, 255, 255, 0.22) 100%);
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.info-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
background: #0e1116;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.info-key {
|
|
color: #9aa3ad;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.info-val {
|
|
color: #e6eef8;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.addr-wrap {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.addr-input {
|
|
flex: 1;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
background: #0b0f14;
|
|
color: #e6eef8;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
outline: none;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
}
|
|
|
|
.copy-btn {
|
|
background: #10b981;
|
|
color: #041015;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
padding: 10px 14px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: 0 6px 18px rgba(16, 185, 129, .25);
|
|
}
|
|
|
|
.copy-btn:hover {
|
|
filter: brightness(1.06);
|
|
}
|
|
|
|
.modal .hint {
|
|
font-size: 12px;
|
|
color: #9aa3ad;
|
|
}
|
|
|
|
.disabled {
|
|
opacity: .5;
|
|
pointer-events: none;
|
|
filter: saturate(.3);
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
#storeModal .modal {
|
|
width: 90vw;
|
|
max-width: 1200px;
|
|
height: 90vh;
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(1000px 600px at 120% -10%, rgba(96, 165, 250, 0.08), transparent 60%),
|
|
radial-gradient(900px 500px at -10% 120%, rgba(16, 185, 129, 0.10), transparent 60%),
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
|
|
backdrop-filter: blur(10px) saturate(150%);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 18px;
|
|
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.store-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 18px 18px 12px 18px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
position: relative;
|
|
}
|
|
|
|
.store-header:after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 18px;
|
|
right: 18px;
|
|
bottom: -1px;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
|
|
opacity: .3;
|
|
}
|
|
|
|
.store-header-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.store-subtitle {
|
|
color: #b8c3cf;
|
|
font-size: 12.5px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.store-header-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.store-tabs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
padding: 6px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.store-tab {
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: transparent;
|
|
color: #e5edf7;
|
|
font-size: 13px;
|
|
padding: 8px 14px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: background-color .15s ease, border-color .15s ease, color .15s ease;
|
|
transform-origin: center;
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
.store-tab.active {
|
|
background: #ffffff;
|
|
color: #0b0f14;
|
|
border-color: #ffffff;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.store-tab:hover {
|
|
background-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.store-tab.active:hover {
|
|
background: #ffffff;
|
|
color: #0b0f14;
|
|
}
|
|
|
|
.store-close {
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.store-body {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#storeContent {
|
|
flex: 1;
|
|
margin-top: 8px;
|
|
overflow: auto;
|
|
padding: 12px 14px 14px 14px;
|
|
}
|
|
|
|
.store-content-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
gap: 14px;
|
|
align-content: flex-start;
|
|
}
|
|
|
|
.store-provider-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: transform .18s ease, border-color .18s ease, background .18s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transform-origin: center;
|
|
backface-visibility: hidden;
|
|
contain: layout paint style;
|
|
}
|
|
|
|
.store-provider-card:before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.05), transparent 70%);
|
|
transform: translateX(-100%);
|
|
transition: transform .6s ease;
|
|
}
|
|
|
|
.store-provider-card:hover:before {
|
|
transform: translateX(100%);
|
|
}
|
|
|
|
.store-provider-card:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(255, 255, 255, 0.14);
|
|
transform: scale(1.01);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.store-provider-logo {
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.store-provider-logo img {
|
|
width: 36px;
|
|
height: 36px;
|
|
object-fit: contain;
|
|
filter: none;
|
|
}
|
|
|
|
.store-provider-logo-placeholder {
|
|
font-weight: 800;
|
|
font-size: 18px;
|
|
color: #e5edf7;
|
|
}
|
|
|
|
.store-provider-body {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.store-provider-name {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #e6eef8;
|
|
letter-spacing: .2px;
|
|
}
|
|
|
|
.store-provider-desc {
|
|
font-size: 12.5px;
|
|
color: #9aa3ad;
|
|
margin-top: 3px;
|
|
opacity: .9;
|
|
}
|
|
|
|
.store-provider-chevron {
|
|
color: #aab3bf;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.store-provider-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.store-provider-header-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
padding: 10px 12px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.store-provider-header-logo {
|
|
width: 40px;
|
|
height: 40px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.store-provider-header-name {
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
color: #e6eef8;
|
|
}
|
|
|
|
.store-provider-header-desc {
|
|
font-size: 12.5px;
|
|
color: #9aa3ad;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.store-back-btn {
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #e5edf7;
|
|
font-size: 12.5px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.store-back-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
.store-note {
|
|
font-size: 12.5px;
|
|
color: #9aa3ad;
|
|
margin-bottom: 16px;
|
|
padding-left: 2px;
|
|
}
|
|
|
|
.store-version-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.store-version-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 12px 14px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
cursor: pointer;
|
|
transition: transform .12s ease, background .12s ease, border-color .12s ease;
|
|
transform-origin: center;
|
|
backface-visibility: hidden;
|
|
contain: layout paint style;
|
|
}
|
|
|
|
.store-version-row:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
transform: scale(1.01);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.store-version-meta {
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.store-version-name {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #e6eef8;
|
|
}
|
|
|
|
.store-version-sub {
|
|
font-size: 12px;
|
|
color: #9aa3ad;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.store-version-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.store-version-row.store-custom-version-row {
|
|
align-items: stretch;
|
|
cursor: default;
|
|
}
|
|
|
|
.store-version-row.store-custom-version-row:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.store-custom-version-form {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: min(100%, 360px);
|
|
}
|
|
|
|
.store-custom-version-input {
|
|
width: 210px;
|
|
min-max-width: 0;
|
|
height: 38px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.075);
|
|
color: #edf4ff;
|
|
padding: 0 12px;
|
|
outline: none;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.store-custom-version-input:focus {
|
|
background: rgba(255, 255, 255, 0.11);
|
|
box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.28);
|
|
}
|
|
|
|
.store-custom-version-btn {
|
|
height: 38px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: #ffffff;
|
|
color: #0b0f14;
|
|
padding: 0 13px;
|
|
font-size: 12.5px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.store-custom-version-btn:hover {
|
|
filter: brightness(0.94);
|
|
}
|
|
|
|
.pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 999px;
|
|
padding: 4px 9px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: .3px;
|
|
}
|
|
|
|
.pill-green {
|
|
background: rgba(16, 185, 129, 0.16);
|
|
color: #bbf7d0;
|
|
border: 1px solid rgba(16, 185, 129, 0.4);
|
|
}
|
|
|
|
.pill-muted {
|
|
background: rgba(148, 163, 184, 0.16);
|
|
color: #e5e7eb;
|
|
border: 1px solid rgba(148, 163, 184, 0.45);
|
|
}
|
|
|
|
.store-placeholder,
|
|
.store-empty,
|
|
.store-loading,
|
|
.store-error {
|
|
font-size: 13px;
|
|
color: #9aa3ad;
|
|
padding: 8px;
|
|
}
|
|
|
|
.store-error {
|
|
color: #fecaca;
|
|
}
|
|
|
|
.mr-plugins-root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.mr-plugins-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.mr-plugins-header input {
|
|
flex: 1;
|
|
padding: 11px 14px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(0, 0, 0, 0.38);
|
|
color: #fff;
|
|
font-size: 13px;
|
|
outline: none;
|
|
transition: border-color .15s ease, background-color .15s ease;
|
|
}
|
|
|
|
.mr-plugins-header input:focus {
|
|
border-color: rgba(255, 255, 255, 0.28);
|
|
background: rgba(0, 0, 0, 0.52);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.mr-plugins-header input::placeholder {
|
|
color: #9aa3ad;
|
|
}
|
|
|
|
.mr-plugins-type-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mr-plugin-grid {
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
|
|
gap: 14px;
|
|
align-content: flex-start;
|
|
overflow: auto;
|
|
padding: 2px 8px 8px 2px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.mr-plugin-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-radius: 14px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03)),
|
|
rgba(7, 10, 15, 0.72);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 11px;
|
|
cursor: pointer;
|
|
transition: transform .14s ease, border-color .14s ease, background-color .14s ease;
|
|
position: relative;
|
|
transform-origin: center;
|
|
backface-visibility: hidden;
|
|
contain: layout paint style;
|
|
content-visibility: auto;
|
|
contain-intrinsic-size: 248px 260px;
|
|
}
|
|
|
|
.mr-plugin-card:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.14);
|
|
transform: scale(1.01);
|
|
box-shadow: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.mr-plugin-icon {
|
|
width: 100%;
|
|
height: 140px;
|
|
border-radius: 12px;
|
|
object-fit: cover;
|
|
margin-bottom: 10px;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.mr-plugin-icon-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 34px;
|
|
}
|
|
|
|
.mr-plugin-body {
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.mr-plugin-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mr-plugin-desc {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
margin-top: 4px;
|
|
min-height: 32px;
|
|
line-height: 1.35;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mr-plugin-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 10px;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mr-plugin-install-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
border-radius: 12px;
|
|
border: 0;
|
|
background: linear-gradient(135deg, #18c98d, #0ea574);
|
|
color: #03130d;
|
|
font-size: 12px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
font-weight: 800;
|
|
transition: transform .14s ease, background .14s ease;
|
|
transform-origin: center;
|
|
backface-visibility: hidden;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.mr-plugin-install-btn:hover {
|
|
background: linear-gradient(135deg, #24d99c, #12b981);
|
|
transform: scale(1.01);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.mr-plugin-toolbar-btn,
|
|
.mr-plugin-load-more {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.mr-plugin-load-more {
|
|
align-self: flex-start;
|
|
margin-top: 12px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.sectionTitle {
|
|
font-size: 15px;
|
|
margin-top: 8px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.boxGrid {
|
|
margin-top: 10px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.selectBox {
|
|
background: #0e1116;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding: 10px;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
color: var(--text);
|
|
transition: background .1s ease, border-color .1s ease, transform .1s ease;
|
|
}
|
|
|
|
.selectBox:hover {
|
|
background: #10141b;
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
transform: scale(1.01);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.selectBox.selected {
|
|
background: #022c22;
|
|
border-color: #10b981;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.downloadBtnFinal {
|
|
margin-top: 18px;
|
|
border-radius: 14px;
|
|
border: 0;
|
|
padding: 10px 14px;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
background: #3b82f6;
|
|
color: white;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
transition: transform .14s ease, background .14s ease, opacity .14s ease;
|
|
transform-origin: center;
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
.downloadBtnFinal:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-modal {
|
|
width: min(620px, calc(100vw - 28px));
|
|
max-width: calc(100vw - 28px);
|
|
height: auto;
|
|
min-height: 0;
|
|
max-height: calc(100dvh - 32px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgba(12, 14, 20, 0.48);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 24px;
|
|
color: var(--text);
|
|
box-shadow: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#mrPluginModal.activity-modal.show .mr-plugin-install-modal {
|
|
background: rgba(12, 14, 20, 0.48);
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-modal::before {
|
|
border-radius: 24px;
|
|
background: none;
|
|
}
|
|
|
|
#mrPluginModal .activity-header {
|
|
padding: 24px 24px 18px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
|
|
}
|
|
|
|
#mrPluginModal .activity-header-left {
|
|
min-max-width: 0;
|
|
gap: 14px;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-title-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 34px;
|
|
}
|
|
|
|
#mrPluginModal .activity-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
#mrPluginModal .activity-body {
|
|
flex: 0 0 auto;
|
|
overflow: visible;
|
|
padding: 24px 24px 24px;
|
|
mask-image: none;
|
|
-webkit-mask-image: none;
|
|
}
|
|
|
|
.mr-plugin-install-panel {
|
|
display: grid;
|
|
gap: 24px;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.select-control {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.select-control label {
|
|
font-size: 13px;
|
|
color: rgba(156, 163, 175, 0.95);
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.select-wrap {
|
|
position: relative;
|
|
display: block;
|
|
background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 16px;
|
|
padding: 0;
|
|
overflow: visible;
|
|
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
color-scheme: dark;
|
|
box-shadow:
|
|
0 4px 12px rgba(0, 0, 0, 0.15),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.select-wrap:hover,
|
|
.select-wrap:focus-within {
|
|
background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
|
|
border-color: rgba(96, 165, 250, 0.35);
|
|
box-shadow:
|
|
0 6px 20px rgba(0, 0, 0, 0.2),
|
|
0 0 0 3px rgba(96, 165, 250, 0.08),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.select-wrap select {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
width: 100%;
|
|
border: 0;
|
|
outline: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
padding: 14px 44px 14px 16px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.01em;
|
|
cursor: pointer;
|
|
border-radius: 16px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.select-wrap select:disabled {
|
|
color: rgba(255, 255, 255, 0.45);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.select-wrap select option {
|
|
background: linear-gradient(145deg, rgba(20, 24, 32, 0.98), rgba(15, 18, 25, 0.98));
|
|
color: rgba(255, 255, 255, 0.95);
|
|
padding: 14px 18px;
|
|
border-radius: 12px;
|
|
margin: 4px 8px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.01em;
|
|
transition: all 0.2s ease;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.select-wrap select option:hover {
|
|
background: linear-gradient(145deg, rgba(96, 165, 250, 0.18), rgba(59, 130, 246, 0.12));
|
|
color: rgba(255, 255, 255, 1);
|
|
border-color: rgba(96, 165, 250, 0.3);
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.select-wrap select option:checked,
|
|
.select-wrap select option:focus {
|
|
background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(59, 130, 246, 0.18));
|
|
color: #ffffff;
|
|
border-color: rgba(96, 165, 250, 0.4);
|
|
box-shadow:
|
|
0 4px 12px rgba(96, 165, 250, 0.2),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.select-wrap select::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
.select-wrap select::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.4);
|
|
border-radius: 12px;
|
|
margin: 6px 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.select-wrap select::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(180deg, rgba(96, 165, 250, 0.7), rgba(59, 130, 246, 0.6));
|
|
border-radius: 12px;
|
|
border: 2px solid rgba(0, 0, 0, 0.3);
|
|
box-shadow:
|
|
0 2px 8px rgba(96, 165, 250, 0.3),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.select-wrap select::-webkit-scrollbar-thumb:hover {
|
|
background: linear-gradient(180deg, rgba(96, 165, 250, 0.9), rgba(59, 130, 246, 0.8));
|
|
box-shadow:
|
|
0 4px 12px rgba(96, 165, 250, 0.5),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.select-wrap i {
|
|
position: absolute;
|
|
right: 14px;
|
|
top: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
pointer-events: none;
|
|
color: rgba(96, 165, 250, 0.7);
|
|
font-size: 13px;
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.select-wrap:hover i {
|
|
color: rgba(96, 165, 250, 0.95);
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-footer {
|
|
padding: 18px 24px 24px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(255, 255, 255, 0.01);
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-action {
|
|
min-width: 166px;
|
|
justify-content: center;
|
|
color: #ffffff;
|
|
background: rgba(59, 130, 246, 0.08);
|
|
border: 0;
|
|
font-weight: 500;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-action:hover {
|
|
background: rgba(59, 130, 246, 0.12);
|
|
box-shadow: none;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-action:disabled {
|
|
opacity: .5;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
box-shadow: none;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-action.is-loading {
|
|
cursor: wait;
|
|
}
|
|
|
|
.mr-title-sub {
|
|
max-width: 390px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.modal-overlay.show {
|
|
display: flex;
|
|
}
|
|
|
|
.icon-btn {
|
|
border-radius: 10px;
|
|
border: none;
|
|
background: transparent !important;
|
|
color: #e6eef8;
|
|
backdrop-filter: blur(15px) saturate(150%) !important;
|
|
-webkit-backdrop-filter: blur(15px) saturate(150%) !important;
|
|
padding: 8px 12px;
|
|
font-weight: 400;
|
|
cursor: pointer;
|
|
transition: all .15s ease;
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.icon-btn:hover {
|
|
background: rgba(255, 255, 255, 0.10);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.topbar .icon-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.topbar .icon-btn:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.top-action-hidden {
|
|
display: none;
|
|
opacity: 0;
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
.top-actions.expanded {
|
|
margin-right: 20px !important;
|
|
gap: 8px;
|
|
}
|
|
|
|
.top-actions.expanded .top-action-hidden {
|
|
display: inline-flex;
|
|
animation: slideInFromRight 0.3s ease forwards;
|
|
}
|
|
|
|
.top-actions.expanded .top-action-visible#moreBtn {
|
|
display: none;
|
|
}
|
|
|
|
@keyframes slideInFromRight {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.modal {
|
|
background: rgba(12, 14, 20, 0.82);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 18px;
|
|
backdrop-filter: blur(60px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(60px) saturate(150%);
|
|
box-shadow:
|
|
0 0 0 0.5px rgba(255, 255, 255, 0.04),
|
|
0 20px 60px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 14px 18px;
|
|
border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.modal-title {
|
|
font-weight: 800;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.modal-close {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.6);
|
|
border-radius: 10px;
|
|
padding: 7px 9px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 12px 14px;
|
|
min-height: 0 !important;
|
|
}
|
|
|
|
.topbar .icon-btn {
|
|
font-weight: 400
|
|
}
|
|
|
|
.window-header .dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
display: inline-block
|
|
}
|
|
|
|
.stop-button {
|
|
background: linear-gradient(90deg, #ef4444, #7f1d1d);
|
|
color: #fff;
|
|
}
|
|
|
|
.kill-button {
|
|
background: #ff0000;
|
|
color: #fff;
|
|
}
|
|
|
|
.run-button,
|
|
.stop-button,
|
|
.kill-button {
|
|
transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
|
|
}
|
|
|
|
.run-button:hover,
|
|
.stop-button:hover,
|
|
.kill-button:hover {
|
|
transform: none;
|
|
filter: brightness(1.04);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.jump-btn {
|
|
position: fixed;
|
|
right: 32px;
|
|
bottom: 90px;
|
|
z-index: 20;
|
|
padding: 6px 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(0, 0, 0, 0.45);
|
|
color: #fff;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(2px);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(6px);
|
|
transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
|
|
}
|
|
|
|
.jump-btn:hover {
|
|
background: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.jump-btn i {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.jump-btn.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
transition: opacity .15s ease, transform .15s ease, visibility 0s;
|
|
}
|
|
|
|
.command:focus {
|
|
outline: none;
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.cmd-arrows {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #5a5a5a;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
user-select: none;
|
|
line-height: 1;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
#sendBtn,
|
|
#clearBtn {
|
|
position: relative;
|
|
background: transparent !important;
|
|
border-color: transparent !important;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: #e6eef8 !important;
|
|
font-weight: 400 !important;
|
|
font-size: 13px !important;
|
|
z-index: 1;
|
|
}
|
|
|
|
#sendBtn::before,
|
|
#clearBtn::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.03);
|
|
border-radius: inherit;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
#sendBtn:hover,
|
|
#clearBtn:hover {
|
|
transform: none !important;
|
|
background: transparent !important;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#sendBtn:hover::before,
|
|
#clearBtn:hover::before {
|
|
transform: scale(1.04);
|
|
background: rgba(255, 255, 255, 0.10);
|
|
box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
position: fixed;
|
|
left: 25px;
|
|
top: 12px;
|
|
width: 48px;
|
|
height: 48px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 14px;
|
|
border: none;
|
|
outline: none;
|
|
background-color: rgba(255, 255, 255, 0.045);
|
|
backdrop-filter: blur(5px);
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
|
|
color: #e6eef8;
|
|
cursor: pointer;
|
|
z-index: 2300;
|
|
transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
|
|
transform: scale(1);
|
|
}
|
|
|
|
.sidebar-toggle i {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.sidebar-toggle.active {
|
|
transform: scale(0.9);
|
|
background-color: rgba(255, 255, 255, 0.045);
|
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
|
|
}
|
|
|
|
.sidebar-shell {
|
|
position: fixed;
|
|
--sidebar-top: 75px;
|
|
--sidebar-height: 480px;
|
|
top: var(--sidebar-top);
|
|
left: 12px;
|
|
transform: translate3d(0, 0, 0);
|
|
width: 68px !important;
|
|
height: var(--sidebar-height);
|
|
backdrop-filter: blur(5px);
|
|
-webkit-backdrop-filter: blur(5px);
|
|
background-color: rgba(255, 255, 255, 0.047);
|
|
border-radius: 18px;
|
|
isolation: isolate;
|
|
box-shadow: 0px 6px var(--outer-shadow-blur) rgba(0, 0, 0, 0.2);
|
|
padding: 14px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition:
|
|
width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
|
|
opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
|
|
box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
|
|
background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
|
|
z-index: 2200;
|
|
will-change: width, opacity;
|
|
overflow: visible;
|
|
}
|
|
|
|
.sidebar-shell * {
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
#dockfiless {
|
|
color: rgba(255, 255, 255, 0.896);
|
|
background: blurred;
|
|
}
|
|
|
|
.sidebar-shell.open {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
@media (max-width: 941px) {
|
|
.sidebar-shell.open {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.sidebar-shell.open:hover {
|
|
width: 220px !important;
|
|
box-shadow:
|
|
0 18px 44px rgba(0, 0, 0, 0.34),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
background-color: rgba(255, 255, 255, 0.062);
|
|
transition:
|
|
width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
|
|
box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
|
|
background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.sidebar-top {
|
|
padding-bottom: 6px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
margin: 0 9px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.sidebar-middle {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
justify-content: center;
|
|
position: relative;
|
|
margin: 0 9px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.sidebar-bottom {
|
|
padding-top: 6px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
position: relative;
|
|
margin: 0 9px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.sidebar-item {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 9px 11px;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
border: none;
|
|
color: #e3e9f3;
|
|
cursor: pointer;
|
|
justify-content: flex-start;
|
|
transition: background 0.15s ease;
|
|
contain: layout style paint;
|
|
}
|
|
|
|
.sidebar-item .icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 10px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-item .label {
|
|
opacity: 0;
|
|
white-space: nowrap;
|
|
transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
will-change: opacity;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sidebar-shell.open .sidebar-item .label {
|
|
display: inline-block;
|
|
max-width: 0;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
|
will-change: opacity;
|
|
}
|
|
|
|
.sidebar-shell.open:hover .sidebar-item .label {
|
|
max-width: 150px;
|
|
opacity: 1;
|
|
transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.sidebar-shell.open:hover .sidebar-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.sidebar-item.active {
|
|
color: #93c5fd;
|
|
background: rgba(37, 99, 235, 0.12);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.profile-card {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 9px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
color: #e3e9f3;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease, border-color 0.15s ease;
|
|
contain: layout style paint;
|
|
}
|
|
|
|
.profile-card:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.profile-card .icon {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 12px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: transparent;
|
|
color: #60a5fa;
|
|
box-shadow: none;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.profile-card img {
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.profile-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
text-align: left;
|
|
transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
will-change: opacity;
|
|
}
|
|
|
|
.profile-email {
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
color: #e9eef7;
|
|
max-max-width: 150px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.profile-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: #9fb1c7;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: #22c55e;
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.status-popover {
|
|
position: absolute;
|
|
left: 70px;
|
|
bottom: 6px;
|
|
width: 220px;
|
|
max-height: 400px;
|
|
background: rgba(8, 12, 18, 0.98);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 12px;
|
|
padding: 12px 12px 10px 12px;
|
|
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55);
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
z-index: 2400;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.status-popover.show {
|
|
display: flex;
|
|
}
|
|
|
|
.status-popover label {
|
|
font-size: 12px;
|
|
color: #9fb1c7;
|
|
margin-bottom: 4px;
|
|
display: block;
|
|
}
|
|
|
|
.status-popover input {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #e6eef8;
|
|
font-size: 13px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.custom-select-wrapper {
|
|
position: relative;
|
|
user-select: none;
|
|
}
|
|
|
|
.custom-select {
|
|
position: relative;
|
|
width: 100%;
|
|
padding: 6px 32px 6px 10px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #e6eef8;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.custom-select:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.custom-select.open {
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.custom-select .arrow {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 14px;
|
|
height: 14px;
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.custom-select.open .arrow {
|
|
transform: translateY(-50%) rotate(180deg);
|
|
}
|
|
|
|
.custom-options {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(15, 18, 25, 0.98);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-top: none;
|
|
border-bottom-left-radius: 12px;
|
|
border-bottom-right-radius: 12px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
|
z-index: 2500;
|
|
display: none;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
backdrop-filter: blur(10px);
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.custom-options::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.custom-options.show {
|
|
display: block;
|
|
}
|
|
|
|
.custom-option,
|
|
.option {
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
color: #e6eef8;
|
|
cursor: pointer;
|
|
transition: background 0.1s ease;
|
|
}
|
|
|
|
.custom-option:hover,
|
|
.option:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.custom-option.selected,
|
|
.option.selected {
|
|
background: rgba(99, 102, 241, 0.2);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#statusDuration {
|
|
background: #000;
|
|
color: #fff;
|
|
}
|
|
|
|
.status-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.status-actions button {
|
|
padding: 8px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
transition: background .12s ease, border-color .12s ease;
|
|
}
|
|
|
|
.status-actions button.save {
|
|
background: rgba(37, 99, 235, 0.16);
|
|
color: #dbeafe;
|
|
border-color: rgba(96, 165, 250, 0.2);
|
|
box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
|
|
}
|
|
|
|
.status-actions button:hover {
|
|
background: rgba(255, 255, 255, 0.08)
|
|
}
|
|
|
|
.status-actions button.save:hover {
|
|
background: rgba(37, 99, 235, 0.26);
|
|
border-color: rgba(96, 165, 250, 0.3);
|
|
color: #eff6ff;
|
|
box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
|
|
}
|
|
|
|
.resource-stats-popup {
|
|
position: fixed;
|
|
top: 75px;
|
|
left: 75px;
|
|
width: 300px;
|
|
background: linear-gradient(135deg, rgba(15, 20, 30, 0.92) 0%, rgba(10, 15, 25, 0.95) 100%);
|
|
-webkit-backdrop-filter: blur(12px) saturate(180%);
|
|
backdrop-filter: blur(12px) saturate(180%);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
box-shadow:
|
|
0 20px 50px rgba(0, 0, 0, 0.5),
|
|
0 0 0 1px rgba(255, 255, 255, 0.05),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
padding: 0;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, left 0.22s ease;
|
|
z-index: 9999999;
|
|
isolation: isolate;
|
|
transform: translateY(10px);
|
|
position: fixed;
|
|
}
|
|
|
|
.resource-stats-popup.visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.resource-stats-popup.sidebar-expanded {
|
|
left: 245px;
|
|
}
|
|
|
|
.resource-stats-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
|
|
padding: 16px 18px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px 16px 0 0;
|
|
}
|
|
|
|
.resource-stats-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #f1f5f9;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.resource-stats-title i {
|
|
font-size: 15px;
|
|
color: #a78bfa;
|
|
filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.4));
|
|
}
|
|
|
|
.statusinputs:focus {
|
|
outline: none;
|
|
border: none;
|
|
}
|
|
|
|
.resource-stats-close {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: none;
|
|
outline: none;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
transition: all 0.15s ease;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.resource-stats-close:hover {
|
|
color: #f1f5f9;
|
|
background: rgba(239, 68, 68, 0.2);
|
|
border-color: rgba(239, 68, 68, 0.4);
|
|
transform: none;
|
|
}
|
|
|
|
.resource-stats-body {
|
|
padding: 14px 18px 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.resource-stat-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
transition: background 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
|
|
.resource-stat-row:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.resource-stat-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.resource-stat-icon.memory-icon {
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.25) 100%);
|
|
color: #a78bfa;
|
|
}
|
|
|
|
.resource-stat-icon.disk-icon {
|
|
background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.25) 100%);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.resource-stat-icon.cpu-icon {
|
|
background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(59, 130, 246, 0.25) 100%);
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.resource-stat-icon.network-inbound-icon {
|
|
background: linear-gradient(135deg, rgba(34, 211, 238, 0.18) 0%, rgba(14, 165, 233, 0.24) 100%);
|
|
color: #22d3ee;
|
|
}
|
|
|
|
.resource-stat-icon.network-outbound-icon {
|
|
background: linear-gradient(135deg, rgba(251, 113, 133, 0.18) 0%, rgba(244, 63, 94, 0.24) 100%);
|
|
color: #fb7185;
|
|
}
|
|
|
|
.resource-stat-icon.uptime-icon {
|
|
background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.25) 100%);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.resource-stat-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.resource-stat-label-line {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.resource-stat-label {
|
|
font-size: 10px;
|
|
color: #64748b;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.resource-stat-value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #f1f5f9;
|
|
white-space: nowrap;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.resource-stat-bar {
|
|
height: 6px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
width: 60px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.resource-stat-fill {
|
|
height: 100%;
|
|
border-radius: 3px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.resource-stat-fill.memory-fill {
|
|
background: linear-gradient(90deg, #a78bfa, #8b5cf6);
|
|
box-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
|
|
}
|
|
|
|
.resource-stat-fill.disk-fill {
|
|
background: linear-gradient(90deg, #4ade80, #22c55e);
|
|
box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
|
|
}
|
|
|
|
.resource-stat-fill.cpu-fill {
|
|
background: linear-gradient(90deg, #60a5fa, #3b82f6);
|
|
box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
|
|
}
|
|
|
|
|
|
.sidebar-shell.open .profile-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 0;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
|
white-space: nowrap;
|
|
will-change: opacity;
|
|
}
|
|
|
|
.sidebar-shell.open .profile-card {
|
|
justify-content: flex-start;
|
|
padding: 9px 8px;
|
|
}
|
|
|
|
.sidebar-shell.open:hover .profile-meta {
|
|
max-width: 200px;
|
|
opacity: 1;
|
|
transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
|
|
}
|
|
|
|
.notfound-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 999999;
|
|
}
|
|
|
|
.notfound-modal.show,
|
|
#offlineOverlay.show {
|
|
display: flex;
|
|
}
|
|
|
|
.notfound-glass-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.notfound-glass-layer-1 {
|
|
background: rgba(0, 0, 0, 0.85);
|
|
backdrop-filter: blur(40px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(40px) saturate(150%);
|
|
opacity: 0;
|
|
animation: notfoundFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.notfound-glass-layer-2 {
|
|
background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
|
|
opacity: 0;
|
|
animation: notfoundFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
@keyframes notfoundFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.notfound-panel {
|
|
position: relative;
|
|
width: 90vw;
|
|
max-width: 480px;
|
|
background: rgba(15, 18, 25, 0.95);
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
transform: scale(0.95);
|
|
animation: notfoundPanelIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
|
|
}
|
|
|
|
@keyframes notfoundPanelIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.notfound-panel:hover {
|
|
transform: scale(1.02);
|
|
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.notfound-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 48px 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.notfound-robot {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.notfound-robot-img {
|
|
width: 140px;
|
|
height: auto;
|
|
opacity: 0.9;
|
|
filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.2));
|
|
}
|
|
|
|
.notfound-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.notfound-code {
|
|
font-size: 72px;
|
|
font-weight: 800;
|
|
letter-spacing: -0.04em;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
line-height: 1;
|
|
}
|
|
|
|
.notfound-title {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.notfound-desc {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
line-height: 1.5;
|
|
max-width: 320px;
|
|
}
|
|
|
|
.notfound-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.notfound-btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 28px;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(79, 70, 229, 0.9) 100%);
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border-radius: 14px;
|
|
text-decoration: none;
|
|
transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
|
|
}
|
|
|
|
.notfound-btn-primary:hover {
|
|
transform: none;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.notfound-btn-primary:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.notfound-btn-primary i {
|
|
font-size: 15px;
|
|
}
|
|
|
|
body>svg:first-child {
|
|
position: absolute;
|
|
max-width: 0;
|
|
height: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
body {
|
|
background: var(--ui-bg) center/cover no-repeat fixed !important;
|
|
}
|
|
|
|
|
|
.activity-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100000;
|
|
perspective: 1200px;
|
|
}
|
|
|
|
.activity-modal.show {
|
|
display: flex;
|
|
}
|
|
|
|
.activity-glass-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.activity-glass-layer-1 {
|
|
|
|
opacity: 0;
|
|
animation: glassLayer1In 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.activity-glass-layer-3 {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.01) 100%);
|
|
opacity: 0;
|
|
backdrop-filter: blur(5px);
|
|
animation: glassLayer3In 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
@keyframes glassLayer1In {
|
|
from {
|
|
opacity: 0;
|
|
filter: blur(20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
@keyframes glassLayer2In {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes glassLayer3In {
|
|
from {
|
|
opacity: 0;
|
|
filter: blur(10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
.activity-panel {
|
|
position: relative;
|
|
width: 94vw;
|
|
max-width: 920px;
|
|
height: 88vh;
|
|
max-height: 860px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
backdrop-filter: blur(80px) saturate(100%) brightness(1.05);
|
|
-webkit-backdrop-filter: blur(80px) saturate(200%) brightness(1.05);
|
|
border-radius: 28px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
transform: scale(0.92) rotateX(8deg);
|
|
animation: panelLiquidIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.activity-panel::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 28px;
|
|
padding: 1px;
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
animation: borderGlowIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
|
|
}
|
|
|
|
|
|
@keyframes panelLiquidIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.92) rotateX(8deg);
|
|
filter: blur(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1) rotateX(0);
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
@keyframes borderGlowIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes innerGlowIn {
|
|
from {
|
|
opacity: 0;
|
|
width: 30%;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
width: 60%;
|
|
}
|
|
}
|
|
|
|
.activity-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 24px 28px 20px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
|
|
}
|
|
|
|
.activity-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.activity-icon-wrap {
|
|
position: relative;
|
|
width: 52px;
|
|
height: 52px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.activity-icon-pulse {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(139, 92, 246, 0.08));
|
|
opacity: 0.5;
|
|
animation: iconPulse 3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes iconPulse {
|
|
|
|
0%,
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 0.4;
|
|
filter: blur(0);
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1.15);
|
|
opacity: 0.15;
|
|
filter: blur(4px);
|
|
}
|
|
}
|
|
|
|
.activity-icon {
|
|
position: relative;
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(139, 92, 246, 0.06));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.activity-icon i {
|
|
color: white;
|
|
}
|
|
|
|
.activity-header-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.activity-entry-icon i {
|
|
color: white;
|
|
}
|
|
|
|
.activity-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
letter-spacing: -0.03em;
|
|
opacity: 0;
|
|
animation: textFadeIn 0.4s ease 0.2s forwards;
|
|
}
|
|
|
|
.activity-subtitle {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
opacity: 0;
|
|
animation: textFadeIn 0.4s ease 0.3s forwards;
|
|
}
|
|
|
|
.activity-server-name {
|
|
color: rgba(255, 255, 255, 0.75);
|
|
font-weight: 600;
|
|
}
|
|
|
|
@keyframes textFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
filter: blur(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
.activity-close {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.6);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: none;
|
|
opacity: 0;
|
|
animation: closeButtonIn 0.4s ease 0.35s forwards;
|
|
}
|
|
|
|
@keyframes closeButtonIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.activity-close-icon {
|
|
display: flex;
|
|
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.activity-close:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.activity-close:hover .activity-close-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.activity-close:active {
|
|
transform: scale(0.94);
|
|
}
|
|
|
|
.activity-search-wrap {
|
|
padding: 0 28px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
opacity: 0;
|
|
animation: searchWrapIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
|
|
}
|
|
|
|
@keyframes searchWrapIn {
|
|
from {
|
|
opacity: 0;
|
|
filter: blur(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
.activity-search {
|
|
flex: 1;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 16px;
|
|
height: 46px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-radius: 14px;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.activity-search i {
|
|
color: rgba(255, 255, 255, 0.35);
|
|
font-size: 14px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.activity-search:focus-within {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.activity-search:focus-within i {
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
#activitySearchInput {
|
|
flex: 1;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
background-image: none !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
color: rgba(255, 255, 255, 0.9) !important;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
appearance: none !important;
|
|
-webkit-appearance: none !important;
|
|
border-radius: 0 !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
backdrop-filter: none !important;
|
|
}
|
|
|
|
#activitySearchInput:-webkit-autofill,
|
|
#activitySearchInput:-webkit-autofill:hover,
|
|
#activitySearchInput:-webkit-autofill:focus,
|
|
#activitySearchInput:-webkit-autofill:active {
|
|
transition: background-color 5000s ease-in-out 0s;
|
|
-webkit-text-fill-color: #e6eef8 !important;
|
|
}
|
|
|
|
.activity-search input::placeholder {
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.activity-filter-pills {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.activity-pill {
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: none;
|
|
}
|
|
|
|
.activity-pill i {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.activity-pill:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.activity-pill.active {
|
|
background: linear-gradient(135deg, rgba(92, 55, 204, 0.849), rgba(139, 92, 246, 0.06));
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.activity-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 8px 28px 16px;
|
|
min-height: 0;
|
|
mask-image: linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
|
|
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
|
|
}
|
|
|
|
.activity-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.activity-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
padding: 60px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.activity-loading-spinner {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.35));
|
|
animation: spinnerRotate 1s linear infinite;
|
|
position: relative;
|
|
}
|
|
|
|
.activity-loading-spinner::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 3px;
|
|
border-radius: 50%;
|
|
background: rgba(10, 10, 15, 0.8);
|
|
}
|
|
|
|
@keyframes spinnerRotate {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.activity-empty {
|
|
text-align: center;
|
|
padding: 80px 20px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.activity-empty i {
|
|
font-size: 52px;
|
|
margin-bottom: 20px;
|
|
opacity: 0.4;
|
|
display: block;
|
|
}
|
|
|
|
.activity-empty p {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
margin: 0;
|
|
}
|
|
|
|
.activity-entry {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
padding: 18px 20px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 16px;
|
|
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
opacity: 0;
|
|
animation: entrySlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.activity-entry:nth-child(1) {
|
|
animation-delay: 0.05s;
|
|
}
|
|
|
|
.activity-entry:nth-child(2) {
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.activity-entry:nth-child(3) {
|
|
animation-delay: 0.15s;
|
|
}
|
|
|
|
.activity-entry:nth-child(4) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.activity-entry:nth-child(5) {
|
|
animation-delay: 0.25s;
|
|
}
|
|
|
|
.activity-entry:nth-child(6) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
.activity-entry:nth-child(7) {
|
|
animation-delay: 0.35s;
|
|
}
|
|
|
|
.activity-entry:nth-child(8) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
.activity-entry:nth-child(9) {
|
|
animation-delay: 0.45s;
|
|
}
|
|
|
|
.activity-entry:nth-child(10) {
|
|
animation-delay: 0.5s;
|
|
}
|
|
|
|
@keyframes entrySlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.96);
|
|
filter: blur(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
.activity-entry:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.activity-entry-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.activity-entry:hover .activity-entry-icon {
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.activity-entry-icon.console {
|
|
background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.05));
|
|
color: rgba(147, 197, 253, 0.75);
|
|
}
|
|
|
|
.activity-entry-icon.start {
|
|
background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
|
|
color: #6ee7b7;
|
|
}
|
|
|
|
.activity-entry-icon.stop {
|
|
background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.1));
|
|
color: #fdba74;
|
|
}
|
|
|
|
.activity-entry-icon.restart {
|
|
background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(147, 51, 234, 0.05));
|
|
color: rgba(216, 180, 254, 0.75);
|
|
}
|
|
|
|
.activity-entry-icon.kill {
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.1));
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.activity-entry-icon.file {
|
|
background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
|
|
color: #fde68a;
|
|
}
|
|
|
|
.activity-entry-content {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.activity-entry-action {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin-bottom: 6px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.activity-entry-details {
|
|
font-size: 12.5px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
word-break: break-word;
|
|
margin-bottom: 10px;
|
|
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Consolas', monospace;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.activity-entry-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.activity-entry-meta span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.activity-entry-meta i {
|
|
font-size: 10px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.activity-footer {
|
|
padding: 16px 28px 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent);
|
|
}
|
|
|
|
.activity-load-more {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 28px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: none;
|
|
}
|
|
|
|
.activity-load-more:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.activity-load-more:hover .activity-load-more-icon {
|
|
animation: bounceDown 0.6s ease infinite;
|
|
}
|
|
|
|
@keyframes bounceDown {
|
|
|
|
0%,
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1.15);
|
|
}
|
|
}
|
|
|
|
.activity-load-more:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
.activity-load-more:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.activity-load-more:disabled:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.activity-load-more:disabled:hover .activity-load-more-icon {
|
|
animation: none;
|
|
}
|
|
|
|
.activity-load-more-text {
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.activity-load-more-icon {
|
|
font-size: 11px;
|
|
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.activity-panel {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-height: 100%;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.activity-panel::before {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.activity-header {
|
|
padding: 20px 20px 16px;
|
|
}
|
|
|
|
.activity-search-wrap {
|
|
padding: 0 20px 14px;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.activity-search {
|
|
width: 100%;
|
|
}
|
|
|
|
.activity-filter-pills {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.activity-body {
|
|
padding: 8px 20px 16px;
|
|
}
|
|
|
|
.activity-footer {
|
|
padding: 14px 20px 18px;
|
|
}
|
|
|
|
.activity-entry {
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.activity-icon-wrap {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.activity-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.activity-title {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
|
|
.info-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100000;
|
|
perspective: 1200px;
|
|
}
|
|
|
|
.info-modal.show {
|
|
display: flex;
|
|
}
|
|
|
|
.info-glass-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.info-glass-layer-1 {
|
|
opacity: 0;
|
|
animation: glassLayer1In 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.info-glass-layer-2 {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 40%);
|
|
opacity: 0;
|
|
animation: glassLayer2In 0.5s ease 0.1s forwards;
|
|
}
|
|
|
|
.info-glass-layer-3 {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.01) 100%);
|
|
opacity: 0;
|
|
backdrop-filter: blur(5px);
|
|
animation: glassLayer3In 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.info-panel {
|
|
position: relative;
|
|
width: 94vw;
|
|
max-width: 580px;
|
|
max-height: 88vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
backdrop-filter: blur(80px) saturate(100%) brightness(1.05);
|
|
-webkit-backdrop-filter: blur(80px) saturate(200%) brightness(1.05);
|
|
border-radius: 28px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
transform: scale(0.92) rotateX(8deg);
|
|
animation: panelLiquidIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.info-inner-glow {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60%;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
|
opacity: 0;
|
|
animation: innerGlowIn 0.8s ease 0.4s forwards;
|
|
}
|
|
|
|
.info-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 24px 28px 20px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
|
|
}
|
|
|
|
.info-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.info-icon-wrap {
|
|
position: relative;
|
|
width: 52px;
|
|
height: 52px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.info-icon-pulse {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.08));
|
|
opacity: 0.5;
|
|
animation: iconPulse 3s ease-in-out infinite;
|
|
}
|
|
|
|
.info-icon {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
|
|
backdrop-filter: blur(20px);
|
|
font-size: 22px;
|
|
color: rgba(147, 197, 253, 0.9);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.info-header-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.info-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.info-subtitle {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.info-server-name {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-close {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.info-close:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.info-close:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.info-close-icon {
|
|
font-size: 16px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.info-close:hover .info-close-icon {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.info-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 8px 28px 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.info-section {
|
|
background: rgba(255, 255, 255, 0.025);
|
|
border-radius: 18px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.info-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
margin-bottom: 16px;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.info-section-title i {
|
|
font-size: 14px;
|
|
color: rgba(147, 197, 253, 0.7);
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.info-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 14px;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.info-card:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.info-card-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.06));
|
|
color: rgba(147, 197, 253, 0.8);
|
|
font-size: 15px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.info-card-content {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.info-card-label {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.info-card-value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
word-break: break-all;
|
|
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Consolas', monospace;
|
|
}
|
|
|
|
.info-card-copy {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.info-card-copy:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.info-card-copy:active {
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
.info-address-row {
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.info-address-label {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.info-address-wrap {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.info-address-input {
|
|
flex: 1;
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
outline: none;
|
|
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Consolas', monospace;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.info-address-input:focus {
|
|
border-color: rgba(96, 165, 250, 0.4);
|
|
}
|
|
|
|
.info-copy-btn {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.15));
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #6ee7b7;
|
|
font-size: 16px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.info-copy-btn:hover {
|
|
background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(5, 150, 105, 0.25));
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.info-copy-btn:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.info-address-hint {
|
|
margin-top: 10px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.info-sftp-section {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.info-sftp-badge {
|
|
margin-left: auto;
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
|
|
color: #6ee7b7;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.info-sftp-notice {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 16px;
|
|
background: rgba(16, 185, 129, 0.08);
|
|
border-radius: 10px;
|
|
margin-bottom: 16px;
|
|
font-size: 12px;
|
|
color: rgba(110, 231, 183, 0.9);
|
|
}
|
|
|
|
.info-sftp-notice i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.info-sftp-value {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.info-sftp-password {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.info-sftp-pass-mask {
|
|
letter-spacing: 2px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.info-sftp-toggle-pass {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 11px;
|
|
transition: all 0.2s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.info-sftp-toggle-pass:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.info-sftp-permissions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 16px;
|
|
padding: 12px 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.info-sftp-perm-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.info-sftp-perm-label i {
|
|
font-size: 14px;
|
|
color: rgba(99, 102, 241, 0.7);
|
|
}
|
|
|
|
.info-sftp-perm-value {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
padding: 4px 12px;
|
|
background: rgba(99, 102, 241, 0.15);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.info-sftp-footer {
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.info-sftp-regen {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: none;
|
|
cursor: pointer;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.info-sftp-regen:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.info-sftp-regen:hover i {
|
|
animation: spin 0.6s ease;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.info-no-access-message {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 20px;
|
|
background: rgba(239, 68, 68, 0.08);
|
|
border-radius: 12px;
|
|
font-size: 13px;
|
|
color: rgba(252, 165, 165, 0.9);
|
|
}
|
|
|
|
.info-no-access-message i {
|
|
font-size: 18px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.info-panel {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-height: 100%;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.info-body {
|
|
padding: 8px 20px 20px;
|
|
}
|
|
|
|
.info-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.info-header {
|
|
padding: 20px;
|
|
}
|
|
|
|
.info-section {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
|
|
.scheduler-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100000;
|
|
perspective: 1200px;
|
|
}
|
|
|
|
.scheduler-modal.show {
|
|
display: flex;
|
|
}
|
|
|
|
.scheduler-glass-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.scheduler-glass-layer-1 {
|
|
opacity: 0;
|
|
animation: glassLayer1In 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.scheduler-glass-layer-2 {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.01) 100%);
|
|
opacity: 0;
|
|
backdrop-filter: blur(5px);
|
|
animation: glassLayer3In 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.scheduler-panel {
|
|
position: relative;
|
|
width: 94vw;
|
|
max-width: 640px;
|
|
height: auto;
|
|
max-height: 88vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
backdrop-filter: blur(80px) saturate(100%) brightness(1.05);
|
|
-webkit-backdrop-filter: blur(80px) saturate(200%) brightness(1.05);
|
|
border-radius: 28px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
transform: scale(0.92) rotateX(8deg);
|
|
animation: panelLiquidIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.scheduler-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 24px 28px 20px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
|
|
}
|
|
|
|
.scheduler-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.scheduler-icon-wrap {
|
|
position: relative;
|
|
width: 56px;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.scheduler-header-img {
|
|
width: 65px;
|
|
height: 65px;
|
|
object-fit: contain;
|
|
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
|
|
}
|
|
|
|
.scheduler-icon-pulse {
|
|
display: none;
|
|
}
|
|
|
|
.scheduler-icon {
|
|
display: none;
|
|
}
|
|
|
|
.scheduler-header-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
opacity: 0;
|
|
animation: textFadeIn 0.4s ease 0.2s forwards;
|
|
}
|
|
|
|
.scheduler-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.scheduler-subtitle {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.scheduler-server-name {
|
|
color: rgba(96, 165, 250, 0.9);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.scheduler-close {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.6);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: none;
|
|
opacity: 0;
|
|
animation: closeButtonIn 0.4s ease 0.35s forwards;
|
|
}
|
|
|
|
.scheduler-close:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.scheduler-close:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.scheduler-close-icon {
|
|
display: flex;
|
|
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.scheduler-close:hover .scheduler-close-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.scheduler-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
padding: 12px 20px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
margin: 0 16px;
|
|
border-radius: 14px;
|
|
margin-top: 8px;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.scheduler-tab {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.scheduler-tab:hover {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.scheduler-tab.active {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.scheduler-tab i {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.scheduler-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 20px 24px;
|
|
min-height: 280px;
|
|
max-height: calc(88vh - 280px);
|
|
}
|
|
|
|
.scheduler-body::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.scheduler-body::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.scheduler-body::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.scheduler-body::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
.scheduler-content {
|
|
display: block;
|
|
}
|
|
|
|
.scheduler-content.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.scheduler-tasks-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.scheduler-tasks-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.scheduler-refresh-btn {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 20px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.5);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.scheduler-refresh-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.scheduler-refresh-btn:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.scheduler-refresh-btn.spinning i {
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
.scheduler-tasks-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.scheduler-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 14px;
|
|
padding: 50px 20px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.scheduler-loading-spinner {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 2px solid rgba(59, 130, 246, 0.15);
|
|
border-top-color: #3b82f6;
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
.scheduler-empty {
|
|
text-align: center;
|
|
padding: 50px 24px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.scheduler-empty i {
|
|
font-size: 52px;
|
|
margin-bottom: 18px;
|
|
color: rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
.scheduler-empty p {
|
|
font-size: 14px;
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.scheduler-task-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px 18px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-radius: 16px;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.scheduler-task-item:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.scheduler-task-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 14px;
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #60a5fa;
|
|
font-size: 17px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.scheduler-task-info {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.scheduler-task-name {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
margin-bottom: 4px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.scheduler-task-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.scheduler-task-meta i {
|
|
margin-right: 5px;
|
|
font-size: 10px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.scheduler-task-status {
|
|
padding: 5px 12px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.scheduler-task-status.pending {
|
|
background: rgba(251, 191, 36, 0.12);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.scheduler-task-status.running {
|
|
background: rgba(59, 130, 246, 0.12);
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.scheduler-task-status.completed {
|
|
background: rgba(34, 197, 94, 0.12);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.scheduler-task-status.failed {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #f87171;
|
|
}
|
|
|
|
.scheduler-task-status.recurring {
|
|
background: rgba(139, 92, 246, 0.12);
|
|
color: #a78bfa;
|
|
}
|
|
|
|
.scheduler-task-delete {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 18px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.25);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.scheduler-task-delete:hover {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #f87171;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.scheduler-task-delete:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.scheduler-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.scheduler-form-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.scheduler-label {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.65);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.scheduler-label-small {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.scheduler-input {
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: none;
|
|
border-radius: 14px;
|
|
color: #fff;
|
|
font-size: 15px;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
outline: none;
|
|
}
|
|
|
|
.scheduler-input:focus {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.scheduler-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
.scheduler-input-mono {
|
|
font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.scheduler-textarea {
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: none;
|
|
border-radius: 14px;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
resize: vertical;
|
|
min-height: 100px;
|
|
outline: none;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.scheduler-textarea:focus {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.scheduler-select {
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: none;
|
|
border-radius: 14px;
|
|
color: #fff;
|
|
font-size: 15px;
|
|
cursor: pointer;
|
|
outline: none;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.4)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 16px center;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
.scheduler-select:focus {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.scheduler-select option {
|
|
background: #1a1d24;
|
|
color: #fff;
|
|
padding: 12px;
|
|
}
|
|
|
|
.scheduler-select-small {
|
|
padding: 10px 14px;
|
|
font-size: 14px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.scheduler-datetime-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.scheduler-datetime-row .scheduler-input {
|
|
flex: 1;
|
|
}
|
|
|
|
.scheduler-schedule-options {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.scheduler-schedule-option {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 18px 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-radius: 14px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
outline: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.scheduler-schedule-option:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.scheduler-schedule-option.active {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: none;
|
|
outline: none;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.scheduler-schedule-option i {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.scheduler-recurring-options {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.scheduler-recurring-config {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
padding: 14px 16px;
|
|
background: rgba(0, 0, 0, 0.15);
|
|
border-radius: 14px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.scheduler-recurring-config.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.scheduler-or-divider {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.scheduler-or-divider::before,
|
|
.scheduler-or-divider::after {
|
|
content: '';
|
|
flex: 1;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
|
|
}
|
|
|
|
.scheduler-or-divider span {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.25);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.15em;
|
|
}
|
|
|
|
.scheduler-action-config {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border-radius: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
.scheduler-action-config.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.scheduler-action-info {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.scheduler-action-info i {
|
|
color: #3b82f6;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.scheduler-hint {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
margin-top: -6px;
|
|
}
|
|
|
|
.scheduler-action-config .scheduler-refresh-btn {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.scheduler-ai-model-selector {
|
|
width: 100%;
|
|
min-max-width: 0;
|
|
max-width: none;
|
|
flex: 0 1 auto;
|
|
z-index: 80;
|
|
}
|
|
|
|
.scheduler-ai-model-selector .ai-model-options-shell {
|
|
z-index: 90;
|
|
}
|
|
|
|
.scheduler-form-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.scheduler-create-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 16px 32px;
|
|
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
border: none;
|
|
border-radius: 16px;
|
|
cursor: pointer;
|
|
transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.scheduler-create-btn:hover {
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
.scheduler-create-btn:active {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.scheduler-create-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.scheduler-status-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 14px 24px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.scheduler-status-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.scheduler-status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #4ade80;
|
|
}
|
|
|
|
.scheduler-status-dot.offline {
|
|
background: #f87171;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.scheduler-panel {
|
|
max-width: 100%;
|
|
border-radius: 28px 28px 0 0;
|
|
max-height: 95vh;
|
|
}
|
|
|
|
.scheduler-header {
|
|
padding: 20px 20px 16px;
|
|
}
|
|
|
|
.scheduler-body {
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.scheduler-tabs {
|
|
margin: 8px 12px;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.scheduler-tab {
|
|
padding: 10px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.scheduler-schedule-option {
|
|
padding: 14px 12px;
|
|
}
|
|
|
|
.scheduler-create-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
|
|
.planner-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100000;
|
|
perspective: 1200px;
|
|
--planner-accent: #fb923c;
|
|
--planner-accent-strong: #f97316;
|
|
}
|
|
|
|
.planner-modal.show {
|
|
display: flex;
|
|
}
|
|
|
|
.planner-glass-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.planner-glass-layer-1 {
|
|
opacity: 0;
|
|
animation: glassLayer1In 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.planner-glass-layer-2 {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.01) 100%);
|
|
opacity: 0;
|
|
backdrop-filter: blur(5px);
|
|
animation: glassLayer3In 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.planner-panel {
|
|
position: relative;
|
|
width: min(94vw, 920px);
|
|
max-height: 88vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
border-radius: 28px;
|
|
backdrop-filter: blur(80px) saturate(100%) brightness(1.05);
|
|
-webkit-backdrop-filter: blur(80px) saturate(200%) brightness(1.05);
|
|
opacity: 0;
|
|
transform: scale(0.92) rotateX(8deg);
|
|
animation: panelLiquidIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.planner-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 24px 28px 20px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
|
|
}
|
|
|
|
.planner-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.planner-icon-wrap {
|
|
position: relative;
|
|
width: 58px;
|
|
height: 58px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.planner-icon-pulse {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 20px;
|
|
background: linear-gradient(135deg, rgba(251, 146, 60, 0.14), rgba(249, 115, 22, 0.08));
|
|
filter: blur(6px);
|
|
}
|
|
|
|
.planner-icon {
|
|
position: relative;
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(251, 146, 60, 0.18), rgba(249, 115, 22, 0.08));
|
|
color: var(--planner-accent);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.planner-icon i {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.planner-header-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-max-width: 0;
|
|
opacity: 0;
|
|
animation: textFadeIn 0.4s ease 0.2s forwards;
|
|
}
|
|
|
|
.planner-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.planner-subtitle {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
}
|
|
|
|
.planner-server-name {
|
|
color: rgba(251, 146, 60, 0.95);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.planner-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.planner-refresh-btn,
|
|
.planner-close {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 14px;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.planner-refresh-btn {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.planner-refresh-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.planner-refresh-btn.spinning i {
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
.planner-close {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.6);
|
|
opacity: 0;
|
|
animation: closeButtonIn 0.4s ease 0.35s forwards;
|
|
}
|
|
|
|
.planner-close:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.planner-close:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.planner-close-icon {
|
|
display: flex;
|
|
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.planner-close:hover .planner-close-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.planner-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
padding: 12px 20px;
|
|
margin: 0 16px;
|
|
margin-top: 8px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.planner-tab {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
border: none;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.planner-tab:hover {
|
|
color: rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.planner-tab.active {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.94);
|
|
}
|
|
|
|
.planner-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 22px 24px;
|
|
min-height: 320px;
|
|
}
|
|
|
|
.planner-content.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.planner-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.planner-summary-card {
|
|
padding: 18px 18px 16px;
|
|
border-radius: 18px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.planner-summary-label {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.planner-summary-value {
|
|
display: block;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.04em;
|
|
color: rgba(255, 255, 255, 0.96);
|
|
}
|
|
|
|
.planner-summary-note {
|
|
display: block;
|
|
margin-top: 8px;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.planner-board-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.planner-completed-section {
|
|
margin-top: 22px;
|
|
}
|
|
|
|
.planner-completed-section.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.planner-section-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.planner-section-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.planner-section-subtitle {
|
|
margin-top: 5px;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
}
|
|
|
|
.planner-add-inline,
|
|
.planner-secondary-btn,
|
|
.planner-primary-btn {
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.planner-add-inline {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 12px 16px;
|
|
border-radius: 14px;
|
|
background: rgba(251, 146, 60, 0.12);
|
|
color: rgba(255, 237, 213, 0.96);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.planner-add-inline:hover {
|
|
background: rgba(251, 146, 60, 0.2);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.planner-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.planner-loading,
|
|
.planner-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 14px;
|
|
padding: 46px 20px;
|
|
border-radius: 22px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: rgba(255, 255, 255, 0.42);
|
|
text-align: center;
|
|
}
|
|
|
|
.planner-loading-spinner {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 2px solid rgba(251, 146, 60, 0.14);
|
|
border-top-color: var(--planner-accent);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
.planner-empty i {
|
|
font-size: 48px;
|
|
color: rgba(251, 146, 60, 0.24);
|
|
}
|
|
|
|
.planner-empty p {
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.planner-empty-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
border-radius: 14px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.planner-item {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
border-radius: 20px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
transition: background 0.25s ease, transform 0.25s ease;
|
|
}
|
|
|
|
.planner-item:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.planner-item.dragging {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.planner-item-main {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
color: inherit;
|
|
}
|
|
|
|
.planner-item-heading {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.planner-drag-handle {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(251, 146, 60, 0.12);
|
|
color: rgba(255, 237, 213, 0.8);
|
|
flex-shrink: 0;
|
|
cursor: grab;
|
|
}
|
|
|
|
.planner-item-title-wrap {
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.planner-item-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.planner-item-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px 14px;
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.38);
|
|
}
|
|
|
|
.planner-item-meta span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.planner-priority-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 42px;
|
|
padding: 5px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(251, 146, 60, 0.14);
|
|
color: rgba(255, 237, 213, 0.94);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.planner-priority-badge.done {
|
|
background: rgba(34, 197, 94, 0.14);
|
|
color: #86efac;
|
|
}
|
|
|
|
.planner-item-prompt {
|
|
margin-top: 14px;
|
|
font-size: 13px;
|
|
line-height: 1.65;
|
|
color: rgba(255, 255, 255, 0.68);
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.planner-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.planner-item-action {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 14px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.52);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.planner-item-action:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.planner-item-action.send:hover {
|
|
background: rgba(251, 146, 60, 0.16);
|
|
color: #fed7aa;
|
|
}
|
|
|
|
.planner-item-action.toggle:hover {
|
|
background: rgba(34, 197, 94, 0.14);
|
|
color: #86efac;
|
|
}
|
|
|
|
.planner-item-action.delete:hover {
|
|
background: rgba(239, 68, 68, 0.14);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.planner-item.is-done {
|
|
background: rgba(255, 255, 255, 0.025);
|
|
}
|
|
|
|
.planner-item.is-done .planner-item-title,
|
|
.planner-item.is-done .planner-item-prompt {
|
|
color: rgba(255, 255, 255, 0.52);
|
|
}
|
|
|
|
.planner-item.is-done .planner-drag-handle {
|
|
background: rgba(34, 197, 94, 0.1);
|
|
color: #86efac;
|
|
}
|
|
|
|
.planner-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.planner-edit-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 14px;
|
|
border-radius: 14px;
|
|
background: rgba(251, 146, 60, 0.12);
|
|
border: 1px solid rgba(251, 146, 60, 0.28);
|
|
font-size: 13px;
|
|
color: rgba(255, 237, 213, 0.9);
|
|
}
|
|
|
|
.planner-edit-text {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.planner-edit-text strong {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.planner-edit-cancel {
|
|
width: 26px;
|
|
height: 26px;
|
|
flex-shrink: 0;
|
|
border: none;
|
|
border-radius: 9px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 237, 213, 0.85);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.planner-edit-cancel:hover {
|
|
background: rgba(255, 255, 255, 0.16);
|
|
color: #fff;
|
|
}
|
|
|
|
.planner-form-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.planner-label {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.planner-input,
|
|
.planner-textarea {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border: none;
|
|
outline: none;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #fff;
|
|
transition: background 0.25s ease, box-shadow 0.25s ease;
|
|
}
|
|
|
|
.planner-input {
|
|
padding: 15px 16px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.planner-textarea {
|
|
min-height: 190px;
|
|
padding: 16px 18px;
|
|
resize: vertical;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.planner-input:focus,
|
|
.planner-textarea:focus {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.08);
|
|
}
|
|
|
|
.planner-input::placeholder,
|
|
.planner-textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.26);
|
|
}
|
|
|
|
.planner-hint {
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.planner-form-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.planner-secondary-btn {
|
|
padding: 14px 18px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.planner-secondary-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.planner-primary-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 15px 22px;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, var(--planner-accent), var(--planner-accent-strong));
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
box-shadow: 0 12px 32px rgba(249, 115, 22, 0.22);
|
|
}
|
|
|
|
.planner-primary-btn:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.planner-primary-btn:disabled,
|
|
.planner-secondary-btn:disabled,
|
|
.planner-add-inline:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.planner-status-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 14px 24px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.planner-status-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.planner-status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #4ade80;
|
|
}
|
|
|
|
.planner-status-dot.offline {
|
|
background: #f87171;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.planner-panel {
|
|
width: 96vw;
|
|
}
|
|
|
|
.planner-summary {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.planner-section-header,
|
|
.planner-form-footer,
|
|
.planner-item {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.planner-item-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.planner-panel {
|
|
max-height: 95vh;
|
|
border-radius: 28px 28px 0 0;
|
|
}
|
|
|
|
.planner-header {
|
|
padding: 20px 20px 16px;
|
|
}
|
|
|
|
.planner-tabs {
|
|
margin: 8px 12px;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.planner-body {
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.planner-tab {
|
|
padding: 10px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.planner-form-footer {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.planner-primary-btn,
|
|
.planner-secondary-btn,
|
|
.planner-add-inline,
|
|
.planner-empty-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
#backupsModal {
|
|
--backups_header_icon_width: 42px;
|
|
--backups_header_icon_height: 42px;
|
|
}
|
|
|
|
#backupCreateModal {
|
|
--backups_header_icon_width: 42px;
|
|
--backups_header_icon_height: 42px;
|
|
}
|
|
|
|
#backupsModal .backups-header-icon,
|
|
#backupCreateModal .backups-header-icon {
|
|
width: var(--backups_header_icon_width);
|
|
height: var(--backups_header_icon_height);
|
|
object-fit: contain;
|
|
flex-shrink: 0;
|
|
display: block;
|
|
}
|
|
|
|
#backupsModal .activity-body,
|
|
.backup-create-activity .activity-body {
|
|
mask-image: none;
|
|
-webkit-mask-image: none;
|
|
}
|
|
|
|
#backupsModal .activity-pill {
|
|
font-weight: 400;
|
|
}
|
|
|
|
#backupsModal .activity-pill:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
#backupsModal .activity-pill.active {
|
|
background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(34, 211, 238, 0.07));
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
#backupsModal #backupsRefreshBtn:hover i {
|
|
animation: spin 0.6s ease;
|
|
}
|
|
|
|
#backupsModal #backupsRefreshBtn.is-loading i {
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
#backupsModal .backup-item-icon {
|
|
background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(34, 211, 238, 0.08));
|
|
}
|
|
|
|
#backupsModal .backup-action-btn {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.backup-create-activity .backup-create-confirm,
|
|
.backup-create-activity .backup-create-cancel {
|
|
font-weight: 400;
|
|
}
|
|
|
|
#backupsModal .activity-search-wrap {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
#backupsModal .activity-filter-pills {
|
|
gap: 10px;
|
|
}
|
|
|
|
#backupsModal .backups-loading,
|
|
#backupsModal .backups-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
padding: 60px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#backupsModal .backups-loading i,
|
|
#backupsModal .backups-empty i {
|
|
font-size: 36px;
|
|
margin-bottom: 4px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
#backupsModal .backups-empty p {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
margin: 0;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
#backupsModal .backups-empty .backups-empty-hint {
|
|
margin-top: 8px;
|
|
font-size: 12.5px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
#backupsModal .backup-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
padding: 18px 20px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 16px;
|
|
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: none;
|
|
}
|
|
|
|
#backupsModal .backup-item:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
#backupsModal .backup-item-main {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
}
|
|
|
|
#backupsModal .backup-item-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
#backupsModal .backup-item:hover .backup-item-icon {
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
#backupsModal .backup-item-info {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
#backupsModal .backup-item-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin-bottom: 6px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
#backupsModal .backup-item-desc {
|
|
font-size: 12.5px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
word-break: break-word;
|
|
margin-bottom: 8px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
#backupsModal .backup-item-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
#backupsModal .backup-item-meta span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
#backupsModal .backup-item-meta i {
|
|
font-size: 10px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
#backupsModal .backup-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#backupsModal .backup-action-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
border: none;
|
|
}
|
|
|
|
#backupsModal .backup-action-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
#backupsModal .backup-action-btn.delete {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
#backupsModal .backup-action-btn.delete:hover {
|
|
background: rgba(239, 68, 68, 0.18);
|
|
}
|
|
|
|
.backup-create-activity .activity-panel {
|
|
max-width: 640px;
|
|
height: auto;
|
|
max-height: 88vh;
|
|
}
|
|
|
|
.backup-create-activity .activity-body {
|
|
padding: 8px 28px 16px;
|
|
}
|
|
|
|
.backup-create-activity .backup-create-footer {
|
|
padding: 16px 28px 20px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
}
|
|
|
|
.backups-modal {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 10000;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.backups-modal.show {
|
|
display: flex;
|
|
animation: backupsModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@keyframes backupsModalIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.backups-glass-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.backups-panel {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 640px;
|
|
max-height: 80vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: linear-gradient(165deg, rgba(17, 19, 23, 0.98), rgba(10, 12, 15, 0.99));
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 16px;
|
|
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
|
|
overflow: hidden;
|
|
animation: backupsPanelIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@keyframes backupsPanelIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(12px) scale(0.98);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
.backups-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
|
|
}
|
|
|
|
.backups-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.backups-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
color: #fbbf24;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.backups-title {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.backups-subtitle {
|
|
font-size: 13px;
|
|
color: #6b7280;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.backups-close {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 10px;
|
|
color: #9ca3af;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.backups-close:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
}
|
|
|
|
.backups-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 24px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.backups-create-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 18px;
|
|
background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.15));
|
|
border-radius: 10px;
|
|
border: none;
|
|
color: #fbbf24;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.backups-create-btn:hover {
|
|
background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.25));
|
|
border-color: rgba(245, 158, 11, 0.5);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.backups-refresh-btn {
|
|
width: 38px;
|
|
height: 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 10px;
|
|
color: #9ca3af;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.backups-refresh-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
}
|
|
|
|
.backups-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 16px 24px;
|
|
}
|
|
|
|
.backups-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.backups-loading,
|
|
.backups-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px 24px;
|
|
color: #6b7280;
|
|
text-align: center;
|
|
}
|
|
|
|
.backups-loading i,
|
|
.backups-empty i {
|
|
font-size: 32px;
|
|
margin-bottom: 12px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.backups-empty span {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.backups-empty p {
|
|
font-size: 13px;
|
|
margin-top: 6px;
|
|
max-width: 280px;
|
|
}
|
|
|
|
.backup-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
border-radius: 12px;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.backup-item:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.backup-item-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.backup-item-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
|
|
border: none;
|
|
border-radius: 10px;
|
|
color: #f59e0b;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.backup-item-info {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.backup-item-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.backup-item-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
margin-top: 4px;
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.backup-item-meta span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.backup-item-meta i {
|
|
font-size: 11px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.backup-item-desc {
|
|
margin-top: 6px;
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.backup-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.backup-action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.backup-action-btn.restore {
|
|
background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
|
|
border: 1px solid rgba(16, 185, 129, 0.25);
|
|
color: #34d399;
|
|
}
|
|
|
|
.backup-action-btn.restore:hover {
|
|
background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.2));
|
|
border-color: rgba(16, 185, 129, 0.4);
|
|
}
|
|
|
|
.backup-action-btn.delete {
|
|
padding: 8px 10px;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
color: #f87171;
|
|
}
|
|
|
|
.backup-action-btn.delete:hover {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
border-color: rgba(239, 68, 68, 0.35);
|
|
}
|
|
|
|
.backup-action-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.backup-create-modal {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 10001;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.backup-create-modal.show {
|
|
display: flex;
|
|
animation: backupsModalIn 0.15s ease;
|
|
}
|
|
|
|
.backup-create-panel {
|
|
width: 100%;
|
|
max-width: 440px;
|
|
background: linear-gradient(165deg, rgba(17, 19, 23, 0.99), rgba(10, 12, 15, 1));
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 14px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
|
|
overflow: hidden;
|
|
animation: backupsPanelIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.backup-create-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 18px 20px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.backup-create-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
|
|
.backup-create-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: transparent;
|
|
border: none;
|
|
color: #6b7280;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.backup-create-close:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #fff;
|
|
}
|
|
|
|
.backup-create-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.backup-create-field {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.backup-create-field label {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #9ca3af;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.backup-create-field input,
|
|
.backup-create-field textarea {
|
|
width: 93%;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
transition: all 0.15s ease;
|
|
resize: none;
|
|
}
|
|
|
|
.backup-create-field input:focus,
|
|
.backup-create-field textarea:focus {
|
|
outline: none;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.backup-create-field input::placeholder,
|
|
.backup-create-field textarea::placeholder {
|
|
color: #4b5563;
|
|
}
|
|
|
|
.backup-create-info {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 12px 14px;
|
|
background: rgba(59, 130, 246, 0.08);
|
|
border-radius: 10px;
|
|
font-size: 12px;
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.backup-create-info i {
|
|
margin-top: 1px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.backup-create-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 16px 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(255, 255, 255, 0.01);
|
|
}
|
|
|
|
.backup-create-cancel {
|
|
padding: 10px 18px;
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
color: #9ca3af;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.backup-create-cancel:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
color: #fff;
|
|
}
|
|
|
|
.backup-create-confirm {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 20px;
|
|
background: rgba(59, 130, 246, 0.08);
|
|
border-radius: 10px;
|
|
border: none;
|
|
outline: none;
|
|
color: #fbbf24;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.backup-create-confirm:hover {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.08);
|
|
}
|
|
|
|
.backup-create-confirm:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.backup-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 18px;
|
|
border-radius: 10px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.backup-btn-secondary {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.backup-btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
color: #fff;
|
|
}
|
|
|
|
.backup-btn-danger {
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.2));
|
|
border-color: rgba(239, 68, 68, 0.35);
|
|
color: #f87171;
|
|
}
|
|
|
|
.backup-btn-danger:hover {
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(220, 38, 38, 0.3));
|
|
border-color: rgba(239, 68, 68, 0.5);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.backup-btn-danger:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.backup-modal-overlay {
|
|
display: none;
|
|
position: fixed !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
bottom: 0 !important;
|
|
width: 100vw !important;
|
|
height: 100vh !important;
|
|
z-index: 99999 !important;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
background: rgba(0, 0, 0, 0.75) !important;
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.backup-modal-overlay.active {
|
|
display: flex !important;
|
|
animation: backupsModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.backup-modal-overlay>.backup-modal,
|
|
.backup-modal-overlay>.restore-confirm-modal {
|
|
position: relative !important;
|
|
max-width: 480px;
|
|
width: calc(100vw - 40px);
|
|
max-height: calc(100vh - 40px);
|
|
margin: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: linear-gradient(165deg, rgba(17, 19, 23, 0.98), rgba(10, 12, 15, 0.99)) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
overflow: hidden;
|
|
animation: backupsPanelIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-header h3 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
margin: 0;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-header h3 i {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
color: #9ca3af;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-close:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-body {
|
|
padding: 16px 20px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 14px 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(255, 255, 255, 0.01);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (max-width: 540px) {
|
|
.backup-modal-overlay {
|
|
padding: 10px;
|
|
}
|
|
|
|
.backup-modal-overlay>.backup-modal,
|
|
.backup-modal-overlay>.restore-confirm-modal {
|
|
width: calc(100vw - 20px);
|
|
max-height: calc(100vh - 20px);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-header {
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-header h3 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-body {
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-modal-footer {
|
|
padding: 12px 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.backup-modal-overlay .backup-btn {
|
|
flex: 1;
|
|
justify-content: center;
|
|
min-width: 100px;
|
|
}
|
|
}
|
|
|
|
|
|
.ai-help-trigger {
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(139, 92, 246, 0.1)) !important;
|
|
border: 1px solid rgba(167, 139, 250, 0.25) !important;
|
|
color: #c4b5fd !important;
|
|
}
|
|
|
|
.ai-help-trigger:hover {
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(139, 92, 246, 0.2)) !important;
|
|
border-color: rgba(167, 139, 250, 0.4) !important;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.ai-help-trigger i {
|
|
color: #a78bfa;
|
|
}
|
|
|
|
.ai-help-dock {
|
|
position: relative;
|
|
}
|
|
|
|
.ai-help-dock::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), transparent);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.ai-help-dock:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ai-help-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100000;
|
|
perspective: 1200px;
|
|
}
|
|
|
|
.ai-help-modal.show {
|
|
display: flex;
|
|
}
|
|
|
|
.ai-help-panel {
|
|
position: relative;
|
|
width: 96vw;
|
|
max-width: 1100px;
|
|
height: 92vh;
|
|
max-height: 920px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
backdrop-filter: blur(80px) saturate(100%) brightness(1.05);
|
|
-webkit-backdrop-filter: blur(80px) saturate(200%) brightness(1.05);
|
|
border-radius: 28px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
transform: scale(0.92) rotateX(8deg);
|
|
animation: panelLiquidIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.ai-avatar-wrap {
|
|
position: relative;
|
|
width: 56px;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ai-avatar-pulse {
|
|
display: none;
|
|
}
|
|
|
|
@keyframes aiAvatarPulse {
|
|
|
|
0%,
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 0.4;
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1.2);
|
|
opacity: 0.15;
|
|
}
|
|
}
|
|
|
|
.ai-avatar-img {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 16px;
|
|
object-fit: contain;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.ai-help-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 24px 28px 20px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
|
|
}
|
|
|
|
.ai-help-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.ai-help-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-help-settings-btn {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 12px;
|
|
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.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
border: none;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.ai-help-settings-btn:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.ai-help-settings-btn.hidden,
|
|
.ai-help-settings-btn[hidden] {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.ai-help-modal .activity-icon {
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(139, 92, 246, 0.06));
|
|
}
|
|
|
|
.ai-help-modal .activity-icon i {
|
|
color: #a78bfa;
|
|
}
|
|
|
|
.ai-help-modal .activity-icon-pulse {
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(139, 92, 246, 0.08));
|
|
}
|
|
|
|
.ai-help-setup {
|
|
position: relative;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px 28px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ai-setup-settings-btn {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 20px;
|
|
z-index: 5;
|
|
}
|
|
|
|
@keyframes aiTextFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
filter: blur(4px);
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.ai-setup-welcome {
|
|
text-align: center;
|
|
padding: 20px 0 30px;
|
|
opacity: 0;
|
|
animation: aiTextFadeIn 0.5s ease 0.2s forwards;
|
|
}
|
|
|
|
.ai-agent-icon {
|
|
width: 72px;
|
|
height: 72px;
|
|
margin: 0 auto 20px;
|
|
border-radius: 20px;
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(139, 92, 246, 0.15));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
box-shadow:
|
|
0 8px 32px rgba(139, 92, 246, 0.25),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.ai-agent-icon::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 20px;
|
|
padding: 1px;
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(139, 92, 246, 0.2));
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ai-agent-icon i {
|
|
font-size: 32px;
|
|
color: #c4b5fd;
|
|
filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.4));
|
|
}
|
|
|
|
.ai-agent-icon::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #4ade80;
|
|
border-radius: 50%;
|
|
bottom: 4px;
|
|
right: 4px;
|
|
box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
|
|
animation: agentPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes agentPulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.6;
|
|
transform: scale(1.2);
|
|
}
|
|
}
|
|
|
|
.ai-setup-emoji {
|
|
display: none;
|
|
}
|
|
|
|
.ai-setup-welcome h2 {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.ai-setup-welcome p {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
margin: 0;
|
|
}
|
|
|
|
.ai-provider-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
opacity: 0;
|
|
animation: aiTextFadeIn 0.5s ease 0.3s forwards;
|
|
}
|
|
|
|
.ai-provider-grid .ai-provider-card:last-child:nth-child(odd) {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.ai-provider-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px 18px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 16px;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
text-align: left;
|
|
color: inherit;
|
|
border: none;
|
|
}
|
|
|
|
.ai-provider-card:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
transform: scale(1.03);
|
|
border: none;
|
|
}
|
|
|
|
.ai-provider-card.connected {
|
|
background: rgba(74, 222, 128, 0.08);
|
|
}
|
|
|
|
.ai-provider-card.connected:hover {
|
|
background: rgba(74, 222, 128, 0.12);
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
.ai-provider-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
flex-shrink: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-provider-icon img {
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.ai-provider-icon.openai-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-provider-icon.anthropic-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-provider-icon.openai-compatible-icon {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.ai-provider-icon.google-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-provider-icon.groq-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-provider-icon.hf-icon {
|
|
background: transparent;
|
|
color: #ffd54f;
|
|
}
|
|
|
|
.ai-provider-icon.together-icon {
|
|
background: transparent;
|
|
color: #3b82f6;
|
|
}
|
|
|
|
.ai-provider-icon.cohere-icon {
|
|
background: transparent;
|
|
color: #d946ef;
|
|
}
|
|
|
|
.ai-provider-icon.anthropic-compatible-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-provider-icon.openrouter-icon {
|
|
background: transparent;
|
|
color: #22c55e;
|
|
}
|
|
|
|
.ai-provider-info {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.ai-provider-name {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.ai-provider-desc {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.ai-provider-status {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-provider-status.connected {
|
|
background: #4ade80;
|
|
}
|
|
|
|
.ai-provider-status-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-provider-status-label {
|
|
font-size: 10px;
|
|
color: #6ee7a0;
|
|
font-family: Inter, sans-serif !important;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
display: none;
|
|
}
|
|
|
|
.ai-provider-status.connected+.ai-provider-status-label {
|
|
display: inline;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
.ai-api-key-form {
|
|
padding: 20px 0;
|
|
animation: aiSlideIn 0.3s ease forwards;
|
|
}
|
|
|
|
.ai-config-field {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.ai-config-label {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.56);
|
|
margin: 0 0 8px 4px;
|
|
}
|
|
|
|
@keyframes aiSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.ai-key-form-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.ai-key-back {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-key-back:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
}
|
|
|
|
.ai-key-form-header span {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.ai-key-input-wrap {
|
|
position: relative;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.ai-key-input-wrap :is(input, textarea) {
|
|
width: 100%;
|
|
padding: 16px 50px 16px 18px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 14px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 15px;
|
|
outline: none;
|
|
transition: all 0.3s ease;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ai-key-input-wrap :is(input, textarea):focus {
|
|
border-color: rgba(167, 139, 250, 0.5);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
|
|
}
|
|
|
|
.ai-key-input-wrap :is(input, textarea)::placeholder {
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.ai-base-url-input-wrap input,
|
|
.ai-key-input-wrap textarea {
|
|
padding-right: 18px;
|
|
}
|
|
|
|
.ai-key-input-wrap textarea {
|
|
font-family: inherit;
|
|
resize: vertical;
|
|
}
|
|
|
|
.ai-key-toggle {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-key-toggle:hover {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.ai-key-hint {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
margin-bottom: 20px;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.ai-key-save {
|
|
width: 100%;
|
|
padding: 16px;
|
|
background: linear-gradient(135deg, #a78bfa, #8b5cf6);
|
|
border: none;
|
|
border-radius: 14px;
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
|
|
}
|
|
|
|
.ai-key-save:hover:not(:disabled) {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
|
|
}
|
|
|
|
.ai-key-save:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.ai-help-chat {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
min-height: 0;
|
|
min-max-width: 0;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.ai-chat-sidebar {
|
|
width: 220px;
|
|
min-width: 220px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.06);
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.ai-chat-sidebar.collapsed {
|
|
max-width: 0;
|
|
min-max-width: 0;
|
|
overflow: hidden;
|
|
border-right: none;
|
|
}
|
|
|
|
.ai-sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 14px 16px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.ai-new-chat-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 8px;
|
|
background: rgba(139, 92, 246, 0.15);
|
|
border: none;
|
|
color: #a78bfa;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-new-chat-btn:hover {
|
|
background: rgba(139, 92, 246, 0.25);
|
|
color: #c4b5fd;
|
|
}
|
|
|
|
.ai-chats-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.ai-no-chats {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40px 16px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
text-align: center;
|
|
}
|
|
|
|
.ai-no-chats i {
|
|
font-size: 32px;
|
|
margin-bottom: 12px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.ai-no-chats p {
|
|
font-size: 13px;
|
|
margin: 0;
|
|
}
|
|
|
|
.ai-chat-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 18px 10px 12px;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-max-width: 0;
|
|
gap: 8px;
|
|
position: relative;
|
|
}
|
|
|
|
.ai-chat-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.ai-chat-item.active {
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: #c4b5fd;
|
|
}
|
|
|
|
.ai-chat-item-icon {
|
|
font-size: 12px;
|
|
opacity: 0.6;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-chat-item-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-chat-item-title {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ai-chat-item-date {
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.ai-chat-item-delete {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
opacity: 0;
|
|
transition: opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
|
|
flex-shrink: 0;
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.ai-chat-item:hover .ai-chat-item-delete {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ai-chat-item-delete:hover {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
color: #fca5a5;
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.ai-sidebar-toggle {
|
|
position: absolute;
|
|
right: -28px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 28px;
|
|
height: 56px;
|
|
border-radius: 0 10px 10px 0;
|
|
background: rgba(15, 17, 22, 0.95);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-left: none;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
transition: all 0.3s ease;
|
|
z-index: 100;
|
|
}
|
|
|
|
.ai-sidebar-toggle:hover {
|
|
background: rgba(139, 92, 246, 0.2);
|
|
color: #a78bfa;
|
|
width: 32px;
|
|
}
|
|
|
|
.ai-chat-sidebar.collapsed+.ai-chat-main .ai-sidebar-expand-btn {
|
|
display: flex;
|
|
}
|
|
|
|
.ai-sidebar-expand-btn {
|
|
position: relative;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: #a78bfa;
|
|
cursor: pointer;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
border: none;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-sidebar-expand-btn:hover {
|
|
background: rgba(139, 92, 246, 0.25);
|
|
}
|
|
|
|
.ai-chat-sidebar.collapsed+.ai-chat-main #aiModelSelector {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.ai-chat-sidebar.collapsed .ai-sidebar-toggle i {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.ai-chat-main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-max-width: 0;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.ai-thinking-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 3px 10px;
|
|
border-radius: 20px;
|
|
background: rgba(139, 92, 246, 0.08);
|
|
border: 1px solid rgba(139, 92, 246, 0.1);
|
|
color: rgba(167, 139, 250, 0.7);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.2px;
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
cursor: pointer;
|
|
transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
|
|
}
|
|
|
|
.ai-thinking-badge i {
|
|
font-size: 9px;
|
|
color: rgba(167, 139, 250, 0.6);
|
|
}
|
|
|
|
.ai-thinking-label {
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.ai-thinking-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
width: min(100%, 760px);
|
|
}
|
|
|
|
.ai-thinking-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
outline: none;
|
|
}
|
|
|
|
.ai-thinking-toggle::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.ai-thinking-toggle::marker {
|
|
content: '';
|
|
}
|
|
|
|
.ai-thinking-toggle:hover .ai-thinking-badge,
|
|
.ai-thinking-toggle:focus-visible .ai-thinking-badge,
|
|
.ai-thinking-shell[open] .ai-thinking-badge {
|
|
background: rgba(139, 92, 246, 0.12);
|
|
border-color: rgba(167, 139, 250, 0.2);
|
|
color: rgba(216, 195, 255, 0.92);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.ai-thinking-caret {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-left: 2px;
|
|
color: rgba(255, 255, 255, 0.34);
|
|
}
|
|
|
|
.ai-thinking-caret i {
|
|
font-size: 9px;
|
|
transition: transform 0.18s ease, color 0.18s ease;
|
|
}
|
|
|
|
.ai-thinking-shell[open] .ai-thinking-caret i {
|
|
transform: rotate(90deg);
|
|
color: rgba(216, 195, 255, 0.9);
|
|
}
|
|
|
|
.ai-thinking-panel {
|
|
width: min(100%, 760px);
|
|
margin-top: 8px;
|
|
padding: 14px 16px;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.76);
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
|
|
}
|
|
|
|
.ai-thinking-panel .ai-code-block {
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.ai-chat-toolbar {
|
|
position: relative;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
gap: 12px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.ai-chat-toolbar .ai-chat-clear {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.ai-model-selector {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 0 0 240px;
|
|
min-width: 240px;
|
|
max-width: 240px;
|
|
z-index: 30;
|
|
border-radius: 14px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.ai-model-selector select {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ai-model-trigger {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
min-max-width: 0;
|
|
padding: 13px 42px 13px 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 14px;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
cursor: pointer;
|
|
box-sizing: border-box;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05),
|
|
0 8px 24px rgba(0, 0, 0, 0.14);
|
|
transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: left;
|
|
}
|
|
|
|
.ai-model-trigger:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
}
|
|
|
|
.ai-model-trigger:focus-visible,
|
|
.ai-model-selector.open .ai-model-trigger {
|
|
outline: none;
|
|
background: rgba(255, 255, 255, 0.065);
|
|
border-color: rgba(167, 139, 250, 0.34);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
|
0 0 0 3px rgba(167, 139, 250, 0.08),
|
|
0 10px 28px rgba(0, 0, 0, 0.16);
|
|
}
|
|
|
|
.ai-model-selector.is-disabled .ai-model-trigger,
|
|
.ai-model-trigger:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.ai-model-current {
|
|
display: block;
|
|
width: 100%;
|
|
min-max-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ai-model-trigger i {
|
|
position: absolute;
|
|
right: 14px;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
font-size: 11px;
|
|
pointer-events: none;
|
|
transition: color 0.18s ease, transform 0.18s ease;
|
|
}
|
|
|
|
.ai-model-trigger:hover i {
|
|
color: rgba(255, 255, 255, 0.58);
|
|
}
|
|
|
|
.ai-model-trigger:focus-visible i,
|
|
.ai-model-selector.open .ai-model-trigger i {
|
|
color: rgba(199, 178, 255, 0.88);
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.ai-model-options-shell {
|
|
position: absolute;
|
|
top: calc(100% + 10px);
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 40;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 8px;
|
|
border-radius: 18px;
|
|
overflow: hidden;
|
|
background:
|
|
linear-gradient(180deg, rgba(26, 31, 40, 0.98), rgba(14, 18, 25, 0.97));
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow:
|
|
0 18px 44px rgba(0, 0, 0, 0.42),
|
|
0 0 0 1px rgba(10, 12, 16, 0.28),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(6px) scale(0.985);
|
|
pointer-events: none;
|
|
transition: opacity 0.16s ease, transform 0.16s ease;
|
|
transform-origin: top center;
|
|
}
|
|
|
|
.ai-model-options-shell::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
border-radius: inherit;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
|
|
radial-gradient(circle at top, rgba(167, 139, 250, 0.08), transparent 58%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ai-model-options-shell::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
border-radius: inherit;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
|
inset 0 -1px 0 rgba(255, 255, 255, 0.02);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ai-model-selector.open .ai-model-options-shell {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0) scale(1);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.ai-model-options {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
max-height: 274px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
box-sizing: border-box;
|
|
pointer-events: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
|
|
}
|
|
|
|
.ai-model-group {
|
|
padding: 8px 10px 6px;
|
|
color: rgba(255, 255, 255, 0.36);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ai-model-option {
|
|
width: 100%;
|
|
padding: 11px 12px;
|
|
border: none;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
cursor: pointer;
|
|
box-sizing: border-box;
|
|
pointer-events: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
text-align: left;
|
|
transition: background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
|
|
}
|
|
|
|
.ai-model-option:hover,
|
|
.ai-model-option:focus-visible {
|
|
outline: none;
|
|
background: rgba(255, 255, 255, 0.07);
|
|
color: rgba(255, 255, 255, 0.96);
|
|
}
|
|
|
|
.ai-model-option.selected {
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(124, 58, 237, 0.14));
|
|
color: #f2ebff;
|
|
box-shadow: inset 0 0 0 1px rgba(199, 178, 255, 0.14);
|
|
}
|
|
|
|
.ai-model-option-name {
|
|
min-max-width: 0;
|
|
white-space: normal;
|
|
line-height: 1.35;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.ai-model-option-check {
|
|
opacity: 0;
|
|
color: rgba(214, 198, 255, 0.9);
|
|
transition: opacity 0.14s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-model-option.selected .ai-model-option-check {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ai-model-empty {
|
|
padding: 12px;
|
|
color: rgba(255, 255, 255, 0.44);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Ask / Don't Ask selector: same visual language as the model selector, but
|
|
narrower and with a two-line (title + description) option layout. */
|
|
.ai-ask-mode-selector {
|
|
flex: 0 0 150px;
|
|
min-width: 150px;
|
|
max-width: 150px;
|
|
}
|
|
|
|
.ai-ask-mode-selector .ai-model-options-shell {
|
|
left: auto;
|
|
right: 0;
|
|
width: 280px;
|
|
min-width: 280px;
|
|
}
|
|
|
|
.ai-ask-mode-option {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.ai-ask-mode-option-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-ask-mode-option-desc {
|
|
font-size: 11px;
|
|
line-height: 1.35;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.ai-ask-mode-option.selected .ai-ask-mode-option-desc {
|
|
color: rgba(226, 215, 255, 0.72);
|
|
}
|
|
|
|
.ai-chat-clear {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-chat-clear:hover {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.ai-chat-settings-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.ai-chat-settings-btn:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.ai-chat-older:not([hidden]) {
|
|
align-self: center;
|
|
margin: 4px 12px;
|
|
padding: 6px 10px;
|
|
border: 1px solid currentColor;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ai-chat-older:disabled {
|
|
opacity: 0.6;
|
|
cursor: wait;
|
|
}
|
|
|
|
.ai-chat-messages {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 20px 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
mask-image: linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
|
|
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
|
|
}
|
|
|
|
.ai-chat-welcome {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
opacity: 0;
|
|
animation: aiTextFadeIn 0.5s ease 0.2s forwards;
|
|
}
|
|
|
|
.ai-welcome-emoji {
|
|
font-size: 48px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.ai-chat-welcome h3 {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.ai-chat-welcome p {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
margin: 0 0 24px;
|
|
}
|
|
|
|
.ai-welcome-suggestions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-suggestion {
|
|
padding: 12px 20px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-radius: 24px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
border: none;
|
|
}
|
|
|
|
.ai-suggestion:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #ffffff;
|
|
transform: none;
|
|
}
|
|
|
|
.ai-message {
|
|
display: flex;
|
|
gap: 14px;
|
|
max-width: 88%;
|
|
opacity: 1;
|
|
}
|
|
|
|
.ai-message.ai-enter,
|
|
.ai-message.ai-typing-container {
|
|
opacity: 0;
|
|
animation: aiMessageIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
@keyframes aiMessageIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(16px) scale(0.98);
|
|
filter: blur(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
.ai-message.user {
|
|
align-self: flex-end;
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.ai-msg-avatar {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 13px;
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
overflow: hidden;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.ai-msg-avatar.ai {
|
|
background: rgba(167, 139, 250, 0.12);
|
|
border: 1px solid rgba(167, 139, 250, 0.15);
|
|
}
|
|
|
|
.ai-msg-avatar.user {
|
|
background: linear-gradient(145deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.08));
|
|
color: #60a5fa;
|
|
border: 1px solid rgba(96, 165, 250, 0.12);
|
|
}
|
|
|
|
.ai-message:hover .ai-msg-avatar {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.ai-message-avatar-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.ai-user-avatar-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.user-message-avatar {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 13px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-message-avatar {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
background: rgba(167, 139, 250, 0.12);
|
|
border: 1px solid rgba(167, 139, 250, 0.15);
|
|
}
|
|
|
|
.ai-message-avatar .ai-message-avatar-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.ai-message-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ai-message-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-message-content {
|
|
padding: 16px 20px;
|
|
border-radius: 20px;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
|
|
}
|
|
|
|
.ai-message.ai .ai-message-content {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
border-top-left-radius: 6px;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.ai-message.ai:hover .ai-message-content {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ai-message.user .ai-message-content {
|
|
background: linear-gradient(145deg, rgba(167, 139, 250, 0.18), rgba(139, 92, 246, 0.12));
|
|
color: #f0ebff;
|
|
border-top-right-radius: 6px;
|
|
box-shadow: 0 4px 20px rgba(139, 92, 246, 0.12);
|
|
}
|
|
|
|
.ai-message.user:hover .ai-message-content {
|
|
background: linear-gradient(145deg, rgba(167, 139, 250, 0.24), rgba(139, 92, 246, 0.18));
|
|
}
|
|
|
|
.ai-message-content {
|
|
user-select: text !important;
|
|
-webkit-user-select: text !important;
|
|
cursor: default;
|
|
}
|
|
|
|
.ai-message-content * {
|
|
user-select: text !important;
|
|
-webkit-user-select: text !important;
|
|
}
|
|
|
|
.ai-chat-messages {
|
|
user-select: text !important;
|
|
-webkit-user-select: text !important;
|
|
}
|
|
|
|
.ai-code-block {
|
|
background: #141517;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
margin: 8px 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
|
|
}
|
|
|
|
.ai-code-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 7px 12px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.ai-code-dots {
|
|
display: flex;
|
|
gap: 5px;
|
|
align-items: center;
|
|
}
|
|
|
|
.ai-code-dots .dot-red,
|
|
.ai-code-dots .dot-yellow,
|
|
.ai-code-dots .dot-green {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.ai-code-dots .dot-red { background: #ff5f57; }
|
|
.ai-code-dots .dot-yellow { background: #febc2e; }
|
|
.ai-code-dots .dot-green { background: #28c840; }
|
|
|
|
.ai-code-lang {
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
flex: 1;
|
|
}
|
|
|
|
.ai-code-copy {
|
|
background: none;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
cursor: pointer;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.ai-code-copy:hover {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ai-code-copy.copied {
|
|
color: #28c840;
|
|
}
|
|
|
|
.ai-code-pre {
|
|
margin: 0;
|
|
padding: 10px 14px;
|
|
overflow-x: auto;
|
|
font-size: 12.5px;
|
|
line-height: 1.5;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.ai-code-pre code {
|
|
font-family: inherit;
|
|
white-space: pre;
|
|
}
|
|
|
|
.ai-inline-code {
|
|
background: #141517;
|
|
color: #e2e8f0;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.ai-message-content strong {
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ai-message-content em {
|
|
font-style: italic;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.ai-message-content del {
|
|
text-decoration: line-through;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ai-md-h2 {
|
|
font-size: 1.3em;
|
|
font-weight: 700;
|
|
margin: 14px 0 8px;
|
|
color: #fff;
|
|
}
|
|
|
|
.ai-md-h3 {
|
|
font-size: 1.15em;
|
|
font-weight: 600;
|
|
margin: 12px 0 6px;
|
|
color: #fff;
|
|
}
|
|
|
|
.ai-md-h4 {
|
|
font-size: 1.05em;
|
|
font-weight: 600;
|
|
margin: 10px 0 4px;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.ai-md-ul, .ai-md-ol {
|
|
margin: 8px 0;
|
|
padding-left: 22px;
|
|
}
|
|
|
|
.ai-md-li, .ai-md-oli {
|
|
margin: 3px 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.ai-md-quote {
|
|
border-left: 3px solid rgba(167, 139, 250, 0.5);
|
|
padding: 6px 14px;
|
|
margin: 8px 0;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
background: rgba(167, 139, 250, 0.06);
|
|
border-radius: 0 6px 6px 0;
|
|
}
|
|
|
|
.ai-md-hr {
|
|
border: none;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.ai-md-link {
|
|
color: #a78bfa;
|
|
text-decoration: none;
|
|
border-bottom: 1px solid rgba(167, 139, 250, 0.3);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-md-link:hover {
|
|
color: #c4b5fd;
|
|
border-bottom-color: rgba(167, 139, 250, 0.6);
|
|
}
|
|
|
|
.ai-message-attachment {
|
|
margin-top: 10px;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.ai-message-attachment img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
.ai-message-attachment-file {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 14px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.ai-message-attachment-file i {
|
|
font-size: 20px;
|
|
color: #a78bfa;
|
|
}
|
|
|
|
.ai-message-attachment-file span {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.ai-typing {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 10px 2px;
|
|
min-height: 16px;
|
|
}
|
|
|
|
.ai-typing-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #4a4c54;
|
|
box-shadow: none;
|
|
animation: aiTypingDot 1.15s cubic-bezier(0.37, 0, 0.2, 1) infinite;
|
|
will-change: transform, opacity;
|
|
}
|
|
|
|
.ai-typing-dot:nth-child(2) {
|
|
animation-delay: 0.16s;
|
|
}
|
|
|
|
.ai-typing-dot:nth-child(3) {
|
|
animation-delay: 0.32s;
|
|
}
|
|
|
|
@keyframes aiTypingDot {
|
|
|
|
0%,
|
|
65%,
|
|
100% {
|
|
transform: translateY(0);
|
|
opacity: 0.34;
|
|
}
|
|
|
|
35% {
|
|
transform: translateY(-2px) scale(1.04);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.ai-typing-container {
|
|
transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
|
|
}
|
|
|
|
.ai-typing-container.is-exiting {
|
|
opacity: 0;
|
|
transform: translateY(6px);
|
|
filter: blur(2px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ai-typing-shell {
|
|
min-width: 54px;
|
|
}
|
|
|
|
.ai-streaming-content {
|
|
transform-origin: left center;
|
|
animation: aiStreamingReveal 0.22s ease;
|
|
}
|
|
|
|
@keyframes aiStreamingReveal {
|
|
from {
|
|
opacity: 0.72;
|
|
transform: translateY(2px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.ai-chat-input-container {
|
|
padding: 0 20px 20px;
|
|
}
|
|
|
|
.ai-chat-input-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgba(255, 255, 255, 0.042);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
cursor: default;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
|
transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
|
|
}
|
|
|
|
.ai-chat-input-box:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.09);
|
|
}
|
|
|
|
.ai-chat-input-box:focus-within {
|
|
background: rgba(255, 255, 255, 0.052);
|
|
border-color: rgba(167, 139, 250, 0.12);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05),
|
|
0 0 0 1px rgba(139, 92, 246, 0.06);
|
|
}
|
|
|
|
.ai-chat-input-row {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
width: 100%;
|
|
}
|
|
|
|
.ai-chat-input-box textarea {
|
|
flex: 1;
|
|
padding: 14px 0 14px 22px;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
resize: none;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
max-height: 120px;
|
|
min-height: 22px;
|
|
line-height: 1.5;
|
|
caret-color: #e9ddff;
|
|
cursor: text;
|
|
}
|
|
|
|
.ai-chat-input-box textarea:hover,
|
|
.ai-chat-input-box textarea:focus,
|
|
.ai-chat-input-box textarea:focus-visible,
|
|
.ai-chat-input-box textarea:active {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
}
|
|
|
|
.ai-chat-input-box textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.28);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.ai-chat-input-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex-shrink: 0;
|
|
padding: 8px 10px 8px 4px;
|
|
}
|
|
|
|
.ai-chat-attach-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-chat-attach-btn:hover {
|
|
color: rgba(255, 255, 255, 0.65);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ai-chat-send-btn {
|
|
position: relative;
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 13px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.42);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 13px;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
transition:
|
|
transform 0.16s ease,
|
|
background-color 0.16s ease,
|
|
background-image 0.16s ease,
|
|
border-color 0.16s ease,
|
|
color 0.16s ease,
|
|
box-shadow 0.16s ease,
|
|
opacity 0.16s ease;
|
|
}
|
|
|
|
.ai-chat-send-btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
|
|
opacity: 0.12;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ai-chat-send-btn i {
|
|
position: relative;
|
|
z-index: 1;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ai-chat-send-btn:not(:disabled) {
|
|
background: linear-gradient(135deg, #c6a9ff 0%, #9b72fa 42%, #7c3aed 100%);
|
|
border-color: rgba(210, 188, 255, 0.28);
|
|
color: #f8f5ff;
|
|
box-shadow:
|
|
0 8px 18px rgba(91, 54, 180, 0.18),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.ai-chat-send-btn:not(:disabled):hover {
|
|
background: linear-gradient(135deg, #d0b7ff 0%, #aa83ff 42%, #8750f2 100%);
|
|
border-color: rgba(223, 205, 255, 0.34);
|
|
box-shadow:
|
|
0 8px 18px rgba(91, 54, 180, 0.2),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.22);
|
|
}
|
|
|
|
.ai-chat-send-btn:not(:disabled):active {
|
|
transform: translateY(0);
|
|
box-shadow:
|
|
0 5px 12px rgba(91, 54, 180, 0.14),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
.ai-chat-send-btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.78;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
|
|
border-color: rgba(255, 255, 255, 0.06);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.ai-chat-send-btn.generating {
|
|
background: linear-gradient(135deg, #ff988a 0%, #ef5c4f 42%, #d93025 100%);
|
|
border-color: rgba(255, 214, 208, 0.22);
|
|
color: #fff6f4;
|
|
box-shadow:
|
|
0 10px 20px rgba(220, 38, 38, 0.16),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.ai-chat-send-btn:focus-visible {
|
|
outline: none;
|
|
box-shadow:
|
|
0 0 0 1px rgba(139, 92, 246, 0.12),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.ai-chat-input-box,
|
|
.ai-chat-send-btn {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
.ai-attached-preview {
|
|
position: relative;
|
|
padding: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: rgba(167, 139, 250, 0.08);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ai-attached-preview img {
|
|
max-width: 120px;
|
|
max-height: 80px;
|
|
border-radius: 8px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ai-attached-preview.ai-attached-file {
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
.ai-attached-preview.ai-attached-file i {
|
|
font-size: 24px;
|
|
color: #a78bfa;
|
|
}
|
|
|
|
.ai-attached-name {
|
|
display: none;
|
|
}
|
|
|
|
.ai-attached-remove {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 6px;
|
|
background: rgba(239, 68, 68, 0.15);
|
|
border: none;
|
|
color: #f87171;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-attached-remove:hover {
|
|
background: rgba(239, 68, 68, 0.25);
|
|
}
|
|
|
|
|
|
|
|
.ai-chat-input-wrap {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 12px;
|
|
padding: 16px 28px 24px;
|
|
background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
|
|
}
|
|
|
|
.ai-chat-input-wrap textarea {
|
|
flex: 1;
|
|
padding: 14px 18px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
resize: none;
|
|
outline: none;
|
|
transition: all 0.3s ease;
|
|
max-height: 120px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.ai-chat-input-wrap textarea:focus {
|
|
border-color: rgba(167, 139, 250, 0.5);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ai-chat-input-wrap textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.ai-chat-send {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 14px;
|
|
background: linear-gradient(135deg, #a78bfa, #8b5cf6);
|
|
border: none;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
transition: all 0.3s ease;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
|
|
}
|
|
|
|
.ai-chat-send:hover:not(:disabled) {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
|
|
}
|
|
|
|
.ai-chat-send:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ai-file-permission {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(10, 10, 18, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
padding: 40px;
|
|
z-index: 10;
|
|
animation: aiPermIn 0.3s ease forwards;
|
|
}
|
|
|
|
@keyframes aiPermIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.ai-perm-icon {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 20px;
|
|
background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32px;
|
|
color: #fbbf24;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.ai-file-permission h3 {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.ai-file-permission p {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin: 0 0 32px;
|
|
}
|
|
|
|
.ai-file-permission strong {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.ai-perm-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-perm-deny,
|
|
.ai-perm-allow {
|
|
padding: 14px 28px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: none;
|
|
}
|
|
|
|
.ai-perm-deny {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.ai-perm-deny:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
}
|
|
|
|
.ai-perm-allow {
|
|
background: linear-gradient(135deg, #4ade80, #22c55e);
|
|
color: #fff;
|
|
box-shadow: 0 8px 24px rgba(74, 222, 128, 0.3);
|
|
}
|
|
|
|
.ai-perm-allow:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 32px rgba(74, 222, 128, 0.4);
|
|
}
|
|
|
|
.ai-undo-toast {
|
|
position: absolute;
|
|
bottom: 100px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(30px) scale(0.95);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px 24px;
|
|
background: rgba(15, 17, 22, 0.85);
|
|
backdrop-filter: blur(40px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(40px) saturate(180%);
|
|
border-radius: 18px;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
z-index: 200;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
|
|
}
|
|
|
|
.ai-undo-toast.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
transform: translateX(-50%) translateY(0) scale(1);
|
|
animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@keyframes toastSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-50%) translateY(30px) scale(0.95);
|
|
filter: blur(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(0) scale(1);
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
.ai-undo-toast i {
|
|
color: #4ade80;
|
|
font-size: 18px;
|
|
filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.4));
|
|
}
|
|
|
|
.ai-undo-btn {
|
|
padding: 10px 20px;
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(139, 92, 246, 0.2));
|
|
border-radius: 12px;
|
|
color: #e0d4ff;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ai-undo-btn:hover {
|
|
background: linear-gradient(135deg, rgba(167, 139, 250, 0.4), rgba(139, 92, 246, 0.35));
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ai-undo-dismiss {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-undo-dismiss:hover {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.ai-help-panel {
|
|
border-radius: 20px 20px 0 0;
|
|
max-height: 95vh;
|
|
height: 95vh;
|
|
}
|
|
|
|
.ai-provider-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.ai-help-header {
|
|
padding: 18px 20px;
|
|
}
|
|
|
|
.ai-help-setup,
|
|
.ai-chat-messages,
|
|
.ai-chat-input-wrap,
|
|
.ai-chat-toolbar {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
/* Keep the toolbar usable on narrow screens: let the model selector flex and
|
|
shrink the Ask/Don't Ask selector so both fit alongside the clear button. */
|
|
#aiModelSelector {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: none;
|
|
}
|
|
|
|
.ai-ask-mode-selector {
|
|
flex: 0 0 120px;
|
|
min-width: 120px;
|
|
max-width: 120px;
|
|
}
|
|
|
|
.ai-ask-mode-selector .ai-model-options-shell {
|
|
width: 240px;
|
|
min-width: 240px;
|
|
}
|
|
|
|
.ai-chat-sidebar {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 10;
|
|
background: rgba(15, 17, 22, 0.98);
|
|
width: 75%;
|
|
max-width: 280px;
|
|
transform: translateX(-100%);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.ai-chat-sidebar:not(.collapsed) {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.ai-sidebar-toggle {
|
|
right: -36px;
|
|
width: 32px;
|
|
height: 56px;
|
|
}
|
|
|
|
.ai-chat-sidebar.collapsed .ai-sidebar-toggle {
|
|
right: -36px;
|
|
}
|
|
}
|
|
|
|
.ai-file-changes-bar {
|
|
position: absolute;
|
|
top: clamp(118px, 16vh, 156px);
|
|
left: 50%;
|
|
right: auto;
|
|
width: min(760px, calc(100% - 40px));
|
|
background: rgba(20, 22, 28, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 14px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
overflow: hidden;
|
|
transform: translateX(-50%) translateY(-28px);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: all 0.3s ease;
|
|
z-index: 100;
|
|
}
|
|
|
|
.ai-file-changes-bar.show {
|
|
transform: translateX(-50%) translateY(0);
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.ai-file-changes-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.ai-file-changes-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.ai-file-changes-title i {
|
|
color: #a78bfa;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.ai-file-changes-count {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
background: rgba(139, 92, 246, 0.2);
|
|
color: #c4b5fd;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ai-file-changes-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-file-changes-accept-all,
|
|
.ai-file-changes-undo-all {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-file-changes-accept-all {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.ai-file-changes-accept-all:hover {
|
|
background: rgba(34, 197, 94, 0.25);
|
|
}
|
|
|
|
.ai-file-changes-undo-all {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #f87171;
|
|
}
|
|
|
|
.ai-file-changes-undo-all:hover {
|
|
background: rgba(239, 68, 68, 0.25);
|
|
}
|
|
|
|
.ai-file-changes-toggle {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-file-changes-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.ai-file-changes-toggle i {
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.ai-file-changes-bar.collapsed .ai-file-changes-toggle i {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.ai-file-changes-list {
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
padding: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ai-file-changes-bar.collapsed .ai-file-changes-list {
|
|
display: none;
|
|
}
|
|
|
|
.ai-file-change-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-file-change-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.ai-file-change-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.ai-file-change-icon.create {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.ai-file-change-icon.modify {
|
|
background: rgba(234, 179, 8, 0.15);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.ai-file-change-icon.delete {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #f87171;
|
|
}
|
|
|
|
.ai-file-change-icon.mkdir {
|
|
background: rgba(96, 165, 250, 0.15);
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.ai-file-change-info {
|
|
flex: 1;
|
|
min-max-width: 0;
|
|
}
|
|
|
|
.ai-file-change-path {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ai-file-change-action {
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.ai-file-change-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ai-file-change-accept,
|
|
.ai-file-change-undo {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-file-change-accept {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: #4ade80;
|
|
}
|
|
|
|
.ai-file-change-accept:hover {
|
|
background: rgba(34, 197, 94, 0.3);
|
|
}
|
|
|
|
.ai-file-change-undo {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #f87171;
|
|
}
|
|
|
|
.ai-file-change-undo:hover {
|
|
background: rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.ai-file-changes-bar {
|
|
top: 108px;
|
|
width: calc(100% - 24px);
|
|
}
|
|
}
|
|
|
|
.ai-confirm-dialog {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.2s ease;
|
|
z-index: 200;
|
|
}
|
|
|
|
.ai-confirm-dialog.show {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.ai-confirm-content {
|
|
width: 90%;
|
|
max-width: 400px;
|
|
background: rgba(20, 22, 28, 0.98);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
|
transform: scale(0.95);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.ai-confirm-dialog.show .ai-confirm-content {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.ai-confirm-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ai-confirm-header i {
|
|
font-size: 20px;
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.ai-confirm-header span {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.ai-confirm-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.ai-confirm-body p {
|
|
margin: 0 0 16px 0;
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.ai-confirm-operation {
|
|
padding: 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.ai-confirm-action {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
color: #a78bfa;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.ai-confirm-path {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.ai-confirm-preview {
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
padding: 12px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 8px;
|
|
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.ai-confirm-preview:empty {
|
|
display: none;
|
|
}
|
|
|
|
.ai-confirm-footer {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding: 16px 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ai-confirm-deny,
|
|
.ai-confirm-allow {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ai-confirm-deny {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #f87171;
|
|
}
|
|
|
|
.ai-confirm-deny:hover {
|
|
background: rgba(239, 68, 68, 0.25);
|
|
}
|
|
|
|
.ai-confirm-allow {
|
|
background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.15));
|
|
color: #4ade80;
|
|
}
|
|
|
|
.ai-confirm-allow:hover {
|
|
background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.25));
|
|
}
|
|
|
|
|
|
.access-denied-container {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #0a0a0f 0%, #12121a 50%, #0d0d14 100%);
|
|
overflow: hidden;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.access-denied-container::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
|
|
radial-gradient(ellipse 60% 40% at 80% 100%, rgba(239, 68, 68, 0.08), transparent),
|
|
radial-gradient(ellipse 50% 30% at 10% 80%, rgba(168, 85, 247, 0.06), transparent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.access-denied-particles {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.access-denied-particle {
|
|
position: absolute;
|
|
width: 4px;
|
|
height: 4px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
animation: access-denied-float 20s infinite linear;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(1) {
|
|
left: 10%;
|
|
animation-delay: 0s;
|
|
animation-duration: 25s;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(2) {
|
|
left: 20%;
|
|
animation-delay: -5s;
|
|
animation-duration: 20s;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(3) {
|
|
left: 30%;
|
|
animation-delay: -10s;
|
|
animation-duration: 28s;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(4) {
|
|
left: 40%;
|
|
animation-delay: -2s;
|
|
animation-duration: 22s;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(5) {
|
|
left: 50%;
|
|
animation-delay: -7s;
|
|
animation-duration: 26s;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(6) {
|
|
left: 60%;
|
|
animation-delay: -12s;
|
|
animation-duration: 24s;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(7) {
|
|
left: 70%;
|
|
animation-delay: -3s;
|
|
animation-duration: 27s;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(8) {
|
|
left: 80%;
|
|
animation-delay: -8s;
|
|
animation-duration: 21s;
|
|
}
|
|
|
|
.access-denied-particle:nth-child(9) {
|
|
left: 90%;
|
|
animation-delay: -15s;
|
|
animation-duration: 23s;
|
|
}
|
|
|
|
@keyframes access-denied-float {
|
|
0% {
|
|
transform: translateY(100vh) scale(0);
|
|
opacity: 0;
|
|
}
|
|
|
|
10% {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
90% {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
100% {
|
|
transform: translateY(-100vh) scale(1);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.access-denied-card {
|
|
position: relative;
|
|
max-width: 520px;
|
|
width: 90%;
|
|
padding: 48px 40px;
|
|
background: linear-gradient(145deg,
|
|
rgba(255, 255, 255, 0.05) 0%,
|
|
rgba(255, 255, 255, 0.02) 100%);
|
|
backdrop-filter: blur(40px);
|
|
-webkit-backdrop-filter: blur(40px);
|
|
border-radius: 32px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow:
|
|
0 4px 24px rgba(0, 0, 0, 0.4),
|
|
0 8px 48px rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
text-align: center;
|
|
animation: access-denied-card-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
transform: translateY(30px);
|
|
opacity: 0;
|
|
}
|
|
|
|
@keyframes access-denied-card-enter {
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.access-denied-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -1px;
|
|
border-radius: 32px;
|
|
padding: 1px;
|
|
background: linear-gradient(145deg,
|
|
rgba(239, 68, 68, 0.3),
|
|
rgba(168, 85, 247, 0.1),
|
|
transparent);
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sad-robot-container {
|
|
position: relative;
|
|
width: 160px;
|
|
height: 160px;
|
|
margin: 0 auto 32px;
|
|
}
|
|
|
|
.sad-robot {
|
|
width: 100%;
|
|
height: 100%;
|
|
animation: sad-robot-hover 3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes sad-robot-hover {
|
|
|
|
0%,
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
50% {
|
|
transform: translateY(-8px);
|
|
}
|
|
}
|
|
|
|
.sad-robot-body {
|
|
fill: linear-gradient(180deg, #374151 0%, #1f2937 100%);
|
|
}
|
|
|
|
.sad-robot-head {
|
|
fill: url(#robot-head-gradient);
|
|
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
|
|
}
|
|
|
|
.sad-robot-eye {
|
|
fill: #1e293b;
|
|
animation: sad-robot-blink 4s ease-in-out infinite;
|
|
}
|
|
|
|
.sad-robot-eye-glow {
|
|
fill: #ef4444;
|
|
animation: sad-robot-eye-pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes sad-robot-blink {
|
|
|
|
0%,
|
|
90%,
|
|
100% {
|
|
transform: scaleY(1);
|
|
}
|
|
|
|
95% {
|
|
transform: scaleY(0.1);
|
|
}
|
|
}
|
|
|
|
@keyframes sad-robot-eye-pulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.sad-robot-mouth {
|
|
stroke: #374151;
|
|
stroke-width: 3;
|
|
stroke-linecap: round;
|
|
fill: none;
|
|
animation: sad-robot-mouth-wobble 4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes sad-robot-mouth-wobble {
|
|
|
|
0%,
|
|
100% {
|
|
d: path("M 50 95 Q 65 85 80 95");
|
|
}
|
|
|
|
50% {
|
|
d: path("M 50 95 Q 65 83 80 95");
|
|
}
|
|
}
|
|
|
|
.sad-robot-tear {
|
|
fill: #60a5fa;
|
|
opacity: 0;
|
|
animation: sad-robot-tear-fall 3s ease-in-out infinite;
|
|
}
|
|
|
|
.sad-robot-tear:nth-child(2) {
|
|
animation-delay: 1.5s;
|
|
}
|
|
|
|
@keyframes sad-robot-tear-fall {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
10% {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
transform: translateY(40px);
|
|
}
|
|
}
|
|
|
|
.sad-robot-antenna {
|
|
fill: #4b5563;
|
|
}
|
|
|
|
.sad-robot-antenna-ball {
|
|
fill: #ef4444;
|
|
animation: sad-robot-antenna-pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes sad-robot-antenna-pulse {
|
|
|
|
0%,
|
|
100% {
|
|
fill: #ef4444;
|
|
filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.6));
|
|
}
|
|
|
|
50% {
|
|
fill: #f87171;
|
|
filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.9));
|
|
}
|
|
}
|
|
|
|
.sad-robot-shadow {
|
|
fill: rgba(0, 0, 0, 0.2);
|
|
animation: sad-robot-shadow-pulse 3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes sad-robot-shadow-pulse {
|
|
|
|
0%,
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 0.3;
|
|
}
|
|
|
|
50% {
|
|
transform: scale(0.9);
|
|
opacity: 0.2;
|
|
}
|
|
}
|
|
|
|
.access-denied-code {
|
|
font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
|
|
font-size: 72px;
|
|
font-weight: 800;
|
|
letter-spacing: -2px;
|
|
background: linear-gradient(135deg,
|
|
#f87171 0%,
|
|
#ef4444 50%,
|
|
#dc2626 100%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin: 0 0 8px;
|
|
animation: access-denied-code-glow 3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes access-denied-code-glow {
|
|
|
|
0%,
|
|
100% {
|
|
filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.3));
|
|
}
|
|
|
|
50% {
|
|
filter: drop-shadow(0 0 40px rgba(239, 68, 68, 0.5));
|
|
}
|
|
}
|
|
|
|
.access-denied-title {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #f8fafc;
|
|
margin: 0 0 24px;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.access-denied-divider {
|
|
width: 60px;
|
|
height: 3px;
|
|
background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.5), transparent);
|
|
margin: 0 auto 24px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.access-denied-message {
|
|
font-size: 16px;
|
|
color: #94a3b8;
|
|
line-height: 1.7;
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.access-denied-server {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
border-radius: 8px;
|
|
font-family: 'SF Mono', 'Fira Code', monospace;
|
|
font-size: 14px;
|
|
color: #f87171;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.access-denied-server i {
|
|
font-size: 12px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.access-denied-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
padding: 14px 32px;
|
|
background: linear-gradient(135deg,
|
|
rgba(99, 102, 241, 0.2) 0%,
|
|
rgba(139, 92, 246, 0.15) 100%);
|
|
border: 1px solid rgba(139, 92, 246, 0.3);
|
|
border-radius: 14px;
|
|
color: #c4b5fd;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.access-denied-btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg,
|
|
rgba(139, 92, 246, 0.3) 0%,
|
|
rgba(99, 102, 241, 0.2) 100%);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.access-denied-btn:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(139, 92, 246, 0.5);
|
|
box-shadow:
|
|
0 8px 24px rgba(139, 92, 246, 0.25),
|
|
0 0 0 1px rgba(139, 92, 246, 0.1);
|
|
}
|
|
|
|
.access-denied-btn:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.access-denied-btn i {
|
|
position: relative;
|
|
z-index: 1;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.access-denied-btn span {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.access-denied-btn:hover i {
|
|
transform: translateX(-3px);
|
|
}
|
|
|
|
.access-denied-decor {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
filter: blur(60px);
|
|
pointer-events: none;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.access-denied-decor-1 {
|
|
width: 300px;
|
|
height: 300px;
|
|
background: radial-gradient(circle, rgba(239, 68, 68, 0.3), transparent);
|
|
top: -150px;
|
|
right: -100px;
|
|
}
|
|
|
|
.access-denied-decor-2 {
|
|
max-width: 200px;
|
|
height: 200px;
|
|
background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent);
|
|
bottom: -100px;
|
|
left: -50px;
|
|
}
|
|
|
|
.access-denied-footer {
|
|
margin-top: 32px;
|
|
padding-top: 24px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.access-denied-footer-text {
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.access-denied-footer-text i {
|
|
color: #475569;
|
|
}
|
|
|
|
|
|
input[type="text"],
|
|
input[type="search"],
|
|
input[type="number"],
|
|
input[type="password"],
|
|
input[type="email"],
|
|
textarea,
|
|
select {
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1) !important;
|
|
outline: none !important;
|
|
background: rgba(10, 12, 16, 0.5);
|
|
transition: border-color 0.2s, background 0.2s;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
input:focus,
|
|
textarea:focus,
|
|
select:focus {
|
|
border-color: rgba(255, 255, 255, 0.25) !important;
|
|
background: rgba(14, 18, 24, 0.8);
|
|
}
|
|
|
|
button,
|
|
.btn {
|
|
outline: none !important;
|
|
}
|
|
|
|
.tooltip,
|
|
.popover {
|
|
backdrop-filter: blur(12px);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.monaco-editor,
|
|
.monaco-editor .overflow-guard,
|
|
.monaco-editor .inputarea {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.monaco-editor input[type="text"],
|
|
.monaco-editor input[type="search"],
|
|
.monaco-editor input[type="number"],
|
|
.monaco-editor input[type="password"],
|
|
.monaco-editor input[type="email"],
|
|
.monaco-editor textarea,
|
|
.monaco-editor select {
|
|
border: none !important;
|
|
outline: none !important;
|
|
background: transparent !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
transition: none !important;
|
|
backdrop-filter: none !important;
|
|
}
|
|
|
|
.monaco-editor input:focus,
|
|
.monaco-editor textarea:focus,
|
|
.monaco-editor select:focus {
|
|
border-color: transparent !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.monaco-editor textarea.inputarea,
|
|
.monaco-editor .inputarea {
|
|
resize: none !important;
|
|
width: 1px !important;
|
|
height: 1px !important;
|
|
opacity: 0 !important;
|
|
}
|
|
|
|
.monaco-editor .overflow-guard {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.monaco-editor .find-widget .monaco-inputbox,
|
|
.monaco-editor .find-widget .monaco-inputbox > .wrapper {
|
|
backdrop-filter: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.monaco-editor .find-widget .monaco-inputbox > .wrapper > .input,
|
|
.monaco-editor .find-widget .monaco-inputbox > .wrapper > input.input,
|
|
.monaco-editor .find-widget .monaco-inputbox > .wrapper > textarea.input {
|
|
margin: 0 !important;
|
|
padding: 2px 4px !important;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
min-height: 0 !important;
|
|
height: 100% !important;
|
|
line-height: inherit !important;
|
|
font-family: inherit !important;
|
|
font-size: inherit !important;
|
|
box-sizing: border-box !important;
|
|
resize: none !important;
|
|
}
|
|
|
|
.monaco-editor .find-widget .monaco-inputbox > .wrapper > .mirror {
|
|
padding: 2px 4px !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex !important;
|
|
align-items: center;
|
|
justify-content: space-between !important;
|
|
width: 100% !important;
|
|
max-width: 100vw !important;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.top-actions {
|
|
display: flex !important;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-left: auto !important;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.brands {
|
|
margin-right: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
|
|
.activity-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px 24px;
|
|
text-align: center;
|
|
height: 100%;
|
|
min-height: 250px;
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
.activity-empty-state i {
|
|
font-size: 42px;
|
|
color: rgba(255, 255, 255, 0.08);
|
|
margin-bottom: 16px;
|
|
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
|
|
}
|
|
|
|
.activity-empty-state span {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: var(--muted);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes modalClose {
|
|
from {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
filter: blur(0px);
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
transform: scale(0.95);
|
|
filter: blur(4px);
|
|
}
|
|
}
|
|
|
|
.modal-overlay.closing,
|
|
.activity-modal.closing,
|
|
.info-modal.closing,
|
|
.ai-help-modal.closing,
|
|
.notfound-modal.closing,
|
|
.store-pref-modal.closing,
|
|
#storePrefModal.closing,
|
|
.scheduler-modal.closing,
|
|
.planner-modal.closing,
|
|
.progress-popup.closing {
|
|
animation: modalClose 0.25s forwards cubic-bezier(0.4, 0, 0.2, 1);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.clear-console-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(5px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
animation: fadeIn 0.2s ease-out;
|
|
}
|
|
|
|
.clear-console-content {
|
|
background: #1e1e2e;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
width: 90%;
|
|
max-width: 400px;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
|
|
animation: scaleIn 0.2s ease-out;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.clear-console-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.clear-console-desc {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
.clear-console-checkbox-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.clear-console-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.clear-console-checkbox {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: #8b5cf6;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.clear-console-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.btn-cancel {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
background: linear-gradient(135deg, #374151, #1f2937);
|
|
color: #e5e7eb;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-cancel:hover {
|
|
background: linear-gradient(135deg, #4b5563, #374151);
|
|
color: #fff;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-clear {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
background: linear-gradient(135deg, #a78bfa, #8b5cf6);
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
|
|
}
|
|
|
|
.btn-clear:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes scaleIn {
|
|
from {
|
|
transform: scale(0.95);
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.clear-console-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.clear-console-content {
|
|
background: rgba(30, 30, 40, 0.65);
|
|
backdrop-filter: blur(24px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 28px;
|
|
padding: 32px;
|
|
width: 90%;
|
|
max-width: 380px;
|
|
box-shadow:
|
|
0 20px 50px -12px rgba(0, 0, 0, 0.5),
|
|
0 0 0 1px rgba(255, 255, 255, 0.05) inset;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
animation: modalScaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.clear-console-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28px;
|
|
color: #ef4444;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
|
|
}
|
|
|
|
.clear-console-title {
|
|
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
margin: 0 0 8px 0;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.clear-console-desc {
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 15px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin: 0 0 24px 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.clear-console-toggle-wrapper {
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 16px;
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 24px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.clear-console-toggle-wrapper:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.clear-console-label-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 44px;
|
|
height: 24px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
max-width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
transition: .3s cubic-bezier(0.4, 0.0, 0.2, 1);
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 20px;
|
|
width: 20px;
|
|
left: 2px;
|
|
bottom: 2px;
|
|
background-color: white;
|
|
transition: .3s cubic-bezier(0.4, 0.0, 0.2, 1);
|
|
border-radius: 50%;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.switch input:checked+.slider {
|
|
background: #34c759;
|
|
}
|
|
|
|
.switch input:focus+.slider {
|
|
box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.3);
|
|
}
|
|
|
|
.switch input:checked+.slider:before {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
.clear-console-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-cancel,
|
|
.btn-clear {
|
|
flex: 1;
|
|
padding: 14px;
|
|
border-radius: 14px;
|
|
font-family: 'SF Pro Text', sans-serif;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
outline: none;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-cancel {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.btn-cancel:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
transform: scale(1.01);
|
|
}
|
|
|
|
.btn-clear {
|
|
background: linear-gradient(135deg, #ef4444, #dc2626);
|
|
color: white;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.btn-clear:hover {
|
|
transform: scale(1.01);
|
|
background: linear-gradient(135deg, #f87171, #ef4444);
|
|
}
|
|
|
|
.btn-cancel:active,
|
|
.btn-clear:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
@keyframes modalFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes modalScaleIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.9) translateY(10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
}
|
|
|
|
.clear-console-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.clear-console-modal.show {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.clear-console-glass-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
z-index: 1;
|
|
}
|
|
|
|
.clear-console-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
background: rgba(20, 20, 25, 0.5);
|
|
backdrop-filter: blur(30px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(30px) saturate(180%);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 24px;
|
|
padding: 32px;
|
|
width: 90%;
|
|
max-width: 360px;
|
|
box-shadow:
|
|
0 25px 50px -12px rgba(0, 0, 0, 0.5),
|
|
0 0 0 1px rgba(255, 255, 255, 0.05) inset;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
transform: scale(0.95) translateY(10px);
|
|
transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.clear-console-modal.show .clear-console-content {
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
|
|
.clear-console-title {
|
|
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
margin: 0 0 8px 0;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.clear-console-desc {
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin: 0 0 24px 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.clear-console-toggle-wrapper {
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 14px;
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 24px;
|
|
transition: background 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.clear-console-toggle-wrapper:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.clear-console-label-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 40px;
|
|
height: 22px;
|
|
}
|
|
|
|
.switch input {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
max-width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
transition: .3s cubic-bezier(0.4, 0.0, 0.2, 1);
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 2px;
|
|
bottom: 2px;
|
|
background-color: white;
|
|
transition: .3s cubic-bezier(0.4, 0.0, 0.2, 1);
|
|
border-radius: 50%;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.switch input:checked+.slider {
|
|
background: #32d74b;
|
|
}
|
|
|
|
.switch input:checked+.slider:before {
|
|
transform: translateX(18px);
|
|
}
|
|
|
|
.clear-console-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-cancel,
|
|
.btn-clear {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
font-family: 'SF Pro Text', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s;
|
|
outline: none;
|
|
position: relative;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.btn-cancel {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.btn-cancel:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transform: scale(1.01);
|
|
}
|
|
|
|
.btn-clear {
|
|
background: #ff3b30;
|
|
color: white;
|
|
}
|
|
|
|
.btn-clear:hover {
|
|
background: #ff453a;
|
|
transform: scale(1.01);
|
|
}
|
|
|
|
.btn-cancel:active,
|
|
.btn-clear:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.btn-accept {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
border: none;
|
|
cursor: pointer;
|
|
outline: none;
|
|
position: relative;
|
|
box-shadow: none !important;
|
|
background: #3b82f6;
|
|
color: #fff;
|
|
transition: box-shadow 0.18s ease, background 0.18s ease;
|
|
transform: none !important;
|
|
}
|
|
|
|
.btn-accept:hover:not(:disabled) {
|
|
background: #3b82f6;
|
|
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.16) !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
.btn-accept:active:not(:disabled) {
|
|
background: #3b82f6;
|
|
box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.15) !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
.btn-accept:disabled {
|
|
opacity: 0.5;
|
|
cursor: default;
|
|
transform: none !important;
|
|
}
|
|
|
|
.eula-terms-box {
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 14px;
|
|
padding: 12px 16px;
|
|
margin-bottom: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
text-align: left;
|
|
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.eula-terms-box .console-link {
|
|
color: rgba(100, 180, 255, 0.9);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.eula-terms-box .console-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.clear-console-desc code {
|
|
font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 5px;
|
|
padding: 1px 5px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.dock-wrap.dock-hidden {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translateY(20px);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.dock-wrap {
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
|
|
.reinstall-panel {
|
|
position: relative;
|
|
width: 94vw;
|
|
max-width: 600px;
|
|
max-height: 88vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
backdrop-filter: blur(80px) saturate(100%) brightness(1.05);
|
|
-webkit-backdrop-filter: blur(80px) saturate(200%) brightness(1.05);
|
|
border-radius: 28px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
transform: scale(0.92) rotateX(8deg);
|
|
animation: panelLiquidIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
|
|
}
|
|
|
|
.reinstall-panel::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 28px;
|
|
padding: 1px;
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
animation: borderGlowIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
|
|
}
|
|
|
|
.reinstall-icon-accent {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.reinstall-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 28px 32px 32px;
|
|
}
|
|
|
|
.reinstall-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 24px;
|
|
}
|
|
|
|
.reinstall-warning-card {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
padding: 20px;
|
|
border-radius: 16px;
|
|
background: rgba(245, 158, 11, 0.08);
|
|
border: 1px solid rgba(245, 158, 11, 0.15);
|
|
width: 100%;
|
|
}
|
|
|
|
.reinstall-warning-icon {
|
|
font-size: 28px;
|
|
color: #f59e0b;
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.reinstall-warning-text {
|
|
flex: 1;
|
|
}
|
|
|
|
.reinstall-warning-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #fbbf24;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.reinstall-warning-desc {
|
|
font-size: 13.5px;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.reinstall-info-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.reinstall-info-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 18px 12px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
text-align: center;
|
|
transition: background 0.2s, border-color 0.2s;
|
|
}
|
|
|
|
.reinstall-info-card:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.reinstall-info-icon {
|
|
font-size: 22px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.reinstall-info-label {
|
|
font-size: 12.5px;
|
|
color: rgba(255, 255, 255, 0.65);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.reinstall-actions,
|
|
.reinstall-confirm-actions,
|
|
.reinstall-success-actions,
|
|
.reinstall-error-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.reinstall-cancel-btn {
|
|
padding: 12px 24px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
cursor: pointer;
|
|
transition: background 0.2s, transform 0.1s;
|
|
}
|
|
|
|
.reinstall-cancel-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.reinstall-cancel-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.reinstall-confirm-btn {
|
|
padding: 12px 24px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border: none;
|
|
background: linear-gradient(135deg, #f59e0b, #d97706);
|
|
color: #000;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s, transform 0.1s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.reinstall-confirm-btn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.reinstall-confirm-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.reinstall-danger-btn {
|
|
padding: 12px 24px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border: none;
|
|
background: linear-gradient(135deg, #ef4444, #dc2626);
|
|
color: #fff;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s, transform 0.1s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.reinstall-danger-btn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.reinstall-danger-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.reinstall-done-btn {
|
|
padding: 12px 24px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border: none;
|
|
background: linear-gradient(135deg, #22c55e, #16a34a);
|
|
color: #fff;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s, transform 0.1s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.reinstall-done-btn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.reinstall-done-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.reinstall-confirm-icon-wrap {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 50%;
|
|
background: rgba(245, 158, 11, 0.12);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.reinstall-confirm-big-icon {
|
|
font-size: 32px;
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.reinstall-confirm-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
.reinstall-confirm-desc {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.65);
|
|
text-align: center;
|
|
max-width: 400px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.reinstall-credential-block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.reinstall-credential-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
text-align: center;
|
|
}
|
|
|
|
.reinstall-credential-input {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #fff;
|
|
font-size: 14px;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
transition: border-color 0.2s, background 0.2s;
|
|
}
|
|
|
|
.reinstall-credential-input:focus {
|
|
border-color: rgba(245, 158, 11, 0.6);
|
|
background: rgba(255, 255, 255, 0.09);
|
|
}
|
|
|
|
.reinstall-credential-error {
|
|
font-size: 13px;
|
|
color: #f87171;
|
|
text-align: center;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.reinstall-progress-spinner {
|
|
width: 64px;
|
|
height: 64px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.reinstall-spinner {
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 3px solid rgba(255, 255, 255, 0.1);
|
|
border-top-color: #f59e0b;
|
|
border-radius: 50%;
|
|
animation: reinstallSpin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes reinstallSpin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.reinstall-progress-title {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
.reinstall-progress-desc {
|
|
font-size: 13.5px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
text-align: center;
|
|
max-width: 380px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.reinstall-success-icon-wrap {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 50%;
|
|
background: rgba(34, 197, 94, 0.12);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.reinstall-success-big-icon {
|
|
font-size: 32px;
|
|
color: #22c55e;
|
|
}
|
|
|
|
.reinstall-success-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
.reinstall-success-desc {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.65);
|
|
text-align: center;
|
|
max-width: 400px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.reinstall-error-icon-wrap {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 50%;
|
|
background: rgba(239, 68, 68, 0.12);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.reinstall-error-big-icon {
|
|
font-size: 32px;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.reinstall-error-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
.reinstall-error-desc {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.65);
|
|
text-align: center;
|
|
max-width: 400px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.reinstall-info-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.reinstall-body {
|
|
padding: 20px 18px 24px;
|
|
}
|
|
.reinstall-panel {
|
|
max-width: 95vw;
|
|
border-radius: 20px;
|
|
}
|
|
.reinstall-actions,
|
|
.reinstall-confirm-actions,
|
|
.reinstall-success-actions,
|
|
.reinstall-error-actions {
|
|
flex-direction: column;
|
|
}
|
|
.reinstall-cancel-btn,
|
|
.reinstall-confirm-btn,
|
|
.reinstall-danger-btn,
|
|
.reinstall-done-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
/* ============= URL Uploader Modal ============= */
|
|
.url-uploader-btn i {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.url-uploader-btn {
|
|
min-height: 32px;
|
|
background: rgba(56, 189, 248, 0.08);
|
|
border-color: rgba(56, 189, 248, 0.22);
|
|
color: #dbeafe;
|
|
}
|
|
|
|
.url-uploader-btn:hover {
|
|
border-color: rgba(96, 165, 250, 0.35);
|
|
background: rgba(96, 165, 250, 0.08);
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.url-uploader-btn:disabled,
|
|
.url-uploader-btn.disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
filter: saturate(0.55);
|
|
}
|
|
|
|
.url-uploader-activity .activity-icon {
|
|
background: linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(59, 130, 246, 0.10));
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.url-uploader-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.url-uploader-desc {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 12px 14px;
|
|
background: rgba(59, 130, 246, 0.08);
|
|
border-radius: 10px;
|
|
font-size: 12.5px;
|
|
color: #93c5fd;
|
|
margin-bottom: 18px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.url-uploader-desc i {
|
|
margin-top: 2px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.url-uploader-field {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.url-uploader-field label {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #9ca3af;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.url-uploader-field input {
|
|
width: 93%;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.url-uploader-field input:focus {
|
|
outline: none;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(96, 165, 250, 0.35);
|
|
}
|
|
|
|
.url-uploader-field input::placeholder {
|
|
color: #4b5563;
|
|
}
|
|
|
|
.url-uploader-hint {
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.url-uploader-target {
|
|
color: #cbd5e1;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
font-size: 12px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.url-uploader-error {
|
|
margin-top: 6px;
|
|
padding: 10px 12px;
|
|
background: rgba(239, 68, 68, 0.10);
|
|
border: 1px solid rgba(239, 68, 68, 0.25);
|
|
color: #fca5a5;
|
|
border-radius: 10px;
|
|
font-size: 12.5px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.url-uploader-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 16px 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(255, 255, 255, 0.01);
|
|
}
|
|
|
|
.url-uploader-activity .backup-create-confirm,
|
|
.url-uploader-activity .backup-create-cancel {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.url-uploader-activity .backup-create-confirm:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Files and editor refresh */
|
|
#filesModal.modal-overlay,
|
|
#editorModal.modal-overlay {
|
|
background: rgba(5, 8, 13, 0.72);
|
|
backdrop-filter: blur(18px) saturate(120%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(120%);
|
|
}
|
|
|
|
#filesModal .modal {
|
|
width: 90vw !important;
|
|
height: 90vh !important;
|
|
max-width: none !important;
|
|
max-height: 90vh !important;
|
|
padding: 0;
|
|
border-radius: 22px;
|
|
background: rgba(11, 14, 20, 0.96);
|
|
border: 1px solid rgba(255, 255, 255, 0.09);
|
|
box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
#filesModal .modal-header {
|
|
min-height: 72px;
|
|
padding: 18px 22px;
|
|
margin: 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
|
background: rgba(255, 255, 255, 0.025);
|
|
}
|
|
|
|
#filesModal .modal-title {
|
|
font-size: 17px;
|
|
line-height: 1.25;
|
|
letter-spacing: 0;
|
|
color: #eef3f8;
|
|
}
|
|
|
|
.files-modal-server-name {
|
|
color: #fff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.files-modal-subtitle {
|
|
margin-top: 3px;
|
|
color: #8f9aa8;
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
#filesModal .modal-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: block;
|
|
padding: 12px 20px 20px;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
#filesModal .modal-left {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0 !important;
|
|
padding: 0 !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#filesModal .modal-right {
|
|
display: none;
|
|
}
|
|
|
|
#filesModal .ptero-flash-bar,
|
|
#editorModal .ptero-flash-bar {
|
|
height: 3px;
|
|
border-radius: 22px 22px 0 0;
|
|
}
|
|
|
|
#filesModal .ptero-flash-bar .ptero-flash-fill,
|
|
#editorModal .ptero-flash-bar .ptero-flash-fill {
|
|
background: linear-gradient(90deg, #38bdf8, #22c55e, #a3e635);
|
|
}
|
|
|
|
#filesModal .file-toolbar {
|
|
flex: 0 0 auto;
|
|
padding: 12px;
|
|
margin: 0 0 12px;
|
|
gap: 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.07);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
box-shadow: none;
|
|
}
|
|
|
|
#filesModal .file-toolbar-left {
|
|
min-max-width: 0;
|
|
}
|
|
|
|
#filesModal .file-toolbar-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 9px;
|
|
background: rgba(56, 189, 248, 0.09);
|
|
color: #7dd3fc;
|
|
}
|
|
|
|
#filesModal .file-toolbar-title,
|
|
#filesModal .glance-label,
|
|
#filesModal .select-all-label {
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
}
|
|
|
|
#filesModal .file-toolbar-title {
|
|
color: #8f9aa8;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#breadcrumbs {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #f3f6fa;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: min(46vw, 520px);
|
|
}
|
|
|
|
#breadcrumbs a {
|
|
color: #7dd3fc;
|
|
}
|
|
|
|
#filesModal .file-toolbar-actions {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
#filesModal .file-action-row,
|
|
#filesModal .file-selection-row {
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
#filesModal .ghost-btn,
|
|
#filesModal .bulk-delete,
|
|
#filesModal .bulk-archive,
|
|
#filesModal .select-all-control {
|
|
min-height: 36px;
|
|
border-radius: 9px;
|
|
padding: 8px 12px;
|
|
font-size: 13px;
|
|
letter-spacing: 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.045);
|
|
color: #e7edf5;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#filesModal .ghost-btn:hover,
|
|
#filesModal .select-all-control:hover {
|
|
background: rgba(255, 255, 255, 0.075);
|
|
border-color: rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
#filesModal .bulk-delete {
|
|
background: rgba(239, 68, 68, 0.10);
|
|
border-color: rgba(248, 113, 113, 0.22);
|
|
color: #fecaca;
|
|
}
|
|
|
|
#filesModal .bulk-archive {
|
|
background: rgba(34, 197, 94, 0.09);
|
|
border-color: rgba(74, 222, 128, 0.20);
|
|
color: #bbf7d0;
|
|
}
|
|
|
|
#filesModal .bulk-delete:hover,
|
|
#filesModal .bulk-archive:hover {
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#filesModal .select-all-checkbox {
|
|
width: 17px;
|
|
height: 17px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#filesModal .select-all-control input:checked+.select-all-checkbox {
|
|
background: #22c55e;
|
|
border-color: rgba(34, 197, 94, 0.8);
|
|
box-shadow: none;
|
|
}
|
|
|
|
#filesModal .file-glance {
|
|
flex: 0 0 auto;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 0;
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
#filesModal .glance-card {
|
|
width: auto;
|
|
height: auto;
|
|
margin: 0;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
background: rgba(34, 197, 94, 0.06);
|
|
border: 1px solid rgba(74, 222, 128, 0.12);
|
|
box-shadow: none;
|
|
}
|
|
|
|
#filesModal .glance-card:hover {
|
|
background: rgba(34, 197, 94, 0.075);
|
|
}
|
|
|
|
#filesModal .glance-card .icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
color: #86efac;
|
|
background: rgba(34, 197, 94, 0.12);
|
|
}
|
|
|
|
#filesModal .glance-desc {
|
|
font-size: 13px;
|
|
color: #dce4ee;
|
|
}
|
|
|
|
#entries {
|
|
flex: 1;
|
|
min-height: 0;
|
|
width: 100% !important;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
align-content: start;
|
|
gap: 7px;
|
|
padding: 2px 4px 10px;
|
|
margin: 0;
|
|
overflow-y: auto !important;
|
|
overflow-x: hidden !important;
|
|
scroll-padding: 12px;
|
|
}
|
|
|
|
#entries::after {
|
|
height: 4px;
|
|
}
|
|
|
|
#filesModal .entry {
|
|
height: 52px !important;
|
|
min-height: 52px !important;
|
|
max-height: 52px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
padding: 0 35px !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
transition: background 0.14s ease !important;
|
|
}
|
|
|
|
#filesModal .entry:hover {
|
|
transform: none;
|
|
background: rgba(255, 255, 255, 0.052);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
box-shadow: none;
|
|
}
|
|
|
|
#filesModal .entry.selected {
|
|
background: rgba(56, 189, 248, 0.08);
|
|
border-color: rgba(56, 189, 248, 0.22);
|
|
}
|
|
|
|
#filesModal .entry.selected .entry-left {
|
|
animation: none;
|
|
}
|
|
|
|
#filesModal .entry-left {
|
|
min-max-width: 0;
|
|
gap: 12px;
|
|
}
|
|
|
|
#filesModal .entry-text-wrap {
|
|
min-max-width: 0;
|
|
}
|
|
|
|
#filesModal .entry-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
flex: 0 0 36px;
|
|
border-radius: 8px;
|
|
font-size: 15px;
|
|
background: rgba(125, 211, 252, 0.09);
|
|
color: #7dd3fc;
|
|
transition: none;
|
|
}
|
|
|
|
#filesModal .entry:hover .entry-icon {
|
|
transform: none;
|
|
background: rgba(125, 211, 252, 0.13);
|
|
}
|
|
|
|
#filesModal .entry-icon.folder {
|
|
background: rgba(250, 204, 21, 0.10);
|
|
color: #fde68a;
|
|
}
|
|
|
|
#filesModal .entry:hover .entry-icon.folder {
|
|
background: rgba(250, 204, 21, 0.14);
|
|
}
|
|
|
|
#filesModal .entry-name {
|
|
max-width: 100%;
|
|
color: #edf3f9;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#filesModal .entry-meta {
|
|
margin-top: 3px;
|
|
color: #7d8897;
|
|
font-size: 12px;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
}
|
|
|
|
#filesModal .entry-right {
|
|
gap: 6px;
|
|
}
|
|
|
|
#filesModal .entry-arrow {
|
|
display: none;
|
|
}
|
|
|
|
#filesModal .more-btn {
|
|
width: 34px;
|
|
height: 34px;
|
|
padding: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
color: #8f9aa8;
|
|
}
|
|
|
|
#filesModal .more-btn:hover {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
#filesModal .more-menu {
|
|
left: auto;
|
|
right: 0;
|
|
top: 38px;
|
|
min-width: 170px;
|
|
border-radius: 10px;
|
|
background: rgba(13, 17, 24, 0.96);
|
|
border: 1px solid rgba(255, 255, 255, 0.10);
|
|
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
#filesModal .more-menu button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
color: #d6dee8;
|
|
font-size: 13px;
|
|
}
|
|
|
|
#filesModal .more-menu button:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
color: #fff;
|
|
}
|
|
|
|
#filesModal .entry-rename-inline {
|
|
width: min(440px, 100%);
|
|
}
|
|
|
|
#filesModal .entry-rename-input {
|
|
min-max-width: 0;
|
|
max-width: none;
|
|
height: 32px;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
#filesModal #dropOverlay {
|
|
background: rgba(5, 8, 13, 0.62);
|
|
backdrop-filter: blur(18px) saturate(125%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(125%);
|
|
}
|
|
|
|
#filesModal #dropOverlay .inner {
|
|
border: 1px dashed rgba(125, 211, 252, 0.46);
|
|
border-radius: 16px;
|
|
padding: 42px 52px;
|
|
background: rgba(11, 14, 20, 0.72);
|
|
}
|
|
|
|
#filesModal #dropOverlay.visible .inner {
|
|
animation: none;
|
|
}
|
|
|
|
#filesModal .file-toolbar-path-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
min-height: 26px;
|
|
}
|
|
|
|
#filesModal .file-toolbar-path-row #breadcrumbs {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
#filesModal .progress-wheel {
|
|
flex: 0 0 auto;
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
|
|
#editorModal .modal {
|
|
width: min(1280px, 96vw);
|
|
height: min(90vh, 900px);
|
|
min-height: 0 !important;
|
|
max-height: 90vh;
|
|
padding: 0;
|
|
border-radius: 22px;
|
|
background: rgba(10, 13, 18, 0.97);
|
|
border: 1px solid rgba(255, 255, 255, 0.09);
|
|
box-shadow: 0 30px 96px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
#editorModal .editor-header {
|
|
min-height: 66px;
|
|
padding: 16px 20px;
|
|
margin: 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.075);
|
|
background: rgba(255, 255, 255, 0.025);
|
|
}
|
|
|
|
#editorModal .editor-title {
|
|
color: #f2f6fb;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
#editorPath {
|
|
max-width: min(70vw, 900px);
|
|
margin-top: 4px;
|
|
color: #8f9aa8 !important;
|
|
font-size: 12px !important;
|
|
line-height: 1.35;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#editorModal .modal-close,
|
|
#filesModal .modal-close {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 9px;
|
|
background: rgba(255, 255, 255, 0.045);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
#editorModal .modal-close:hover,
|
|
#filesModal .modal-close:hover {
|
|
background: rgba(255, 255, 255, 0.085);
|
|
}
|
|
|
|
#bigEditor {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
gap: 12px;
|
|
margin: 0;
|
|
padding: 14px;
|
|
background: transparent;
|
|
}
|
|
|
|
#editorModal .code-shell {
|
|
border-radius: 12px;
|
|
background: #11151c;
|
|
border: 1px solid rgba(255, 255, 255, 0.075);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
|
|
}
|
|
|
|
#editorModal #monacoContainer,
|
|
#editorModal #aceContainer,
|
|
#editorModal #aceContainer .ace_editor,
|
|
#editorModal #aceContainer .ace_scroller {
|
|
background: #11151c !important;
|
|
}
|
|
|
|
#editorModal #aceContainer .ace_gutter {
|
|
background: #0d1118 !important;
|
|
color: #778293 !important;
|
|
}
|
|
|
|
#textArea {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
max-height: none;
|
|
resize: none;
|
|
border-radius: 12px;
|
|
background: #11151c;
|
|
border: 1px solid rgba(255, 255, 255, 0.075);
|
|
color: #e7edf5;
|
|
}
|
|
|
|
#textArea:focus {
|
|
border-color: rgba(125, 211, 252, 0.34);
|
|
box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.08);
|
|
}
|
|
|
|
.editor-footer-actions {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding-top: 0;
|
|
}
|
|
|
|
#editorModal .editor-footer-actions .icon-btn {
|
|
min-height: 38px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
border-radius: 9px;
|
|
padding: 0 14px;
|
|
font-size: 13px;
|
|
letter-spacing: 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.085);
|
|
box-shadow: none;
|
|
}
|
|
|
|
#editorModal .editor-discard-btn {
|
|
background: rgba(255, 255, 255, 0.045);
|
|
color: #d6dee8;
|
|
}
|
|
|
|
#editorModal .editor-save-btn {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border-color: rgba(74, 222, 128, 0.28);
|
|
color: #dcfce7;
|
|
}
|
|
|
|
#editorModal .editor-footer-actions .icon-btn:hover {
|
|
transform: none;
|
|
box-shadow: none;
|
|
filter: brightness(1.08);
|
|
}
|
|
|
|
#editorModal .editor-footer-actions .icon-btn.disabled,
|
|
#editorModal .editor-footer-actions .icon-btn:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
filter: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
#filesModal .modal,
|
|
#editorModal .modal {
|
|
width: 100vw;
|
|
height: 100dvh;
|
|
max-height: 100dvh;
|
|
border-radius: 0;
|
|
}
|
|
|
|
#filesModal .modal-header,
|
|
#editorModal .editor-header {
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
#filesModal .modal-body {
|
|
padding: 12px;
|
|
}
|
|
|
|
#filesModal .file-toolbar {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#filesModal .file-toolbar-actions {
|
|
align-items: stretch;
|
|
justify-content: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#filesModal .file-action-row,
|
|
#filesModal .file-selection-row {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
#breadcrumbs {
|
|
max-width: 70vw;
|
|
}
|
|
|
|
#filesModal .entry {
|
|
min-height: 56px;
|
|
padding: 9px 10px;
|
|
}
|
|
|
|
#bigEditor {
|
|
padding: 10px;
|
|
}
|
|
|
|
.editor-footer-actions {
|
|
justify-content: stretch;
|
|
}
|
|
|
|
#editorModal .editor-footer-actions .icon-btn {
|
|
flex: 1 1 0;
|
|
}
|
|
}
|
|
|
|
/* Enterprise files/editor tuning */
|
|
#filesModal .modal {
|
|
width: min(1440px, 96vw);
|
|
height: min(92vh, 980px);
|
|
max-height: 92vh;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
#filesModal .modal-header {
|
|
min-height: 56px;
|
|
padding: 12px 20px;
|
|
}
|
|
|
|
#filesModal .modal-body {
|
|
padding: 12px 20px 20px;
|
|
}
|
|
|
|
#filesModal .file-toolbar {
|
|
min-height: 54px;
|
|
padding: 8px 12px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.032);
|
|
}
|
|
|
|
#filesModal .file-toolbar-left {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
#filesModal .file-toolbar-meta {
|
|
min-max-width: 0;
|
|
}
|
|
|
|
#filesModal .file-toolbar-actions {
|
|
flex: 0 0 auto;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.032);
|
|
border: 1px solid rgba(255, 255, 255, 0.055);
|
|
}
|
|
|
|
#filesModal .file-action-row,
|
|
#filesModal .file-selection-row {
|
|
gap: 8px;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
#filesModal .ghost-btn,
|
|
#filesModal .bulk-delete,
|
|
#filesModal .bulk-archive,
|
|
#filesModal .select-all-control {
|
|
position: relative;
|
|
isolation: isolate;
|
|
width: 44px;
|
|
height: 44px;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 13px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: visible;
|
|
background: transparent;
|
|
color: #dfe7ef;
|
|
box-shadow: none;
|
|
transform: none;
|
|
}
|
|
|
|
#filesModal .bulk-delete,
|
|
#filesModal .bulk-archive {
|
|
display: none;
|
|
}
|
|
|
|
#filesModal .bulk-delete.show,
|
|
#filesModal .bulk-archive.show {
|
|
display: inline-flex;
|
|
}
|
|
|
|
#filesModal .ghost-btn::before,
|
|
#filesModal .bulk-delete::before,
|
|
#filesModal .bulk-archive::before,
|
|
#filesModal .select-all-control::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
border-radius: inherit;
|
|
box-sizing: border-box;
|
|
background: rgba(255, 255, 255, 0.052);
|
|
border: 1px solid rgba(255, 255, 255, 0.082);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.052);
|
|
transform: scale(1);
|
|
transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
|
|
}
|
|
|
|
#filesModal .ghost-btn:hover,
|
|
#filesModal .bulk-delete:hover,
|
|
#filesModal .bulk-archive:hover,
|
|
#filesModal .select-all-control:hover {
|
|
background: transparent;
|
|
border-color: transparent;
|
|
transform: none;
|
|
}
|
|
|
|
#filesModal .ghost-btn:hover::before,
|
|
#filesModal .bulk-delete:hover::before,
|
|
#filesModal .bulk-archive:hover::before,
|
|
#filesModal .select-all-control:hover::before {
|
|
transform: scale(1.03);
|
|
background: rgba(255, 255, 255, 0.082);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.075);
|
|
}
|
|
|
|
#filesModal .ghost-btn:active::before,
|
|
#filesModal .bulk-delete:active::before,
|
|
#filesModal .bulk-archive:active::before,
|
|
#filesModal .select-all-control:active::before {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
#filesModal .ghost-btn i,
|
|
#filesModal .bulk-delete i,
|
|
#filesModal .bulk-archive i,
|
|
#filesModal .select-all-checkbox {
|
|
position: relative;
|
|
z-index: 1;
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
opacity: 1;
|
|
}
|
|
|
|
#filesModal #uploadLabel {
|
|
color: #93c5fd;
|
|
}
|
|
|
|
#filesModal #newBtn {
|
|
color: #d8b4fe;
|
|
}
|
|
|
|
#filesModal .url-uploader-btn {
|
|
color: #67e8f9;
|
|
}
|
|
|
|
#filesModal .bulk-delete {
|
|
color: #fca5a5;
|
|
}
|
|
|
|
#filesModal .bulk-delete::before {
|
|
background: rgba(239, 68, 68, 0.11);
|
|
border-color: rgba(248, 113, 113, 0.22);
|
|
}
|
|
|
|
#filesModal .bulk-archive {
|
|
color: #bbf7d0;
|
|
}
|
|
|
|
#filesModal .bulk-archive::before {
|
|
background: rgba(34, 197, 94, 0.10);
|
|
border-color: rgba(74, 222, 128, 0.20);
|
|
}
|
|
|
|
#filesModal .select-all-control {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
#filesModal .select-all-checkbox {
|
|
width: auto;
|
|
height: auto;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #9aa6b2;
|
|
}
|
|
|
|
#filesModal .select-all-control input:checked+.select-all-checkbox {
|
|
background: transparent;
|
|
border-color: transparent;
|
|
color: #86efac;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#filesModal .select-all-control:has(input:checked)::before {
|
|
background: rgba(34, 197, 94, 0.13);
|
|
border-color: rgba(74, 222, 128, 0.28);
|
|
}
|
|
|
|
#breadcrumbs {
|
|
max-width: min(56vw, 760px);
|
|
}
|
|
|
|
.file-breadcrumbs {
|
|
display: flex;
|
|
align-items: center;
|
|
min-max-width: 0;
|
|
gap: 6px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-crumb,
|
|
.file-crumb:visited {
|
|
min-max-width: 0;
|
|
max-width: 220px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 26px;
|
|
padding: 0 9px;
|
|
border-radius: 8px;
|
|
color: #dbeafe;
|
|
background: rgba(125, 211, 252, 0.075);
|
|
border: 1px solid rgba(125, 211, 252, 0.10);
|
|
text-decoration: none;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.file-crumb:hover {
|
|
color: #fff;
|
|
background: rgba(125, 211, 252, 0.12);
|
|
border-color: rgba(125, 211, 252, 0.18);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.file-crumb-server {
|
|
color: #eef6ff;
|
|
background: rgba(255, 255, 255, 0.055);
|
|
border-color: rgba(255, 255, 255, 0.09);
|
|
}
|
|
|
|
.file-crumb-separator {
|
|
flex: 0 0 auto;
|
|
color: #667080;
|
|
font-weight: 700;
|
|
}
|
|
|
|
#filesModal .file-glance {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#filesModal .glance-card {
|
|
padding: 9px 12px;
|
|
}
|
|
|
|
#filesModal #entries {
|
|
gap: 0px !important;
|
|
row-gap: 0px !important;
|
|
padding-right: 0px !important;
|
|
}
|
|
|
|
#filesModal .entry {
|
|
height: 52px !important;
|
|
min-height: 52px !important;
|
|
max-height: 52px !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
#editorModal .modal {
|
|
width: 98vw;
|
|
max-width: 100vw;
|
|
height: 94vh;
|
|
max-height: 94vh;
|
|
border-radius: 18px;
|
|
}
|
|
|
|
#editorModal .editor-header {
|
|
min-height: 58px;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
#bigEditor {
|
|
gap: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
#editorModal .code-shell {
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#editorModal .editor-footer-actions .icon-btn {
|
|
min-height: 36px;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
#filesModal .modal,
|
|
#editorModal .modal {
|
|
width: 100vw;
|
|
height: 100dvh;
|
|
max-height: 100dvh;
|
|
border-radius: 0;
|
|
}
|
|
|
|
#filesModal .file-toolbar-actions {
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
#filesModal .file-action-row,
|
|
#filesModal .file-selection-row {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
#breadcrumbs {
|
|
max-width: calc(100vw - 112px);
|
|
}
|
|
|
|
.file-crumb {
|
|
max-width: 140px;
|
|
}
|
|
}
|
|
|
|
/* Neutral toolbar correction */
|
|
#filesModal .file-toolbar-actions {
|
|
gap: 8px;
|
|
background: rgba(255, 255, 255, 0.026);
|
|
border-color: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
#filesModal .file-action-row,
|
|
#filesModal .file-selection-row {
|
|
gap: 8px;
|
|
}
|
|
|
|
#filesModal .ghost-btn,
|
|
#filesModal .bulk-delete,
|
|
#filesModal .bulk-archive,
|
|
#filesModal .select-all-control {
|
|
width: auto;
|
|
min-width: 112px;
|
|
height: 42px;
|
|
min-height: 42px;
|
|
padding: 0 14px;
|
|
gap: 8px;
|
|
color: #d8e0ea;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#filesModal .bulk-delete,
|
|
#filesModal .bulk-archive {
|
|
display: none;
|
|
}
|
|
|
|
#filesModal .bulk-delete.show,
|
|
#filesModal .bulk-archive.show {
|
|
display: inline-flex;
|
|
}
|
|
|
|
#filesModal .ghost-btn::before,
|
|
#filesModal .bulk-delete::before,
|
|
#filesModal .bulk-archive::before,
|
|
#filesModal .select-all-control::before {
|
|
background: rgba(255, 255, 255, 0.048);
|
|
border-color: rgba(255, 255, 255, 0.09);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
|
|
}
|
|
|
|
#filesModal .ghost-btn:hover::before,
|
|
#filesModal .bulk-delete:hover::before,
|
|
#filesModal .bulk-archive:hover::before,
|
|
#filesModal .select-all-control:hover::before {
|
|
transform: scale(1.03);
|
|
background: rgba(255, 255, 255, 0.072);
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.065);
|
|
}
|
|
|
|
#filesModal #uploadLabel,
|
|
#filesModal #newBtn,
|
|
#filesModal .url-uploader-btn,
|
|
#filesModal .bulk-delete,
|
|
#filesModal .bulk-archive {
|
|
color: #d8e0ea;
|
|
}
|
|
|
|
#filesModal .bulk-delete::before,
|
|
#filesModal .bulk-archive::before,
|
|
#filesModal .select-all-control:has(input:checked)::before {
|
|
background: rgba(255, 255, 255, 0.048);
|
|
border-color: rgba(255, 255, 255, 0.09);
|
|
}
|
|
|
|
#filesModal .ghost-btn i,
|
|
#filesModal .bulk-delete i,
|
|
#filesModal .bulk-archive i {
|
|
color: #aeb8c5;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#filesModal .ghost-btn span,
|
|
#filesModal .bulk-delete span,
|
|
#filesModal .bulk-archive span,
|
|
#filesModal .select-all-label {
|
|
position: relative;
|
|
z-index: 1;
|
|
color: inherit;
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
}
|
|
|
|
#filesModal .select-all-control {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
#filesModal .select-all-checkbox {
|
|
width: 17px;
|
|
height: 17px;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
color: transparent;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
|
|
}
|
|
|
|
#filesModal .select-all-checkbox i {
|
|
font-size: 10px;
|
|
}
|
|
|
|
#filesModal .select-all-control input:checked+.select-all-checkbox {
|
|
background: rgba(255, 255, 255, 0.18);
|
|
border-color: rgba(255, 255, 255, 0.35);
|
|
color: #f4f7fb;
|
|
box-shadow: none;
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
#breadcrumbs {
|
|
color: #d8e0ea;
|
|
}
|
|
|
|
.file-crumb,
|
|
.file-crumb:visited,
|
|
.file-crumb-server {
|
|
color: #d8e0ea;
|
|
background: rgba(255, 255, 255, 0.045);
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.file-crumb:hover {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.075);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.file-crumb-separator {
|
|
color: #687281;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
#filesModal .ghost-btn,
|
|
#filesModal .bulk-delete,
|
|
#filesModal .bulk-archive,
|
|
#filesModal .select-all-control {
|
|
min-width: 104px;
|
|
}
|
|
}
|
|
|
|
/* Enterprise modal performance pass
|
|
Keep the same glass language, but animate only composited properties. */
|
|
:root {
|
|
--adp-modal-enter-duration: 420ms;
|
|
--adp-modal-exit-duration: 220ms;
|
|
--adp-modal-ease: cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.modal-overlay,
|
|
.activity-modal,
|
|
.info-modal,
|
|
.ai-help-modal,
|
|
.notfound-modal,
|
|
.scheduler-modal,
|
|
.planner-modal {
|
|
opacity: 0;
|
|
}
|
|
|
|
.modal-overlay.show,
|
|
.activity-modal.show,
|
|
.info-modal.show,
|
|
.ai-help-modal.show,
|
|
.notfound-modal.show,
|
|
.scheduler-modal.show,
|
|
.planner-modal.show,
|
|
#offlineOverlay.show {
|
|
opacity: 1;
|
|
animation: adpOverlayIn 180ms ease-out both;
|
|
}
|
|
|
|
.modal-overlay.show {
|
|
backdrop-filter: blur(18px) saturate(125%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(125%);
|
|
}
|
|
|
|
.activity-modal.show,
|
|
.info-modal.show,
|
|
.ai-help-modal.show,
|
|
.scheduler-modal.show,
|
|
.planner-modal.show {
|
|
background: rgba(5, 8, 13, 0.34);
|
|
backdrop-filter: blur(16px) saturate(135%);
|
|
-webkit-backdrop-filter: blur(16px) saturate(135%);
|
|
}
|
|
|
|
.modal-overlay.show > .modal,
|
|
.activity-modal.show .activity-panel,
|
|
.activity-modal.show .reinstall-panel,
|
|
.info-modal.show .info-panel,
|
|
.ai-help-modal.show .ai-help-panel,
|
|
.scheduler-modal.show .scheduler-panel,
|
|
.planner-modal.show .planner-panel,
|
|
.notfound-modal.show .notfound-panel,
|
|
#offlineOverlay.show .notfound-panel {
|
|
animation: panelLiquidIn var(--adp-modal-enter-duration) var(--adp-modal-ease) both;
|
|
backface-visibility: hidden;
|
|
isolation: isolate;
|
|
transform-origin: center center;
|
|
will-change: opacity, max-width;
|
|
}
|
|
|
|
.modal-overlay.show > .modal,
|
|
.activity-modal.show .activity-panel,
|
|
.activity-modal.show .reinstall-panel,
|
|
.info-modal.show .info-panel,
|
|
.ai-help-modal.show .ai-help-panel,
|
|
.scheduler-modal.show .scheduler-panel,
|
|
.planner-modal.show .planner-panel {
|
|
backdrop-filter: blur(72px) saturate(150%) brightness(1.05);
|
|
-webkit-backdrop-filter: blur(72px) saturate(180%) brightness(1.05);
|
|
}
|
|
|
|
.activity-modal.show .activity-panel,
|
|
.activity-modal.show .reinstall-panel,
|
|
.info-modal.show .info-panel,
|
|
.ai-help-modal.show .ai-help-panel,
|
|
.scheduler-modal.show .scheduler-panel,
|
|
.planner-modal.show .planner-panel {
|
|
background: rgba(12, 14, 20, 0.48);
|
|
}
|
|
|
|
.activity-modal.show .activity-glass-layer-1,
|
|
.activity-modal.show .activity-glass-layer-3,
|
|
.info-modal.show .info-glass-layer-1,
|
|
.info-modal.show .info-glass-layer-2,
|
|
.info-modal.show .info-glass-layer-3,
|
|
.scheduler-modal.show .scheduler-glass-layer-1,
|
|
.scheduler-modal.show .scheduler-glass-layer-2,
|
|
.planner-modal.show .planner-glass-layer-1,
|
|
.planner-modal.show .planner-glass-layer-2,
|
|
.notfound-modal.show .notfound-glass-layer-1,
|
|
.notfound-modal.show .notfound-glass-layer-2,
|
|
#offlineOverlay.show .notfound-glass-layer-1,
|
|
#offlineOverlay.show .notfound-glass-layer-2 {
|
|
animation-duration: 260ms;
|
|
animation-timing-function: ease-out;
|
|
will-change: opacity;
|
|
}
|
|
|
|
.modal-overlay.closing,
|
|
.activity-modal.closing,
|
|
.info-modal.closing,
|
|
.ai-help-modal.closing,
|
|
.notfound-modal.closing,
|
|
.store-pref-modal.closing,
|
|
#storePrefModal.closing,
|
|
.scheduler-modal.closing,
|
|
.planner-modal.closing,
|
|
.progress-popup.closing {
|
|
animation: modalClose var(--adp-modal-exit-duration) cubic-bezier(0.4, 0, 0.2, 1) both;
|
|
}
|
|
|
|
.dock-wrap {
|
|
transform: translate3d(-50%, 0, 0);
|
|
transition: opacity 0.22s ease, transform 0.22s ease;
|
|
will-change: opacity, max-width;
|
|
}
|
|
|
|
.dock-wrap.dock-hidden {
|
|
transform: translate3d(-50%, 20px, 0);
|
|
transition: opacity 0.22s ease, transform 0.22s ease;
|
|
}
|
|
|
|
.dock-item {
|
|
transition: transform 0.12s ease;
|
|
}
|
|
|
|
.dock-item .icon {
|
|
transition: transform 0.22s var(--adp-modal-ease), background 0.22s ease;
|
|
will-change: transform;
|
|
}
|
|
|
|
.dock-item .icon i,
|
|
.modal-close,
|
|
.activity-close,
|
|
.activity-close-icon,
|
|
.activity-pill,
|
|
.activity-load-more,
|
|
.icon-btn {
|
|
transition-property: background, background-color, border-color, color, opacity, transform, box-shadow;
|
|
}
|
|
|
|
@keyframes adpOverlayIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes modalClose {
|
|
from {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
transform: scale(0.965);
|
|
}
|
|
}
|
|
|
|
@keyframes glassLayer1In {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes glassLayer3In {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes panelLiquidIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate3d(0, 10px, 0) scale(0.94) rotateX(6deg);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0) scale(1) rotateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes textFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate3d(0, 3px, 0);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
}
|
|
|
|
@keyframes searchWrapIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate3d(0, 4px, 0);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
}
|
|
|
|
@keyframes entrySlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate3d(0, 4px, 0) scale(0.985);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes iconPulse {
|
|
0%,
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 0.4;
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1.12);
|
|
opacity: 0.15;
|
|
}
|
|
}
|
|
|
|
@keyframes aiMessageIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate3d(0, 12px, 0) scale(0.98);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0) scale(1);
|
|
}
|
|
}
|
|
|
|
#storeModal.modal-overlay.show,
|
|
#storePrefModal.modal-overlay.show {
|
|
backdrop-filter: blur(12px) saturate(120%);
|
|
-webkit-backdrop-filter: blur(12px) saturate(120%);
|
|
}
|
|
|
|
#storeModal.modal-overlay.show > .modal,
|
|
#storePrefModal.modal-overlay.show > .modal {
|
|
animation-name: storePanelScaleIn;
|
|
animation-duration: 260ms;
|
|
animation-timing-function: var(--adp-modal-ease);
|
|
backdrop-filter: blur(48px) saturate(135%) brightness(1.03);
|
|
-webkit-backdrop-filter: blur(48px) saturate(135%) brightness(1.03);
|
|
will-change: opacity, max-width;
|
|
}
|
|
|
|
@keyframes storePanelScaleIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
#storePrefModal .modal {
|
|
width: calc(100vw - 18px);
|
|
max-height: calc(100dvh - 18px);
|
|
}
|
|
|
|
.store-pref-body {
|
|
padding: 14px;
|
|
}
|
|
|
|
.store-pref-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.store-pref-card {
|
|
min-height: 150px;
|
|
}
|
|
|
|
#storeModal .modal {
|
|
width: calc(100vw - 18px);
|
|
height: calc(100dvh - 18px);
|
|
max-height: calc(100dvh - 18px);
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.store-header {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.store-header-right,
|
|
.store-tabs {
|
|
width: 100%;
|
|
}
|
|
|
|
.store-tabs {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.store-tab {
|
|
flex: 1 1 auto;
|
|
padding-inline: 10px;
|
|
}
|
|
|
|
.store-version-row.store-custom-version-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.store-custom-version-form {
|
|
width: 100%;
|
|
min-max-width: 0;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.store-custom-version-input {
|
|
width: 100%;
|
|
}
|
|
|
|
.mr-plugins-header {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mr-plugins-type-toggle {
|
|
align-self: stretch;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.mr-plugin-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
|
|
gap: 10px;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.mr-plugin-icon {
|
|
height: 112px;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-modal {
|
|
width: calc(100vw - 20px);
|
|
max-height: calc(100dvh - 20px);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-modal::before {
|
|
border-radius: 20px;
|
|
}
|
|
|
|
#mrPluginModal .activity-header,
|
|
#mrPluginModal .activity-body {
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-footer {
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-action,
|
|
#mrPluginModal .backup-create-cancel {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
#mrPluginModal .mr-plugin-install-footer {
|
|
flex-direction: column-reverse;
|
|
}
|
|
}
|
|
|
|
/* URL uploader: compact, aligned, same visual language. */
|
|
.url-uploader-activity .activity-panel {
|
|
width: min(560px, calc(100vw - 32px));
|
|
max-width: min(560px, calc(100vw - 32px));
|
|
height: auto;
|
|
min-height: 0;
|
|
max-height: calc(100dvh - 40px);
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.url-uploader-activity .activity-header {
|
|
padding: 22px 24px 16px;
|
|
}
|
|
|
|
.url-uploader-activity .activity-body {
|
|
flex: 0 0 auto;
|
|
overflow: visible;
|
|
padding: 0 24px 16px;
|
|
mask-image: none;
|
|
-webkit-mask-image: none;
|
|
}
|
|
|
|
.url-uploader-body {
|
|
display: grid;
|
|
gap: 16px;
|
|
padding: 0;
|
|
}
|
|
|
|
.url-uploader-desc {
|
|
margin: 0;
|
|
}
|
|
|
|
.url-uploader-field {
|
|
margin: 0;
|
|
}
|
|
|
|
.url-uploader-field input {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.url-uploader-error {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.url-uploader-footer {
|
|
padding: 16px 24px 22px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.url-uploader-activity .activity-panel {
|
|
width: calc(100vw - 20px);
|
|
max-height: calc(100dvh - 20px);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.url-uploader-activity .activity-header {
|
|
padding: 20px 18px 14px;
|
|
}
|
|
|
|
.url-uploader-activity .activity-body {
|
|
padding: 0 18px 14px;
|
|
}
|
|
|
|
.url-uploader-footer {
|
|
padding: 14px 18px 18px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.modal-overlay.show,
|
|
.activity-modal.show,
|
|
.info-modal.show,
|
|
.ai-help-modal.show,
|
|
.notfound-modal.show,
|
|
.scheduler-modal.show,
|
|
.planner-modal.show,
|
|
#offlineOverlay.show,
|
|
.modal-overlay.show > .modal,
|
|
.activity-modal.show .activity-panel,
|
|
.activity-modal.show .reinstall-panel,
|
|
.info-modal.show .info-panel,
|
|
.ai-help-modal.show .ai-help-panel,
|
|
.scheduler-modal.show .scheduler-panel,
|
|
.planner-modal.show .planner-panel,
|
|
.notfound-modal.show .notfound-panel,
|
|
#offlineOverlay.show .notfound-panel,
|
|
.activity-entry,
|
|
.activity-title,
|
|
.activity-subtitle,
|
|
.activity-search-wrap,
|
|
.activity-close,
|
|
.ai-message.ai-enter,
|
|
.ai-message.ai-typing-container {
|
|
animation-duration: 1ms !important;
|
|
animation-delay: 0ms !important;
|
|
transition-duration: 1ms !important;
|
|
}
|
|
}
|
|
|
|
/* Store progress bar */
|
|
#storeModal .ptero-flash-bar {
|
|
border-radius: 18px 18px 0 0;
|
|
}
|
|
|
|
/* Store toast */
|
|
.store-toast {
|
|
position: fixed;
|
|
bottom: 28px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(20px);
|
|
background: rgba(15, 20, 30, 0.92);
|
|
border: 1px solid rgba(255,255,255,0.10);
|
|
backdrop-filter: blur(18px);
|
|
-webkit-backdrop-filter: blur(18px);
|
|
color: #e6eef8;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
padding: 10px 20px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 8px 32px rgba(0,0,0,0.45);
|
|
z-index: 999999;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
white-space: nowrap;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.store-toast.show {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
.store-toast.toast-error {
|
|
border-color: rgba(239,68,68,0.35);
|
|
color: #fca5a5;
|
|
}
|
|
.store-toast.toast-success {
|
|
border-color: rgba(96,165,250,0.35);
|
|
color: #93c5fd;
|
|
}
|
|
|
|
/* Store confirm overlay */
|
|
.store-confirm-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.55);
|
|
backdrop-filter: blur(4px);
|
|
-webkit-backdrop-filter: blur(4px);
|
|
z-index: 999998;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.18s ease;
|
|
}
|
|
.store-confirm-overlay.show {
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
.store-confirm-box {
|
|
background: rgba(12, 16, 24, 0.96);
|
|
border: 1px solid rgba(255,255,255,0.10);
|
|
border-radius: 16px;
|
|
padding: 28px 28px 22px;
|
|
max-width: 380px;
|
|
width: 90%;
|
|
box-shadow: 0 20px 60px rgba(0,0,0,0.5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 14px;
|
|
text-align: center;
|
|
}
|
|
.store-confirm-icon {
|
|
font-size: 28px;
|
|
color: #f59e0b;
|
|
}
|
|
.store-confirm-msg {
|
|
color: #e6eef8;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
}
|
|
.store-confirm-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 4px;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* ===== ADPanel Agent: live activity + approval prompts ===== */
|
|
.ai-agent-step {
|
|
font-size: 13.5px;
|
|
line-height: 1.5;
|
|
padding: 4px 0;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
}
|
|
.ai-agent-narration {
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-weight: 500;
|
|
white-space: pre-wrap;
|
|
line-height: 1.55;
|
|
}
|
|
.ai-agent-thinking { color: rgba(255, 255, 255, 0.6); }
|
|
|
|
/* Animated "..." dots shown in the live AI bubble while the agent works. */
|
|
.ai-typing-dots {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 6px 2px;
|
|
vertical-align: middle;
|
|
}
|
|
.ai-typing-dots span {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #4a4c54;
|
|
box-shadow: none;
|
|
animation: aiTypingDot 1.15s cubic-bezier(0.37, 0, 0.2, 1) infinite;
|
|
will-change: transform, opacity;
|
|
}
|
|
.ai-typing-dots span:nth-child(2) { animation-delay: 0.16s; }
|
|
.ai-typing-dots span:nth-child(3) { animation-delay: 0.32s; }
|
|
.ai-agent-tool .ai-agent-tool-icon { flex: 0 0 auto; }
|
|
.ai-agent-tool.ai-agent-running { color: rgba(255, 255, 255, 0.7); }
|
|
.ai-agent-tool.ai-agent-done { color: #7ee0a8; }
|
|
.ai-agent-tool.ai-agent-error { color: #ff8a8a; }
|
|
.ai-agent-tool.ai-agent-rejected { color: #ffce6a; }
|
|
|
|
.ai-agent-approval {
|
|
margin: 10px 0 6px 52px;
|
|
padding: 14px 16px;
|
|
border-radius: 14px;
|
|
background: rgba(139, 92, 246, 0.08);
|
|
border: 1px solid rgba(167, 139, 250, 0.35);
|
|
max-width: 520px;
|
|
}
|
|
.ai-agent-approval.approved { border-color: rgba(126, 224, 168, 0.5); background: rgba(126, 224, 168, 0.07); }
|
|
.ai-agent-approval.rejected { border-color: rgba(255, 138, 138, 0.5); background: rgba(255, 138, 138, 0.07); }
|
|
.ai-agent-approval-title { font-size: 12.5px; color: rgba(167, 139, 250, 0.95); font-weight: 600; margin-bottom: 6px; }
|
|
.ai-agent-approval-action {
|
|
font-size: 14px;
|
|
color: #fff;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
word-break: break-all;
|
|
margin-bottom: 10px;
|
|
}
|
|
.ai-agent-approval-buttons { display: flex; gap: 10px; }
|
|
.ai-agent-approve-btn, .ai-agent-reject-btn {
|
|
border: none;
|
|
border-radius: 9px;
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: transform 0.12s ease, opacity 0.12s ease;
|
|
}
|
|
.ai-agent-approve-btn { background: linear-gradient(145deg, #34d399, #10b981); color: #04130c; }
|
|
.ai-agent-reject-btn { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
|
|
.ai-agent-approve-btn:hover, .ai-agent-reject-btn:hover { transform: translateY(-1px); }
|
|
.ai-agent-approve-btn:disabled, .ai-agent-reject-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
|
|
.ai-agent-approved-label { color: #7ee0a8; font-weight: 600; font-size: 13px; }
|
|
.ai-agent-rejected-label { color: #ff8a8a; font-weight: 600; font-size: 13px; }
|
|
|
|
/* Colored diff preview shown above the Accept/Reject buttons for file-writing
|
|
tools (write_file / edit_file): removed lines red ("-"), added lines green
|
|
("+"). */
|
|
.ai-agent-diff {
|
|
margin: 0 0 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
background: rgba(0, 0, 0, 0.28);
|
|
overflow: hidden;
|
|
}
|
|
.ai-agent-diff-path {
|
|
font-size: 11.5px;
|
|
color: rgba(255, 255, 255, 0.62);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
padding: 7px 10px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
word-break: break-all;
|
|
}
|
|
.ai-agent-diff-body {
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
padding: 6px 0;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
font-size: 12.5px;
|
|
line-height: 1.5;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
|
|
}
|
|
.ai-agent-diff-line {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 0 10px;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
.ai-agent-diff-sign {
|
|
flex: 0 0 auto;
|
|
width: 10px;
|
|
text-align: center;
|
|
opacity: 0.85;
|
|
user-select: none;
|
|
}
|
|
.ai-agent-diff-text { flex: 1 1 auto; min-width: 0; }
|
|
.ai-agent-diff-add { background: rgba(46, 160, 67, 0.16); color: #7ee0a8; }
|
|
.ai-agent-diff-add .ai-agent-diff-sign { color: #56d364; }
|
|
.ai-agent-diff-del { background: rgba(248, 81, 73, 0.15); color: #ff9c96; }
|
|
.ai-agent-diff-del .ai-agent-diff-sign { color: #f85149; }
|
|
.ai-agent-diff-more {
|
|
padding: 5px 10px;
|
|
font-size: 11.5px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-style: italic;
|
|
}
|
|
/* Faint divider between distinct surgical edits when an edit_file call carries
|
|
multiple {old_str,new_str} hunks. */
|
|
.ai-agent-diff-sep {
|
|
height: 0;
|
|
margin: 2px 0;
|
|
border-top: 1px dashed rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
/* Inline "Ask Question" bar: the agent asks for a missing detail (e.g. a
|
|
download link) and the user answers without stopping generation. */
|
|
.ai-agent-question {
|
|
margin: 10px 0 6px 52px;
|
|
padding: 14px 16px;
|
|
border-radius: 14px;
|
|
background: rgba(96, 165, 250, 0.08);
|
|
border: 1px solid rgba(96, 165, 250, 0.35);
|
|
max-width: 520px;
|
|
}
|
|
.ai-agent-question.answered { border-color: rgba(126, 224, 168, 0.5); background: rgba(126, 224, 168, 0.07); }
|
|
.ai-agent-question-title { font-size: 12.5px; color: rgba(147, 197, 253, 0.95); font-weight: 600; margin-bottom: 6px; }
|
|
.ai-agent-question-text { font-size: 14px; color: #fff; margin-bottom: 10px; line-height: 1.4; }
|
|
.ai-agent-question-bar { display: flex; gap: 8px; align-items: center; }
|
|
.ai-agent-question-input {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 9px;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
color: #fff;
|
|
padding: 9px 12px;
|
|
font-size: 13.5px;
|
|
outline: none;
|
|
transition: border-color 0.12s ease;
|
|
}
|
|
.ai-agent-question-input:focus { border-color: rgba(96, 165, 250, 0.7); }
|
|
.ai-agent-question-input:disabled { opacity: 0.6; }
|
|
.ai-agent-question-send {
|
|
flex: 0 0 auto;
|
|
border: none;
|
|
border-radius: 9px;
|
|
padding: 9px 14px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
color: #04122b;
|
|
background: linear-gradient(145deg, #60a5fa, #3b82f6);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: transform 0.12s ease, opacity 0.12s ease;
|
|
}
|
|
.ai-agent-question-send:hover { transform: translateY(-1px); }
|
|
.ai-agent-question-send:disabled { opacity: 0.6; cursor: default; transform: none; }
|
|
.ai-agent-question-answer {
|
|
color: #7ee0a8;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
word-break: break-all;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Server Installing Lock - Restrict navigation strictly to Console */
|
|
body.server-is-installing .adpanel-taskbar-nav-group button:not(#dockConsole),
|
|
body.server-is-installing .sidebar-top .sidebar-item:not([data-action="open-console"]),
|
|
body.server-is-installing .more-menu-item,
|
|
body.server-is-installing #reinstallBtn,
|
|
body.server-is-installing #filesBtn,
|
|
body.server-is-installing #storeBtn,
|
|
body.server-is-installing #schedulerBtn,
|
|
body.server-is-installing #aiHelpBtn,
|
|
body.server-is-installing .adpanel-action-buttons button {
|
|
opacity: 0.28 !important;
|
|
cursor: not-allowed !important;
|
|
pointer-events: none !important;
|
|
filter: grayscale(0.85) !important;
|
|
transition: opacity 0.2s ease, filter 0.2s ease !important;
|
|
}
|
|
|
|
body.server-is-installing .adpanel-page-active {
|
|
display: none !important;
|
|
}
|