| 1 |
/* Tweaks (GTK 4+) */ |
| 2 |
|
| 3 |
* { |
| 4 |
/* Unset line height due to it resulting in blurry text */ |
| 5 |
line-height: unset; |
| 6 |
} |
| 7 |
|
| 8 |
treeview.normal-icons { |
| 9 |
/* Country flag icon size in treeviews */ |
| 10 |
-gtk-icon-size: 21px; |
| 11 |
} |
| 12 |
|
| 13 |
window.dialog:not(.message) .dialog-action-area { |
| 14 |
/* Add missing spacing to dialog action buttons */ |
| 15 |
border-spacing: 6px; |
| 16 |
} |
| 17 |
|
| 18 |
.image-text-button box { |
| 19 |
/* Remove unwanted spacing from buttons */ |
| 20 |
border-spacing: 0; |
| 21 |
} |
| 22 |
|
| 23 |
popover.custom > contents { |
| 24 |
/* Remove unwanted spacing from popovers */ |
| 25 |
padding: 0; |
| 26 |
} |
| 27 |
|
| 28 |
popover.custom button, |
| 29 |
popover.custom entry, |
| 30 |
popover.custom switch { |
| 31 |
/* Remove unwanted spacing from popovers */ |
| 32 |
margin: 0; |
| 33 |
} |
| 34 |
|
| 35 |
popover.entry-completion > contents { |
| 36 |
/* Add margin to entry completion list */ |
| 37 |
padding: 8px; |
| 38 |
} |
| 39 |
|
| 40 |
popover.entry-completion treeview:not(active):not(:selected) { |
| 41 |
/* Remove unwanted background from entry completion list */ |
| 42 |
background: none; |
| 43 |
} |
| 44 |
|
| 45 |
.fontchooser listview label { |
| 46 |
/* Use same height for all labels to work around broken scrolling |
| 47 |
https://gitlab.gnome.org/GNOME/gtk/-/issues/4751 */ |
| 48 |
min-height: 2.5em; |
| 49 |
} |
| 50 |
|
| 51 |
.fontchooser listview row { |
| 52 |
margin: 0; |
| 53 |
padding: 0; |
| 54 |
} |
| 55 |
|
| 56 |
dropdown.entry > button > box { |
| 57 |
/* Hide label in combobox dropdown button */ |
| 58 |
border-spacing: 0; |
| 59 |
font-size: 0; |
| 60 |
} |
| 61 |
|
| 62 |
tabs > arrow { |
| 63 |
/* Workaround for criticals when right-clicking notebook tabs */ |
| 64 |
margin-top: -5px; |
| 65 |
margin-bottom: -5px; |
| 66 |
} |
| 67 |
|