|
@@ -2903,3 +2903,303 @@ button.gy-stat:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
|
|
|
.filesjs-name-paste-modal .filesjs-name-paste-row{width:65px}
|
|
.filesjs-name-paste-modal .filesjs-name-paste-row{width:65px}
|
|
|
.filesjs-name-paste-modal .filesjs-name-paste-status{width:150px}
|
|
.filesjs-name-paste-modal .filesjs-name-paste-status{width:150px}
|
|
|
.filesjs-name-paste-modal .filesjs-name-paste-new{background:#eff8ff}
|
|
.filesjs-name-paste-modal .filesjs-name-paste-new{background:#eff8ff}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ right: 24px;
|
|
|
|
|
+ bottom: 24px;
|
|
|
|
|
+ z-index: 2000;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant button {
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-entry {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ gap: 7px;
|
|
|
|
|
+ min-width: 76px;
|
|
|
|
|
+ height: 44px;
|
|
|
|
|
+ padding: 0 17px;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-radius: 23px;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ background: #3f8fe8;
|
|
|
|
|
+ box-shadow: 0 6px 20px rgba(39, 126, 220, .3);
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-entry:hover {
|
|
|
|
|
+ background: #2e7fd6;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-panel {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ width: 420px;
|
|
|
|
|
+ height: min(650px, calc(100vh - 48px));
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ border: 1px solid #dfe5ec;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ box-shadow: 0 12px 40px rgba(31, 45, 61, .22);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-panel.show {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-header {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ min-height: 64px;
|
|
|
|
|
+ padding: 10px 14px 10px 18px;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ background: linear-gradient(135deg, #3f8fe8, #69a8ee);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-header strong,
|
|
|
|
|
+.global-assistant-header small {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-header strong {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-header small {
|
|
|
|
|
+ margin-top: 3px;
|
|
|
|
|
+ color: rgba(255, 255, 255, .82);
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-header-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-header-actions button {
|
|
|
|
|
+ width: 32px;
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-header-actions button:hover {
|
|
|
|
|
+ background: rgba(255, 255, 255, .16);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-messages {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ padding: 18px 14px 8px;
|
|
|
|
|
+ background: #f6f8fb;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-message {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ margin-bottom: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-message.user {
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-bubble {
|
|
|
|
|
+ max-width: 88%;
|
|
|
|
|
+ padding: 10px 12px;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ color: #303844;
|
|
|
|
|
+ line-height: 1.55;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ box-shadow: 0 1px 3px rgba(31, 45, 61, .08);
|
|
|
|
|
+ white-space: pre-wrap;
|
|
|
|
|
+ word-break: break-word;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-message.user .global-assistant-bubble {
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ background: #3f8fe8;
|
|
|
|
|
+ border-bottom-right-radius: 3px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-message.assistant .global-assistant-bubble {
|
|
|
|
|
+ border-bottom-left-radius: 3px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-bubble .global-assistant-tender-notice {
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #6b7280;
|
|
|
|
|
+ white-space: pre-wrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-summary {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ padding-top: 10px;
|
|
|
|
|
+ border-top: 1px solid #edf0f4;
|
|
|
|
|
+ white-space: normal;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-summary > div {
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+ padding: 7px;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ background: #f5f8fc;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-summary span,
|
|
|
|
|
+.global-assistant-summary strong {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-summary span {
|
|
|
|
|
+ color: #7a8491;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-summary strong {
|
|
|
|
|
+ margin-top: 2px;
|
|
|
|
|
+ color: #1f2733;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-results {
|
|
|
|
|
+ max-height: 260px;
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ border-top: 1px solid #edf0f4;
|
|
|
|
|
+ white-space: normal;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-results a {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ padding: 9px 2px;
|
|
|
|
|
+ border-bottom: 1px solid #edf0f4;
|
|
|
|
|
+ color: #303844;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-results a:hover {
|
|
|
|
|
+ color: #397fc7;
|
|
|
|
|
+ text-decoration: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-results a > div {
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-results strong,
|
|
|
|
|
+.global-assistant-results small {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-results strong {
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-results small {
|
|
|
|
|
+ margin-top: 2px;
|
|
|
|
|
+ color: #8b95a1;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-results a > span {
|
|
|
|
|
+ flex: none;
|
|
|
|
|
+ color: #397fc7;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-more {
|
|
|
|
|
+ margin-top: 8px;
|
|
|
|
|
+ color: #8b95a1;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ white-space: normal;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-suggestions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ min-height: 39px;
|
|
|
|
|
+ padding: 7px 12px 5px;
|
|
|
|
|
+ overflow-x: auto;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-suggestions button {
|
|
|
|
|
+ flex: none;
|
|
|
|
|
+ padding: 4px 9px;
|
|
|
|
|
+ border: 1px solid #cfe0f5;
|
|
|
|
|
+ border-radius: 13px;
|
|
|
|
|
+ color: #2868ad;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ background: #f7fbff;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-suggestions button:hover {
|
|
|
|
|
+ border-color: #3f8fe8;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-form {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: flex-end;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ padding: 10px 12px 12px;
|
|
|
|
|
+ border-top: 1px solid #e8edf3;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-input {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-height: 42px;
|
|
|
|
|
+ max-height: 88px;
|
|
|
|
|
+ padding: 9px 10px;
|
|
|
|
|
+ resize: none;
|
|
|
|
|
+ border: 1px solid #d6dde7;
|
|
|
|
|
+ border-radius: 7px;
|
|
|
|
|
+ color: #303844;
|
|
|
|
|
+ line-height: 1.4;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-input:focus {
|
|
|
|
|
+ border-color: #3f8fe8;
|
|
|
|
|
+ box-shadow: 0 0 0 2px rgba(63, 143, 232, .12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-send {
|
|
|
|
|
+ flex: none;
|
|
|
|
|
+ width: 42px;
|
|
|
|
|
+ height: 42px;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-radius: 7px;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ background: #3f8fe8;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.global-assistant-send:disabled {
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+ opacity: .55;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@media (max-width: 720px) {
|
|
|
|
|
+ .global-assistant {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|