Globale .icon-btn Klasse für alle Icon-only Buttons, Hover-Filter, Theme-Anpassungen
This commit is contained in:
1 parent
ff67542ba6
commit
24cbce40c4
9 files changed
+37
-33
No files matched your search
@@ -61,6 +61,7 @@ button:not(:disabled) {
|
||||
|
||||
button:not(:disabled):hover, select:hover, input:hover, textarea:hover {
|
||||
border-color: var(--primary);
|
||||
filter: var(--hover-filter);
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
@@ -71,6 +72,20 @@ input {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.icon-btn {
|
||||
width: 2em;
|
||||
aspect-ratio: 1;
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
button.icon-btn,
|
||||
button.icon-btn:hover {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
textarea, code, pre, .tool-input, .tool-diff, .tool-result, .fe-line-numbers {
|
||||
font-family: var(--mono);
|
||||
font-size: var(--mono-size);
|
||||
|
||||
Reference in new issue
Block a user