This commit is contained in:
Orionis312050 committed 2026-04-16 21:34:50 +02:00
1 parent dcbea5799a
commit e8a92bf87b
6 files changed
+874 -114

No files matched your search

+453 -38
View File
@@ -6,13 +6,28 @@
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.ai-gradient-text {
background: linear-gradient(74deg, #4285f4 0%, #9b72cb 46%, #d96570 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}
:root {
/* Thème Sombre par défaut (Adouci / Slate) */
--bg-primary: #0f172a;
--bg-primary: #0f172a;
--bg-secondary: #1e293b;
--bg-elevated: #334155;
--border-color: rgba(255, 255, 255, 0.1);
@@ -22,7 +37,8 @@
--accent-hover: #2563eb;
--danger-color: #ef4444;
--success-color: #10b981;
--terminal-bg: #020617; /* Console reste toujours très noire */
--terminal-bg: #020617;
--terminal-text: #f8fafc;
}
/* Mode Clair */
@@ -33,6 +49,8 @@
--border-color: rgba(0, 0, 0, 0.1);
--text-main: #0f172a;
--text-muted: #475569;
--terminal-bg: #1e293b; /* Gris anthracite mat plus dense */
--terminal-text: #ffffff;
}
/* Custom Scrollbar Globale */
@@ -40,14 +58,17 @@
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
background: var(--bg-elevated);
border-radius: 5px;
border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
@@ -143,23 +164,75 @@ header h1 {
box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}
@keyframes gradientMove {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.btn-ai {
background-image: linear-gradient(135deg, #4285f4, #9b72cb, #d96570, #4285f4) !important;
background-size: 180% 100% !important;
background-position: 0% 50%;
color: white !important;
border: none !important;
font-weight: 600;
transition: all 0.5s ease;
position: relative;
overflow: hidden;
}
.btn-ai:hover {
animation: gradientMove 3s linear infinite !important;
box-shadow: 0 0 20px rgba(155, 114, 203, 0.5) !important;
transform: translateY(-1px);
}
.btn-ai:active {
transform: scale(0.94) !important;
filter: brightness(0.9);
}
.btn-ai-outline {
background: rgba(155, 114, 203, 0.1);
border: 1px solid rgba(155, 114, 203, 0.4);
color: #dcb3ff;
transition: all 0.2s ease;
}
.btn-ai-outline:hover {
background: rgba(155, 114, 203, 0.2);
border-color: rgba(155, 114, 203, 0.6);
color: #f3e8ff;
transform: translateY(-1px);
}
/* Modal styles */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
background: rgba(0, 0, 0, 0.75); /* Un peu plus sombre pour le premium */
backdrop-filter: blur(4px); /* Petit effet de flou pour le look premium */
display: flex;
align-items: center;
justify-content: center;
z-index: 50;
animation: fadeIn 0.2s ease;
z-index: 2000;
animation: backdropFade 0.4s ease-out; /* Plus doux */
}
.modal-content {
width: 100%;
max-width: 500px;
padding: 2rem;
animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
padding: 2.5rem;
animation: modalEntry 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-group {
@@ -246,6 +319,22 @@ header h1 {
border-color: rgba(0, 255, 127, 0.3);
}
/* Overrides pour le mode clair */
.light-theme .btn-terminal {
border-color: rgba(0, 0, 0, 0.1);
}
.light-theme .btn-pause {
background: rgba(0, 0, 0, 0.05);
color: #1e293b;
}
.light-theme .btn-resume {
background: rgba(16, 185, 129, 0.1);
color: #059669;
border-color: rgba(16, 185, 129, 0.2);
}
.btn-terminal:hover {
transform: translateY(-1px);
background: rgba(255, 255, 255, 0.15);
@@ -298,17 +387,33 @@ header h1 {
font-family: 'Fira Code', 'Courier New', monospace;
font-size: 0.9rem;
line-height: 1.5;
color: var(--terminal-text);
}
@keyframes pulse {
0% { opacity: 0.4; }
50% { opacity: 1; }
100% { opacity: 0.4; }
0% {
opacity: 0.4;
}
50% {
opacity: 1;
}
100% {
opacity: 0.4;
}
}
@keyframes bounce {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.2); }
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
}
.log-line {
@@ -320,7 +425,7 @@ header h1 {
}
.log-line:hover {
background: rgba(255,255,255,0.02);
background: rgba(255, 255, 255, 0.02);
}
.log-error {
@@ -328,13 +433,25 @@ header h1 {
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.service-grid {
@@ -451,6 +568,10 @@ header h1 {
color: white;
}
.light-theme .btn-back:hover {
color: var(--text-main);
}
.loading-state {
display: flex;
justify-content: center;
@@ -552,8 +673,15 @@ header h1 {
}
@keyframes fadeIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* Auth Views */
@@ -652,6 +780,24 @@ header h1 {
transform: translateY(-1px);
}
.btn-icon {
background: transparent;
border: none;
color: var(--text-muted);
display: flex;
align-items: center;
justify-content: center;
padding: 0.4rem;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
}
.btn-icon:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--text-main);
}
.loading-state {
display: flex;
height: 50vh;
@@ -891,29 +1037,35 @@ header h1 {
background: rgba(59, 130, 246, 0.1);
}
/* Layout adjust when sidebar open */
.main-content.sidebar-open {
/* Layout adjust when sidebar open - Removed to make sidebar an overlay */
/* .main-content.sidebar-open {
margin-right: 400px;
}
@media (max-width: 1000px) {
.main-content.sidebar-open {
margin-right: 0;
}
}
} */
.spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Multi-Chat History Styles */
@@ -1017,16 +1169,18 @@ header h1 {
/* La fameuse fine barre continue */
.chunk-sidebar {
width: 24px;
width: 24px;
flex-shrink: 0;
border-left: 1px solid rgba(255, 255, 255, 0.05); /* Ligne subtile pour marquer la droite */
border-left: 1px solid rgba(255, 255, 255, 0.05);
/* Ligne subtile pour marquer la droite */
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
background: transparent;
transition: all 0.2s;
margin-right: -1rem; /* S'étend jusqu'au bord du padding */
margin-right: -1rem;
/* S'étend jusqu'au bord du padding */
}
.chunk-sidebar-icon {
@@ -1048,10 +1202,271 @@ header h1 {
/* Surbrillance visuelle automatique des logs dans cette zone (utilise le sélecteur :has pour Chrome/Safari modernes) */
.log-chunk:has(.chunk-sidebar:hover) .chunk-lines {
background: rgba(45, 120, 255, 0.08); /* Highlight de la zone de texte */
background: rgba(45, 120, 255, 0.08);
/* Highlight de la zone de texte */
}
/* Garder l'apparition du bouton sparkle au survol sur une ligne individuelle */
.log-line-wrapper {
position: relative;
}
/* Search & Ephemeral Styles */
.search-section {
margin: 1.5rem 0 2rem;
}
.search-bar-container {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.85rem 1.5rem;
border-radius: 14px;
background: var(--bg-secondary);
border: 1.5px solid var(--border-color);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.search-bar-container:focus-within {
border-color: var(--accent-color);
box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
transform: translateY(-1px);
}
.search-icon {
color: var(--accent-color);
opacity: 0.8;
}
.search-bar-container input {
flex: 1;
background: transparent !important;
border: none !important;
color: var(--text-main) !important;
font-size: 1.05rem !important;
outline: none !important;
box-shadow: none !important;
}
.btn-clear-search {
background: rgba(255, 255, 255, 0.05);
border: none;
color: var(--text-muted);
width: 28px;
height: 28px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s;
}
.btn-clear-search:hover {
background: rgba(239, 68, 68, 0.1);
color: var(--danger-color);
}
.search-results-list {
display: grid;
grid-template-columns: 1fr;
gap: 0.75rem;
animation: slideUp 0.3s ease-out;
}
.search-result-item {
display: flex;
align-items: center;
gap: 1.25rem;
padding: 1.15rem 1.5rem;
border-radius: 12px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid var(--border-color);
}
.search-result-item:hover {
background: rgba(255, 255, 255, 0.03);
border-color: var(--accent-color);
transform: scale(1.005) translateX(4px);
}
.res-icon {
width: 44px;
height: 44px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.res-icon.registered {
background: rgba(59, 130, 246, 0.1);
color: var(--accent-color);
box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}
.res-icon.system {
background: rgba(148, 163, 184, 0.1);
color: var(--text-muted);
}
.res-info {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.res-name {
font-weight: 600;
font-size: 1.05rem;
color: var(--text-main);
}
.res-meta {
font-size: 0.8rem;
color: var(--text-muted);
opacity: 0.7;
}
.res-badge {
font-size: 0.65rem;
font-weight: 800;
text-transform: uppercase;
background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
color: white;
padding: 0.25rem 0.6rem;
border-radius: 6px;
letter-spacing: 0.05em;
box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}
.ephemeral-badge-large {
display: inline-flex;
align-items: center;
padding: 0.4rem 0.8rem;
border-radius: 8px;
background: rgba(139, 92, 246, 0.1);
color: #a78bfa;
font-size: 0.85rem;
font-weight: 600;
border: 1px solid rgba(139, 92, 246, 0.2);
margin-right: 0.5rem;
}
.no-search-results {
text-align: center;
padding: 3rem;
color: var(--text-muted);
background: rgba(255, 255, 255, 0.02);
border-radius: 12px;
border: 1px dashed var(--border-color);
}
/* Save Button & Success Anim */
.btn-save-action {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 1.2rem;
border-radius: 8px;
font-weight: 600;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-save-action:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.btn-save-action:active {
transform: scale(0.95);
}
.success-check-anim {
animation: successScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes successScale {
0% {
transform: scale(0) rotate(-45deg);
opacity: 0;
}
70% {
transform: scale(1.4) rotate(10deg);
}
100% {
transform: scale(1) rotate(0deg);
opacity: 1;
}
}
.btn-success {
background: #10b981 !important;
border-color: #10b981 !important;
color: white !important;
}
/* Inline Edit */
.service-info-text {
display: flex;
flex-direction: column;
}
.service-title {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
margin: 0;
font-size: 1.4rem;
}
.edit-icon-hint {
opacity: 0;
color: var(--accent-color);
transition: opacity 0.2s, transform 0.2s;
}
.service-title:hover .edit-icon-hint {
opacity: 0.6;
transform: translateX(2px);
}
.inline-edit-input {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--accent-color);
border-radius: 4px;
color: var(--text-main);
font-size: 1.4rem;
font-weight: 600;
padding: 2px 8px;
margin: -3px -9px; /* Offset for alignment */
width: auto;
min-width: 200px;
outline: none;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.inline-edit-input:focus {
background: rgba(255, 255, 255, 0.08);
}
@keyframes backdropFade {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes modalEntry {
from {
opacity: 0;
transform: translateY(30px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}