all repos — dotfiles @ 9f75d2d58fd38724d41485cf8f17fb6a84fac143

my *nix dotfiles

themes/Fantome/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc (view raw)

  1style "menubar" {
  2
  3  bg[NORMAL] = "#2f343f"
  4  fg[NORMAL] = "#afb8c5"
  5  fg[PRELIGHT] = "#afb8c5"
  6  fg[ACTIVE] = "#afb8c5"
  7  fg[SELECTED] = @selected_fg_color
  8  fg[INSENSITIVE] = shade(0.7, "#afb8c5")
  9
 10  xthickness = 0
 11  ythickness = 0
 12
 13  engine "pixmap" {
 14
 15    image {
 16      function = BOX
 17      file  = "menubar-toolbar/menubar-dark.png"
 18      stretch  = TRUE
 19      border = { 1, 1, 1, 1 }
 20    }
 21  }
 22}
 23
 24style "menubar-borderless" {
 25
 26  bg[NORMAL] = "#2f343f"
 27  fg[NORMAL] = "#afb8c5"
 28  fg[SELECTED] = @selected_fg_color
 29  fg[INSENSITIVE] = shade(0.7, "#afb8c5")
 30
 31  xthickness = 0
 32  ythickness = 0
 33
 34  engine "pixmap" {
 35
 36    image {
 37      function = BOX
 38      file  = "assets/null.png"
 39      stretch  = TRUE
 40      border = { 1, 1, 1, 1 }
 41    }
 42  }
 43}
 44
 45style "menubar_item" {
 46
 47  xthickness = 2
 48  ythickness = 4
 49
 50  fg[PRELIGHT] = @selected_fg_color
 51
 52  engine "pixmap" {
 53
 54    image {
 55      function = BOX
 56      state = PRELIGHT
 57      file = "menubar-toolbar/menubar_button-dark.png"
 58      border = { 2, 2, 2, 2 }
 59      stretch = TRUE
 60    }
 61  }
 62}
 63
 64# Text Style Menubar
 65style "menubar-text" {
 66
 67  engine "murrine" {
 68    text_shade = 0.0
 69    textstyle = 0
 70  }
 71}
 72
 73
 74style "toolbar_text" {
 75  fg[NORMAL] = "#afb8c5"
 76  fg[PRELIGHT] = "#afb8c5"
 77  fg[INSENSITIVE] = shade(0.7, "#afb8c5")
 78  fg[ACTIVE] = "#afb8c5"
 79
 80  text[NORMAL] = "#afb8c5"
 81  text[PRELIGHT] = "#afb8c5"
 82  text[INSENSITIVE] = shade(0.7, "#afb8c5")
 83  text[ACTIVE] = "#afb8c5"
 84
 85}
 86
 87style "toolbar_button" {
 88
 89  xthickness = 4
 90  ythickness = 4
 91
 92  engine "pixmap" {
 93
 94    image {
 95      function = BOX
 96      state = NORMAL
 97      file = "menubar-toolbar/button.png"
 98      border = { 4, 4, 4, 4 }
 99      stretch = TRUE
100    }
101
102    image {
103      function = BOX
104      state = PRELIGHT
105      file = "menubar-toolbar/button-hover.png"
106      border = { 4, 4, 4, 4 }
107      stretch = TRUE
108    }
109
110    image {
111      function = BOX
112      state = ACTIVE
113      file = "menubar-toolbar/button-active.png"
114      border = { 4, 4, 4, 4 }
115      stretch = TRUE
116    }
117
118    image {
119      function = BOX
120      state = INSENSITIVE
121      file = "menubar-toolbar/button-insensitive.png"
122      border = { 4, 4, 4, 4 }
123      stretch = TRUE
124    }
125  }
126}
127
128style "toolbar_entry" {
129
130  base[NORMAL] = "#404552"
131  base[ACTIVE] = "#404552"
132  base[INSENSITIVE] = "#39404d"
133
134  text[NORMAL] = "#afb8c5"
135
136  engine "pixmap" {
137
138    image {
139      function = SHADOW
140      state = NORMAL
141      detail = "entry"
142      file = "menubar-toolbar/entry-toolbar-dark.png"
143      border = {6, 6, 6, 6}
144      stretch = TRUE
145    }
146
147    image {
148      function = SHADOW
149      state = ACTIVE
150      detail = "entry"
151      file = "menubar-toolbar/entry-active-toolbar-dark.png"
152      border = {6, 6, 6, 6}
153      stretch = TRUE
154    }
155
156    image {
157      function = SHADOW
158      state = INSENSITIVE
159      detail = "entry"
160      file = "menubar-toolbar/entry-disabled-toolbar-dark.png"
161      border = {6, 6, 6, 6}
162      stretch = TRUE
163    }
164
165    image {
166      function = FLAT_BOX
167      state    = ACTIVE
168      detail   = "entry_bg"
169      file     = "assets/null.png"
170    }
171
172    image {
173      function = FLAT_BOX
174      state    = INSENSITIVE
175      detail   = "entry_bg"
176      file     = "assets/null.png"
177    }
178
179    image {
180      function = FLAT_BOX
181      detail   = "entry_bg"
182      file     = "assets/null.png"
183    }
184  }
185}
186
187#Chromium
188style "chrome-gtk-frame" {
189
190  ChromeGtkFrame::frame-color = "#2f343f"
191  ChromeGtkFrame::inactive-frame-color = "#2f343f"
192
193  ChromeGtkFrame::frame-gradient-size = 0
194  ChromeGtkFrame::frame-gradient-color = shade(0.5, @bg_color)
195
196  ChromeGtkFrame::incognito-frame-color = shade(0.85, @bg_color)
197  ChromeGtkFrame::incognito-inactive-frame-color = @bg_color
198
199  ChromeGtkFrame::incognito-frame-gradient-color = @bg_color
200
201  ChromeGtkFrame::scrollbar-trough-color = shade(0.912, @bg_color)
202  ChromeGtkFrame::scrollbar-slider-prelight-color = shade(1.04, @bg_color)
203  ChromeGtkFrame::scrollbar-slider-normal-color = @bg_color
204
205}
206
207widget_class "*<GtkMenuBar>*"                                       style "menubar"
208widget_class "*<GtkMenuBar>.<GtkMenuItem>*"                         style "menubar_item"
209
210widget_class "*ThunarWindow*<GtkToolbar>"                           style "menubar"
211
212class "ChromeGtkFrame"                                              style "chrome-gtk-frame"
213
214widget_class "*<GtkMenuBar>*<GtkMenuItem>*<GtkAccelLabel>"          style "menubar-text"
215
216# Whitelist for dark toolbars
217widget_class "*ThunarWindow*<GtkMenuBar>"                                   style "menubar-borderless"
218widget_class "*ThunarWindow*<GtkToolbar>*<GtkEntry>"                        style "toolbar_entry"
219widget_class "*ThunarWindow*<GtkToolbar>*<GtkButton>"                       style "toolbar_button"
220widget_class "*ThunarWindow*<GtkToolbar>*<GtkWidget>"                       style "toolbar_text"
221widget_class "*ThunarWindow*<GtkToolbar>*<GtkButton>*<GtkLabel>"            style "menubar-text"
222