summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/gtk-3.0/gtk.css25
1 files changed, 25 insertions, 0 deletions
diff --git a/.config/gtk-3.0/gtk.css b/.config/gtk-3.0/gtk.css
new file mode 100644
index 0000000..7d7e145
--- /dev/null
+++ b/.config/gtk-3.0/gtk.css
@@ -0,0 +1,25 @@
+headerbar entry,
+headerbar spinbutton,
+headerbar button,
+headerbar separator {
+ margin-top: 0px; /* same as headerbar side padding for nicer proportions */
+ margin-bottom: 0px;
+}
+
+.default-decoration {
+ min-height: 0; /* let the entry and button drive the titlebar size */
+ padding: 0px
+}
+
+.default-decoration .titlebutton {
+ min-height: 21px; /* tweak these two props to reduce button size */
+ min-width: 21px;
+}
+
+window.ssd headerbar.titlebar {
+ border: none;
+ background-image: linear-gradient(to bottom,
+ shade(@theme_bg_color, 1.05),
+ shade(@theme_bg_color, 0.99));
+ box-shadow: inset 0 1px shade(@theme_bg_color, 1.4);
+}