summaryrefslogtreecommitdiff
path: root/themes/vimix-vski/gtk-2.0/panel.rc
blob: 2c262b13885b0ffe52c91c97e4089db1513da8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
style "theme-panel" {
  GtkButton::inner-border = { 0, 0, 0, 0 }
  xthickness = 2
  ythickness = 0

  bg[NORMAL] = shade(1.0, @topbar_bg_color)
  bg[ACTIVE] = @selected_bg_color
  bg[PRELIGHT] = shade(0.9, @topbar_bg_color)
  bg[SELECTED] = @selected_bg_color

  fg[NORMAL] = shade(1.0, @topbar_fg_color)
  fg[PRELIGHT] = @topbar_fg_color
  fg[ACTIVE] = @selected_fg_color
  fg[SELECTED] = @selected_fg_color

  text[NORMAL] = shade(1.0, @topbar_fg_color)
  text[PRELIGHT] = shade(1.1, @topbar_fg_color)
  text[ACTIVE] = shade(1.0, @topbar_fg_color)
  text[SELECTED] = @selected_fg_color
}

style "theme-panel-progressbar" {
  bg[ACTIVE] = shade(0.8, @topbar_bg_color)
}

style "panelbar" {

  fg[NORMAL] = shade(1.0, @topbar_fg_color)
  fg[ACTIVE] = shade(1.0, @topbar_fg_color)
  fg[PRELIGHT] = shade(1.1, @topbar_fg_color)
  fg[SELECTED] = @selected_fg_color

  bg[SELECTED] = @selected_bg_color

}

style "panelbuttons" {
  GtkButton::inner-border = { 0, 0, 0, 0 }
  xthickness = 4
  ythickness = 0

  fg[NORMAL] = shade(0.8, @topbar_fg_color)
  fg[PRELIGHT] = @selected_fg_color
  fg[ACTIVE] = @selected_fg_color
  fg[SELECTED] = @selected_fg_color
  fg[INSENSITIVE] = mix(0.28, @topbar_fg_color, @topbar_bg_color)
  bg[PRELIGHT] = shade(1.2, @topbar_bg_color)
  bg[ACTIVE] = shade(1.5, @topbar_bg_color)

  engine "pixmap" {
    image {
      function = BOX
      state    = NORMAL
      file     = "assets/flat-button.png"
      border   = { 0, 0, 0, 2 }
      stretch  = TRUE
    }
    image {
      function = BOX
      state    = ACTIVE
      file     = "assets/pathbar_button_active.png"
      border   = { 0, 0, 0, 2 }
      stretch  = TRUE
    }
    image {
      function = BOX
      state    = PRELIGHT
      file     = "assets/pathbar_button_prelight.png"
      border   = { 0, 0, 0, 2 }
      stretch  = TRUE
    }
    image {
      function = BOX
      state    = INSENSITIVE
      file     = "assets/flat-button.png"
      border   = { 0, 0, 0, 2 }
      stretch  = TRUE
    }
  }
}

style "regular-label" {
  font_name = "Regular"
}

style "theme-panel-text" {

  fg[NORMAL] = shade(1.0, @topbar_fg_color)
  fg[PRELIGHT] = @selected_fg_color
  fg[ACTIVE] = shade(1.0, @topbar_fg_color)

  text[NORMAL] = shade(1.0, @topbar_fg_color)
  text[PRELIGHT] = @selected_fg_color
  text[ACTIVE] = shade(1.0, @topbar_fg_color)

  engine "murrine" {
    textstyle = 0
    text_shade = 0.2
  }
}

style "panel-entry" {

  fg[NORMAL] = @topbar_fg_color
  fg[PRELIGHT] = @topbar_fg_color
  fg[ACTIVE] = @topbar_fg_color
  fg[SELECTED] = @topbar_fg_color
  fg[INSENSITIVE] = @topbar_fg_color

  text[NORMAL] = @topbar_fg_color
  text[PRELIGHT] = @topbar_fg_color
  text[ACTIVE] = @topbar_fg_color
  text[SELECTED] = @topbar_fg_color
  text[INSENSITIVE] = @topbar_fg_color

}

style "theme-main-menu-text" = "theme-panel-text" {
  fg[PRELIGHT] = @selected_fg_color
  text[PRELIGHT] = @selected_fg_color
}

style "workspace-switcher" = "theme-panel" {
  bg[SELECTED] = @selected_bg_color
}

style "indicator" = "theme-panel" {
  xthickness = 0
  ythickness = 0
}

widget "*tasklist*"                                   style "panelbuttons"
widget_class "*Xfce*Panel*.GtkToggleButton"           style "panelbuttons"
widget_class "*Xfce*NetkTasklist*GtkToggleButton"     style "panelbuttons"
widget_class "*PanelToplevel*Button"                  style "panelbuttons"
widget_class "*Panel*GtkToggleButton"                 style "panelbuttons"
widget_class "*Xfce*Panel*Button*"                    style "panelbuttons"
widget_class "*<XfceArrowButton>"                     style "panelbuttons"
widget_class "*<XfceActionsPlugin>*"                  style "panelbuttons"
widget_class "*XfcePanelPlugin.GtkButton"             style "panelbuttons"
widget_class "*XfcePanelPlugin.GtkToggleButton"       style "panelbuttons"
widget "*dict*Applet*"                                style "panelbuttons"
widget_class "*Xfce*NetkTasklist*GtkToggleButton"     style "panelbuttons"
widget_class "*Tasklist*"                             style:highest "panelbuttons"
widget_class "*Tasklist*.GtkLabel"                    style:highest "regular-label"
widget_class "*Mixer*lugin*"                          style:highest "panelbuttons"

class "*Panel*MenuBar*"                               style "panelbar"
widget_class "*Panel*MenuBar*"                        style "panelbar"
widget_class "*Panel*MenuBar*Item*"                   style:highest "panelbar"

widget "*PanelWidget*"                                style "theme-panel"
widget "*PanelApplet*"                                style "theme-panel"
widget "*fast-user-switch*"                           style "theme-panel"
widget "*CPUFreq*Applet*"                             style "theme-panel"
class "PanelApp*"                                     style "theme-panel"
class "PanelToplevel*"                                style "theme-panel"
widget_class "*PanelToplevel*"                        style "theme-panel"
widget_class "*notif*"                                style "theme-panel"
widget_class "*Notif*"                                style "theme-panel"
widget_class "*Tray*"                                 style "theme-panel" 
widget_class "*tray*"                                 style "theme-panel"
widget_class "*computertemp*"                         style "theme-panel"
widget_class "*Applet*Tomboy*"                        style "theme-panel"
widget_class "*Applet*Netstatus*"                     style "theme-panel"

# Fixes for tooltip text in some apps.
widget_class "*Notif*Beagle*"                         style "theme-panel"
widget_class "*Notif*Brasero*"                        style "theme-panel"

# XFCE panel theming.
widget "*Xfce*Panel*"                                 style "theme-panel"
class "*Xfce*Panel*"                                  style "theme-panel"
widget "*Xfce*Panel*GtkProgressBar"                   style "theme-panel-progressbar"
widget "*WnckPager*"                                  style "workspace-switcher"
widget "*TopMenu*"                                    style "theme-panel"
widget "*XfceTasklist*"                               style "panelbuttons"

# Fix gtk-entries in the panel
widget "*bookmark*GtkEntry"                           style "panel-entry" # fixes smartbookmark-plugin

# Make sure panel text color doesn't change
widget_class "*Panel*MenuBar*"                        style "theme-main-menu-text"
widget_class "*Panel*<GtkMenuBar>*"                   style "theme-main-menu-text"
widget "*.clock-applet-button.*"                      style "theme-panel-text"
widget "*PanelApplet*"                                style "theme-panel-text"

# Override general panel-style with specific plugin-styles
widget "*indicator-applet*"                           style "indicator"
widget "*indicator-button*"                           style "indicator"