chore: restore missing dependency and build files in node_modules
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import Bilan from "./components/Bilan.jsx";
|
||||
|
||||
function App() {
|
||||
return <Bilan />;
|
||||
}
|
||||
|
||||
export default App;
|
||||
@@ -0,0 +1,813 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");
|
||||
|
||||
:root {
|
||||
--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
--font-mono: "JetBrains Mono", monospace;
|
||||
|
||||
--bg-main: #f8fafc;
|
||||
--bg-card: #ffffff;
|
||||
--text-primary: #0f172a;
|
||||
--text-secondary: #475569;
|
||||
--text-muted: #64748b;
|
||||
|
||||
--color-indigo-50: #f5f3ff;
|
||||
--color-indigo-100: #e0e7ff;
|
||||
--color-indigo-500: #625fff;
|
||||
--color-indigo-600: #4f46e5;
|
||||
--color-indigo-700: #4338ca;
|
||||
|
||||
--border-slate-200: #e2e8f0;
|
||||
--border-slate-300: #cbd5e1;
|
||||
|
||||
--radius-md: 8px;
|
||||
--radius-lg: 12px;
|
||||
--radius-xl: 16px;
|
||||
--radius-2xl: 24px;
|
||||
|
||||
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
||||
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
|
||||
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
|
||||
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
|
||||
|
||||
--transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.bilan-wrapper {
|
||||
font-family: var(--font-sans);
|
||||
min-height: 100vh;
|
||||
padding: 3rem 1.5rem;
|
||||
background-color: var(--bg-main);
|
||||
background-image:
|
||||
radial-gradient(at 0% 0%, rgba(98, 95, 255, 0.03) 0px, transparent 50%),
|
||||
radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.03) 0px, transparent 50%);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
color: var(--text-primary);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.logo-bg {
|
||||
position: absolute;
|
||||
width: 70%;
|
||||
max-width: 800px;
|
||||
opacity: 0.02;
|
||||
top: 10%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
pointer-events: none;
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
.bilan-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
background: var(--bg-card);
|
||||
border-radius: var(--radius-2xl);
|
||||
padding: 40px;
|
||||
box-shadow: var(--shadow-xl);
|
||||
border: 1px solid var(--border-slate-200);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-bottom: 35px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
gap: 16px;
|
||||
border-bottom: 1px solid var(--border-slate-200);
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.back-btn {
|
||||
align-self: flex-start;
|
||||
border: 1px solid var(--border-slate-300);
|
||||
border-radius: 999px;
|
||||
padding: 8px 18px;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
color: var(--text-secondary);
|
||||
background: #ffffff;
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.back-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
background: #f8fafc;
|
||||
color: var(--text-primary);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
margin: 0;
|
||||
font-size: 36px;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.025em;
|
||||
background: linear-gradient(135deg, var(--color-indigo-500) 0%, #8b5cf6 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.header h2 {
|
||||
margin: 8px 0 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
max-width: 700px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.controls {
|
||||
background: #f8fafc;
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 20px;
|
||||
margin: 20px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
justify-content: center;
|
||||
border: 1px solid var(--border-slate-200);
|
||||
}
|
||||
|
||||
.controls.controls-select {
|
||||
margin: 0 0 10px 0;
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.controls.controls-select label {
|
||||
font-size: 15px;
|
||||
color: var(--text-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.controls input,
|
||||
.controls select,
|
||||
.bilan-container select,
|
||||
.ai input,
|
||||
.ai select,
|
||||
.ai textarea {
|
||||
padding: 11px 16px;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border-slate-300);
|
||||
background: #ffffff;
|
||||
color: var(--text-primary);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
outline: none;
|
||||
transition: var(--transition);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.controls input::placeholder,
|
||||
.ai input::placeholder,
|
||||
.ai textarea::placeholder,
|
||||
.bilan-container textarea::placeholder {
|
||||
color: var(--text-muted);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.controls input:focus,
|
||||
.controls select:focus,
|
||||
.bilan-container select:focus,
|
||||
.ai input:focus,
|
||||
.ai select:focus,
|
||||
.ai textarea:focus,
|
||||
.bilan-container textarea:focus {
|
||||
border-color: var(--color-indigo-500);
|
||||
box-shadow: 0 0 0 4px rgba(98, 95, 255, 0.12), var(--shadow-sm);
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.controls.identity input {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.controls.actions input {
|
||||
flex: 2;
|
||||
min-width: 250px;
|
||||
}
|
||||
|
||||
.bilan-container button,
|
||||
.ai-actions button {
|
||||
border: 1px solid var(--border-slate-300);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 11px 20px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
color: var(--text-secondary);
|
||||
background: #ffffff;
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.bilan-container button:hover,
|
||||
.ai-actions button:hover {
|
||||
background: #f8fafc;
|
||||
color: var(--text-primary);
|
||||
border-color: var(--border-slate-300);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
/* Custom coloring for main call-to-action buttons */
|
||||
.controls.actions button:last-of-type,
|
||||
.ai-actions button:nth-of-type(2),
|
||||
.ai-actions button:last-of-type {
|
||||
background: var(--color-indigo-500);
|
||||
border-color: var(--color-indigo-500);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.controls.actions button:last-of-type:hover,
|
||||
.ai-actions button:nth-of-type(2):hover,
|
||||
.ai-actions button:last-of-type:hover {
|
||||
background: var(--color-indigo-600);
|
||||
border-color: var(--color-indigo-600);
|
||||
color: #ffffff;
|
||||
box-shadow: 0 4px 12px rgba(98, 95, 255, 0.25);
|
||||
}
|
||||
|
||||
.bilan-container button:disabled,
|
||||
.ai-actions button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
transform: none !important;
|
||||
box-shadow: var(--shadow-sm) !important;
|
||||
background: #f1f5f9 !important;
|
||||
border-color: var(--border-slate-200) !important;
|
||||
color: var(--text-muted) !important;
|
||||
}
|
||||
|
||||
.competences-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
||||
gap: 24px;
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.competence-card {
|
||||
background: #ffffff;
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 24px;
|
||||
border: 1px solid var(--border-slate-200);
|
||||
box-shadow: var(--shadow-md);
|
||||
min-height: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.competence-card h4 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin: 0 0 18px;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.badge {
|
||||
background: var(--color-indigo-50);
|
||||
color: var(--color-indigo-500);
|
||||
border-radius: 999px;
|
||||
padding: 3px 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
border: 1px solid rgba(98, 95, 255, 0.15);
|
||||
}
|
||||
|
||||
/* Accent top border colors for each bucket card */
|
||||
.competence-card:nth-of-type(1) {
|
||||
border-top: 4px solid #10b981; /* Green for Performance */
|
||||
}
|
||||
.competence-card:nth-of-type(2) {
|
||||
border-top: 4px solid #3b82f6; /* Blue for Competence */
|
||||
}
|
||||
.competence-card:nth-of-type(3) {
|
||||
border-top: 4px solid #8b5cf6; /* Purple for Connaissance */
|
||||
}
|
||||
|
||||
.bucket-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
min-height: 120px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.bucket.dragover {
|
||||
border-color: var(--color-indigo-500);
|
||||
background: var(--color-indigo-50);
|
||||
border-style: dashed;
|
||||
}
|
||||
|
||||
.competence-item {
|
||||
border: 1px solid var(--border-slate-200);
|
||||
padding: 16px;
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: grab;
|
||||
position: relative;
|
||||
background: #f8fafc;
|
||||
transition: var(--transition);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.competence-item:hover {
|
||||
background: #ffffff;
|
||||
border-color: var(--color-indigo-500);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.competence-item.dragging {
|
||||
opacity: 0.5;
|
||||
transform: scale(0.98);
|
||||
background: var(--color-indigo-50);
|
||||
border-color: var(--color-indigo-500);
|
||||
border-style: dashed;
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.competence-item .competence-label {
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
font-size: 14px;
|
||||
padding-right: 25px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.remove-field-btn {
|
||||
background: #ef4444;
|
||||
color: #ffffff;
|
||||
border: 0 !important;
|
||||
border-radius: 50% !important;
|
||||
width: 22px !important;
|
||||
height: 22px !important;
|
||||
padding: 0 !important;
|
||||
font-size: 14px !important;
|
||||
cursor: pointer;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
opacity: 0;
|
||||
transform: scale(0.8);
|
||||
transition: var(--transition);
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.competence-item:hover .remove-field-btn {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.remove-field-btn:hover {
|
||||
background: #dc2626 !important;
|
||||
transform: scale(1.1) !important;
|
||||
}
|
||||
|
||||
.competence-checkbox,
|
||||
#aiPrepend {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border-slate-300);
|
||||
background: #ffffff;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
transition: var(--transition);
|
||||
flex-shrink: 0;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.competence-checkbox:hover {
|
||||
background: #f8fafc;
|
||||
border-color: var(--color-indigo-500);
|
||||
}
|
||||
|
||||
.competence-checkbox:checked {
|
||||
background: linear-gradient(135deg, #10b981, #059669);
|
||||
border-color: #059669;
|
||||
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
|
||||
}
|
||||
|
||||
.competence-checkbox:checked::after {
|
||||
content: "✔";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.bilan-container select {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
padding-right: 40px;
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 14px center;
|
||||
background-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bilan-container select option {
|
||||
background: #ffffff;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
#openaiKey {
|
||||
background: #ffffff;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.bilan-container textarea {
|
||||
width: 100%;
|
||||
min-height: 120px;
|
||||
padding: 14px;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border-slate-300);
|
||||
background: #ffffff;
|
||||
color: var(--text-primary);
|
||||
resize: vertical;
|
||||
transition: var(--transition);
|
||||
font-family: var(--font-sans);
|
||||
}
|
||||
|
||||
#observation,
|
||||
.observation-textarea {
|
||||
min-height: 220px;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
margin-top: 25px;
|
||||
width: 100%;
|
||||
font-family: var(--font-mono);
|
||||
background: #f8fafc;
|
||||
border-color: var(--border-slate-200);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.level-group {
|
||||
margin-top: 8px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
border-top: 1px solid var(--border-slate-200);
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.level-title {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.level-pill {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.level-pill input {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.level-pill label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 5px 12px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid var(--border-slate-300);
|
||||
background: #ffffff;
|
||||
color: var(--text-secondary);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
transition: var(--transition);
|
||||
max-width: 38px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.level-pill label .short,
|
||||
.level-pill label .long {
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.level-pill label .long {
|
||||
opacity: 0;
|
||||
white-space: nowrap;
|
||||
transform: translateX(8px);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.level-pill label:hover {
|
||||
max-width: 180px;
|
||||
padding-right: 14px;
|
||||
background: #f1f5f9;
|
||||
color: var(--text-primary);
|
||||
border-color: var(--text-muted);
|
||||
}
|
||||
|
||||
.level-pill label:hover .long {
|
||||
display: inline-block;
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.level-pill label:hover .short {
|
||||
display: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* Color-coded checked level pills */
|
||||
.level-pill input[value="na"]:checked + label {
|
||||
max-width: 180px;
|
||||
padding-right: 14px;
|
||||
border-color: #fca5a5;
|
||||
background: #fee2e2;
|
||||
color: #991b1b;
|
||||
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
|
||||
}
|
||||
|
||||
.level-pill input[value="ec"]:checked + label {
|
||||
max-width: 180px;
|
||||
padding-right: 14px;
|
||||
border-color: #fde68a;
|
||||
background: #fef3c7;
|
||||
color: #92400e;
|
||||
box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
|
||||
}
|
||||
|
||||
.level-pill input[value="ac"]:checked + label {
|
||||
max-width: 180px;
|
||||
padding-right: 14px;
|
||||
border-color: #a7f3d0;
|
||||
background: #dcfce7;
|
||||
color: #166534;
|
||||
box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
|
||||
}
|
||||
|
||||
.level-pill input[value="ma"]:checked + label {
|
||||
max-width: 180px;
|
||||
padding-right: 14px;
|
||||
border-color: #c7d2ff;
|
||||
background: #e0e7ff;
|
||||
color: #3730a3;
|
||||
box-shadow: 0 0 0 3px rgba(98, 95, 255, 0.12);
|
||||
}
|
||||
|
||||
.level-pill input:checked + label .long {
|
||||
display: inline-block;
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.level-pill input:checked + label .short {
|
||||
display: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.ai {
|
||||
margin-top: 35px;
|
||||
background: #f8fafc;
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 30px;
|
||||
border: 1px solid var(--border-slate-200);
|
||||
color: var(--text-primary);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.ai strong {
|
||||
font-size: 22px;
|
||||
font-weight: 800;
|
||||
text-align: center;
|
||||
margin-bottom: 5px;
|
||||
background: linear-gradient(135deg, var(--color-indigo-500) 0%, #8b5cf6 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ai .row {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.ai label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.ai-actions,
|
||||
.ai .controls {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
justify-content: center;
|
||||
margin-top: 10px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#aiPrepend {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--border-slate-300);
|
||||
background: #ffffff;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
transition: var(--transition);
|
||||
vertical-align: middle;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
#aiPrepend:checked {
|
||||
background: var(--color-indigo-500);
|
||||
border-color: var(--color-indigo-500);
|
||||
}
|
||||
|
||||
#aiPrepend:checked::after {
|
||||
content: "✔";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.checkbox-inline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
margin-top: 15px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.status {
|
||||
margin: 20px auto;
|
||||
max-width: 100%;
|
||||
padding: 12px 20px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
border: 1px solid var(--border-slate-200);
|
||||
background: #ffffff;
|
||||
color: var(--text-primary);
|
||||
box-shadow: var(--shadow-sm);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.status.info {
|
||||
border-left: 4px solid var(--color-indigo-500);
|
||||
background: var(--color-indigo-50);
|
||||
color: var(--color-indigo-700);
|
||||
}
|
||||
|
||||
.status.success {
|
||||
border-left: 4px solid #10b981;
|
||||
background: #dcfce7;
|
||||
color: #15803d;
|
||||
}
|
||||
|
||||
.status.error {
|
||||
border-left: 4px solid #ef4444;
|
||||
background: #fee2e2;
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.status .progress {
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
height: 6px;
|
||||
background: var(--border-slate-200);
|
||||
border-radius: 999px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.status .progress-bar {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, var(--color-indigo-500), #8b5cf6);
|
||||
animation: progress-stripes 1.5s linear infinite;
|
||||
}
|
||||
|
||||
.ai-loader {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 10px 18px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-indigo-50);
|
||||
border: 1px solid rgba(98, 95, 255, 0.15);
|
||||
color: var(--color-indigo-600);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid rgba(98, 95, 255, 0.2);
|
||||
border-top-color: var(--color-indigo-500);
|
||||
animation: spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes progress-stripes {
|
||||
0% {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.bilan-wrapper {
|
||||
padding: 1.5rem 1rem;
|
||||
}
|
||||
|
||||
.bilan-container {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.controls {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.controls input,
|
||||
.controls select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ai .row {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.competences-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import App from "./App.jsx";
|
||||
|
||||
createRoot(document.getElementById("root")).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>
|
||||
);
|
||||
Reference in New Issue
Block a user