NoPaste

panel

von ottonormal

SNIPPET_TEXT:
  1. style "theme-panel" {
  2.   GtkButton::inner-border = { 0, 0, 0, 0 }
  3.   xthickness = 2
  4.   ythickness = 0
  5.  
  6.   bg[NORMAL] = shade(1.0, @topbar_bg_color)
  7.   bg[ACTIVE] = @selected_bg_color
  8.   bg[PRELIGHT] = shade(0.9, @topbar_bg_color)
  9.   bg[SELECTED] = @selected_bg_color
  10.  
  11.   fg[NORMAL] = shade(1.0, @topbar_fg_color)
  12.   fg[PRELIGHT] = @topbar_fg_color
  13.   fg[ACTIVE] = @selected_fg_color
  14.   fg[SELECTED] = @selected_fg_color
  15.  
  16.   text[NORMAL] = shade(1.0, @topbar_fg_color)
  17.   text[PRELIGHT] = shade(1.1, @topbar_fg_color)
  18.   text[ACTIVE] = shade(1.0, @topbar_fg_color)
  19.   text[SELECTED] = @selected_fg_color
  20. }
  21.  
  22. style "theme-panel-progressbar" {
  23.   bg[ACTIVE] = shade(0.8, @topbar_bg_color)
  24. }
  25.  
  26. style "panelbar" {
  27.  
  28.   fg[NORMAL] = shade(1.0, @topbar_fg_color)
  29.   fg[ACTIVE] = shade(1.0, @topbar_fg_color)
  30.   fg[PRELIGHT] = shade(1.1, @topbar_fg_color)
  31.   fg[SELECTED] = @selected_fg_color
  32.  
  33.   bg[SELECTED] = @selected_bg_color
  34.  
  35. }
  36.  
  37. style "panelbuttons" {
  38.   GtkButton::inner-border = { 0, 0, 0, 0 }
  39.   xthickness = 4
  40.   ythickness = 0
  41.  
  42.   fg[NORMAL] = shade(0.8, @topbar_fg_color)
  43.   fg[PRELIGHT] = @selected_fg_color
  44.   fg[ACTIVE] = @selected_fg_color
  45.   fg[SELECTED] = @selected_fg_color
  46.   fg[INSENSITIVE] = mix(0.28, @topbar_fg_color, @topbar_bg_color)
  47.   bg[PRELIGHT] = shade(1.2, @topbar_bg_color)
  48.   bg[ACTIVE] = shade(1.5, @topbar_bg_color)
  49.  
  50.   engine "pixmap" {
  51.     image {
  52.       function = BOX
  53.       state    = NORMAL
  54.       file     = "assets/flat-button.png"
  55.       border   = { 0, 0, 0, 2 }
  56.       stretch  = TRUE
  57.     }
  58.     image {
  59.       function = BOX
  60.       state    = ACTIVE
  61.       file     = "assets/pathbar_button_active.png"
  62.       border   = { 0, 0, 0, 2 }
  63.       stretch  = TRUE
  64.     }
  65.     image {
  66.       function = BOX
  67.       state    = PRELIGHT
  68.       file     = "assets/pathbar_button_prelight.png"
  69.       border   = { 0, 0, 0, 2 }
  70.       stretch  = TRUE
  71.     }
  72.     image {
  73.       function = BOX
  74.       state    = INSENSITIVE
  75.       file     = "assets/flat-button.png"
  76.       border   = { 0, 0, 0, 2 }
  77.       stretch  = TRUE
  78.     }
  79.   }
  80. }
  81.  
  82. style "regular-label" {
  83.   font_name = "Regular"
  84. }
  85.  
  86. style "theme-panel-text" {
  87.  
  88.   fg[NORMAL] = shade(1.0, @topbar_fg_color)
  89.   fg[PRELIGHT] = @selected_fg_color
  90.   fg[ACTIVE] = shade(1.0, @topbar_fg_color)
  91.  
  92.   text[NORMAL] = shade(1.0, @topbar_fg_color)
  93.   text[PRELIGHT] = @selected_fg_color
  94.   text[ACTIVE] = shade(1.0, @topbar_fg_color)
  95.  
  96.   engine "murrine" {
  97.     textstyle = 0
  98.     text_shade = 0.2
  99.   }
  100. }
  101.  
  102. style "panel-entry" {
  103.  
  104.   fg[NORMAL] = @topbar_fg_color
  105.   fg[PRELIGHT] = @topbar_fg_color
  106.   fg[ACTIVE] = @topbar_fg_color
  107.   fg[SELECTED] = @topbar_fg_color
  108.   fg[INSENSITIVE] = @topbar_fg_color
  109.  
  110.   text[NORMAL] = @topbar_fg_color
  111.   text[PRELIGHT] = @topbar_fg_color
  112.   text[ACTIVE] = @topbar_fg_color
  113.   text[SELECTED] = @topbar_fg_color
  114.   text[INSENSITIVE] = @topbar_fg_color
  115.  
  116. }
  117.  
  118. style "theme-main-menu-text" = "theme-panel-text" {
  119.   fg[PRELIGHT] = @selected_fg_color
  120.   text[PRELIGHT] = @selected_fg_color
  121. }
  122.  
  123. style "workspace-switcher" = "theme-panel" {
  124.   bg[SELECTED] = @selected_bg_color
  125. }
  126.  
  127. style "indicator" = "theme-panel" {
  128.   xthickness = 0
  129.   ythickness = 0
  130. }
  131.  
  132. widget "*tasklist*"                                   style "panelbuttons"
  133. widget_class "*Xfce*Panel*.GtkToggleButton"           style "panelbuttons"
  134. widget_class "*Xfce*NetkTasklist*GtkToggleButton"     style "panelbuttons"
  135. widget_class "*PanelToplevel*Button"                  style "panelbuttons"
  136. widget_class "*Panel*GtkToggleButton"                 style "panelbuttons"
  137. widget_class "*Xfce*Panel*Button*"                    style "panelbuttons"
  138. widget_class "*<XfceArrowButton>"                     style "panelbuttons"
  139. widget_class "*<XfceActionsPlugin>*"                  style "panelbuttons"
  140. widget_class "*XfcePanelPlugin.GtkButton"             style "panelbuttons"
  141. widget_class "*XfcePanelPlugin.GtkToggleButton"       style "panelbuttons"
  142. widget "*dict*Applet*"                                style "panelbuttons"
  143. widget_class "*Xfce*NetkTasklist*GtkToggleButton"     style "panelbuttons"
  144. widget_class "*Tasklist*"                             style:highest "panelbuttons"
  145. widget_class "*Tasklist*.GtkLabel"                    style:highest "regular-label"
  146. widget_class "*Mixer*lugin*"                          style:highest "panelbuttons"
  147.  
  148. class "*Panel*MenuBar*"                               style "panelbar"
  149. widget_class "*Panel*MenuBar*"                        style "panelbar"
  150. widget_class "*Panel*MenuBar*Item*"                   style:highest "panelbar"
  151.  
  152. widget "*PanelWidget*"                                style "theme-panel"
  153. widget "*PanelApplet*"                                style "theme-panel"
  154. widget "*fast-user-switch*"                           style "theme-panel"
  155. widget "*CPUFreq*Applet*"                             style "theme-panel"
  156. class "PanelApp*"                                     style "theme-panel"
  157. class "PanelToplevel*"                                style "theme-panel"
  158. widget_class "*PanelToplevel*"                        style "theme-panel"
  159. widget_class "*notif*"                                style "theme-panel"
  160. widget_class "*Notif*"                                style "theme-panel"
  161. widget_class "*Tray*"                                 style "theme-panel"
  162. widget_class "*tray*"                                 style "theme-panel"
  163. widget_class "*computertemp*"                         style "theme-panel"
  164. widget_class "*Applet*Tomboy*"                        style "theme-panel"
  165. widget_class "*Applet*Netstatus*"                     style "theme-panel"
  166.  
  167. # Fixes for tooltip text in some apps.
  168. widget_class "*Notif*Beagle*"                         style "theme-panel"
  169. widget_class "*Notif*Brasero*"                        style "theme-panel"
  170.  
  171. # XFCE panel theming.
  172. widget "*Xfce*Panel*"                                 style "theme-panel"
  173. class "*Xfce*Panel*"                                  style "theme-panel"
  174. widget "*Xfce*Panel*GtkProgressBar"                   style "theme-panel-progressbar"
  175. widget "*WnckPager*"                                  style "workspace-switcher"
  176. widget "*TopMenu*"                                    style "theme-panel"
  177. widget "*XfceTasklist*"                               style "panelbuttons"
  178.  
  179. # Fix gtk-entries in the panel
  180. widget "*bookmark*GtkEntry"                           style "panel-entry" # fixes smartbookmark-plugin
  181.  
  182. # Make sure panel text color doesn't change
  183. widget_class "*Panel*MenuBar*"                        style "theme-main-menu-text"
  184. widget_class "*Panel*<GtkMenuBar>*"                   style "theme-main-menu-text"
  185. widget "*.clock-applet-button.*"                      style "theme-panel-text"
  186. widget "*PanelApplet*"                                style "theme-panel-text"
  187.  
  188. # Override general panel-style with specific plugin-styles
  189. widget "*indicator-applet*"                           style "indicator"
  190. widget "*indicator-button*"                           style "indicator"

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN