You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
1.5 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. /*
  2. * see here for theming tutorial
  3. * https://ubuntu-mate.community/t/enabling-the-gtk-inspector-to-find-css-values-for-theme-styles/20150
  4. */
  5. /*************
  6. * base states
  7. *************/
  8. .background {
  9. color: @fg_color;
  10. background: @bg_color;
  11. }
  12. /* inherit colors from parent */
  13. * {
  14. background-color: inherit;
  15. color: inherit;
  16. border-color: shade(@bg_color, 0.8);
  17. }
  18. *:hover {
  19. color: @acc1_color;
  20. }
  21. /*
  22. .frame {
  23. border-color: shade(@bg_color, 0.8);
  24. }
  25. .frame.flat {
  26. border: none;
  27. }
  28. */
  29. .view,
  30. .cell {
  31. background: @bg_color;
  32. color: @fg_color;
  33. }
  34. .view:hover {
  35. color: @acc1_color;
  36. }
  37. .view:selected {
  38. color: @bg_color;
  39. }
  40. selection,
  41. *:selected:selected,
  42. *:selected:focus {
  43. background-color: @acc1_color;
  44. color: @bg_color;
  45. }
  46. /*
  47. * {
  48. border-color: @bg_color;
  49. border-style: solid;
  50. -GtkTreeView-expander-size: 11;
  51. }
  52. */
  53. selection,
  54. *:selected:selected,
  55. *:selected:focus {
  56. background-color: @acc1_color;
  57. color: @bg_color;
  58. }
  59. box {
  60. background: @bg_color;
  61. color: @fg_color;
  62. }
  63. label {
  64. color: @fg_color;
  65. }
  66. *:backdrop:backdrop,
  67. *:disabled:disabled {
  68. color: mix(@fg_color, @bg_color, 0.4);
  69. -gtk-icon-effect: dim;
  70. }
  71. entry {
  72. padding: 3px;
  73. border-width: 1px;
  74. background-color: @bg_color;
  75. color: @fg_color;
  76. }
  77. entry:backdrop,
  78. entry:disabled {
  79. background: shade(@bg_color, 0.94);
  80. }
  81. slider:focus,
  82. switch:focus slider,
  83. spinbutton:focus,
  84. notebook:focus tab:checked,
  85. radio:focus,
  86. check:focus,
  87. entry:focus,
  88. button:focus {
  89. border-color: @acc2_color;
  90. }