Changeset 254aa1d in dotfiles for guix/.config/gtk-3.0/gtk.css
- Timestamp:
- Aug 5, 2024, 6:53:43 AM (3 months ago)
- Branches:
- master
- Children:
- fe2941b
- Parents:
- 7bfb563
- git-author:
- Mikhail Kirillov <w96k@…> (08/05/24 06:33:27)
- git-committer:
- Mikhail Kirillov <w96k@…> (08/05/24 06:53:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guix/.config/gtk-3.0/gtk.css
-
Property mode
changed from
100644
to120000
r7bfb563 r254aa1d 1 undershoot.top, 2 undershoot.right, 3 undershoot.bottom, 4 undershoot.left { 5 background-image: none; 6 } 7 8 * { 9 transition: 0; 10 } 11 12 scrollbar { 13 -GtkScrollbar-has-backward-stepper: true; 14 -GtkScrollbar-has-forward-stepper: true; 15 } 16 17 scrollbar.vertical { 18 padding: 0.1em 0; 19 margin: 0; 20 opacity: 1; 21 } 22 23 scrollbar.vertical slider { 24 border-radius: 0; 25 margin: 0; 26 padding: 0; 27 border-radius: 0.2em; 28 transition: 0; 29 background-color: #bbb; 30 } 31 32 scrollbar.vertical slider:hover { 33 background-color: #aaa; 34 } 35 36 menubar { 37 font-size: 10pt; 38 background: #eee; 39 } 40 41 menubar menuitem:first-child { 42 border-left: 0; 43 } 44 45 menubar menuitem { 46 border-left: 1px solid #ddd; 47 padding: 0.35em 0.35em 0.15em 0.35em; 48 } 49 50 menubar > menuitem:hover { 51 background: #ddd; 52 color: #000; 53 54 } 55 56 scrollbar, scrollbar trough { 57 background-color: #fafafa; 58 padding: 0; 59 margin: 0; 60 } 61 62 manubar tab { 63 padding: 0; 64 } 65 66 toolbar { 67 background: #fafafa; 68 padding: 0; 69 margin-top: 0.15em; 70 } 71 72 toolbar button { 73 border-radius: 0; 74 transition: 0; 75 padding: 0.1em; 76 font-size: 10pt 77 } 78 79 @binding-set gtk-emacs-text-entry 80 { 81 bind "<ctrl>b" { "move-cursor" (logical-positions, -1, 0) }; 82 bind "<shift><ctrl>b" { "move-cursor" (logical-positions, -1, 1) }; 83 bind "<ctrl>f" { "move-cursor" (logical-positions, 1, 0) }; 84 bind "<shift><ctrl>f" { "move-cursor" (logical-positions, 1, 1) }; 85 86 bind "<alt>b" { "move-cursor" (words, -1, 0) }; 87 bind "<shift><alt>b" { "move-cursor" (words, -1, 1) }; 88 bind "<alt>f" { "move-cursor" (words, 1, 0) }; 89 bind "<shift><alt>f" { "move-cursor" (words, 1, 1) }; 90 91 bind "<ctrl>a" { "move-cursor" (paragraph-ends, -1, 0) }; 92 bind "<shift><ctrl>a" { "move-cursor" (paragraph-ends, -1, 1) }; 93 bind "<ctrl>e" { "move-cursor" (paragraph-ends, 1, 0) }; 94 bind "<shift><ctrl>e" { "move-cursor" (paragraph-ends, 1, 1) }; 95 96 bind "<ctrl>w" { "cut-clipboard" () }; 97 bind "<ctrl>y" { "paste-clipboard" () }; 98 99 bind "<ctrl>d" { "delete-from-cursor" (chars, 1) }; 100 bind "<alt>d" { "delete-from-cursor" (word-ends, 1) }; 101 bind "<ctrl>k" { "delete-from-cursor" (paragraph-ends, 1) }; 102 bind "<alt>backslash" { "delete-from-cursor" (whitespace, 1) }; 103 104 bind "<alt>space" { "delete-from-cursor" (whitespace, 1) 105 "insert-at-cursor" (" ") }; 106 bind "<alt>KP_Space" { "delete-from-cursor" (whitespace, 1) 107 "insert-at-cursor" (" ") }; 108 /* 109 * Some non-Emacs keybindings people are attached to 110 */ 111 bind "<ctrl>u" { "move-cursor" (paragraph-ends, -1, 0) 112 "delete-from-cursor" (paragraph-ends, 1) }; 113 114 bind "<ctrl>h" { "delete-from-cursor" (chars, -1) }; 115 bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) }; 116 } 117 118 /* 119 * Bindings for GtkTextView 120 */ 121 @binding-set gtk-emacs-text-view 122 { 123 bind "<ctrl>p" { "move-cursor" (display-lines, -1, 0) }; 124 bind "<shift><ctrl>p" { "move-cursor" (display-lines, -1, 1) }; 125 bind "<ctrl>n" { "move-cursor" (display-lines, 1, 0) }; 126 bind "<shift><ctrl>n" { "move-cursor" (display-lines, 1, 1) }; 127 128 bind "<ctrl>space" { "set-anchor" () }; 129 bind "<ctrl>KP_Space" { "set-anchor" () }; 130 } 131 132 /* 133 * Bindings for GtkTreeView 134 */ 135 @binding-set gtk-emacs-tree-view 136 { 137 bind "<ctrl>s" { "start-interactive-search" () }; 138 bind "<ctrl>f" { "move-cursor" (logical-positions, 1) }; 139 bind "<ctrl>b" { "move-cursor" (logical-positions, -1) }; 140 } 141 142 /* 143 * Bindings for menus 144 */ 145 @binding-set gtk-emacs-menu 146 { 147 bind "<ctrl>n" { "move-current" (next) }; 148 bind "<ctrl>p" { "move-current" (prev) }; 149 bind "<ctrl>f" { "move-current" (child) }; 150 bind "<ctrl>b" { "move-current" (parent) }; 151 } 152 153 GtkEntry { 154 -gtk-key-bindings: gtk-emacs-text-entry; 155 } 156 157 GtkTextView { 158 -gtk-key-bindings: gtk-emacs-text-entry, gtk-emacs-text-view; 159 } 160 161 GtkTreeView { 162 -gtk-key-bindings: gtk-emacs-tree-view; 163 } 164 165 GtkMenuShell { 166 -gtk-key-bindings: gtk-emacs-menu; 167 } 168 169 class "GtkMenuShell" binding "gtk-emacs-menu" 1 /gnu/store/nhb78g142d0affc3w3b92r86gmm9939z-home-dotfiles--config-gtk-3-0-gtk-css -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.