feat: merge UI vault settings with environment config, improve French UI text clarity, and enhance hidden files whitelist styling with hover effects and empty state
This commit is contained in:
+73
-22
@@ -3414,61 +3414,85 @@ body.resizing-v {
|
||||
.hidden-files-vault-card {
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: 6px;
|
||||
padding: 12px;
|
||||
margin-bottom: 12px;
|
||||
transition: border-color 200ms ease;
|
||||
}
|
||||
|
||||
.hidden-files-vault-card:hover {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.hidden-files-vault-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 16px;
|
||||
padding-bottom: 12px;
|
||||
margin-bottom: 12px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.hidden-files-vault-header h3 {
|
||||
font-size: 1rem;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.hidden-files-vault-type {
|
||||
font-size: 0.75rem;
|
||||
padding: 2px 8px;
|
||||
font-size: 0.7rem;
|
||||
padding: 2px 6px;
|
||||
background: var(--tag-bg);
|
||||
color: var(--tag-text);
|
||||
border-radius: 4px;
|
||||
border-radius: 3px;
|
||||
font-family: var(--mono);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.hidden-files-whitelist {
|
||||
margin-top: 16px;
|
||||
padding-top: 16px;
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.hidden-files-whitelist-items {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-bottom: 12px;
|
||||
min-height: 32px;
|
||||
gap: 6px;
|
||||
margin-bottom: 10px;
|
||||
min-height: 28px;
|
||||
padding: 4px;
|
||||
background: var(--bg-primary);
|
||||
border-radius: 4px;
|
||||
border: 1px dashed var(--border);
|
||||
}
|
||||
|
||||
.hidden-files-whitelist-items:empty::before {
|
||||
content: "Aucun dossier dans la liste blanche";
|
||||
color: var(--text-muted);
|
||||
font-size: 0.85rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hidden-files-whitelist-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 8px 4px 12px;
|
||||
gap: 4px;
|
||||
padding: 3px 6px 3px 8px;
|
||||
background: var(--tag-bg);
|
||||
color: var(--tag-text);
|
||||
border-radius: 6px;
|
||||
font-size: 0.875rem;
|
||||
border-radius: 4px;
|
||||
font-size: 0.85rem;
|
||||
font-family: var(--mono);
|
||||
border: 1px solid color-mix(in srgb, var(--tag-text) 30%, transparent);
|
||||
transition: all 150ms ease;
|
||||
}
|
||||
|
||||
.hidden-files-whitelist-item:hover {
|
||||
background: color-mix(in srgb, var(--tag-bg) 80%, var(--accent) 20%);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.whitelist-item-text {
|
||||
@@ -3480,25 +3504,52 @@ body.resizing-v {
|
||||
border: none;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
font-size: 1.2rem;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1;
|
||||
padding: 0 4px;
|
||||
transition: color 150ms ease;
|
||||
padding: 0 2px;
|
||||
transition: all 150ms ease;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.whitelist-item-remove:hover {
|
||||
color: var(--danger);
|
||||
background: color-mix(in srgb, var(--danger) 15%, transparent);
|
||||
}
|
||||
|
||||
.hidden-files-add-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.hidden-files-add-row .config-input {
|
||||
flex: 1;
|
||||
max-width: 300px;
|
||||
max-width: 250px;
|
||||
font-family: var(--mono);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.config-btn-add {
|
||||
padding: 6px 12px;
|
||||
background: var(--accent);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
transition: all 150ms ease;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.config-btn-add:hover {
|
||||
background: color-mix(in srgb, var(--accent) 85%, black);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.config-btn-add:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user