aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2017-11-19 23:12:30 +0100
committerMax Christian Pohle2017-11-19 23:12:30 +0100
commit1bf223c62937b39bb8c08ffe67ef3b79919b3191 (patch)
tree80c8cb353158c039d591503321d72c15c914eab8
parent3b3e7cb638668da10cdec8b2efc7e113f1ee9080 (diff)
downloadvim-1bf223c62937b39bb8c08ffe67ef3b79919b3191.tar.bz2
vim-1bf223c62937b39bb8c08ffe67ef3b79919b3191.zip
Improved gtk customization and made it local to gvim
-rw-r--r--gtk-3.0.css76
1 files changed, 73 insertions, 3 deletions
diff --git a/gtk-3.0.css b/gtk-3.0.css
index ed2e606..d8d5c68 100644
--- a/gtk-3.0.css
+++ b/gtk-3.0.css
@@ -1,11 +1,10 @@
1/*
1#vim-menubar, 2#vim-menubar,
2#vim-menubar #menu, 3#vim-menubar #menu,
3#vim-toolbar, 4#vim-toolbar,
4#vim-gui-drawarea, 5#vim-gui-drawarea,
5#vim-main-window { 6#vim-main-window {
6 /* background-image: url("/usr/share/backgrounds/xfce/Squirrel.jpg"); */
7 color:#6060af; 7 color:#6060af;
8 /* background-color:#b2b2b2; */
9 color: #4e4e4e; 8 color: #4e4e4e;
10 font-family: "Hasklug Nerd Font Mono", "Source Code Pro for Powerline", "Source Code Pro", "Roboto"; 9 font-family: "Hasklug Nerd Font Mono", "Source Code Pro for Powerline", "Source Code Pro", "Roboto";
11 font-weight:bold; 10 font-weight:bold;
@@ -24,7 +23,6 @@
24#vim-menubar 23#vim-menubar
25{ 24{
26 padding-left:1em; 25 padding-left:1em;
27 /* background-image: linear-gradient(180deg, white 85%, black);*/
28 border-bottom:2px solid #ffffff; 26 border-bottom:2px solid #ffffff;
29} 27}
30 28
@@ -41,6 +39,78 @@
41 color: #4e4e4e; 39 color: #4e4e4e;
42} 40}
43 41
42menu menuitem:backdrop, menu menuitem:backdrop:hover
43{
44 border:0px;
45}
46*/
47
48window#vim-main-window > box
49{
50 background:#fff;
51 border:10px solid #fff;
52}
53
54/* within window > box ... */
55menubar#vim-menubar {
56 font-family: "Hasklug Nerd Font Mono", "Source Code Pro for Powerline", "Source Code Pro", "Roboto";
57 font-weight:bold;
58 font-size:8pt;
59 background: #fff;
60 /* background: linear-gradient(180deg, white 85%, black); */
61}
62
63menubar#vim-menubar menuitem {
64 background:transparent;
65}
66
67menubar#vim-menubar > menuitem {
68 padding:.25em;
69}
70
71menubar#vim-menubar menuitem box {
72 padding:.1em .25em;
73}
74
75menubar#vim-menubar menuitem window
76{
77 margin-top:1em;
78}
79
80/* opened menu (after being clicked) */
81menubar#vim-menubar menuitem window menu {
82 padding:1px;
83 background:linear-gradient(90deg, #ccc, #fff);
84
85}
86
87menubar#vim-menubar menuitem window menu menuitem {
88 padding:0em;
89 margin:0px;
90}
91
92menubar#vim-menubar menuitem window menu menuitem box {
93 background:rgba(255,255,255,.5);
94 padding:.25em;
95 padding-left:1em;
96
97}
98
99menubar#vim-menubar menuitem window menu separator {
100 margin:0;
101 background:#fff;
102 border-top:1px dotted #666;
103}
104
105
106menubar#vim-menubar menuitem:hover {
107 box-shadow:none;
108 background:rgba(0,0,0,.2);
109 color:#000;
110}
111
112
113
44/* 114/*
45toolbar button { 115toolbar button {
46notebook tab { 116notebook tab {
..