refactor: Inline-Styles durch CSS-Klassen ersetzt
- 40+ Utility-Klassen in form.css (clickable, text-danger, flex-row, loading-state, etc.) - share-menu position/z-index in chat.css statt inline - index.html: 0 Inline-Styles (hidden-Attribut, CSS-Klassen) - 12 JS-Dateien bereinigt: style.cssText/style.* durch classList ersetzt - Bugfix: var(--danger) → var(--dangerous) (nicht existierende Variable) - display:none Toggles → hidden-Attribut wo passend - Hardcoded font-sizes in chat.css → var(--font-size) 15 Dateien, nur Frontend (CSS/JS/HTML), kein Backend
This commit is contained in:
1 parent
e368abced0
commit
ce50633e33
15 files changed
+109
-76
No files matched your search
@@ -241,7 +241,7 @@
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--text) !important;
|
||||
text-decoration: none !important;
|
||||
font-size: 0.85em;
|
||||
font-size: var(--font-size);
|
||||
transition: background var(--transition-speed), border-color var(--transition-speed);
|
||||
max-width: 20em;
|
||||
overflow: hidden;
|
||||
@@ -254,7 +254,7 @@
|
||||
}
|
||||
|
||||
.web-search-source .fa {
|
||||
font-size: 0.75em;
|
||||
font-size: var(--font-size);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
padding-top: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: .85rem;
|
||||
font-size: var(--font-size);
|
||||
gap: var(--badge-spacing);
|
||||
}
|
||||
|
||||
@@ -979,6 +979,8 @@
|
||||
/* Share Menu */
|
||||
|
||||
.share-menu {
|
||||
position: fixed;
|
||||
z-index: 10000;
|
||||
background: var(--f2-bg);
|
||||
border: var(--border-width) solid var(--f2-border);
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
Reference in new issue
Block a user