mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-07-13 23:47:24 +02:00
Add files via upload
This commit is contained in:
@@ -6089,6 +6089,21 @@ html[data-theme="dark"] .user-menu-dropdown {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.robot-service-admin-warning {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
padding: 9px 11px;
|
||||
border: 1px solid rgba(220, 53, 69, 0.25);
|
||||
border-radius: 8px;
|
||||
color: var(--error-color) !important;
|
||||
background: rgba(220, 53, 69, 0.07);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.robot-service-admin-warning[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.robot-create-modal-content {
|
||||
max-width: 680px;
|
||||
}
|
||||
@@ -6103,6 +6118,394 @@ html[data-theme="dark"] .user-menu-dropdown {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Robot account binding */
|
||||
.robot-account-binding-content {
|
||||
width: min(760px, calc(100% - 32px));
|
||||
max-width: 760px;
|
||||
max-height: 90vh;
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.robot-binding-header {
|
||||
padding: 22px 26px;
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
|
||||
.robot-binding-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 13px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.robot-binding-heading-icon {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
flex: 0 0 42px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: #fff;
|
||||
border-radius: 12px;
|
||||
background: var(--brand-gradient);
|
||||
box-shadow: 0 8px 18px rgba(88, 80, 236, 0.24);
|
||||
}
|
||||
|
||||
.robot-binding-heading h2 {
|
||||
font-size: 1.3rem;
|
||||
background: none;
|
||||
-webkit-text-fill-color: currentColor;
|
||||
}
|
||||
|
||||
.robot-binding-heading p {
|
||||
margin: 3px 0 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.robot-binding-body {
|
||||
padding: 24px 26px 26px;
|
||||
overflow-y: auto;
|
||||
background: var(--bg-secondary);
|
||||
}
|
||||
|
||||
.robot-binding-guide {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-bottom: 18px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.robot-binding-guide-number {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
border-radius: 50%;
|
||||
color: var(--accent-color);
|
||||
background: rgba(0, 102, 255, 0.1);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.robot-binding-guide-arrow {
|
||||
margin: 0 5px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.robot-binding-code-card {
|
||||
padding: 20px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 14px;
|
||||
background: var(--bg-primary);
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.robot-binding-code-card.is-active {
|
||||
border-color: rgba(0, 102, 255, 0.32);
|
||||
box-shadow: 0 10px 28px rgba(0, 102, 255, 0.08);
|
||||
}
|
||||
|
||||
.robot-binding-code-card.is-expired {
|
||||
border-color: rgba(220, 53, 69, 0.28);
|
||||
}
|
||||
|
||||
.robot-binding-code-meta,
|
||||
.robot-binding-timer-copy,
|
||||
.robot-binding-section-heading,
|
||||
.robot-binding-account-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.robot-binding-one-time-badge {
|
||||
padding: 4px 9px;
|
||||
border-radius: 999px;
|
||||
color: #5b35c9;
|
||||
background: rgba(124, 58, 237, 0.1);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.robot-binding-state {
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.is-active .robot-binding-state {
|
||||
color: var(--success-color);
|
||||
}
|
||||
|
||||
.is-expired .robot-binding-state {
|
||||
color: var(--error-color);
|
||||
}
|
||||
|
||||
.robot-binding-code-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 18px;
|
||||
margin: 18px 0 15px;
|
||||
}
|
||||
|
||||
.robot-binding-code-row code {
|
||||
flex: 1;
|
||||
min-width: 190px;
|
||||
color: var(--text-primary);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: clamp(1.7rem, 4vw, 2.25rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.16em;
|
||||
line-height: 1.2;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.is-empty .robot-binding-code-row code {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.is-expired .robot-binding-code-row code {
|
||||
color: var(--error-color);
|
||||
font-size: 1.4rem;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.robot-binding-code-actions {
|
||||
display: flex;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.robot-binding-copy-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.robot-binding-timer {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.robot-binding-timer-copy {
|
||||
margin-bottom: 8px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.robot-binding-timer-copy strong {
|
||||
color: var(--accent-color);
|
||||
font: 700 0.95rem ui-monospace, SFMono-Regular, Menlo, monospace;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.is-expired .robot-binding-timer-copy strong,
|
||||
.is-expired .robot-binding-timer-copy span {
|
||||
color: var(--error-color);
|
||||
}
|
||||
|
||||
.robot-binding-progress {
|
||||
height: 6px;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
background: var(--bg-tertiary);
|
||||
}
|
||||
|
||||
.robot-binding-progress span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: var(--brand-gradient);
|
||||
transition: width 0.25s linear;
|
||||
}
|
||||
|
||||
.robot-binding-security-note {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
margin: 15px 0 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.76rem;
|
||||
}
|
||||
|
||||
.robot-binding-security-note svg {
|
||||
flex: 0 0 auto;
|
||||
color: var(--success-color);
|
||||
}
|
||||
|
||||
.robot-binding-list-section {
|
||||
margin-top: 22px;
|
||||
}
|
||||
|
||||
.robot-binding-section-heading {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.robot-binding-section-heading h3 {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.robot-binding-section-heading p {
|
||||
margin: 2px 0 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.robot-account-binding-list {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.robot-binding-account-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 13px 14px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 11px;
|
||||
background: var(--bg-primary);
|
||||
transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
|
||||
}
|
||||
|
||||
.robot-binding-account-card:hover {
|
||||
border-color: rgba(0, 102, 255, 0.3);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.robot-binding-platform-icon,
|
||||
.robot-binding-empty-icon {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
flex: 0 0 38px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 10px;
|
||||
color: var(--accent-color);
|
||||
background: rgba(0, 102, 255, 0.1);
|
||||
font-size: 0.92rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.robot-binding-account-main {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.robot-binding-account-name {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.robot-binding-account-name span {
|
||||
padding: 2px 7px;
|
||||
border-radius: 999px;
|
||||
color: var(--success-color);
|
||||
background: rgba(40, 167, 69, 0.1);
|
||||
font-size: 0.68rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.robot-binding-account-main small {
|
||||
display: block;
|
||||
margin-top: 3px;
|
||||
overflow: hidden;
|
||||
color: var(--text-secondary);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.robot-binding-empty-state,
|
||||
.robot-binding-list-loading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 18px;
|
||||
border: 1px dashed var(--border-color);
|
||||
border-radius: 11px;
|
||||
color: var(--text-secondary);
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
|
||||
.robot-binding-empty-state strong {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.robot-binding-empty-state p {
|
||||
margin: 2px 0 0;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.robot-binding-footer {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.robot-binding-footer > span {
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.76rem;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .robot-binding-guide-number,
|
||||
html[data-theme="dark"] .robot-binding-platform-icon,
|
||||
html[data-theme="dark"] .robot-binding-empty-icon {
|
||||
background: rgba(96, 165, 250, 0.14);
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .robot-binding-one-time-badge {
|
||||
color: #c4b5fd;
|
||||
background: rgba(167, 139, 250, 0.14);
|
||||
}
|
||||
|
||||
@media (max-width: 680px) {
|
||||
.robot-account-binding-content {
|
||||
width: calc(100% - 20px);
|
||||
margin: 10px auto;
|
||||
max-height: calc(100vh - 20px);
|
||||
}
|
||||
|
||||
.robot-binding-header,
|
||||
.robot-binding-body {
|
||||
padding-left: 18px;
|
||||
padding-right: 18px;
|
||||
}
|
||||
|
||||
.robot-binding-guide {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.robot-binding-guide-arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.robot-binding-code-row {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.robot-binding-code-actions .btn-primary,
|
||||
.robot-binding-code-actions .btn-secondary {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.robot-binding-account-card {
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.robot-binding-unbind-btn {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
.robot-binding-footer > span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.robot-type-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
|
||||
Reference in New Issue
Block a user