gtk-2.0/gtkrc (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 |
#======================================# # steppenwolf theme: gtk2 part # # by nilix <nilix@nilfm.cc> April 2019 # #======================================# # based on... #======================================# # OneStepBack theme: gtk2 part # # jpsb: July 2015 - May 2018 # #======================================# #======================================# # Color definitions #======================================# gtk-color-scheme = "white_color:#000000 lighter_color:#555555 base_color:#222222 darker_color:#101010 black_color:#c8c8c8 scale_color: #1f9b92 truewhite:#ffffff trueblack:#000000 grey50:#797979 " #======================================# # Derived colors #======================================# gtk-color-scheme = "button_selected_bg_color:#797979 text_selected_bg_color:#1f9b92 text_selected_fg_color:#000000 menuitem_selected_bg_color:#797979 menuitem_selected_fg_color:#000000 listitem_selected_bg_color:#797979 listitem_selected_fg_color:#000000 " #======================================# # Styles #======================================# style "default" { base[NORMAL] = @white_color text[NORMAL] = @black_color bg[NORMAL] = @base_color fg[NORMAL] = @black_color base[PRELIGHT] = @base_color text[PRELIGHT] = @black_color bg[PRELIGHT] = @base_color fg[PRELIGHT] = @black_color base[SELECTED] = @scale_color text[SELECTED] = @listitem_selected_fg_color bg[SELECTED] = @scale_color fg[SELECTED] = @lighter_color base[ACTIVE] = @scale_color text[ACTIVE] = @listitem_selected_fg_color bg[ACTIVE] = @button_selected_bg_color fg[ACTIVE] = @black_color base[INSENSITIVE] = @darker_color text[INSENSITIVE] = @black_color bg[INSENSITIVE] = @base_color fg[INSENSITIVE] = @darker_color GtkWidget::focus-line-width = 1 GtkWidget::focus-line-pattern = "\0\4" GtkWidget::link-color = @black_color GtkWidget::visited-link-color = @darker_color GtkScrollbar::min-slider-length = 30 GtkScrollbar::has_backward_stepper = 0 GtkScrollbar::has_forward_stepper = 0 GtkScrollbar::has_secondary_forward_stepper = 0 GtkScrollbar::has_secondary_backward_stepper = 0 GtkScrolledWindow::scrollbar-spacing = 0 GtkScrolledWindow::scrollbars-within-bevel = 1 GtkScrollbar::trough-border = 0 GtkScrollbar::fixed-slider-length = 30 GtkScale::trough-side-details = 0 GtkRange::slider-width = 6 GtkScale::slider-length = 6 GtkScale::slider-width = 6 GtkScrollbar::activate-slider = 1 GtkScrolledWindow::scrollbar-spacing = 0 GtkScrolledWindow::scrollbars-within-bevel = 1 GtkMenuBar::shadow-type = 0 GtkToolbar::shadow-type = 0 GtkButton::default-border = {0,0,0,0} GtkProgressBar::min-horizontal-bar-height = 6 GtkProgressBar::min-vertical-bar-width = 6 } style "button" { xthickness = 4 ythickness = 4 engine "pixmap" { image { function = BOX state = NORMAL file = "../img/button.png" border = { 4, 4, 4, 4 } stretch = TRUE } image { function = BOX state = PRELIGHT file = "../img/button-hover.png" border = { 4, 4, 4, 4 } stretch = TRUE } image { function = BOX state = ACTIVE file = "../img/button-active.png" border = { 4, 4, 4, 4 } stretch = TRUE } image { function = BOX state = INSENSITIVE file = "../img/button-insensitive.png" border = { 4, 4, 4, 4 } stretch = TRUE } } } style "scalebar-scrollbar" { bg[NORMAL] = @base_color fg[NORMAL] = @black_color bg[INSENSITIVE] = @white_color bg[PRELIGHT] = @lighter_color bg[ACTIVE] = @darker_color engine "pixmap" { image { function = SLIDER state = NORMAL file = "../img/scrollbar_horizontal.png" border = { 2, 2, 2, 2 } stretch = TRUE orientation = HORIZONTAL } image { function = SLIDER state = INSENSITIVE file = "../img/scrollbar_horizontal.png" border = { 2, 2, 2, 2 } stretch = TRUE orientation = HORIZONTAL } image { function = SLIDER state = PRELIGHT file = "../img/scrollbar_horizontal.png" border = { 2, 2, 2, 2 } stretch = TRUE orientation = HORIZONTAL } image { function = SLIDER state = ACTIVE file = "../img/scrollbar_horizontal.png" border = { 2, 2, 2, 2 } stretch = TRUE orientation = HORIZONTAL } image { function = SLIDER state = NORMAL file = "../img/scrollbar_vertical.png" border = { 2, 2, 2, 2 } stretch = TRUE orientation = VERTICAL } image { function = SLIDER state = INSENSITIVE file = "../img/scrollbar_vertical.png" border = { 2, 2, 2, 2 } stretch = TRUE orientation = VERTICAL } image { function = SLIDER state = PRELIGHT file = "../img/scrollbar_vertical.png" border = { 2, 2, 2, 2 } stretch = TRUE orientation = VERTICAL } image { function = SLIDER state = ACTIVE file = "../img/scrollbar_vertical.png" border = { 2, 2, 2, 2 } stretch = TRUE orientation = VERTICAL } } } style "tooltip" { bg[NORMAL] = @trueblack fg[NORMAL] = @grey50 bg[PRELIGHT] = @trueblack fg[PRELIGHT] = @grey50 } style "progressbar" { bg[NORMAL] = @darker_color fg[NORMAL] = @black_color # XXX bg[PRELIGHT] = @scale_color # XXX fg[PRELIGHT] = @lighter_color engine "pixmap" { image{ function = BOX detail = "bar" file = "../img/scrollbar_horizontal.png" stretch = TRUE orientation = HORIZONTAL } image{ function = BOX detail = "bar" file = "../img/scrollbar_horizontal.png" stretch = TRUE orientation = VERTICAL } } } style "menu" { bg[NORMAL] = @trueblack GtkMenu::horizontal-padding = 0 GtkMenu::vertical-padding = 0 GtkMenu::horizontal-offset = 0 GtkMenuItem::border = 0 GtkSeparatorMenuItem::horizontal-padding = 0 } style "menuitem" { text[NORMAL] = @grey50 base[NORMAL] = @trueblack bg[NORMAL] = @trueblack fg[NORMAL] = @grey50 text[PRELIGHT] = @menuitem_selected_fg_color bg[PRELIGHT] = @menuitem_selected_bg_color fg[PRELIGHT] = @menuitem_selected_fg_color fg[SELECTED] = @menuitem_selected_fg_color # fg menu sélectionné libre office fg[INSENSITIVE] = "#202020" text[INSENSITIVE] = "#202020" } style "check-radio" { bg[PRELIGHT] = @base_color base[INSENSITIVE] = @lighter_color text[INSENSITIVE] = @darker_color fg[INSENSITIVE] = @base_color } style "menubar" { bg[NORMAL] = @base_color fg[NORMAL] = @black_color fg[PRELIGHT] = @menuitem_selected_fg_color # menu sélectionné geogebra fg[SELECTED] = @menuitem_selected_fg_color # menu sélectionné thunderbird } style "paned" { bg[PRELIGHT] = @base_color # séparateurs mobiles hover } style "gimp-loadingbar" { bg[PRELIGHT] = @scale_color # loadingbar de gimp ! } style "notebook" { bg[SELECTED] = @base_color bg[NORMAL] = @base_color base[NORMAL] = @white_color fg[ACTIVE] = @black_color fg[PRELIGHT] = @black_color bg[ACTIVE] = @darker_color # pour variantes de couleur } style "entry" { base[PRELIGHT] = @text_selected_bg_color text[PRELIGHT] = @text_selected_fg_color base[SELECTED] = @text_selected_bg_color text[SELECTED] = @text_selected_fg_color base[ACTIVE] = @text_selected_bg_color text[ACTIVE] = @text_selected_fg_color } style "combobox" { text[PRELIGHT] = @black_color } #======================================# # Styles for testing #======================================# style "red" { base[NORMAL] = "red" text[NORMAL] = "red" fg[NORMAL] = "red" bg[NORMAL] = "red" base[PRELIGHT] = "red" text[PRELIGHT] = "red" bg[PRELIGHT] = "red" fg[PRELIGHT] = "red" base[SELECTED] = "red" text[SELECTED] = "red" bg[SELECTED] = "red" fg[SELECTED] = "red" base[ACTIVE] = "red" text[ACTIVE] = "red" bg[ACTIVE] = "red" fg[ACTIVE] = "red" base[INSENSITIVE] = "red" text[INSENSITIVE] = "red" bg[INSENSITIVE] = "red" fg[INSENSITIVE] = "red" } style "test" { base[NORMAL] = "aqua" text[NORMAL] = "green" bg[NORMAL] = "magenta" fg[NORMAL] = "blue" base[PRELIGHT] = "green" text[PRELIGHT] = "red" bg[PRELIGHT] = "lime" fg[PRELIGHT] = "maroon" base[SELECTED] = "navy" text[SELECTED] = "red" bg[SELECTED] = "olive" fg[SELECTED] = "purple" base[ACTIVE] = "red" text[ACTIVE] = "green" bg[ACTIVE] = "teal" fg[ACTIVE] = "yellow" base[INSENSITIVE] = "purple" text[INSENSITIVE] = "green" bg[INSENSITIVE] = "yellow" fg[INSENSITIVE] = "white" } #======================================# # Widgets #======================================# class "*" style "default" widget_class "*Scale*" style "scalebar-scrollbar" widget_class "*Scrollbar*" style "scalebar-scrollbar" widget_class "*Menu*" style "menu" widget_class "*MenuItem*" style "menuitem" widget_class "*MenuBar*" style "menubar" widget_class "*Paned*" style "paned" widget_class "*Gimp*Menu*" style "notebook" widget_class "*ProgressBar*" style "progressbar" class "GtkCheck*" style "check-radio" class "GtkRadio*" style "check-radio" widget_class "*Gimp*Paned*Bar*" style "gimp-loadingbar" widget_class "*Notebook*" style "notebook" widget_class "*Entry*" style "entry" widget_class "*ComboBox*" style "combobox" widget_class "*Button*" style "default" widget_class "*Option*" style "default" widget "gtk-tooltip*" style "tooltip" widget_class "*Notif*" style "tooltip" widget_class "*otif*" style "tooltip" class "GtkButton" style "button" #widget_class "*Link*" style "red" #widget_class "*Button*" style "red" #widget_class "*Separator*" style "red" #widget_class "*ToolButton*" style "red" #widget_class "*ToolBar*" style "red" #widget_class "*Option*" style "red" #widget_class "*ScaleButton*" style "red" #widget_class "*List*" style "red" #widget_class "*Notebook*" style "red" #widget_class "*Frame*" style "red" #widget_class "*Label*" style "red" #widget_class "*Window" style "red" # jpsb le 12 sept 2015: bug curieux: la barre d'avancement de xsane ne respecte la couleur demandée qu'après un redémarrage du thème, sinon la couleur est lime ! # qt4 et flèches d'ascenseurs incompatible avec engine "pixmap" # barre de prog qt4 #======================================# # tweaks #======================================# # avoid wrong background color in rox when switching theme style "rox" { base[NORMAL] = @base_color bg[NORMAL] = @base_color } # widget_class "*ViewCollection*" style "rox" |