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.

101 lines
1.4 KiB

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. }
  17. *:hover {
  18. color: @acc1_color;
  19. }
  20. .view,
  21. .cell {
  22. background: @bg_color;
  23. color: @fg_color;
  24. }
  25. .view:hover {
  26. color: @acc1_color;
  27. }
  28. .view:selected {
  29. color: @bg_color;
  30. }
  31. selection,
  32. *:selected:selected,
  33. *:selected:focus {
  34. background-color: @acc1_color;
  35. color: @bg_color;
  36. }
  37. /*
  38. * {
  39. border-color: @bg_color;
  40. border-style: solid;
  41. -GtkTreeView-expander-size: 11;
  42. }
  43. */
  44. selection,
  45. *:selected:selected,
  46. *:selected:focus {
  47. background-color: @acc1_color;
  48. color: @bg_color;
  49. }
  50. box {
  51. background: @bg_color;
  52. color: @fg_color;
  53. }
  54. label {
  55. color: @fg_color;
  56. }
  57. *:backdrop:backdrop,
  58. *:disabled:disabled {
  59. color: mix(@fg_color, @bg_color, 0.4);
  60. -gtk-icon-effect: dim;
  61. }
  62. entry {
  63. padding: 3px;
  64. border-width: 1px;
  65. background-color: @bg_color;
  66. color: @fg_color;
  67. }
  68. entry:backdrop,
  69. entry:disabled {
  70. background: shade(@bg_color, 0.94);
  71. }
  72. slider:focus,
  73. switch:focus slider,
  74. spinbutton:focus,
  75. notebook:focus tab:checked,
  76. radio:focus,
  77. check:focus,
  78. entry:focus,
  79. button:focus {
  80. border-color: @acc2_color;
  81. }