|
@@ -0,0 +1,5701 @@
|
|
|
|
|
+.app {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ min-height: 100vh;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ z-index: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Arco shell layout used by src/components/Layout.jsx */
|
|
|
|
|
+.arco-shell {
|
|
|
|
|
+ min-height: 100vh;
|
|
|
|
|
+ background: #f5f7fb;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-sider {
|
|
|
|
|
+ position: fixed !important;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ z-index: 30;
|
|
|
|
|
+ height: 100vh;
|
|
|
|
|
+ background: #ffffff !important;
|
|
|
|
|
+ border-right: 1px solid #e5e8ef;
|
|
|
|
|
+ box-shadow: 8px 0 24px rgba(15, 23, 42, 0.05);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-sider .arco-layout-sider-children {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-brand {
|
|
|
|
|
+ height: 72px;
|
|
|
|
|
+ padding: 14px 16px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ border-bottom: 1px solid #f0f2f5;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-logo {
|
|
|
|
|
+ width: 38px;
|
|
|
|
|
+ height: 38px;
|
|
|
|
|
+ object-fit: contain;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-brand-text {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-brand-name {
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-brand-subtitle {
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ line-height: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-menu {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-height: 0;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ padding: 8px;
|
|
|
|
|
+ border-right: 0 !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-menu .arco-menu-item,
|
|
|
|
|
+.arco-shell-menu .arco-menu-inline-header {
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ margin: 2px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-menu .arco-menu-item-inner,
|
|
|
|
|
+.arco-shell-menu .arco-menu-inline-header-title {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-menu .arco-icon {
|
|
|
|
|
+ width: 16px;
|
|
|
|
|
+ height: 16px;
|
|
|
|
|
+ flex: 0 0 16px;
|
|
|
|
|
+ margin-right: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-menu .arco-menu-item-inner > span:not(.layout-agent-icon),
|
|
|
|
|
+.arco-shell-menu .arco-menu-inline-header-title > span:not(.layout-agent-icon) {
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.layout-agent-icon {
|
|
|
|
|
+ width: 22px;
|
|
|
|
|
+ height: 22px;
|
|
|
|
|
+ border-radius: 5px;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ background: #f2f3f5;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.layout-agent-icon img {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ object-fit: cover;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.layout-agent-emoji {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.layout-agent-name {
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-sider-footer {
|
|
|
|
|
+ padding: 10px 8px;
|
|
|
|
|
+ border-top: 1px solid #f0f2f5;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-collapse {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-body {
|
|
|
|
|
+ height: 100vh;
|
|
|
|
|
+ margin-left: 248px;
|
|
|
|
|
+ transition: margin-left 0.2s ease;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-layout-has-sider:has(.arco-layout-sider-collapsed) .arco-shell-body {
|
|
|
|
|
+ margin-left: 64px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-header {
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ z-index: 15;
|
|
|
|
|
+ height: 64px;
|
|
|
|
|
+ padding: 0 28px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.92);
|
|
|
|
|
+ border-bottom: 1px solid #e5e8ef;
|
|
|
|
|
+ backdrop-filter: blur(8px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-header-title {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 2px;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-kicker {
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ line-height: 24px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-title.arco-typography {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ line-height: 16px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-user {
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ padding: 4px 8px;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-avatar {
|
|
|
|
|
+ background: #165dff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell-user-name {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ max-width: 160px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell .main-content.arco-shell-content {
|
|
|
|
|
+ margin-left: 0;
|
|
|
|
|
+ height: calc(100vh - 64px);
|
|
|
|
|
+ background: #f5f7fb;
|
|
|
|
|
+ overflow: auto;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell .main-page-content.arco-shell-page {
|
|
|
|
|
+ padding: 24px 28px 36px;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ max-width: 1440px;
|
|
|
|
|
+ margin: 0 auto;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.layout-user-menu {
|
|
|
|
|
+ min-width: 176px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.layout-user-menu-danger {
|
|
|
|
|
+ color: #f53f3f;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@media (max-width: 900px) {
|
|
|
|
|
+ .arco-shell-body {
|
|
|
|
|
+ margin-left: 64px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .arco-shell-header {
|
|
|
|
|
+ padding: 0 16px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .arco-shell-user-name,
|
|
|
|
|
+ .arco-shell-kicker {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .arco-shell .main-page-content.arco-shell-page {
|
|
|
|
|
+ padding: 18px 16px 28px;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.sidebar {
|
|
|
|
|
+ width: 280px;
|
|
|
|
|
+ background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
|
|
|
|
|
+ border-right: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ height: 100vh;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ z-index: 100;
|
|
|
|
|
+ transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 收起状态 */
|
|
|
|
|
+.app-collapsed .sidebar {
|
|
|
|
|
+ width: 72px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .main-content {
|
|
|
|
|
+ margin-left: 72px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .logo-text,
|
|
|
|
|
+.app-collapsed .menu-item-label,
|
|
|
|
|
+.app-collapsed .arrow,
|
|
|
|
|
+.app-collapsed .submenu-inline {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .menu {
|
|
|
|
|
+ padding: 20px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .menu-item {
|
|
|
|
|
+ padding: 14px 0;
|
|
|
|
|
+ margin: 4px 8px;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ border-left: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .menu-item:hover {
|
|
|
|
|
+ transform: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .menu-item-text {
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ gap: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .menu-item-parent {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .menu-icon {
|
|
|
|
|
+ filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .sidebar-header {
|
|
|
|
|
+ padding: 18px 12px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .logo {
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ gap: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .logo-image {
|
|
|
|
|
+ width: 32px;
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 折叠态下的子菜单浮层 */
|
|
|
|
|
+.submenu-popover {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: calc(100% + 8px);
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ min-width: 180px;
|
|
|
|
|
+ max-height: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ background: white;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ box-shadow: 0 10px 30px rgba(102, 126, 234, 0.18);
|
|
|
|
|
+ z-index: 200;
|
|
|
|
|
+ padding: 6px 0;
|
|
|
|
|
+ opacity: 0;
|
|
|
|
|
+ visibility: hidden;
|
|
|
|
|
+ transform: translateX(-6px);
|
|
|
|
|
+ transition: max-height 0.3s ease, opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .menu-item-parent:hover .submenu-popover {
|
|
|
|
|
+ max-height: 400px;
|
|
|
|
|
+ opacity: 1;
|
|
|
|
|
+ visibility: visible;
|
|
|
|
|
+ transform: translateX(0);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .submenu-popover .submenu-item {
|
|
|
|
|
+ padding: 10px 18px;
|
|
|
|
|
+ margin: 2px 8px;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ color: #4a5568;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .submenu-popover .submenu-item::before {
|
|
|
|
|
+ left: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .submenu-popover .submenu-item:hover {
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(0, 212, 255, 0.06) 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.app-collapsed .submenu-popover .submenu-item.active {
|
|
|
|
|
+ color: #764ba2;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.sidebar-header {
|
|
|
|
|
+ padding: 28px 24px;
|
|
|
|
|
+ border-bottom: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 50%, transparent 100%);
|
|
|
|
|
+ transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.sidebar-toggle {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 8px 12px;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.sidebar-toggle-icon {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ transition: transform 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.sidebar-toggle:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.sidebar-toggle:hover .sidebar-toggle-icon {
|
|
|
|
|
+ transform: scale(1.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo {
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo-text {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: baseline;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo-text-main {
|
|
|
|
|
+ font-family: 'Brush Script MT', 'Lucida Handwriting', 'Snell Roundhand', 'Apple Chancery', cursive;
|
|
|
|
|
+ font-size: 30px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ letter-spacing: 0.5px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 45%, #f093fb 100%);
|
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
|
|
+ background-clip: text;
|
|
|
|
|
+ text-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ font-style: italic;
|
|
|
|
|
+ transform: skewX(-6deg);
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo-text-main::after {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ bottom: -3px;
|
|
|
|
|
+ height: 2px;
|
|
|
|
|
+ background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+ opacity: 0.7;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo-text-sub {
|
|
|
|
|
+ font-family: 'Optima', 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ letter-spacing: 4px;
|
|
|
|
|
+ background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
|
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
|
|
+ background-clip: text;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ padding-left: 6px;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo-text-sub::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ top: 50%;
|
|
|
|
|
+ transform: translateY(-50%);
|
|
|
|
|
+ width: 2px;
|
|
|
|
|
+ height: 14px;
|
|
|
|
|
+ background: linear-gradient(180deg, #667eea 0%, #f093fb 100%);
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo-icon {
|
|
|
|
|
+ width: 36px;
|
|
|
|
|
+ height: 36px;
|
|
|
|
|
+ border: 2px solid transparent;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ background-clip: padding-box;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ animation: glow-pulse 2.5s ease-in-out infinite;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo-image {
|
|
|
|
|
+ width: 36px;
|
|
|
|
|
+ height: 36px;
|
|
|
|
|
+ object-fit: contain;
|
|
|
|
|
+ filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.4));
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logo-icon::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ inset: -2px;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00d4ff 100%);
|
|
|
|
|
+ z-index: -1;
|
|
|
|
|
+ opacity: 0.6;
|
|
|
|
|
+ filter: blur(4px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes glow-pulse {
|
|
|
|
|
+ 0%, 100% {
|
|
|
|
|
+ box-shadow: 0 0 15px rgba(102, 126, 234, 0.4), 0 0 30px rgba(118, 75, 162, 0.2);
|
|
|
|
|
+ }
|
|
|
|
|
+ 50% {
|
|
|
|
|
+ box-shadow: 0 0 25px rgba(102, 126, 234, 0.6), 0 0 50px rgba(118, 75, 162, 0.3);
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.menu {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 20px 0;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.sidebar-footer {
|
|
|
|
|
+ padding: 20px 24px;
|
|
|
|
|
+ border-top: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ background: linear-gradient(0deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-btn {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 14px 20px;
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.2);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-btn:hover {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.15);
|
|
|
|
|
+ border-color: rgba(239, 68, 68, 0.3);
|
|
|
|
|
+ transform: translateX(4px);
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.menu-item {
|
|
|
|
|
+ padding: 16px 24px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ border-left: 4px solid transparent;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ margin: 4px 12px;
|
|
|
|
|
+ border-radius: 0 12px 12px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.menu-item:hover {
|
|
|
|
|
+ background: linear-gradient(90deg, rgba(102, 126, 234, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
|
|
|
|
|
+ border-left-color: #667eea;
|
|
|
|
|
+ transform: translateX(4px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.menu-item.active {
|
|
|
|
|
+ background: linear-gradient(90deg, rgba(102, 126, 234, 0.18) 0%, rgba(0, 212, 255, 0.12) 100%);
|
|
|
|
|
+ border-left-color: #764ba2;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.menu-item::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ width: 0;
|
|
|
|
|
+ background: linear-gradient(90deg, rgba(102, 126, 234, 0.15), transparent);
|
|
|
|
|
+ transition: width 0.4s ease;
|
|
|
|
|
+ border-radius: 0 12px 12px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.menu-item:hover::before,
|
|
|
|
|
+.menu-item.active::before {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.menu-item-text {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ z-index: 1;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.menu-icon {
|
|
|
|
|
+ width: 24px;
|
|
|
|
|
+ height: 24px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arrow {
|
|
|
|
|
+ transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arrow.open {
|
|
|
|
|
+ transform: rotate(90deg);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submenu {
|
|
|
|
|
+ max-height: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.03);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submenu.open {
|
|
|
|
|
+ max-height: 600px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submenu-item {
|
|
|
|
|
+ padding: 14px 24px 14px 60px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+ color: #4a5568;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ margin: 2px 16px;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submenu-item::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 40px;
|
|
|
|
|
+ top: 50%;
|
|
|
|
|
+ width: 8px;
|
|
|
|
|
+ height: 8px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ transform: translateY(-50%) scale(0.6);
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+ opacity: 0.5;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submenu-item:hover {
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(0, 212, 255, 0.06) 100%);
|
|
|
|
|
+ transform: translateX(4px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submenu-item:hover::before {
|
|
|
|
|
+ transform: translateY(-50%) scale(1);
|
|
|
|
|
+ opacity: 1;
|
|
|
|
|
+ box-shadow: 0 0 12px rgba(102, 126, 234, 0.6);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submenu-item.active {
|
|
|
|
|
+ color: #764ba2;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submenu-item.active::before {
|
|
|
|
|
+ transform: translateY(-50%) scale(1);
|
|
|
|
|
+ opacity: 1;
|
|
|
|
|
+ box-shadow: 0 0 15px rgba(102, 126, 234, 0.7);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.main-content {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ margin-left: 280px;
|
|
|
|
|
+ min-height: 100vh;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.main-header {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ min-height: 0;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ z-index: 1001;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.header-avatar {
|
|
|
|
|
+ width: 44px;
|
|
|
|
|
+ height: 44px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.header-avatar:hover {
|
|
|
|
|
+ transform: scale(1.1);
|
|
|
|
|
+ box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.header-avatar-wrapper {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ top: 16px;
|
|
|
|
|
+ right: 32px;
|
|
|
|
|
+ z-index: 1100;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.user-dropdown {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: 60px;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ background: white;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2), 0 4px 20px rgba(118, 75, 162, 0.1);
|
|
|
|
|
+ min-width: 200px;
|
|
|
|
|
+ padding: 8px 0;
|
|
|
|
|
+ z-index: 1000;
|
|
|
|
|
+ animation: dropdownSlideIn 0.2s ease-out;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes dropdownSlideIn {
|
|
|
|
|
+ from {
|
|
|
|
|
+ opacity: 0;
|
|
|
|
|
+ transform: translateY(-10px);
|
|
|
|
|
+ }
|
|
|
|
|
+ to {
|
|
|
|
|
+ opacity: 1;
|
|
|
|
|
+ transform: translateY(0);
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.dropdown-item {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ padding: 12px 20px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.dropdown-item:hover {
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(0, 212, 255, 0.04) 100%);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.dropdown-item.logout:hover {
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.04) 100%);
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.dropdown-icon {
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.dropdown-divider {
|
|
|
|
|
+ height: 1px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ margin: 8px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.avatar-icon {
|
|
|
|
|
+ font-size: 24px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.main-page-content {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 0 40px 40px 40px;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.page-header {
|
|
|
|
|
+ margin-bottom: 40px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.page-title {
|
|
|
|
|
+ font-size: 38px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00d4ff 100%);
|
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
|
|
+ background-clip: text;
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+ letter-spacing: -0.5px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.page-subtitle {
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 卡片样式 */
|
|
|
|
|
+.card-grid {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
|
|
|
+ gap: 28px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card {
|
|
|
|
|
+ background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 20px;
|
|
|
|
|
+ padding: 28px;
|
|
|
|
|
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ height: 3px;
|
|
|
|
|
+ background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #00d4ff 100%);
|
|
|
|
|
+ transform: translateX(-100%);
|
|
|
|
|
+ transition: transform 0.6s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card::after {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ inset: -1px;
|
|
|
|
|
+ border-radius: 20px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 50%, rgba(0, 212, 255, 0.08) 100%);
|
|
|
|
|
+ opacity: 0;
|
|
|
|
|
+ transition: opacity 0.4s ease;
|
|
|
|
|
+ z-index: -1;
|
|
|
|
|
+ filter: blur(8px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card:hover {
|
|
|
|
|
+ transform: translateY(-8px) scale(1.02);
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.4);
|
|
|
|
|
+ box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2), 0 8px 25px rgba(118, 75, 162, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card:hover::before {
|
|
|
|
|
+ transform: translateX(100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card:hover::after {
|
|
|
|
|
+ opacity: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card-header {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 18px;
|
|
|
|
|
+ margin-bottom: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card-icon {
|
|
|
|
|
+ width: 56px;
|
|
|
|
|
+ height: 56px;
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(0, 212, 255, 0.1) 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-size: 28px;
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ transition: all 0.4s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card:hover .card-icon {
|
|
|
|
|
+ transform: scale(1.1) rotate(5deg);
|
|
|
|
|
+ box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card-title {
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ margin-bottom: 6px;
|
|
|
|
|
+ background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
|
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
|
|
+ background-clip: text;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card-description {
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 1.7;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.card-tags {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ margin-top: 20px;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.tag {
|
|
|
|
|
+ padding: 6px 16px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 24px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.tag:hover {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ transform: scale(1.05);
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 列表样式 */
|
|
|
|
|
+.list {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item {
|
|
|
|
|
+ background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ padding: 24px 28px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.06);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ width: 4px;
|
|
|
|
|
+ background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #00d4ff 100%);
|
|
|
|
|
+ transform: scaleY(0);
|
|
|
|
|
+ transition: transform 0.4s ease;
|
|
|
|
|
+ border-radius: 0 2px 2px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item::after {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ inset: 0;
|
|
|
|
|
+ background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, rgba(0, 212, 255, 0.04) 100%);
|
|
|
|
|
+ opacity: 0;
|
|
|
|
|
+ transition: opacity 0.4s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item:hover {
|
|
|
|
|
+ transform: translateX(8px) translateY(-2px);
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.4);
|
|
|
|
|
+ box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15), 0 4px 20px rgba(118, 75, 162, 0.1);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item:hover::before {
|
|
|
|
|
+ transform: scaleY(1);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item:hover::after {
|
|
|
|
|
+ opacity: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item-content {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ z-index: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item-title {
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ margin-bottom: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item-meta {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 20px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.meta-item {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item-action {
|
|
|
|
|
+ padding: 12px 28px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ z-index: 1;
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.list-item-action:hover {
|
|
|
|
|
+ transform: scale(1.08) translateY(-2px);
|
|
|
|
|
+ box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5), 0 4px 15px rgba(118, 75, 162, 0.3);
|
|
|
|
|
+ background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-page {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-page-header {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: flex-start;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-page-title.arco-typography {
|
|
|
|
|
+ margin: 0 0 6px;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ font-size: 24px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ line-height: 32px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-page-subtitle.arco-typography {
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-count-tag.arco-tag {
|
|
|
|
|
+ margin-top: 4px;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-card.arco-card {
|
|
|
|
|
+ border-color: #e5e6eb;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-card .arco-card-body {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-list {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ min-height: 80px;
|
|
|
|
|
+ padding: 16px 20px;
|
|
|
|
|
+ border-bottom: 1px solid #f2f3f5;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ transition: background-color 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item:last-child {
|
|
|
|
|
+ border-bottom: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item:hover {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item-main {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item-icon {
|
|
|
|
|
+ width: 36px;
|
|
|
|
|
+ height: 36px;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ background: #e8f3ff;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item-content {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item-title.arco-typography {
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item-meta.arco-space {
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-item-meta span {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-detail-btn.arco-btn-text {
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.history-detail-btn.arco-btn-text:hover {
|
|
|
|
|
+ background: #e8f3ff;
|
|
|
|
|
+ color: #4080ff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agents-page {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agents-header {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: flex-start;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agents-title.arco-typography {
|
|
|
|
|
+ margin: 0 0 6px;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ font-size: 24px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ line-height: 32px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agents-subtitle.arco-typography {
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agents-count-tag.arco-tag {
|
|
|
|
|
+ margin-top: 4px;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agents-card.arco-card {
|
|
|
|
|
+ border-color: #e5e6eb;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agents-card .arco-card-body {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agents-list {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-item {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ min-height: 92px;
|
|
|
|
|
+ padding: 18px 20px;
|
|
|
|
|
+ border-bottom: 1px solid #f2f3f5;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ transition: background-color 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-item:last-child {
|
|
|
|
|
+ border-bottom: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-item:hover {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-main {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-icon {
|
|
|
|
|
+ width: 40px;
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ background: #e8f3ff;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-content {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 5px;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-name.arco-typography {
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-description.arco-typography {
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-meta.arco-space {
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-meta span {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-actions {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-status.arco-tag {
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.available-agent-use-btn.arco-btn-primary {
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 科技感装饰线 */
|
|
|
|
|
+.tech-line {
|
|
|
|
|
+ height: 2px;
|
|
|
|
|
+ background: linear-gradient(90deg, transparent 0%, #667eea 25%, #764ba2 50%, #00d4ff 75%, transparent 100%);
|
|
|
|
|
+ margin: 40px 0;
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Profile Modal Styles */
|
|
|
|
|
+.profile-modal-overlay {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ background: rgba(0, 0, 0, 0.5);
|
|
|
|
|
+ backdrop-filter: blur(4px);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ z-index: 1000;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-modal {
|
|
|
|
|
+ background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 24px;
|
|
|
|
|
+ width: 90%;
|
|
|
|
|
+ max-width: 900px;
|
|
|
|
|
+ height: 70vh;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2), 0 8px 25px rgba(118, 75, 162, 0.15);
|
|
|
|
|
+ animation: modalSlideIn 0.3s ease-out;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes modalSlideIn {
|
|
|
|
|
+ from {
|
|
|
|
|
+ opacity: 0;
|
|
|
|
|
+ transform: scale(0.9) translateY(-20px);
|
|
|
|
|
+ }
|
|
|
|
|
+ to {
|
|
|
|
|
+ opacity: 1;
|
|
|
|
|
+ transform: scale(1) translateY(0);
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-modal-header {
|
|
|
|
|
+ padding: 24px 28px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ border-bottom: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-modal-header h2 {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00d4ff 100%);
|
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
|
|
+ background-clip: text;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-close-btn {
|
|
|
|
|
+ width: 36px;
|
|
|
|
|
+ height: 36px;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-close-btn:hover {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.2);
|
|
|
|
|
+ transform: rotate(90deg);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-tabs {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ padding: 16px 28px;
|
|
|
|
|
+ border-bottom: 1px solid rgba(102, 126, 234, 0.1);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-tab {
|
|
|
|
|
+ padding: 10px 20px;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-tab:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-tab.active {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.profile-tab-content {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 28px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Account Info */
|
|
|
|
|
+.account-info {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 24px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-avatar-section {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(0, 212, 255, 0.03) 100%);
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-avatar {
|
|
|
|
|
+ width: 80px;
|
|
|
|
|
+ height: 80px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-size: 40px;
|
|
|
|
|
+ box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-edit {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name {
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-input {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 10px 16px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.3);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ background: white;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-input:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-btn {
|
|
|
|
|
+ padding: 8px 16px;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-btn.save {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-btn.save:hover {
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-btn.cancel {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-btn.cancel:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.2);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-edit-btn {
|
|
|
|
|
+ padding: 6px 12px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-name-edit-btn:hover {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-field {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-field label {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-field input {
|
|
|
|
|
+ padding: 14px 18px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-field input:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ background: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-action-btn {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 14px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.3);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(0, 212, 255, 0.04) 100%);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-action-btn:hover {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ transform: translateY(-2px);
|
|
|
|
|
+ box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-section {
|
|
|
|
|
+ margin-top: 20px;
|
|
|
|
|
+ padding-top: 20px;
|
|
|
|
|
+ border-top: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-title {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-form {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ padding: 16px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.03);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-field {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-field label {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-field input {
|
|
|
|
|
+ padding: 12px 16px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ background: white;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-field input:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ margin-top: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-btn {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 12px;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-btn.save {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-btn.save:hover:not(:disabled) {
|
|
|
|
|
+ box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
|
|
|
|
|
+ transform: translateY(-2px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-btn.save:disabled {
|
|
|
|
|
+ opacity: 0.6;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-btn.cancel {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.account-password-btn.cancel:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.2);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* API Key Info */
|
|
|
|
|
+.apikey-info {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-section {
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(0, 212, 255, 0.03) 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-title {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-form {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-expires-input {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 12px 16px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ background: white;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-expires-input:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-btn {
|
|
|
|
|
+ padding: 12px 24px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-btn:hover:not(:disabled) {
|
|
|
|
|
+ transform: translateY(-2px);
|
|
|
|
|
+ box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-btn:disabled {
|
|
|
|
|
+ opacity: 0.6;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list {
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list-header {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: 2fr 100px 180px 140px;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ padding: 12px 16px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(0, 212, 255, 0.04) 100%);
|
|
|
|
|
+ border-bottom: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ text-transform: uppercase;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list-item {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: 2fr 100px 180px 140px;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ padding: 12px 16px;
|
|
|
|
|
+ border-bottom: 1px solid rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ transition: background 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list-item:last-child {
|
|
|
|
|
+ border-bottom: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list-item:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.03);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-loading,
|
|
|
|
|
+.apikey-empty {
|
|
|
|
|
+ padding: 40px 16px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-token {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-token-input {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 8px 12px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.6);
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-family: monospace;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-copy-btn {
|
|
|
|
|
+ padding: 6px 10px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.05);
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-copy-btn:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-status {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 4px 12px;
|
|
|
|
|
+ border-radius: 20px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-status.active {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.1);
|
|
|
|
|
+ color: #22c55e;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-status.inactive {
|
|
|
|
|
+ background: rgba(107, 114, 128, 0.1);
|
|
|
|
|
+ color: #6b7280;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-expires {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-remain {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ margin-left: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-toggle-btn,
|
|
|
|
|
+.apikey-delete-btn {
|
|
|
|
|
+ padding: 6px 12px;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ margin-right: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-toggle-btn {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-toggle-btn:hover:not(:disabled) {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-delete-btn {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.2);
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-delete-btn:hover:not(:disabled) {
|
|
|
|
|
+ background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-toggle-btn:disabled,
|
|
|
|
|
+.apikey-delete-btn:disabled {
|
|
|
|
|
+ opacity: 0.5;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-description {
|
|
|
|
|
+ padding: 16px 20px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(0, 212, 255, 0.03) 100%);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 1.6;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-display {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-display input {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 14px 18px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-family: monospace;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-toggle-btn-old {
|
|
|
|
|
+ padding: 14px 20px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.3);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(0, 212, 255, 0.04) 100%);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-toggle-btn-old:hover {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 14px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.3);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(0, 212, 255, 0.04) 100%);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn.secondary {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.05);
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.2);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn:hover {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ transform: translateY(-2px);
|
|
|
|
|
+ box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn.secondary:hover {
|
|
|
|
|
+ background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Logout Section */
|
|
|
|
|
+.logout-section {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 28px;
|
|
|
|
|
+ padding: 20px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-warning {
|
|
|
|
|
+ padding: 24px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.03) 100%);
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.2);
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-confirm-btn,
|
|
|
|
|
+.logout-cancel-btn {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 14px;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-confirm-btn {
|
|
|
|
|
+ background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-confirm-btn:hover {
|
|
|
|
|
+ transform: translateY(-2px);
|
|
|
|
|
+ box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-cancel-btn {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.logout-cancel-btn:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ transform: translateY(-2px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* API Key Modal */
|
|
|
|
|
+.api-key-modal {
|
|
|
|
|
+ width: 95%;
|
|
|
|
|
+ max-width: 1100px;
|
|
|
|
|
+ height: 80vh;
|
|
|
|
|
+ max-height: 800px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ============ 智能体执行页 / 申请页 公共样式 ============ */
|
|
|
|
|
+.back-btn {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+ padding: 6px 14px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.back-btn:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ transform: translateX(-2px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 智能体执行页 */
|
|
|
|
|
+.agent-execute {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ height: calc(100vh - 80px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 执行页 - 详情卡 */
|
|
|
|
|
+.execute-detail-card {
|
|
|
|
|
+ background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ padding: 20px 24px;
|
|
|
|
|
+ box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-head {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-icon {
|
|
|
|
|
+ width: 64px;
|
|
|
|
|
+ height: 64px;
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-size: 32px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Twemoji Mozilla', sans-serif;
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-icon-img {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ object-fit: cover;
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-card > .execute-detail-desc,
|
|
|
|
|
+.execute-detail-card > .execute-detail-info,
|
|
|
|
|
+.execute-detail-card > .execute-detail-disclaimer {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: flex-start;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ margin-top: 8px;
|
|
|
|
|
+ margin-left: 72px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-action-btn {
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.24);
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ color: #4f46e5;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ padding: 6px 12px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-action-btn:disabled {
|
|
|
|
|
+ opacity: 0.6;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-mask {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ inset: 0;
|
|
|
|
|
+ background: rgba(15, 23, 42, 0.28);
|
|
|
|
|
+ z-index: 1200;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ width: min(420px, 90vw);
|
|
|
|
|
+ height: 100vh;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ z-index: 1201;
|
|
|
|
|
+ box-shadow: -16px 0 40px rgba(15, 23, 42, 0.18);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-head {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ padding: 18px 20px;
|
|
|
|
|
+ border-bottom: 1px solid #e5e7eb;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-close {
|
|
|
|
|
+ width: 28px;
|
|
|
|
|
+ height: 28px;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ background: #f1f5f9;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-title {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-body {
|
|
|
|
|
+ padding: 12px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-status {
|
|
|
|
|
+ padding: 24px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-list {
|
|
|
|
|
+ list-style: none;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-item {
|
|
|
|
|
+ padding: 12px;
|
|
|
|
|
+ border: 1px solid #e5e7eb;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-item:hover {
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.4);
|
|
|
|
|
+ background: #f8faff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-item-name {
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ margin-bottom: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-drawer-item-meta {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-disclaimer {
|
|
|
|
|
+ margin-top: 12px;
|
|
|
|
|
+ padding: 8px 12px;
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.06);
|
|
|
|
|
+ border: 1px solid rgba(245, 158, 11, 0.2);
|
|
|
|
|
+ border-left: 3px solid #f59e0b;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #92400e;
|
|
|
|
|
+ line-height: 1.6;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-meta {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-name {
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
|
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
|
|
+ background-clip: text;
|
|
|
|
|
+ margin: 0 0 6px 0;
|
|
|
|
|
+ line-height: 1.2;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-sub {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-id {
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-tag {
|
|
|
|
|
+ padding: 2px 8px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-status {
|
|
|
|
|
+ padding: 2px 8px;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ text-transform: capitalize;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-status-active {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.12);
|
|
|
|
|
+ color: #16a34a;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-status-inactive,
|
|
|
|
|
+.execute-status-disabled {
|
|
|
|
|
+ background: rgba(148, 163, 184, 0.15);
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-error {
|
|
|
|
|
+ margin-top: 6px;
|
|
|
|
|
+ padding: 6px 10px;
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.08);
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.2);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-apikey {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ align-items: flex-end;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+ padding: 8px 14px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.04) 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ max-width: 220px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-label {
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ letter-spacing: 0.5px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-apikey code {
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ max-width: 100%;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== API Key 触发按钮(右上角) ===== */
|
|
|
|
|
+.execute-detail-apikey-trigger,
|
|
|
|
|
+.execute-detail-history-trigger,
|
|
|
|
|
+.execute-detail-new-trigger {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ padding: 8px 16px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ letter-spacing: 0.3px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-new-trigger {
|
|
|
|
|
+ margin-left: auto;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ color: #5568d3;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.28);
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-apikey-trigger:hover,
|
|
|
|
|
+.execute-detail-history-trigger:hover,
|
|
|
|
|
+.execute-detail-new-trigger:hover {
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+ box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
|
|
|
|
|
+ background: linear-gradient(135deg, #5a6fd8 0%, #6a4391 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-new-trigger:hover {
|
|
|
|
|
+ color: #5568d3;
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.45);
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-apikey-trigger:active,
|
|
|
|
|
+.execute-detail-history-trigger:active,
|
|
|
|
|
+.execute-detail-new-trigger:active {
|
|
|
|
|
+ transform: translateY(0);
|
|
|
|
|
+ box-shadow: 0 1px 4px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-apikey-trigger .apikey-icon,
|
|
|
|
|
+.execute-detail-history-trigger .history-icon,
|
|
|
|
|
+.execute-detail-history-trigger .new-chat-icon,
|
|
|
|
|
+.execute-detail-new-trigger svg {
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== API Key 弹框 ===== */
|
|
|
|
|
+.apikey-modal-mask {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ inset: 0;
|
|
|
|
|
+ background: rgba(15, 23, 42, 0.5);
|
|
|
|
|
+ backdrop-filter: blur(4px);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ z-index: 1000;
|
|
|
|
|
+ animation: apikey-modal-fade 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes apikey-modal-fade {
|
|
|
|
|
+ from { opacity: 0; }
|
|
|
|
|
+ to { opacity: 1; }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal {
|
|
|
|
|
+ width: min(520px, 92vw);
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ animation: apikey-modal-pop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes apikey-modal-pop {
|
|
|
|
|
+ from { opacity: 0; transform: scale(0.92) translateY(10px); }
|
|
|
|
|
+ to { opacity: 1; transform: scale(1) translateY(0); }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-head {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ padding: 16px 20px;
|
|
|
|
|
+ border-bottom: 1px solid #e2e8f0;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-head h3 {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-close {
|
|
|
|
|
+ width: 28px;
|
|
|
|
|
+ height: 28px;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ transition: all 0.15s;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-close:hover {
|
|
|
|
|
+ background: rgba(15, 23, 42, 0.08);
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-body {
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-value {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 14px 16px;
|
|
|
|
|
+ background: #f1f5f9;
|
|
|
|
|
+ border: 1px solid #e2e8f0;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ word-break: break-all;
|
|
|
|
|
+ line-height: 1.6;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ user-select: all;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-tip {
|
|
|
|
|
+ margin: 12px 0 0;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ line-height: 1.5;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-foot {
|
|
|
|
|
+ padding: 14px 20px;
|
|
|
|
|
+ border-top: 1px solid #e2e8f0;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ background: #fafbfc;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-copy {
|
|
|
|
|
+ padding: 8px 22px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s;
|
|
|
|
|
+ min-width: 90px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-copy:hover {
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-copy.is-copied {
|
|
|
|
|
+ background: linear-gradient(135deg, #10b981 0%, #059669 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 聊天模式:参数配置按钮(输入框右上角) ===== */
|
|
|
|
|
+.execute-params-btn {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ padding: 0 14px;
|
|
|
|
|
+ height: 38px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-params-btn:hover:not(:disabled) {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.16);
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.45);
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+ box-shadow: 0 4px 10px rgba(102, 126, 234, 0.18);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-params-btn:disabled {
|
|
|
|
|
+ opacity: 0.5;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-params-btn svg {
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-params-dot {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: -6px;
|
|
|
|
|
+ right: -6px;
|
|
|
|
|
+ min-width: 18px;
|
|
|
|
|
+ height: 18px;
|
|
|
|
|
+ padding: 0 5px;
|
|
|
|
|
+ background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ line-height: 18px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ border-radius: 9px;
|
|
|
|
|
+ box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 聊天模式:参数弹窗(参考 workflow 表单样式) ===== */
|
|
|
|
|
+.chat-params-modal {
|
|
|
|
|
+ width: min(560px, 92vw);
|
|
|
|
|
+ max-height: 86vh;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body {
|
|
|
|
|
+ padding: 20px 24px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-field {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-label {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #334155;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-input,
|
|
|
|
|
+.chat-params-modal-body .wf-form-textarea,
|
|
|
|
|
+.chat-params-modal-body .wf-form-select {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 10px 12px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+ transition: all 0.2s;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-input:focus,
|
|
|
|
|
+.chat-params-modal-body .wf-form-textarea:focus,
|
|
|
|
|
+.chat-params-modal-body .wf-form-select:focus {
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-textarea {
|
|
|
|
|
+ resize: vertical;
|
|
|
|
|
+ min-height: 80px;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-checkbox-row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ padding: 8px 12px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-trigger {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ padding: 14px;
|
|
|
|
|
+ border: 1.5px dashed rgba(102, 126, 234, 0.35);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.04);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-trigger:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.55);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-list {
|
|
|
|
|
+ list-style: none;
|
|
|
|
|
+ margin: 8px 0 0;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-item {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ padding: 8px 10px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.06);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-remove {
|
|
|
|
|
+ margin-left: auto;
|
|
|
|
|
+ width: 22px;
|
|
|
|
|
+ height: 22px;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-remove:hover {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ color: #ef4444;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-hidden {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 弹窗内滚动条 */
|
|
|
|
|
+.chat-params-modal-body::-webkit-scrollbar {
|
|
|
|
|
+ width: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+.chat-params-modal-body::-webkit-scrollbar-thumb {
|
|
|
|
|
+ background: #c9cdd4;
|
|
|
|
|
+ border: 2px solid #f7f8fa;
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+}
|
|
|
|
|
+.chat-params-modal-body::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
+ background: #a9aeb8;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 聊天模式:停止按钮 ===== */
|
|
|
|
|
+.execute-stop-btn {
|
|
|
|
|
+ background: linear-gradient(135deg, #ef4444 0%, #f97316 100%) !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-stop-btn:hover {
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4) !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 聊天模式:错误提示 ===== */
|
|
|
|
|
+.execute-chat-error {
|
|
|
|
|
+ margin: 0 16px 0;
|
|
|
|
|
+ padding: 8px 12px;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 流式输出光标 ===== */
|
|
|
|
|
+.wf-step-cursor {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ margin-left: 2px;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ animation: wf-cursor-blink 1s steps(2, end) infinite;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes wf-cursor-blink {
|
|
|
|
|
+ 0%, 50% { opacity: 1; }
|
|
|
|
|
+ 50.01%, 100% { opacity: 0; }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* assistant 消息流式气泡 */
|
|
|
|
|
+.execute-msg-assistant .execute-msg-bubble {
|
|
|
|
|
+ min-height: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 模式徽章 ===== */
|
|
|
|
|
+.execute-detail-mode-tag {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 3px 12px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ letter-spacing: 0.5px;
|
|
|
|
|
+ box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== Workflow 左右分栏布局 ===== */
|
|
|
|
|
+.workflow-layout {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: flex-start;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-main {
|
|
|
|
|
+ flex: 1 1 auto;
|
|
|
|
|
+ min-width: 0; /* 允许内容收缩 */
|
|
|
|
|
+ transition: flex 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side {
|
|
|
|
|
+ flex: 0 0 400px;
|
|
|
|
|
+ position: sticky;
|
|
|
|
|
+ top: 16px;
|
|
|
|
|
+ align-self: flex-start;
|
|
|
|
|
+ transition: flex-basis 0.3s ease, width 0.3s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side.is-collapsed {
|
|
|
|
|
+ flex: 0 0 56px;
|
|
|
|
|
+ width: 56px;
|
|
|
|
|
+ overflow: visible;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 折叠态:竖向按钮条 ===== */
|
|
|
|
|
+.workflow-side-collapsed {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+ padding: 14px 8px;
|
|
|
|
|
+ background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
|
|
|
|
|
+ border: 1px solid #e2e8f0;
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+ box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
|
|
|
|
|
+ position: sticky;
|
|
|
|
|
+ top: 16px;
|
|
|
|
|
+ animation: wf-collapsed-in 0.25s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes wf-collapsed-in {
|
|
|
|
|
+ from { opacity: 0; transform: translateX(8px); }
|
|
|
|
|
+ to { opacity: 1; transform: translateX(0); }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-expand {
|
|
|
|
|
+ width: 32px;
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-expand:hover {
|
|
|
|
|
+ background: #667eea;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ transform: translateX(-1px);
|
|
|
|
|
+ box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-collapsed-title {
|
|
|
|
|
+ writing-mode: vertical-rl;
|
|
|
|
|
+ text-orientation: upright;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ letter-spacing: 4px;
|
|
|
|
|
+ padding: 8px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-collapsed-run {
|
|
|
|
|
+ width: 36px;
|
|
|
|
|
+ height: 36px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-collapsed-run:hover:not(:disabled) {
|
|
|
|
|
+ transform: scale(1.08);
|
|
|
|
|
+ box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-collapsed-run:disabled {
|
|
|
|
|
+ background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 展开态卡片头部(含 X 按钮) ===== */
|
|
|
|
|
+.workflow-side-card-head {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ padding: 16px 18px;
|
|
|
|
|
+ border-bottom: 1px solid #eef2f7;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.04) 0%, rgba(118, 75, 162, 0.04) 100%);
|
|
|
|
|
+ border-radius: 14px 14px 0 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-card-head .execute-card-title {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
|
+ background-clip: text;
|
|
|
|
|
+ color: transparent;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-close {
|
|
|
|
|
+ width: 28px;
|
|
|
|
|
+ height: 28px;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ border: 1px solid transparent;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ transition: all 0.15s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-close:hover {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ color: #ef4444;
|
|
|
|
|
+ border-color: rgba(239, 68, 68, 0.2);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-card {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
|
|
|
+ border: 1px solid #e2e8f0;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side .wf-form {
|
|
|
|
|
+ max-height: calc(100vh - 320px);
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ padding: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side .wf-form::-webkit-scrollbar {
|
|
|
|
|
+ width: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+.workflow-side .wf-form::-webkit-scrollbar-thumb {
|
|
|
|
|
+ background: #c9cdd4;
|
|
|
|
|
+ border: 2px solid #f7f8fa;
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+}
|
|
|
|
|
+.workflow-side .wf-form::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
+ background: #a9aeb8;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 响应式:窄屏时上下堆叠 */
|
|
|
|
|
+@media (max-width: 1024px) {
|
|
|
|
|
+ .workflow-layout {
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ }
|
|
|
|
|
+ .workflow-side {
|
|
|
|
|
+ flex: 1 1 auto;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ position: static;
|
|
|
|
|
+ }
|
|
|
|
|
+ .workflow-side.is-collapsed {
|
|
|
|
|
+ flex: 0 0 56px;
|
|
|
|
|
+ width: 56px;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 表单字段:精致样式 ===== */
|
|
|
|
|
+.wf-form-field {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 5px;
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-label {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #475569;
|
|
|
|
|
+ letter-spacing: 0.3px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-required {
|
|
|
|
|
+ color: #ef4444;
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ margin-left: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 字段右侧的徽章组:类型 + 必填 ===== */
|
|
|
|
|
+.wf-form-meta {
|
|
|
|
|
+ margin-left: auto;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-type-badge {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 1px 7px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.1) 100%);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ letter-spacing: 0.5px;
|
|
|
|
|
+ line-height: 1.4;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-required-badge {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 1px 7px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.1) 100%);
|
|
|
|
|
+ color: #ef4444;
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.25);
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ letter-spacing: 0.5px;
|
|
|
|
|
+ line-height: 1.4;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-tip {
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ margin-left: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-input,
|
|
|
|
|
+.wf-form-textarea {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 9px 12px;
|
|
|
|
|
+ background: #f8fafc;
|
|
|
|
|
+ border: 1.5px solid #e2e8f0;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ transition: all 0.18s ease;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-input:hover,
|
|
|
|
|
+.wf-form-textarea:hover {
|
|
|
|
|
+ border-color: #cbd5e1;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-input:focus,
|
|
|
|
|
+.wf-form-textarea:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-input::placeholder,
|
|
|
|
|
+.wf-form-textarea::placeholder {
|
|
|
|
|
+ color: #cbd5e1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-textarea {
|
|
|
|
|
+ resize: vertical;
|
|
|
|
|
+ min-height: 100px;
|
|
|
|
|
+ line-height: 1.6;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 数字输入框:隐藏原生 spinner,保留直接输入 ===== */
|
|
|
|
|
+.wf-form-input[type="number"] {
|
|
|
|
|
+ -moz-appearance: textfield;
|
|
|
|
|
+ appearance: textfield;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-input[type="number"]::-webkit-outer-spin-button,
|
|
|
|
|
+.wf-form-input[type="number"]::-webkit-inner-spin-button {
|
|
|
|
|
+ -webkit-appearance: none;
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-textarea-counter {
|
|
|
|
|
+ align-self: flex-end;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ margin-top: -2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== Select 下拉(自定义箭头) ===== */
|
|
|
|
|
+.wf-form-select-wrapper {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-select {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 9px 36px 9px 12px;
|
|
|
|
|
+ background: #f8fafc;
|
|
|
|
|
+ border: 1.5px solid #e2e8f0;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ appearance: none;
|
|
|
|
|
+ -webkit-appearance: none;
|
|
|
|
|
+ -moz-appearance: none;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ transition: all 0.18s ease;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-select:hover {
|
|
|
|
|
+ border-color: #cbd5e1;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-select:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-select-arrow {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ right: 12px;
|
|
|
|
|
+ top: 50%;
|
|
|
|
|
+ transform: translateY(-50%);
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ pointer-events: none;
|
|
|
|
|
+ transition: transform 0.2s;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-select-wrapper:hover .wf-form-select-arrow {
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 文件上传 ===== */
|
|
|
|
|
+.wf-form-file-hidden {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-trigger {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 14px;
|
|
|
|
|
+ background: #f8fafc;
|
|
|
|
|
+ border: 1.5px dashed #cbd5e1;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-trigger:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.04);
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ border-style: solid;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.08);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-trigger svg {
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-list {
|
|
|
|
|
+ list-style: none;
|
|
|
|
|
+ margin: 8px 0 0;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-item {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ padding: 8px 12px;
|
|
|
|
|
+ background: #f1f5f9;
|
|
|
|
|
+ border: 1px solid #e2e8f0;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-icon {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-name {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-size {
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-remove {
|
|
|
|
|
+ width: 20px;
|
|
|
|
|
+ height: 20px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ transition: all 0.15s ease;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-remove:hover {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ color: #ef4444;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== Checkbox 行(与输入框对齐) ===== */
|
|
|
|
|
+.wf-form-checkbox-row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ padding: 9px 12px;
|
|
|
|
|
+ background: #f8fafc;
|
|
|
|
|
+ border: 1.5px solid #e2e8f0;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+ transition: all 0.18s ease;
|
|
|
|
|
+ min-height: 38px;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-checkbox-row:hover {
|
|
|
|
|
+ border-color: #cbd5e1;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-checkbox-row:has(.wf-form-checkbox:checked) {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.04);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-checkbox {
|
|
|
|
|
+ width: 16px;
|
|
|
|
|
+ height: 16px;
|
|
|
|
|
+ accent-color: #667eea;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-checkbox-label {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ user-select: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 空状态/加载/错误 ===== */
|
|
|
|
|
+.wf-form-empty {
|
|
|
|
|
+ padding: 24px 16px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ background: #f8fafc;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ border: 1px dashed #e2e8f0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-loading {
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-desc {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #475569;
|
|
|
|
|
+ line-height: 1.7;
|
|
|
|
|
+ padding: 12px 16px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.04);
|
|
|
|
|
+ border-left: 3px solid #667eea;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-info {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-tags {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-chip {
|
|
|
|
|
+ padding: 3px 10px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-stats {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-card {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 24px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ scrollbar-width: thin;
|
|
|
|
|
+ scrollbar-color: rgba(22, 93, 255, 0.38) rgba(22, 93, 255, 0.08);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages::-webkit-scrollbar {
|
|
|
|
|
+ width: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages::-webkit-scrollbar-track {
|
|
|
|
|
+ background: rgba(22, 93, 255, 0.06);
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages::-webkit-scrollbar-thumb {
|
|
|
|
|
+ background: linear-gradient(180deg, rgba(22, 93, 255, 0.45) 0%, rgba(114, 46, 209, 0.38) 100%);
|
|
|
|
|
+ border: 2px solid rgba(248, 250, 255, 0.95);
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
+ background: linear-gradient(180deg, rgba(22, 93, 255, 0.68) 0%, rgba(114, 46, 209, 0.58) 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-empty {
|
|
|
|
|
+ margin: auto;
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+ max-width: 80%;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-user {
|
|
|
|
|
+ align-self: flex-end;
|
|
|
|
|
+ align-items: flex-end;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-assistant {
|
|
|
|
|
+ align-self: flex-start;
|
|
|
|
|
+ align-items: flex-start;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-role {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #888;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-bubble {
|
|
|
|
|
+ padding: 10px 14px;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 1.6;
|
|
|
|
|
+ word-break: break-word;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-generating {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body {
|
|
|
|
|
+ color: inherit;
|
|
|
|
|
+ line-height: 1.7;
|
|
|
|
|
+ white-space: normal;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body > :first-child {
|
|
|
|
|
+ margin-top: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body > :last-child {
|
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body p {
|
|
|
|
|
+ margin: 0 0 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body h1,
|
|
|
|
|
+.markdown-body h2,
|
|
|
|
|
+.markdown-body h3,
|
|
|
|
|
+.markdown-body h4,
|
|
|
|
|
+.markdown-body h5,
|
|
|
|
|
+.markdown-body h6 {
|
|
|
|
|
+ margin: 16px 0 8px;
|
|
|
|
|
+ color: inherit;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ line-height: 1.35;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body h1 { font-size: 22px; }
|
|
|
|
|
+.markdown-body h2 { font-size: 19px; }
|
|
|
|
|
+.markdown-body h3 { font-size: 17px; }
|
|
|
|
|
+.markdown-body h4,
|
|
|
|
|
+.markdown-body h5,
|
|
|
|
|
+.markdown-body h6 { font-size: 15px; }
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body ul,
|
|
|
|
|
+.markdown-body ol {
|
|
|
|
|
+ margin: 8px 0 12px;
|
|
|
|
|
+ padding-left: 22px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body li {
|
|
|
|
|
+ margin: 4px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body li > p {
|
|
|
|
|
+ margin: 4px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body blockquote {
|
|
|
|
|
+ margin: 10px 0;
|
|
|
|
|
+ padding: 8px 12px;
|
|
|
|
|
+ border-left: 3px solid #667eea;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ color: #475569;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body pre {
|
|
|
|
|
+ margin: 10px 0;
|
|
|
|
|
+ padding: 12px;
|
|
|
|
|
+ overflow-x: auto;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.14);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ background: #f8fafc;
|
|
|
|
|
+ white-space: pre;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body code {
|
|
|
|
|
+ padding: 2px 5px;
|
|
|
|
|
+ border-radius: 5px;
|
|
|
|
|
+ background: rgba(15, 23, 42, 0.07);
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+ font-size: 0.92em;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body pre code {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ border-radius: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body table {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ margin: 10px 0;
|
|
|
|
|
+ overflow-x: auto;
|
|
|
|
|
+ border-collapse: collapse;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body th,
|
|
|
|
|
+.markdown-body td {
|
|
|
|
|
+ padding: 7px 10px;
|
|
|
|
|
+ border: 1px solid #dbe3ef;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ vertical-align: top;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body th {
|
|
|
|
|
+ background: #f1f5f9;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body hr {
|
|
|
|
|
+ margin: 14px 0;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-top: 1px solid #dbe3ef;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body a {
|
|
|
|
|
+ color: #5568d3;
|
|
|
|
|
+ text-decoration: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body a:hover {
|
|
|
|
|
+ text-decoration: underline;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-user .markdown-body a {
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ text-decoration: underline;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-user .execute-msg-bubble {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-assistant .execute-msg-bubble {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input-bar {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ padding: 16px;
|
|
|
|
|
+ border-top: 1px solid rgba(102, 126, 234, 0.12);
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.6);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ padding: 10px 14px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-send-btn {
|
|
|
|
|
+ padding: 10px 22px;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-send-btn:disabled {
|
|
|
|
|
+ opacity: 0.5;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-send-btn:not(:disabled):hover {
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 智能体申请页 */
|
|
|
|
|
+.agent-apply {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ max-width: 760px;
|
|
|
|
|
+ margin: 0 auto;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-error-tip {
|
|
|
|
|
+ padding: 10px 16px;
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.08);
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.25);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-card {
|
|
|
|
|
+ background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ padding: 28px;
|
|
|
|
|
+ box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-agent-info {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+ padding: 16px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.05);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ margin-bottom: 24px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-agent-icon {
|
|
|
|
|
+ width: 52px;
|
|
|
|
|
+ height: 52px;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-size: 26px;
|
|
|
|
|
+ font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Twemoji Mozilla', sans-serif;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-agent-name {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ margin-bottom: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-agent-desc {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ line-height: 1.5;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-form {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-label {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #334155;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-label em {
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ margin-left: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-select,
|
|
|
|
|
+.apply-textarea {
|
|
|
|
|
+ padding: 10px 14px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ background: white;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ resize: vertical;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-select:focus,
|
|
|
|
|
+.apply-textarea:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ margin-top: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-secondary-btn,
|
|
|
|
|
+.apply-primary-btn {
|
|
|
|
|
+ padding: 10px 24px;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-secondary-btn {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-secondary-btn:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-primary-btn {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-primary-btn:disabled {
|
|
|
|
|
+ opacity: 0.5;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-primary-btn:not(:disabled):hover {
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+ box-shadow: 0 6px 18px rgba(102, 126, 234, 0.45);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-success {
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ padding: 48px 28px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-success-icon {
|
|
|
|
|
+ font-size: 56px;
|
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-success h2 {
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ margin: 0 0 12px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-success p {
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 1.6;
|
|
|
|
|
+ margin: 0 0 24px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ============ 申请页:详情区 / 状态区 ============ */
|
|
|
|
|
+.apply-detail-card {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-agent-meta {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-agent-name {
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
|
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
|
|
+ background-clip: text;
|
|
|
|
|
+ margin-bottom: 6px;
|
|
|
|
|
+ line-height: 1.2;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-agent-sub {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ margin-bottom: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tag {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 2px 8px;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.18);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tag-version {
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.1);
|
|
|
|
|
+ border-color: rgba(245, 158, 11, 0.25);
|
|
|
|
|
+ color: #b45309;
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tag-listed {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.1);
|
|
|
|
|
+ border-color: rgba(34, 197, 94, 0.25);
|
|
|
|
|
+ color: #16a34a;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-perm-public {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.1);
|
|
|
|
|
+ border-color: rgba(34, 197, 94, 0.25);
|
|
|
|
|
+ color: #16a34a;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-perm-partial {
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.1);
|
|
|
|
|
+ border-color: rgba(245, 158, 11, 0.25);
|
|
|
|
|
+ color: #b45309;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-perm-private {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ border-color: rgba(239, 68, 68, 0.25);
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-agent-desc {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #475569;
|
|
|
|
|
+ line-height: 1.6;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-version-block,
|
|
|
|
|
+.apply-intro-block {
|
|
|
|
|
+ padding: 14px 16px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.04);
|
|
|
|
|
+ border-left: 3px solid #667eea;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-version-block {
|
|
|
|
|
+ border-left-color: #f59e0b;
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.05);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-intro-block {
|
|
|
|
|
+ border-left-color: #8b5cf6;
|
|
|
|
|
+ background: rgba(139, 92, 246, 0.04);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-version-head {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: baseline;
|
|
|
|
|
+ margin-bottom: 8px;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-version-label,
|
|
|
|
|
+.apply-intro-label {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ letter-spacing: 0.5px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-version-time {
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-version-desc,
|
|
|
|
|
+.apply-intro-desc {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #475569;
|
|
|
|
|
+ line-height: 1.7;
|
|
|
|
|
+ white-space: pre-wrap;
|
|
|
|
|
+ word-break: break-word;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 状态卡(5 种 tone) */
|
|
|
|
|
+.apply-status-card {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tone-success {
|
|
|
|
|
+ border-color: rgba(34, 197, 94, 0.3);
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, #ffffff 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tone-pending {
|
|
|
|
|
+ border-color: rgba(245, 158, 11, 0.3);
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, #ffffff 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tone-rejected {
|
|
|
|
|
+ border-color: rgba(239, 68, 68, 0.3);
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, #ffffff 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tone-neutral {
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.3);
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.04) 0%, #ffffff 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-status-row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-status-icon {
|
|
|
|
|
+ width: 40px;
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tone-success .apply-status-icon {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tone-pending .apply-status-icon {
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tone-rejected .apply-status-icon {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-tone-neutral .apply-status-icon {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-status-meta {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-status-label {
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ margin-bottom: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-status-help {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #64748b;
|
|
|
|
|
+ line-height: 1.5;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-status-polling {
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ color: #b45309;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ padding: 3px 8px;
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.12);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-status-polling::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ width: 6px;
|
|
|
|
|
+ height: 6px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ background: #f59e0b;
|
|
|
|
|
+ animation: applyPulse 1.5s ease-in-out infinite;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes applyPulse {
|
|
|
|
|
+ 0%, 100% { opacity: 1; }
|
|
|
|
|
+ 50% { opacity: 0.3; }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* 申请详情块 */
|
|
|
|
|
+.apply-request-block {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ padding: 14px 16px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.6);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.12);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-request-row {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: 90px 1fr;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ line-height: 1.6;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-request-key {
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-request-val {
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ word-break: break-word;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-mono {
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apply-field-error {
|
|
|
|
|
+ margin-top: 6px;
|
|
|
|
|
+ padding: 6px 10px;
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.08);
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.2);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ============ 工作流模式:动态表单 + Timeline ============ */
|
|
|
|
|
+.execute-card-head {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-card-title {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-card-tip {
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ padding: 2px 8px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.06);
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-field {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-label {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #334155;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-required {
|
|
|
|
|
+ color: #ef4444;
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-tip {
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-input,
|
|
|
|
|
+.wf-form-textarea,
|
|
|
|
|
+.wf-form-select {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 10px 12px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+ transition: all 0.2s;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-input:focus,
|
|
|
|
|
+.wf-form-textarea:focus,
|
|
|
|
|
+.wf-form-select:focus {
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-textarea {
|
|
|
|
|
+ resize: vertical;
|
|
|
|
|
+ min-height: 80px;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-empty,
|
|
|
|
|
+.wf-form-loading {
|
|
|
|
|
+ padding: 18px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.04);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ border: 1px dashed rgba(102, 126, 234, 0.2);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ margin-top: 16px;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* summary 徽章 */
|
|
|
|
|
+.wf-summary {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ padding: 4px 10px;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-summary-succeeded {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.1);
|
|
|
|
|
+ color: #16a34a;
|
|
|
|
|
+ border: 1px solid rgba(34, 197, 94, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-summary-failed {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-summary-stopped {
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.1);
|
|
|
|
|
+ color: #b45309;
|
|
|
|
|
+ border: 1px solid rgba(245, 158, 11, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* timeline */
|
|
|
|
|
+.wf-timeline {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ max-height: 600px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ padding-right: 4px;
|
|
|
|
|
+ scrollbar-width: thin;
|
|
|
|
|
+ scrollbar-color: rgba(22, 93, 255, 0.38) rgba(22, 93, 255, 0.08);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-timeline::-webkit-scrollbar {
|
|
|
|
|
+ width: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-timeline::-webkit-scrollbar-track {
|
|
|
|
|
+ background: rgba(22, 93, 255, 0.06);
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-timeline::-webkit-scrollbar-thumb {
|
|
|
|
|
+ background: linear-gradient(180deg, rgba(22, 93, 255, 0.45) 0%, rgba(114, 46, 209, 0.38) 100%);
|
|
|
|
|
+ border: 2px solid rgba(248, 250, 255, 0.95);
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-timeline::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
+ background: linear-gradient(180deg, rgba(22, 93, 255, 0.68) 0%, rgba(114, 46, 209, 0.58) 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: flex-start;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ padding: 10px 12px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.7);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ transition: all 0.2s;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step:hover {
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.95);
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.2);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-running {
|
|
|
|
|
+ border-left: 3px solid #667eea;
|
|
|
|
|
+ animation: wfStepPulse 2s ease-in-out infinite;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes wfStepPulse {
|
|
|
|
|
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.2); }
|
|
|
|
|
+ 50% { box-shadow: 0 0 0 6px rgba(102, 126, 234, 0); }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker {
|
|
|
|
|
+ width: 28px;
|
|
|
|
|
+ height: 28px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ border: 2px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-start {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border-color: transparent;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-running {
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.15);
|
|
|
|
|
+ color: #f59e0b;
|
|
|
|
|
+ border-color: rgba(245, 158, 11, 0.3);
|
|
|
|
|
+ animation: wfStepSpin 1.5s linear infinite;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes wfStepSpin {
|
|
|
|
|
+ from { transform: rotate(0deg); }
|
|
|
|
|
+ to { transform: rotate(360deg); }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-succeeded {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.15);
|
|
|
|
|
+ color: #16a34a;
|
|
|
|
|
+ border-color: rgba(34, 197, 94, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-failed {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.15);
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ border-color: rgba(239, 68, 68, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-stopped {
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.15);
|
|
|
|
|
+ color: #b45309;
|
|
|
|
|
+ border-color: rgba(245, 158, 11, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-paused {
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.15);
|
|
|
|
|
+ color: #b45309;
|
|
|
|
|
+ border-color: rgba(245, 158, 11, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-output {
|
|
|
|
|
+ background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border-color: transparent;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-human {
|
|
|
|
|
+ background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border-color: transparent;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-error {
|
|
|
|
|
+ background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border-color: transparent;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-body {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-title {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ line-height: 1.5;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-meta {
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ margin-top: 2px;
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-tag {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 1px 6px;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ margin-left: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-type {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 1px 6px;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ background: rgba(139, 92, 246, 0.08);
|
|
|
|
|
+ color: #8b5cf6;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-status {
|
|
|
|
|
+ padding: 1px 6px;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ text-transform: uppercase;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-status-succeeded {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.12);
|
|
|
|
|
+ color: #16a34a;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-status-failed {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.12);
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-status-stopped {
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.12);
|
|
|
|
|
+ color: #b45309;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-pending {
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #f59e0b;
|
|
|
|
|
+ padding: 1px 6px;
|
|
|
|
|
+ background: rgba(245, 158, 11, 0.1);
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ animation: wfStepBlink 1.5s ease-in-out infinite;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes wfStepBlink {
|
|
|
|
|
+ 0%, 100% { opacity: 1; }
|
|
|
|
|
+ 50% { opacity: 0.4; }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-text {
|
|
|
|
|
+ margin-top: 6px;
|
|
|
|
|
+ padding: 10px 12px;
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(240, 147, 251, 0.05) 0%, rgba(245, 87, 108, 0.03) 100%);
|
|
|
|
|
+ border-left: 3px solid #f5576c;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ line-height: 1.7;
|
|
|
|
|
+ white-space: pre-wrap;
|
|
|
|
|
+ word-break: break-word;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-cursor {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ animation: wfCursorBlink 1s steps(2) infinite;
|
|
|
|
|
+ margin-left: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes wfCursorBlink {
|
|
|
|
|
+ 0%, 50% { opacity: 1; }
|
|
|
|
|
+ 51%, 100% { opacity: 0; }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-error {
|
|
|
|
|
+ margin-top: 6px;
|
|
|
|
|
+ padding: 8px 10px;
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.06);
|
|
|
|
|
+ border: 1px solid rgba(239, 68, 68, 0.2);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ line-height: 1.5;
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-details {
|
|
|
|
|
+ margin-top: 6px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-details summary {
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ padding: 4px 0;
|
|
|
|
|
+ user-select: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-details summary:hover {
|
|
|
|
|
+ color: #5568d3;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-details pre {
|
|
|
|
|
+ margin-top: 6px;
|
|
|
|
|
+ padding: 10px;
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.04);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.12);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ line-height: 1.5;
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+ color: #1e293b;
|
|
|
|
|
+ overflow-x: auto;
|
|
|
|
|
+ white-space: pre-wrap;
|
|
|
|
|
+ word-break: break-word;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.agent-execute {
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-card,
|
|
|
|
|
+.execute-card,
|
|
|
|
|
+.workflow-side-card,
|
|
|
|
|
+.workflow-side-collapsed {
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-card {
|
|
|
|
|
+ padding: 16px 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-head {
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-icon {
|
|
|
|
|
+ width: 48px;
|
|
|
|
|
+ height: 48px;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ font-size: 24px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-icon-img {
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-name {
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ background: none;
|
|
|
|
|
+ -webkit-text-fill-color: currentColor;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ line-height: 26px;
|
|
|
|
|
+ margin: 0 0 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-sub,
|
|
|
|
|
+.execute-detail-stats,
|
|
|
|
|
+.execute-detail-id,
|
|
|
|
|
+.execute-msg-role,
|
|
|
|
|
+.wf-form-tip,
|
|
|
|
|
+.execute-empty {
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-mode-tag,
|
|
|
|
|
+.execute-detail-tag,
|
|
|
|
|
+.execute-card-tip,
|
|
|
|
|
+.wf-step-tag,
|
|
|
|
|
+.wf-form-type-badge,
|
|
|
|
|
+.wf-form-required-badge,
|
|
|
|
|
+.wf-summary {
|
|
|
|
|
+ background: #f2f3f5;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-apikey-trigger,
|
|
|
|
|
+.execute-detail-history-trigger,
|
|
|
|
|
+.execute-detail-new-trigger,
|
|
|
|
|
+.execute-send-btn,
|
|
|
|
|
+.apikey-modal-copy,
|
|
|
|
|
+.workflow-side-collapsed-run {
|
|
|
|
|
+ background: #165dff;
|
|
|
|
|
+ border: 1px solid #165dff;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ color: #ffffff;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ transform: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-new-trigger,
|
|
|
|
|
+.execute-params-btn,
|
|
|
|
|
+.execute-msg-action-btn,
|
|
|
|
|
+.workflow-side-expand,
|
|
|
|
|
+.workflow-side-close {
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border: 1px solid #c9cdd4;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-apikey-trigger:hover,
|
|
|
|
|
+.execute-detail-history-trigger:hover,
|
|
|
|
|
+.execute-detail-new-trigger:hover,
|
|
|
|
|
+.execute-send-btn:not(:disabled):hover,
|
|
|
|
|
+.apikey-modal-copy:hover,
|
|
|
|
|
+.workflow-side-collapsed-run:hover:not(:disabled) {
|
|
|
|
|
+ background: #4080ff;
|
|
|
|
|
+ border-color: #4080ff;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ color: #ffffff;
|
|
|
|
|
+ transform: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-history-trigger {
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ padding: 0 12px;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ letter-spacing: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-history-trigger .history-icon,
|
|
|
|
|
+.execute-detail-history-trigger .new-chat-icon {
|
|
|
|
|
+ width: 15px;
|
|
|
|
|
+ height: 15px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-params-btn:hover:not(:disabled),
|
|
|
|
|
+.execute-msg-action-btn:hover:not(:disabled),
|
|
|
|
|
+.workflow-side-expand:hover,
|
|
|
|
|
+.workflow-side-close:hover {
|
|
|
|
|
+ background: #f2f3f5;
|
|
|
|
|
+ border-color: #c9cdd4;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ transform: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-stop-btn,
|
|
|
|
|
+.execute-stop-btn:hover {
|
|
|
|
|
+ background: #f53f3f !important;
|
|
|
|
|
+ border-color: #f53f3f !important;
|
|
|
|
|
+ box-shadow: none !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-send-btn {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ min-width: 78px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-btn-icon {
|
|
|
|
|
+ width: 15px;
|
|
|
|
|
+ height: 15px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-card-head,
|
|
|
|
|
+.workflow-side-card-head,
|
|
|
|
|
+.execute-input-bar,
|
|
|
|
|
+.apikey-modal-head,
|
|
|
|
|
+.apikey-modal-foot {
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border-color: #e5e6eb;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-card-head {
|
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-card-head {
|
|
|
|
|
+ border-radius: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-card-title,
|
|
|
|
|
+.workflow-side-card-head .execute-card-title,
|
|
|
|
|
+.wf-step-title,
|
|
|
|
|
+.wf-form-label,
|
|
|
|
|
+.apikey-modal-head h3 {
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ background: none;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.workflow-side-card-head .execute-card-title {
|
|
|
|
|
+ -webkit-background-clip: initial;
|
|
|
|
|
+ background-clip: initial;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg {
|
|
|
|
|
+ max-width: 76%;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-bubble {
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ line-height: 1.7;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-user .execute-msg-bubble {
|
|
|
|
|
+ background: #165dff;
|
|
|
|
|
+ color: #ffffff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-assistant .execute-msg-bubble {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body blockquote {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border-left-color: #165dff;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body pre,
|
|
|
|
|
+.wf-step-details pre,
|
|
|
|
|
+.apikey-modal-value {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.markdown-body code {
|
|
|
|
|
+ background: #f2f3f5;
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input,
|
|
|
|
|
+.wf-form-input,
|
|
|
|
|
+.wf-form-textarea,
|
|
|
|
|
+.wf-form-select,
|
|
|
|
|
+.chat-params-modal-body .wf-form-input,
|
|
|
|
|
+.chat-params-modal-body .wf-form-textarea,
|
|
|
|
|
+.chat-params-modal-body .wf-form-select {
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border: 1px solid #c9cdd4;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input:focus,
|
|
|
|
|
+.wf-form-input:focus,
|
|
|
|
|
+.wf-form-textarea:focus,
|
|
|
|
|
+.wf-form-select:focus,
|
|
|
|
|
+.chat-params-modal-body .wf-form-input:focus,
|
|
|
|
|
+.chat-params-modal-body .wf-form-textarea:focus,
|
|
|
|
|
+.chat-params-modal-body .wf-form-select:focus {
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border-color: #165dff;
|
|
|
|
|
+ box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-empty,
|
|
|
|
|
+.wf-form-loading {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border: 1px dashed #c9cdd4;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-trigger,
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-trigger {
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border: 1px dashed #c9cdd4;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-trigger:hover,
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-trigger:hover {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border-color: #165dff;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-form-file-item,
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-item {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step {
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step:hover {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border-color: #c9cdd4;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-running {
|
|
|
|
|
+ border-left: 3px solid #165dff;
|
|
|
|
|
+ animation: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker,
|
|
|
|
|
+.wf-step-marker-start,
|
|
|
|
|
+.wf-step-marker-running,
|
|
|
|
|
+.wf-step-marker-succeeded,
|
|
|
|
|
+.wf-step-marker-failed,
|
|
|
|
|
+.wf-step-marker-output,
|
|
|
|
|
+.wf-step-marker-paused,
|
|
|
|
|
+.wf-step-marker-human,
|
|
|
|
|
+.wf-step-marker-error {
|
|
|
|
|
+ background: #f2f3f5;
|
|
|
|
|
+ border: 1px solid #c9cdd4;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ animation: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-start,
|
|
|
|
|
+.wf-step-marker-output,
|
|
|
|
|
+.wf-step-marker-running {
|
|
|
|
|
+ background: #e8f3ff;
|
|
|
|
|
+ border-color: #94bfff;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-succeeded {
|
|
|
|
|
+ background: #e8ffea;
|
|
|
|
|
+ border-color: #7be188;
|
|
|
|
|
+ color: #00b42a;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-marker-failed,
|
|
|
|
|
+.wf-step-marker-error {
|
|
|
|
|
+ background: #ffece8;
|
|
|
|
|
+ border-color: #fdcdc5;
|
|
|
|
|
+ color: #f53f3f;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-text {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-left: 3px solid #165dff;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-step-error,
|
|
|
|
|
+.execute-detail-error,
|
|
|
|
|
+.execute-chat-error {
|
|
|
|
|
+ background: #ffece8;
|
|
|
|
|
+ border: 1px solid #fdcdc5;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ color: #f53f3f;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-summary-succeeded {
|
|
|
|
|
+ background: #e8ffea;
|
|
|
|
|
+ border-color: #aff0b5;
|
|
|
|
|
+ color: #00b42a;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-summary-failed {
|
|
|
|
|
+ background: #ffece8;
|
|
|
|
|
+ border-color: #fdcdc5;
|
|
|
|
|
+ color: #f53f3f;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.wf-summary-stopped {
|
|
|
|
|
+ background: #fff7e8;
|
|
|
|
|
+ border-color: #ffe4ba;
|
|
|
|
|
+ color: #ff7d00;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages,
|
|
|
|
|
+.wf-timeline,
|
|
|
|
|
+.workflow-side .wf-form,
|
|
|
|
|
+.chat-params-modal-body {
|
|
|
|
|
+ scrollbar-color: #c9cdd4 #f7f8fa;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages::-webkit-scrollbar-track,
|
|
|
|
|
+.wf-timeline::-webkit-scrollbar-track,
|
|
|
|
|
+.workflow-side .wf-form::-webkit-scrollbar-track,
|
|
|
|
|
+.chat-params-modal-body::-webkit-scrollbar-track {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages::-webkit-scrollbar-thumb,
|
|
|
|
|
+.wf-timeline::-webkit-scrollbar-thumb,
|
|
|
|
|
+.workflow-side .wf-form::-webkit-scrollbar-thumb,
|
|
|
|
|
+.chat-params-modal-body::-webkit-scrollbar-thumb {
|
|
|
|
|
+ background: #c9cdd4;
|
|
|
|
|
+ border: 2px solid #f7f8fa;
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages::-webkit-scrollbar-thumb:hover,
|
|
|
|
|
+.wf-timeline::-webkit-scrollbar-thumb:hover,
|
|
|
|
|
+.workflow-side .wf-form::-webkit-scrollbar-thumb:hover,
|
|
|
|
|
+.chat-params-modal-body::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
+ background: #a9aeb8;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-mask {
|
|
|
|
|
+ background: rgba(29, 33, 41, 0.45);
|
|
|
|
|
+ backdrop-filter: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal,
|
|
|
|
|
+.chat-params-modal {
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ box-shadow: 0 8px 24px rgba(29, 33, 41, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-modal-copy.is-copied {
|
|
|
|
|
+ background: #00b42a;
|
|
|
|
|
+ border-color: #00b42a;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-actions {
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ margin-left: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-download-btn {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 6px;
|
|
|
|
|
+ height: 30px;
|
|
|
|
|
+ padding: 0 10px 0 8px;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-download-btn:hover:not(:disabled) {
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ border-color: #c9cdd4;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-download-word:hover:not(:disabled) {
|
|
|
|
|
+ border-color: #94bfff;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-download-pdf:hover:not(:disabled) {
|
|
|
|
|
+ border-color: #fdcdc5;
|
|
|
|
|
+ color: #f53f3f;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-download-icon {
|
|
|
|
|
+ width: 18px;
|
|
|
|
|
+ height: 18px;
|
|
|
|
|
+ object-fit: contain;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-download-text {
|
|
|
|
|
+ min-width: 32px;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-download-btn:disabled .execute-msg-download-icon {
|
|
|
|
|
+ opacity: 0.55;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell .main-content.arco-shell-content:has(.agent-execute) {
|
|
|
|
|
+ background:
|
|
|
|
|
+ radial-gradient(circle at 18% 12%, rgba(22, 93, 255, 0.16), transparent 28%),
|
|
|
|
|
+ radial-gradient(circle at 88% 10%, rgba(20, 201, 201, 0.14), transparent 30%),
|
|
|
|
|
+ linear-gradient(135deg, #eef5ff 0%, #f8fbff 42%, #edf7f7 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.arco-shell .main-page-content.arco-shell-page:has(.agent-execute) {
|
|
|
|
|
+ max-width: none;
|
|
|
|
|
+ min-height: calc(100vh - 64px);
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ padding: 16px 18px 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.agent-execute {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: calc(100vh - 100px);
|
|
|
|
|
+ min-height: 0;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.agent-execute::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ inset: -16px -18px -20px -18px;
|
|
|
|
|
+ pointer-events: none;
|
|
|
|
|
+ background:
|
|
|
|
|
+ linear-gradient(rgba(22, 93, 255, 0.035) 1px, transparent 1px),
|
|
|
|
|
+ linear-gradient(90deg, rgba(22, 93, 255, 0.035) 1px, transparent 1px),
|
|
|
|
|
+ radial-gradient(circle at 8% 24%, rgba(22, 93, 255, 0.12), transparent 30%),
|
|
|
|
|
+ radial-gradient(circle at 94% 72%, rgba(20, 201, 201, 0.12), transparent 28%);
|
|
|
|
|
+ background-size: 32px 32px, 32px 32px, auto, auto;
|
|
|
|
|
+ border-radius: 26px;
|
|
|
|
|
+ z-index: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.agent-execute > :not(.apikey-modal-mask):not(.execute-drawer-mask):not(.execute-drawer) {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ z-index: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.agent-execute > .apikey-modal-mask {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ inset: 0;
|
|
|
|
|
+ z-index: 1000;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.agent-execute > .execute-drawer-mask {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ inset: 0;
|
|
|
|
|
+ z-index: 1200;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.agent-execute > .execute-drawer {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ z-index: 1201;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-card {
|
|
|
|
|
+ padding: 16px 20px;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-radius: 0;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ backdrop-filter: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-head {
|
|
|
|
|
+ align-items: flex-start;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-icon {
|
|
|
|
|
+ width: 54px;
|
|
|
|
|
+ height: 54px;
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+ box-shadow: 0 10px 26px rgba(22, 93, 255, 0.16);
|
|
|
|
|
+ font-size: 28px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-icon-img {
|
|
|
|
|
+ border-radius: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-name {
|
|
|
|
|
+ margin: 0 0 6px;
|
|
|
|
|
+ color: #0f1f3d;
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ letter-spacing: -0.02em;
|
|
|
|
|
+ background: none;
|
|
|
|
|
+ -webkit-text-fill-color: currentColor;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-mode-tag {
|
|
|
|
|
+ padding: 4px 10px;
|
|
|
|
|
+ border: 1px solid rgba(22, 93, 255, 0.18);
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ background: #e8f3ff;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-history-trigger {
|
|
|
|
|
+ height: 36px;
|
|
|
|
|
+ padding: 0 14px;
|
|
|
|
|
+ border: 1px solid rgba(22, 93, 255, 0.16);
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.92);
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ box-shadow: 0 8px 18px rgba(29, 33, 41, 0.06);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-detail-history-trigger:hover {
|
|
|
|
|
+ border-color: rgba(22, 93, 255, 0.38);
|
|
|
|
|
+ background: #e8f3ff;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-shell {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-height: 0;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ border-radius: 26px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-orb {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ filter: blur(8px);
|
|
|
|
|
+ opacity: 0.82;
|
|
|
|
|
+ pointer-events: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-orb-a {
|
|
|
|
|
+ width: 180px;
|
|
|
|
|
+ height: 180px;
|
|
|
|
|
+ right: 44px;
|
|
|
|
|
+ top: 32px;
|
|
|
|
|
+ background: rgba(22, 93, 255, 0.13);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-orb-b {
|
|
|
|
|
+ width: 220px;
|
|
|
|
|
+ height: 220px;
|
|
|
|
|
+ left: 8%;
|
|
|
|
|
+ bottom: -86px;
|
|
|
|
|
+ background: rgba(20, 201, 201, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-card {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-height: 0;
|
|
|
|
|
+ border: 1px solid rgba(22, 93, 255, 0.13);
|
|
|
|
|
+ border-radius: 26px;
|
|
|
|
|
+ background:
|
|
|
|
|
+ radial-gradient(circle at 98% 0%, rgba(22, 93, 255, 0.12), transparent 34%),
|
|
|
|
|
+ radial-gradient(circle at 0% 100%, rgba(20, 201, 201, 0.1), transparent 36%),
|
|
|
|
|
+ linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 255, 0.82));
|
|
|
|
|
+ box-shadow: 0 22px 58px rgba(29, 33, 41, 0.12);
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-toolbar {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ padding: 18px 22px 14px;
|
|
|
|
|
+ border-bottom: 1px solid rgba(229, 230, 235, 0.76);
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.72);
|
|
|
|
|
+ backdrop-filter: blur(14px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-agent-head {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-agent-meta {
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-kicker {
|
|
|
|
|
+ margin-bottom: 4px;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ letter-spacing: 0.12em;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-heading {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ color: #0f1f3d;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ letter-spacing: -0.01em;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-toolbar-actions {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-back-active-btn {
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ padding: 0 12px;
|
|
|
|
|
+ border: 1px solid rgba(22, 93, 255, 0.24);
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ background: #e8f3ff;
|
|
|
|
|
+ color: #165dff;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-back-active-btn:hover {
|
|
|
|
|
+ border-color: rgba(22, 93, 255, 0.42);
|
|
|
|
|
+ background: #dbeaff;
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-status {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ padding: 0 12px;
|
|
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-status-dot {
|
|
|
|
|
+ width: 8px;
|
|
|
|
|
+ height: 8px;
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ background: #00b42a;
|
|
|
|
|
+ box-shadow: 0 0 0 4px rgba(0, 180, 42, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-status-dot.is-running {
|
|
|
|
|
+ background: #165dff;
|
|
|
|
|
+ box-shadow: 0 0 0 4px rgba(22, 93, 255, 0.14);
|
|
|
|
|
+ animation: executePulse 1.2s ease-in-out infinite;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@keyframes executePulse {
|
|
|
|
|
+ 0%, 100% { transform: scale(1); opacity: 1; }
|
|
|
|
|
+ 50% { transform: scale(0.72); opacity: 0.62; }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-messages {
|
|
|
|
|
+ padding: 26px clamp(24px, 4vw, 56px) 18px;
|
|
|
|
|
+ gap: 18px;
|
|
|
|
|
+ background-image:
|
|
|
|
|
+ linear-gradient(rgba(22, 93, 255, 0.035) 1px, transparent 1px),
|
|
|
|
|
+ linear-gradient(90deg, rgba(22, 93, 255, 0.035) 1px, transparent 1px),
|
|
|
|
|
+ linear-gradient(180deg, rgba(232, 243, 255, 0.22), rgba(255, 255, 255, 0));
|
|
|
|
|
+ background-size: 28px 28px, 28px 28px, auto;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-empty {
|
|
|
|
|
+ width: min(540px, 92%);
|
|
|
|
|
+ margin: auto;
|
|
|
|
|
+ padding: 34px 34px 30px;
|
|
|
|
|
+ border: 1px solid rgba(22, 93, 255, 0.13);
|
|
|
|
|
+ border-radius: 28px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.76);
|
|
|
|
|
+ box-shadow: 0 18px 46px rgba(29, 33, 41, 0.08);
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ backdrop-filter: blur(18px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-empty-icon {
|
|
|
|
|
+ width: 56px;
|
|
|
|
|
+ height: 56px;
|
|
|
|
|
+ margin: 0 auto 16px;
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ place-items: center;
|
|
|
|
|
+ border-radius: 18px;
|
|
|
|
|
+ background: linear-gradient(135deg, #165dff, #14c9c9);
|
|
|
|
|
+ color: #ffffff;
|
|
|
|
|
+ font-size: 28px;
|
|
|
|
|
+ box-shadow: 0 14px 28px rgba(22, 93, 255, 0.22);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-empty-title {
|
|
|
|
|
+ color: #0f1f3d;
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ letter-spacing: -0.02em;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-empty-desc {
|
|
|
|
|
+ margin: 10px auto 0;
|
|
|
|
|
+ max-width: 410px;
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 1.8;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-empty-prompts {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ margin-top: 22px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-empty-prompts span {
|
|
|
|
|
+ padding: 7px 12px;
|
|
|
|
|
+ border: 1px solid rgba(22, 93, 255, 0.13);
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ color: #4e5969;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg {
|
|
|
|
|
+ max-width: min(920px, 84%);
|
|
|
|
|
+ gap: 7px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-assistant {
|
|
|
|
|
+ max-width: min(1080px, 90%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-user {
|
|
|
|
|
+ max-width: min(780px, 72%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-role {
|
|
|
|
|
+ padding: 0 4px;
|
|
|
|
|
+ color: #86909c;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-bubble {
|
|
|
|
|
+ padding: 13px 16px;
|
|
|
|
|
+ border-radius: 18px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 1.78;
|
|
|
|
|
+ box-shadow: 0 10px 28px rgba(29, 33, 41, 0.07);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-user .execute-msg-bubble {
|
|
|
|
|
+ border: 1px solid rgba(22, 93, 255, 0.22);
|
|
|
|
|
+ background: linear-gradient(135deg, #165dff 0%, #0fc6c2 100%);
|
|
|
|
|
+ color: #ffffff;
|
|
|
|
|
+ border-bottom-right-radius: 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-msg-assistant .execute-msg-bubble {
|
|
|
|
|
+ border: 1px solid rgba(229, 230, 235, 0.95);
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.92);
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ border-bottom-left-radius: 6px;
|
|
|
|
|
+ padding: 16px 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input-panel {
|
|
|
|
|
+ padding: 12px clamp(18px, 3vw, 42px) 18px;
|
|
|
|
|
+ border-top: 1px solid rgba(229, 230, 235, 0.76);
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.84);
|
|
|
|
|
+ backdrop-filter: blur(18px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input-hint {
|
|
|
|
|
+ margin: 0 0 8px 14px;
|
|
|
|
|
+ color: #a9aeb8;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input-bar {
|
|
|
|
|
+ align-items: flex-end;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ padding: 10px;
|
|
|
|
|
+ border: 1px solid rgba(22, 93, 255, 0.14);
|
|
|
|
|
+ border-radius: 20px;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ box-shadow: 0 12px 30px rgba(29, 33, 41, 0.08);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input {
|
|
|
|
|
+ min-height: 44px;
|
|
|
|
|
+ max-height: 132px;
|
|
|
|
|
+ padding: 11px 14px;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
+ color: #1d2129;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ resize: vertical;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-input:focus {
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ box-shadow: inset 0 0 0 2px rgba(22, 93, 255, 0.18);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-params-btn {
|
|
|
|
|
+ height: 42px;
|
|
|
|
|
+ padding: 0 13px;
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+ border-color: #e5e6eb;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-send-btn {
|
|
|
|
|
+ height: 42px;
|
|
|
|
|
+ min-width: 92px;
|
|
|
|
|
+ padding: 0 18px;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+ background: linear-gradient(135deg, #165dff 0%, #14c9c9 100%);
|
|
|
|
|
+ box-shadow: 0 10px 22px rgba(22, 93, 255, 0.22);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-send-btn:not(:disabled):hover {
|
|
|
|
|
+ background: linear-gradient(135deg, #4080ff 0%, #23d3d3 100%);
|
|
|
|
|
+ box-shadow: 0 14px 28px rgba(22, 93, 255, 0.28);
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-send-btn:disabled {
|
|
|
|
|
+ opacity: 0.48;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.execute-chat-error {
|
|
|
|
|
+ margin: 0 18px 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal {
|
|
|
|
|
+ width: min(760px, calc(100vw - 64px));
|
|
|
|
|
+ max-height: 88vh;
|
|
|
|
|
+ border-radius: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal .apikey-modal-head {
|
|
|
|
|
+ padding: 18px 24px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body {
|
|
|
|
|
+ padding: 24px 28px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form {
|
|
|
|
|
+ gap: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal-body .wf-form-file-trigger {
|
|
|
|
|
+ min-height: 92px;
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chat-params-modal .apikey-modal-foot {
|
|
|
|
|
+ padding: 16px 24px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+@media (max-width: 768px) {
|
|
|
|
|
+ .agent-execute {
|
|
|
|
|
+ height: auto;
|
|
|
|
|
+ min-height: calc(100vh - 72px);
|
|
|
|
|
+ padding: 0 0 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .execute-detail-head,
|
|
|
|
|
+ .execute-chat-toolbar,
|
|
|
|
|
+ .execute-input-bar {
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .execute-chat-heading {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .execute-msg {
|
|
|
|
|
+ max-width: 92%;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .execute-messages {
|
|
|
|
|
+ padding: 20px 16px 14px;
|
|
|
|
|
+ min-height: 420px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .execute-input,
|
|
|
|
|
+ .execute-params-btn,
|
|
|
|
|
+ .execute-send-btn {
|
|
|
|
|
+ flex: 1 1 auto;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-section {
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.04) 0%, rgba(118, 75, 162, 0.02) 100%);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-title {
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #1a1a1a;
|
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-create-form {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-expires-input {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ padding: 0 14px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.9);
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #1a1a1a;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-expires-input:focus {
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list {
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ background: white;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list-header,
|
|
|
|
|
+.apikey-list-item {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: 1fr 120px 200px 180px;
|
|
|
|
|
+ gap: 16px;
|
|
|
|
|
+ padding: 14px 20px;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list-header {
|
|
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #4a4a4a;
|
|
|
|
|
+ text-transform: uppercase;
|
|
|
|
|
+ letter-spacing: 0.5px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list-item {
|
|
|
|
|
+ border-top: 1px solid rgba(102, 126, 234, 0.1);
|
|
|
|
|
+ transition: background 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-list-item:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.03);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-col-key {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-token-text {
|
|
|
|
|
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #1a1a1a;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-copy-btn {
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ width: 32px;
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ border: 1px solid rgba(102, 126, 234, 0.2);
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.05);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-copy-btn:hover {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-status {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 4px 12px;
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-status.active {
|
|
|
|
|
+ background: rgba(34, 197, 94, 0.12);
|
|
|
|
|
+ color: #16a34a;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-status.inactive {
|
|
|
|
|
+ background: rgba(120, 120, 120, 0.1);
|
|
|
|
|
+ color: #6b7280;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-col-expires {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ gap: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-expires-text {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #4a4a4a;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-remain-text {
|
|
|
|
|
+ font-size: 11px;
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-col-actions {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn {
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ padding: 0 14px;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ border: 1px solid;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn:disabled {
|
|
|
|
|
+ opacity: 0.5;
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn.enable {
|
|
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
|
|
+ border-color: transparent;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn.enable:hover:not(:disabled) {
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn.disable,
|
|
|
|
|
+.apikey-action-btn.delete {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.08);
|
|
|
|
|
+ border-color: rgba(102, 126, 234, 0.25);
|
|
|
|
|
+ color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn.disable:hover:not(:disabled),
|
|
|
|
|
+.apikey-action-btn.delete:hover:not(:disabled) {
|
|
|
|
|
+ background: rgba(102, 126, 234, 0.15);
|
|
|
|
|
+ border-color: #667eea;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-action-btn.delete:hover:not(:disabled) {
|
|
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
+ border-color: rgba(239, 68, 68, 0.3);
|
|
|
|
|
+ color: #dc2626;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.apikey-loading,
|
|
|
|
|
+.apikey-empty {
|
|
|
|
|
+ padding: 60px 20px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+}
|