| 1 | # ===[ buttons ]=== |
|---|
| 2 | # the prelight of toggle buttons is darkened slightly |
|---|
| 3 | # |
|---|
| 4 | |
|---|
| 5 | # ===[ scroll bars ]=== |
|---|
| 6 | # bg[ACTIVE] is trough color |
|---|
| 7 | # bg[NORMAL] & bg[NORMAL] are scrollbar colors |
|---|
| 8 | |
|---|
| 9 | # ===[ check and radio buttons ]=== |
|---|
| 10 | # bg[SELECTED] is the selected background colour |
|---|
| 11 | # text[SELECTED] is the selected check/circle color |
|---|
| 12 | # text[INSENSITIVE] is the disabled check/circle colour |
|---|
| 13 | # base[*] is used for all other background states |
|---|
| 14 | # --on prelight the bg is lightened slightly |
|---|
| 15 | # --bg is lightened slightly when check/radio not drawn (for all states) |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | #default color scheme |
|---|
| 20 | gtk_color_scheme = "fg_color:#000000\nbg_color:#C7C7C7\nbase_color:#ffffff\ntext_color:#000000\nselected_bg_color:#247EB3\nselected_fg_color:#ffffff\ntooltip_bg_color:#634110\ntooltip_fg_color:#FFFFFF" |
|---|
| 21 | gtk-menu-popup-delay = 40 |
|---|
| 22 | |
|---|
| 23 | style "theme-default" |
|---|
| 24 | { |
|---|
| 25 | |
|---|
| 26 | GtkButton::default_border = { 0, 0, 0, 0 } |
|---|
| 27 | GtkButton::child-displacement-x = 0 |
|---|
| 28 | GtkButton::child-displacement-y = 1 |
|---|
| 29 | #GtkWidget::focus-padding = 0 |
|---|
| 30 | |
|---|
| 31 | GtkRange::trough-border = 0 |
|---|
| 32 | GtkRange::slider-width = 19 |
|---|
| 33 | GtkRange::stepper-size = 19 |
|---|
| 34 | |
|---|
| 35 | GtkScrollbar::min_slider_length = 36 |
|---|
| 36 | GtkScrollbar::has-secondary-backward-stepper = 1 |
|---|
| 37 | |
|---|
| 38 | GtkPaned::handle_size = 8 |
|---|
| 39 | |
|---|
| 40 | GtkMenuBar::internal-padding = 0 |
|---|
| 41 | GtkTreeView::expander_size = 13 #15 |
|---|
| 42 | GtkExpander::expander_size = 13 #17 |
|---|
| 43 | |
|---|
| 44 | GtkScale::slider-length = 25 |
|---|
| 45 | GtkScale::slider-width = 17 |
|---|
| 46 | GtkScale::trough-border = 0 |
|---|
| 47 | |
|---|
| 48 | GtkWidget::link-color = "#0062dc" # blue |
|---|
| 49 | GtkWidget::visited-link-color = "#8c00dc" #purple |
|---|
| 50 | |
|---|
| 51 | WnckTasklist::fade-overlay-rect = 0 |
|---|
| 52 | WnckTasklist::fade-loop-time = 5.0 # 5 seconds |
|---|
| 53 | WnckTasklist::fade-opacity = 0.5 # final opacity |
|---|
| 54 | |
|---|
| 55 | #makes menu only overlap border |
|---|
| 56 | GtkMenu::horizontal-offset = -1 |
|---|
| 57 | |
|---|
| 58 | #removes extra padding at top and bottom of menus. Makes menuitem overlap border |
|---|
| 59 | GtkMenu::vertical-padding = 0 |
|---|
| 60 | |
|---|
| 61 | #set to the same as roundness, used for better hotspot selection of tabs |
|---|
| 62 | GtkNotebook::tab-curvature = 2 |
|---|
| 63 | GtkNotebook::tab-overlap = 4 |
|---|
| 64 | |
|---|
| 65 | GtkMenuItem::arrow-spacing = 10 |
|---|
| 66 | #Spacing between edge with indicator and text |
|---|
| 67 | GtkOptionMenu ::indicator-size = {11, 5} |
|---|
| 68 | #GtkOptionMenu ::indicator-spacing = {6, 5, 4, 4} |
|---|
| 69 | |
|---|
| 70 | GtkCheckButton ::indicator-size = 15 |
|---|
| 71 | GtkCheckButton ::indicator-spacing = 1 |
|---|
| 72 | GtkRadioButton ::indicator-size = 15 |
|---|
| 73 | |
|---|
| 74 | GtkTreeView::horizontal_separator = 2 |
|---|
| 75 | GtkTreeView::odd_row_color = mix(0.98, shade (0.93, @base_color), @selected_bg_color) |
|---|
| 76 | |
|---|
| 77 | GtkScrolledWindow::scrollbar-spacing = 0 |
|---|
| 78 | GtkScrolledWindow::scrollbars-within-bevel = 1 |
|---|
| 79 | |
|---|
| 80 | xthickness = 1 |
|---|
| 81 | ythickness = 1 |
|---|
| 82 | |
|---|
| 83 | fg[NORMAL] = @fg_color |
|---|
| 84 | fg[ACTIVE] = @fg_color |
|---|
| 85 | fg[PRELIGHT] = @fg_color |
|---|
| 86 | fg[SELECTED] = @selected_fg_color |
|---|
| 87 | fg[INSENSITIVE] = shade (3.0,@fg_color) |
|---|
| 88 | |
|---|
| 89 | bg[NORMAL] = @bg_color |
|---|
| 90 | bg[ACTIVE] = shade (0.95,@bg_color) |
|---|
| 91 | bg[PRELIGHT] = mix(0.92, shade (1.1,@bg_color), @selected_bg_color) |
|---|
| 92 | bg[SELECTED] = @selected_bg_color |
|---|
| 93 | bg[INSENSITIVE] = shade (1.06,@bg_color) |
|---|
| 94 | |
|---|
| 95 | base[NORMAL] = @base_color |
|---|
| 96 | base[ACTIVE] = shade (0.65,@base_color) |
|---|
| 97 | base[PRELIGHT] = @base_color |
|---|
| 98 | base[SELECTED] = @selected_bg_color |
|---|
| 99 | base[INSENSITIVE] = shade (1.025,@bg_color) |
|---|
| 100 | |
|---|
| 101 | text[NORMAL] = @text_color |
|---|
| 102 | text[ACTIVE] = shade (0.95,@base_color) |
|---|
| 103 | text[PRELIGHT] = @text_color |
|---|
| 104 | text[SELECTED] = @selected_fg_color |
|---|
| 105 | text[INSENSITIVE] = mix (0.675,shade (0.95,@bg_color),@fg_color) |
|---|
| 106 | |
|---|
| 107 | engine "aurora" |
|---|
| 108 | { |
|---|
| 109 | menubarstyle = 1 # 0 = flat, 1 = gradient, 2 = sunken |
|---|
| 110 | curvature = 2.0 |
|---|
| 111 | arrowsize = 1.0# controls combo_arrow circle size. Diameter set by (11 + 2 * arrowsize) |
|---|
| 112 | old_arrowstyle = FALSE #set to TRUE for original circled arrows |
|---|
| 113 | animation = TRUE # FALSE = disabled, TRUE = enabled |
|---|
| 114 | } |
|---|
| 115 | } |
|---|
| 116 | |
|---|
| 117 | |
|---|
| 118 | style "theme-wide" = "theme-default" |
|---|
| 119 | { |
|---|
| 120 | xthickness = 2 |
|---|
| 121 | ythickness = 2 |
|---|
| 122 | } |
|---|
| 123 | |
|---|
| 124 | style "theme-wider" = "theme-default" |
|---|
| 125 | { |
|---|
| 126 | xthickness = 3 |
|---|
| 127 | ythickness = 3 |
|---|
| 128 | } |
|---|
| 129 | |
|---|
| 130 | style "theme-button" = "theme-wider" |
|---|
| 131 | { |
|---|
| 132 | bg[NORMAL] = shade (1.16,@bg_color) |
|---|
| 133 | bg[ACTIVE] = shade (0.84,@bg_color) |
|---|
| 134 | bg[PRELIGHT] = mix(0.93, shade (1.11,@bg_color), shade (1.04,@selected_bg_color)) |
|---|
| 135 | bg[SELECTED] = shade (1.10,@selected_bg_color) |
|---|
| 136 | engine "aurora" |
|---|
| 137 | { |
|---|
| 138 | curvature = 2.5 |
|---|
| 139 | } |
|---|
| 140 | } |
|---|
| 141 | |
|---|
| 142 | style "theme-entry" = "theme-button" { ythickness = 4 } |
|---|
| 143 | |
|---|
| 144 | style "theme-frame" = "theme-wide" { } |
|---|
| 145 | |
|---|
| 146 | style "theme-toolbar" |
|---|
| 147 | { |
|---|
| 148 | xthickness = 2 |
|---|
| 149 | ythickness = 2 |
|---|
| 150 | bg[NORMAL] = shade (1.078,@bg_color) #mix(0.98, shade (1.0475,@bg_color), shade (1.1,@selected_bg_color)) #slightly tinted |
|---|
| 151 | } |
|---|
| 152 | |
|---|
| 153 | |
|---|
| 154 | style "theme-handlebox" |
|---|
| 155 | { |
|---|
| 156 | bg[NORMAL] = shade (0.95,@bg_color) |
|---|
| 157 | } |
|---|
| 158 | |
|---|
| 159 | style "theme-scale" |
|---|
| 160 | { |
|---|
| 161 | bg[NORMAL] = shade (1.06, @bg_color) |
|---|
| 162 | bg[PRELIGHT] = mix(0.85, shade (1.1,@bg_color), @selected_bg_color) |
|---|
| 163 | bg[SELECTED] = shade (1.10,@selected_bg_color) |
|---|
| 164 | } |
|---|
| 165 | |
|---|
| 166 | style "theme-range" |
|---|
| 167 | { |
|---|
| 168 | bg[NORMAL] = shade (1.12,@bg_color)#shade (1.085,@bg_color) |
|---|
| 169 | bg[ACTIVE] = @bg_color |
|---|
| 170 | bg[PRELIGHT] = mix(0.95, shade (1.10,@bg_color), @selected_bg_color) |
|---|
| 171 | |
|---|
| 172 | #Arrows |
|---|
| 173 | text[NORMAL] = shade (0.275,@fg_color) #shade (0.925,@fg_color) |
|---|
| 174 | text[PRELIGHT] = @selected_fg_color |
|---|
| 175 | text[ACTIVE] = shade (0.10,@fg_color) |
|---|
| 176 | text[INSENSITIVE] = mix (0.80,shade (0.90,@bg_color),@fg_color) |
|---|
| 177 | } |
|---|
| 178 | |
|---|
| 179 | style "theme-notebook" = "theme-wider" |
|---|
| 180 | { |
|---|
| 181 | bg[NORMAL] = shade (1.08,@bg_color) |
|---|
| 182 | fg[ACTIVE] = shade (0.32, @bg_color) |
|---|
| 183 | fg[ACTIVE] = shade (0.32, @bg_color) |
|---|
| 184 | bg[ACTIVE] = shade (0.87,@bg_color) |
|---|
| 185 | } |
|---|
| 186 | |
|---|
| 187 | style "theme-paned" { |
|---|
| 188 | bg[PRELIGHT] = shade (1.1,@bg_color) |
|---|
| 189 | } |
|---|
| 190 | |
|---|
| 191 | |
|---|
| 192 | style "theme-panel"{ |
|---|
| 193 | # fg[NORMAL] = shade (1.1, @bg_color) |
|---|
| 194 | # bg[NORMAL] = shade (0.2, @bg_color) |
|---|
| 195 | # bg[PRELIGHT] = @selected_bg_color |
|---|
| 196 | # Menu |
|---|
| 197 | fg[PRELIGHT] = @selected_fg_color |
|---|
| 198 | #bg[SELECTED] = @selected_bg_color |
|---|
| 199 | font_name = "Bold 9" |
|---|
| 200 | text[PRELIGHT] = @selected_fg_color |
|---|
| 201 | #text[SELECTED] = @selected_bg_color |
|---|
| 202 | #text[NORMAL] = shade (1.1, @bg_color) |
|---|
| 203 | } |
|---|
| 204 | |
|---|
| 205 | |
|---|
| 206 | style "theme-menu" |
|---|
| 207 | { |
|---|
| 208 | xthickness = 0 |
|---|
| 209 | ythickness = 0 |
|---|
| 210 | bg[NORMAL] = shade (1.16,@bg_color) |
|---|
| 211 | text[PRELIGHT] = @selected_fg_color |
|---|
| 212 | fg[PRELIGHT] = @selected_fg_color |
|---|
| 213 | |
|---|
| 214 | } |
|---|
| 215 | |
|---|
| 216 | style "theme-menu-item" = "theme-menu" |
|---|
| 217 | { |
|---|
| 218 | xthickness = 3 |
|---|
| 219 | ythickness = 3 |
|---|
| 220 | #font_name = "Bold 9" |
|---|
| 221 | #text[PRELIGHT] = @selected_fg_color |
|---|
| 222 | #fg[PRELIGHT] = @selected_fg_color |
|---|
| 223 | |
|---|
| 224 | } |
|---|
| 225 | |
|---|
| 226 | style "theme-menubar" |
|---|
| 227 | { |
|---|
| 228 | # xthickness = 0 |
|---|
| 229 | # ythickness = 0 |
|---|
| 230 | #bg[NORMAL] = shade (0.95,@bg_color) |
|---|
| 231 | } |
|---|
| 232 | style "theme-menubar-item" = "theme-menu-item" { |
|---|
| 233 | # xthickness = 4 |
|---|
| 234 | # ythickness = 4 |
|---|
| 235 | #font_name = "Bold 9" |
|---|
| 236 | #fg[NORMAL] = @selected_fg_color |
|---|
| 237 | #text[PRELIGHT] = @selected_fg_color |
|---|
| 238 | #fg[PRELIGHT] = @selected_fg_color |
|---|
| 239 | #text[INSENSITIVE] = shade (0.60,@selected_fg_color) |
|---|
| 240 | #fg[INSENSITIVE] = shade (0.60,@selected_fg_color) |
|---|
| 241 | } |
|---|
| 242 | |
|---|
| 243 | style "theme-tree" |
|---|
| 244 | { |
|---|
| 245 | xthickness = 2 |
|---|
| 246 | ythickness = 1 |
|---|
| 247 | |
|---|
| 248 | font_name = "Bold 9" |
|---|
| 249 | GtkWidget::focus-padding = 0 |
|---|
| 250 | |
|---|
| 251 | bg[NORMAL] = shade (1.05,@bg_color) |
|---|
| 252 | bg[PRELIGHT] = shade (1.15,@bg_color) |
|---|
| 253 | bg[ACTIVE] = mix(0.87, shade (1.05,@bg_color), @selected_bg_color) |
|---|
| 254 | } |
|---|
| 255 | |
|---|
| 256 | style "theme-tree-arrow" |
|---|
| 257 | { |
|---|
| 258 | bg[NORMAL] = mix(0.70, shade (0.60,@bg_color), shade (0.80,@selected_bg_color)) |
|---|
| 259 | bg[PRELIGHT] = mix(0.80, @bg_color, @selected_bg_color) |
|---|
| 260 | |
|---|
| 261 | } |
|---|
| 262 | |
|---|
| 263 | style "theme-progressbar" |
|---|
| 264 | { |
|---|
| 265 | font_name = "Bold" |
|---|
| 266 | bg[NORMAL] = shade (1.20,@bg_color) |
|---|
| 267 | bg[SELECTED] = @selected_bg_color |
|---|
| 268 | fg[PRELIGHT] = @selected_fg_color |
|---|
| 269 | } |
|---|
| 270 | |
|---|
| 271 | style "theme-tooltips" = "theme-wider" |
|---|
| 272 | { |
|---|
| 273 | bg[NORMAL] = @tooltip_bg_color |
|---|
| 274 | fg[NORMAL] = @tooltip_fg_color |
|---|
| 275 | text[NORMAL] = @tooltip_fg_color |
|---|
| 276 | } |
|---|
| 277 | |
|---|
| 278 | style "theme-combo" = "theme-button" { |
|---|
| 279 | xthickness = 4 |
|---|
| 280 | ythickness = 4 |
|---|
| 281 | } |
|---|
| 282 | |
|---|
| 283 | style "theme-combo-box" = "theme-button" { |
|---|
| 284 | xthickness = 3 |
|---|
| 285 | ythickness = 2 |
|---|
| 286 | } |
|---|
| 287 | |
|---|
| 288 | style "theme-entry-combo-box" = "theme-button" { |
|---|
| 289 | xthickness = 6 |
|---|
| 290 | ythickness = 3 |
|---|
| 291 | } |
|---|
| 292 | |
|---|
| 293 | style "theme-combo-arrow" = "theme-button" |
|---|
| 294 | { |
|---|
| 295 | xthickness = 1 |
|---|
| 296 | ythickness = 1 |
|---|
| 297 | } |
|---|
| 298 | |
|---|
| 299 | style "theme-view" |
|---|
| 300 | { |
|---|
| 301 | xthickness = 0 |
|---|
| 302 | ythickness = 0 |
|---|
| 303 | } |
|---|
| 304 | |
|---|
| 305 | style "theme-check-radio-buttons" = "theme-button" |
|---|
| 306 | { |
|---|
| 307 | GtkWidget::interior-focus = 0 |
|---|
| 308 | GtkWidget::focus-padding = 1 |
|---|
| 309 | text[SELECTED] = @selected_fg_color |
|---|
| 310 | text[INSENSITIVE] = shade (0.625,@bg_color) |
|---|
| 311 | base[PRELIGHT] = mix(0.80, @base_color, @selected_bg_color) |
|---|
| 312 | bg[INSENSITIVE] = shade (1.10,@bg_color) |
|---|
| 313 | bg[SELECTED] = @selected_bg_color |
|---|
| 314 | } |
|---|
| 315 | |
|---|
| 316 | style "theme-calendar" |
|---|
| 317 | { |
|---|
| 318 | xthickness = 0 |
|---|
| 319 | ythickness = 0 |
|---|
| 320 | bg[NORMAL] = shade (0.92,@bg_color) |
|---|
| 321 | bg[PRELIGHT] = shade (0.92,@bg_color) |
|---|
| 322 | bg[ACTIVE] = shade (0.85,@bg_color) |
|---|
| 323 | text[PRELIGHT] = @selected_fg_color |
|---|
| 324 | } |
|---|
| 325 | |
|---|
| 326 | # widget styles |
|---|
| 327 | class "GtkWidget" style "theme-default" |
|---|
| 328 | class "GtkScale" style "theme-scale" |
|---|
| 329 | class "GtkRange" style "theme-range" |
|---|
| 330 | class "GtkPaned" style "theme-paned" |
|---|
| 331 | class "GtkFrame" style "theme-frame" |
|---|
| 332 | class "GtkMenu" style "theme-menu" |
|---|
| 333 | class "GtkMenuBar" style "theme-menubar" |
|---|
| 334 | class "GtkEntry" style "theme-entry" |
|---|
| 335 | class "GtkProgressBar" style "theme-progressbar" |
|---|
| 336 | class "GtkToolbar" style "theme-toolbar" |
|---|
| 337 | class "GtkSeparator" style "theme-wide" |
|---|
| 338 | class "GtkCalendar" style "theme-calendar" |
|---|
| 339 | |
|---|
| 340 | widget_class "*<GtkMenuItem>*" style "theme-menu-item" |
|---|
| 341 | widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "theme-menubar-item" |
|---|
| 342 | widget_class "*<GtkSeparatorMenuItem>*" style "theme-separator-menu-item" |
|---|
| 343 | |
|---|
| 344 | widget_class "*<GtkButton>" style "theme-button" |
|---|
| 345 | widget_class "*<GtkCheckButton>" style "theme-check-radio-buttons" |
|---|
| 346 | widget_class "*<GtkHandleBox>" style "theme-handlebox" |
|---|
| 347 | |
|---|
| 348 | widget_class "*<GtkNotebook>" style "theme-notebook" |
|---|
| 349 | widget_class "*<GtkNotebook>*<GtkEventBox>" style "theme-notebook" |
|---|
| 350 | widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "theme-notebook" |
|---|
| 351 | widget_class "*<GtkNotebook>*<GtkLayout>" style "theme-notebook" |
|---|
| 352 | widget_class "*<GtkNotebook>*<GtkViewport>" style "theme-notebook" |
|---|
| 353 | widget_class "*<GtkNotebook>.<GtkLabel>*" style "theme-notebook" #for tabs |
|---|
| 354 | |
|---|
| 355 | # combobox stuff |
|---|
| 356 | widget_class "*<GtkCombo>*" style "theme-combo" |
|---|
| 357 | widget_class "*<GtkComboBox>*<GtkButton>" style "theme-combo-box" |
|---|
| 358 | #widget_class "*<GtkComboBoxEntry>*" style "theme-entry-combo-box" |
|---|
| 359 | #widget_class "*<GtkSpinButton>*" style "theme-combo" |
|---|
| 360 | |
|---|
| 361 | # tooltips stuff |
|---|
| 362 | widget "gtk-tooltip*" style "theme-tooltips" |
|---|
| 363 | |
|---|
| 364 | # treeview stuff |
|---|
| 365 | widget_class "*<GtkTreeView>.<GtkButton>*" style "theme-tree" |
|---|
| 366 | widget_class "*<GtkCTree>.<GtkButton>*" style "theme-tree" |
|---|
| 367 | widget_class "*<GtkList>.<GtkButton>*" style "theme-tree" |
|---|
| 368 | widget_class "*<GtkCList>.<GtkButton>*" style "theme-tree" |
|---|
| 369 | |
|---|
| 370 | #For arrow bg |
|---|
| 371 | widget_class "*<GtkTreeView>.<GtkButton>*<GtkArrow>" style "theme-tree-arrow" |
|---|
| 372 | widget_class "*<GtkCTree>.<GtkButton>*<GtkArrow>" style "theme-tree-arrow" |
|---|
| 373 | widget_class "*<GtkList>.<GtkButton>*<GtkArrow>" style "theme-tree-arrow" |
|---|
| 374 | |
|---|
| 375 | |
|---|
| 376 | ####################################################### |
|---|
| 377 | ## GNOME specific |
|---|
| 378 | ####################################################### |
|---|
| 379 | |
|---|
| 380 | #Panel |
|---|
| 381 | #widget "*PanelWidget*" style "theme-toolbar" |
|---|
| 382 | #widget "*PanelApplet*" style "theme-panel" |
|---|
| 383 | #widget "*fast-user-switch*" style "theme-panel" # Workaround for Fast User Switch applet |
|---|
| 384 | #class "PanelApp*" style "theme-toolbar" |
|---|
| 385 | #class "PanelToplevel*" style "theme-toolbar" |
|---|
| 386 | |
|---|
| 387 | widget_class "*.ETree.ECanvas" style "theme-tree" #evolution |
|---|
| 388 | widget_class "*.ETable.ECanvas" style "theme-tree" #evolution |
|---|
| 389 | |
|---|
| 390 | style "panelbuttons" = "theme-button" |
|---|
| 391 | { |
|---|
| 392 | # as buttons are draw lower this helps center text |
|---|
| 393 | xthickness = 3 |
|---|
| 394 | ythickness = 3 |
|---|
| 395 | } |
|---|
| 396 | |
|---|
| 397 | widget_class "*Panel*<GtkButton>*" style "panelbuttons" |
|---|
| 398 | |
|---|
| 399 | #nautilus search stripe and other specialties |
|---|
| 400 | style "extra-view" = "theme-default"{ |
|---|
| 401 | bg[NORMAL] = shade(0.4,@bg_color) |
|---|
| 402 | fg[NORMAL] = @selected_fg_color |
|---|
| 403 | } |
|---|
| 404 | #nautilus search stripe |
|---|
| 405 | widget "*.nautilus-extra-view-widget.*Button*.GtkLabel*" style:highest "theme-button" |
|---|
| 406 | widget "*.nautilus-extra-view-widget" style:highest "extra-view" |
|---|
| 407 | widget "*.nautilus-extra-view-widget.*.GtkLabel*" style:highest "extra-view" |
|---|
| 408 | |
|---|
| 409 | # Blurry icons |
|---|
| 410 | gtk-icon-sizes = "panel-menu=24,24" |
|---|
| 411 | |
|---|