apps.rc 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
  2. #
  3. # This file, unlike hacks.rc, contains legitimate cases we need to handle, e.g.
  4. # custom widgets, programs giving us a chance to alter their UI to fit more with
  5. # the theme or stuff that is supposed to look different, like panels.
  6. # TODO: This could really look nicer
  7. style "gimp_spin_scale" {
  8. # Spin background
  9. bg[NORMAL] = @base_color
  10. engine "pixmap" {
  11. image {
  12. function = BOX
  13. state = NORMAL
  14. detail = "spinbutton_up"
  15. overlay_file = "assets/pan-up-alt.png"
  16. overlay_stretch = FALSE
  17. }
  18. image {
  19. function = BOX
  20. state = PRELIGHT
  21. detail = "spinbutton_up"
  22. overlay_file = "assets/pan-up.png"
  23. overlay_stretch = FALSE
  24. }
  25. image {
  26. function = BOX
  27. state = ACTIVE
  28. detail = "spinbutton_up"
  29. overlay_file = "assets/pan-up.png"
  30. overlay_stretch = FALSE
  31. }
  32. image {
  33. function = BOX
  34. state = INSENSITIVE
  35. detail = "spinbutton_up"
  36. overlay_file = "assets/pan-up-alt-disabled.png"
  37. overlay_stretch = FALSE
  38. }
  39. image {
  40. function = BOX
  41. state = NORMAL
  42. detail = "spinbutton_down"
  43. overlay_file = "assets/pan-down-alt.png"
  44. overlay_stretch = FALSE
  45. }
  46. image {
  47. function = BOX
  48. state = PRELIGHT
  49. detail = "spinbutton_down"
  50. overlay_file = "assets/pan-down.png"
  51. overlay_stretch = FALSE
  52. }
  53. image {
  54. function = BOX
  55. state = ACTIVE
  56. detail = "spinbutton_down"
  57. overlay_file = "assets/pan-down.png"
  58. overlay_stretch = FALSE
  59. }
  60. image {
  61. function = BOX
  62. state = INSENSITIVE
  63. detail = "spinbutton_down"
  64. overlay_file = "assets/pan-down-alt-disabled.png"
  65. overlay_stretch = FALSE
  66. }
  67. }
  68. }
  69. style "chrome_gtk_frame" {
  70. ChromeGtkFrame::frame-color = @titlebar_bg_color
  71. ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color
  72. ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color
  73. ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color
  74. ChromeGtkFrame::frame-gradient-size = 0
  75. }
  76. # Disable spin button assets for GimpSpinScale
  77. class "GimpSpinScale" style "gimp_spin_scale"
  78. # Chromium lets us define some colours and settings for better integration
  79. class "ChromeGtkFrame" style "chrome_gtk_frame"