| 1 |
style "menubar" { |
| 2 |
|
| 3 |
bg[NORMAL] = "#e7e8eb" |
| 4 |
fg[NORMAL] = "#70788d" |
| 5 |
fg[PRELIGHT] = "#70788d" |
| 6 |
fg[ACTIVE] = "#70788d" |
| 7 |
fg[SELECTED] = @selected_fg_color |
| 8 |
fg[INSENSITIVE] = shade(1.3, "#70788d") |
| 9 |
|
| 10 |
xthickness = 0 |
| 11 |
ythickness = 0 |
| 12 |
|
| 13 |
engine "pixmap" { |
| 14 |
|
| 15 |
image { |
| 16 |
function = BOX |
| 17 |
file = "menubar-toolbar/menubar.png" |
| 18 |
stretch = TRUE |
| 19 |
border = { 1, 1, 1, 1 } |
| 20 |
} |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
style "menubar-borderless" { |
| 25 |
|
| 26 |
bg[NORMAL] = "#e7e8eb" |
| 27 |
fg[NORMAL] = "#70788d" |
| 28 |
fg[SELECTED] = @fg_color |
| 29 |
fg[INSENSITIVE] = shade(1.3, "#70788d") |
| 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 |
|
| 45 |
style "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.png" |
| 58 |
border = { 2, 2, 2, 2 } |
| 59 |
stretch = TRUE |
| 60 |
} |
| 61 |
} |
| 62 |
} |
| 63 |
|
| 64 |
# Text Style Menubar |
| 65 |
style "menubar-text" { |
| 66 |
|
| 67 |
engine "murrine" { |
| 68 |
text_shade = 0.0 |
| 69 |
textstyle = 0 |
| 70 |
} |
| 71 |
} |
| 72 |
|
| 73 |
style "toolbar_entry" { |
| 74 |
|
| 75 |
text[NORMAL] = "#70788d" |
| 76 |
|
| 77 |
engine "pixmap" { |
| 78 |
|
| 79 |
image { |
| 80 |
function = SHADOW |
| 81 |
state = NORMAL |
| 82 |
detail = "entry" |
| 83 |
file = "menubar-toolbar/entry-toolbar.png" |
| 84 |
border = {6, 6, 6, 6} |
| 85 |
stretch = TRUE |
| 86 |
} |
| 87 |
|
| 88 |
image { |
| 89 |
function = SHADOW |
| 90 |
state = ACTIVE |
| 91 |
detail = "entry" |
| 92 |
file = "menubar-toolbar/entry-active-toolbar.png" |
| 93 |
border = {6, 6, 6, 6} |
| 94 |
stretch = TRUE |
| 95 |
} |
| 96 |
|
| 97 |
image { |
| 98 |
function = SHADOW |
| 99 |
state = INSENSITIVE |
| 100 |
detail = "entry" |
| 101 |
file = "menubar-toolbar/entry-disabled-toolbar.png" |
| 102 |
border = {6, 6, 6, 6} |
| 103 |
stretch = TRUE |
| 104 |
} |
| 105 |
|
| 106 |
image { |
| 107 |
function = FLAT_BOX |
| 108 |
state = ACTIVE |
| 109 |
detail = "entry_bg" |
| 110 |
file = "assets/null.png" |
| 111 |
} |
| 112 |
|
| 113 |
image { |
| 114 |
function = FLAT_BOX |
| 115 |
state = INSENSITIVE |
| 116 |
detail = "entry_bg" |
| 117 |
file = "assets/null.png" |
| 118 |
} |
| 119 |
|
| 120 |
image { |
| 121 |
function = FLAT_BOX |
| 122 |
detail = "entry_bg" |
| 123 |
file = "assets/null.png" |
| 124 |
} |
| 125 |
} |
| 126 |
} |
| 127 |
|
| 128 |
#Chromium |
| 129 |
style "chrome-gtk-frame" { |
| 130 |
|
| 131 |
ChromeGtkFrame::frame-color = "#e7e8eb" |
| 132 |
ChromeGtkFrame::inactive-frame-color = "#e7e8eb" |
| 133 |
|
| 134 |
ChromeGtkFrame::frame-gradient-size = 0 |
| 135 |
ChromeGtkFrame::frame-gradient-color = shade(0.5, @bg_color) |
| 136 |
|
| 137 |
ChromeGtkFrame::incognito-frame-color = shade(0.85, @bg_color) |
| 138 |
ChromeGtkFrame::incognito-inactive-frame-color = @bg_color |
| 139 |
|
| 140 |
ChromeGtkFrame::incognito-frame-gradient-color = @bg_color |
| 141 |
|
| 142 |
ChromeGtkFrame::scrollbar-trough-color = shade(0.912, @bg_color) |
| 143 |
ChromeGtkFrame::scrollbar-slider-prelight-color = shade(1.04, @bg_color) |
| 144 |
ChromeGtkFrame::scrollbar-slider-normal-color = @bg_color |
| 145 |
|
| 146 |
} |
| 147 |
|
| 148 |
widget_class "*<GtkMenuBar>*" style "menubar" |
| 149 |
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item" |
| 150 |
|
| 151 |
widget_class "*ThunarWindow*<GtkToolbar>" style "menubar" |
| 152 |
widget_class "*CajaNavigationWindow*<GtkToolbar>" style "menubar" |
| 153 |
|
| 154 |
class "ChromeGtkFrame" style "chrome-gtk-frame" |
| 155 |
|
| 156 |
widget_class "*<GtkMenuBar>*<GtkMenuItem>*<GtkAccelLabel>" style "menubar-text" |
| 157 |
|
| 158 |
# Whitelist for dark toolbars |
| 159 |
widget_class "*ThunarWindow*<GtkMenuBar>" style "menubar-borderless" |
| 160 |
widget_class "*CajaNavigationWindow*<GtkMenuBar>" style "menubar-borderless" |
| 161 |
widget_class "*ThunarWindow*<GtkToolbar>*<GtkEntry>" style "toolbar_entry" |
| 162 |
widget_class "*CajaNavigationWindow*<GtkToolbar>*<GtkEntry>" style "toolbar_entry" |