Advertisement
Rnery

gtk.css

Mar 2nd, 2024
1,555
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.95 KB | Source Code | 0 0
  1. /*
  2.     ###################################
  3.     ## Customgtk-3.0 css definitions ##
  4.     ###################################
  5. */
  6.  
  7. /* notify buttons */
  8. #showdesktop-button image {
  9.     -gtk-icon-transform: scale(1);
  10. }
  11. #pulseaudio-button image {
  12.     -gtk-icon-transform: scale(0.5);
  13. }
  14. #xfce4-clipman-plugin image {
  15.     -gtk-icon-transform: scale(0.5);
  16. }
  17. #xfce4-notification-plugin image {
  18.     -gtk-icon-transform: scale(0.5);
  19. }
  20. #xfce4-power-manager-plugin image {
  21.     -gtk-icon-transform: scale(0.6);
  22. }
  23. #xfce-panel-toggle-button image {
  24.     -gtk-icon-transform: scale(0.6);
  25. }
  26.  
  27. /* shrink headerbars */
  28. headerbar {
  29.     border: 0;
  30.     background-color: #2d2d2d;
  31.     border-radius: 0;
  32.     min-height: 0;
  33.     padding-left: 2px; /* same as childrens vertical margins for nicer proportions */
  34.     padding-right: 2px;
  35. }
  36. headerbar entry,
  37. headerbar spinbutton,
  38. headerbar button,
  39. headerbar separator {
  40.     margin-bottom: 0;
  41.     margin-top: 0; /* same as headerbar side padding for nicer proportions */
  42. }
  43.  
  44. /* shrink ssd titlebars */
  45. .default-decoration {
  46.     background-color: #2d2d2d;
  47.     min-height: 0; /* let the entry and button drive the titlebar size */
  48.     padding: 0;
  49. }
  50. .default-decoration .titlebutton {
  51.     min-height: 0; /* tweak these two props to reduce button size */
  52.     min-width: 0;
  53. }
  54. window.ssd headerbar.titlebar {
  55.     min-height: 0;
  56.     padding-top: 3px;
  57.     padding-bottom: 3px;
  58. }
  59. window.ssd headerbar.titlebar button.titlebutton {
  60.     border-radius: 0;
  61.     min-height: 0;
  62.     margin-right: 2px;
  63.     padding: 3px;
  64. }
  65. .tasklist button {
  66.     border-width: 2px;
  67.     border-style: solid;
  68. }
  69. .tasklist button {
  70.     border-color: white;
  71.     border-radius: 2px;
  72.     margin-left: 4px;
  73. }
  74. .tasklist button:checked {
  75.     border-color: cyan;
  76.     border-radius: 2px;
  77.     box-shadow: none;
  78. }
  79. .tasklist button:hover {
  80.     border-color: white;
  81.     border-radius: 2px;
  82. }
  83.  
  84. /* Whisker Menu */
  85. #whiskermenu-window {
  86.     color: #000000;
  87.     border-radius: 6px;
  88.     background: #eef4f9;
  89.     font-size: 14px;
  90.     padding: 4px;
  91. }
  92. #whiskermenu-window border {
  93.     border-color: transparent;
  94.     border-width: 0px;
  95.     border-radius: 6px;
  96.     color: #000000;
  97.     padding: 4px;
  98.     box-shadow: inset 0px 0px 0px 1px #bcbcbc;
  99. }
  100. #whiskermenu-window separator {
  101.     background-color: #bcbcbc;
  102. }
  103. #whiskermenu-window frame {
  104.     margin-left: 40%;
  105. }
  106.  
  107. /* Make sidebar buttons match */
  108. #whiskermenu-window button {
  109.     background-color: transparent;
  110.     border-color: transparent;
  111.     border-radius: 3px;
  112.     color: #000000;
  113.     padding: 0px;
  114.     margin: 1px;
  115.     font-size: 12px;
  116.     box-shadow: none;
  117. }
  118. #whiskermenu-window button:hover {
  119.     background: transparent;
  120.     border: 1px solid #bcbcbc;
  121.     color: #000000;
  122. }
  123. #whiskermenu-window button:active {
  124.     background: transparent;
  125.     border: 1px solid #bcbcbc;
  126.     color: #000000;
  127. }
  128. #whiskermenu-window button:checked {
  129.     background: transparent;
  130.     border: 1px solid #bcbcbc;
  131.     color: #000000;
  132. }
  133.  
  134. /* Make treeview match */
  135. #whiskermenu-window treeview {
  136.     background: transparent;
  137.     color: #000000;
  138.     padding: 0px;
  139.     margin: 1px;
  140.     font-size: 12px;
  141.     text-shadow: none;
  142. }
  143. #whiskermenu-window treeview:hover {
  144.     background: transparent;
  145.     border-radius: 3px;
  146.     border: 1px solid #bcbcbc;
  147.     color: #000000;
  148. }
  149. #whiskermenu-window .view,
  150. iconview,
  151. #whiskermenu-window .view text,
  152. iconview text,
  153. textview text {
  154.     background-color: transparent;
  155.     font-size: 12px;
  156. }
  157. #whiskermenu-window .view:hover,
  158. iconview,
  159. #whiskermenu-window .view:hover text,
  160. iconview text,
  161. textview text {
  162.     background-color: rgba(192, 192, 192, 0.3);
  163.     font-size: 12px;
  164.     color: #3c3c3c;
  165. }
  166. #whiskermenu-window .frame {
  167.     border: transparent;
  168.     border-radius: 0px;
  169.     color: #3c3c3c;
  170. }
  171.  
  172. /* Menu search box */
  173. #whiskermenu-window entry {
  174.     background: rgba(255, 255, 255, 0.5);
  175.     border-top: 1px solid #dcdcdc;
  176.     border-bottom: 2px solid #398ee8;
  177.     border-right: 1px solid #dcdcdc;
  178.     border-left: 1px solid #dcdcdc;
  179.     border-radius: 5px;
  180.     color: #3c3c3c;
  181.     font-size: 12px;
  182.     text-shadow: none;
  183. }
  184.  
  185. /* whiskermenu scrollbar */
  186. #whiskermenu-window scrollbar {
  187.     background: transparent;
  188.     border-color: transparent;
  189. }
  190. #whiskermenu-window scrollbar:backdrop {
  191.     background: transparent;
  192.     border-color: transparent;
  193. }
  194. #whiskermenu-window scrollbar slider {
  195.     min-width: 4px;
  196.     min-height: 4px;
  197.     margin: 2px;
  198.     border: 1px solid #eef4f9;
  199.     border-radius: 3px;
  200.     background-clip: padding-box;
  201.     background: #9c9c9c;
  202. }
  203. #whiskermenu-window scrollbar slider:hover {
  204.     background: #6c6c6c;
  205.     border-color: #6c6c6c;
  206. }
  207. #whiskermenu-window scrollbar slider:hover:active {
  208.     background: #6c6c6c;
  209.     border-color: #6c6c6c;
  210. }
  211. #whiskermenu-window scrollbar slider:backdrop {
  212.     background: transparent;
  213. }
  214. #whiskermenu-window scrollbar slider:disabled {
  215.     background: transparent;
  216. }
  217.  
Tags: CSS gtk.css
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement