zmiany ux
This commit is contained in:
@@ -389,41 +389,36 @@ select.form-select:focus {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
/* Tylko ten przycisk: .btn-opis */
|
||||
/* Tylko ten przycisk: .btn-opis, spójne z dark tokenami */
|
||||
.btn.btn-outline-light.btn-opis {
|
||||
/* start: neutralnie, lekki kontrast na ciemnym tle */
|
||||
color: var(--text); /* #e4e4e4 w Twoim motywie */ [attached_file:3]
|
||||
border-color: rgba(255,255,255,.28);/* subtelna ramka */ [attached_file:3]
|
||||
background: rgba(255,255,255,0.02); /* leciutka mgiełka */ [attached_file:3]
|
||||
backdrop-filter: blur(0.5px); /* ledwo wyczuwalne szkło (opcjonalnie) */ [attached_file:3]
|
||||
color: var(--text);
|
||||
border-color: rgba(255,255,255,0.28);
|
||||
background-color: rgba(255,255,255,0.02);
|
||||
transition:
|
||||
background-color var(--trans), /* 220ms cubic-bezier(.2,.8,.2,1) */
|
||||
background-color var(--trans),
|
||||
border-color var(--trans),
|
||||
color var(--trans),
|
||||
box-shadow 180ms ease,
|
||||
transform 120ms ease; /* zachowuje spójność z innymi btn */ [attached_file:3]
|
||||
transform 120ms ease;
|
||||
}
|
||||
|
||||
.btn.btn-outline-light.btn-opis:hover,
|
||||
.btn.btn-outline-light.btn-opis:focus {
|
||||
/* hover: jasność + ring z akcentem, ale nadal stonowanie */
|
||||
color: #111; /* czytelny kontrast przy jaśniejszym tle */ [attached_file:3]
|
||||
background: rgba(255,255,255,0.10); /* delikatne rozjaśnienie */ [attached_file:3]
|
||||
color: #111;
|
||||
background-color: rgba(255,255,255,0.10);
|
||||
border-color: rgba(255,255,255,0.45);
|
||||
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); /* miękki ring */ [attached_file:3]
|
||||
transform: translateY(-1px); /* minimalny „lift” */ [attached_file:3]
|
||||
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.btn.btn-outline-light.btn-opis:active {
|
||||
/* klik: krótkie przygaszenie, bez agresywnych skoków */
|
||||
transform: translateY(0);
|
||||
background: rgba(255,255,255,0.14); [attached_file:3]
|
||||
background-color: rgba(255,255,255,0.14);
|
||||
border-color: rgba(255,255,255,0.55);
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 14%, transparent); [attached_file:3]
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 14%, transparent);
|
||||
}
|
||||
|
||||
.btn.btn-outline-light.btn-opis:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); /* dostępność, wciąż delikatnie */ [attached_file:3]
|
||||
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user