summaryrefslogtreecommitdiff
path: root/Kogaion-daylight/gtk-2.0/app-styles/panel.rc
blob: 923fa4dc26cf48835de05fb041479affd61d156f (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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
style "pixmap-panel"
{
	xthickness = 2 # The spacing (padding) inside and between applets. Add a lower value for a more compact look.
	ythickness = 2

	fg[NORMAL]		= @bg_color
	fg[PRELIGHT]	= shade (1.45, @selected_bg_color)
	fg[ACTIVE]		= @bg_color

#	bg_pixmap[NORMAL] = "/Panel/panel-bg-new.svg" # Disable for normal panel backgrounds.
	bg[NORMAL]       	= shade (0.90, @window_active_color)
#	bg[ACTIVE]			= @selected_bg_color
#	bg[PRELIGHT]      	= shade(1.75, @selected_bg_color)
#	bg[SELECTED]      	= @selected_bg_color
	
	engine "pixmap" {
		image {
			function	= BOX
			recolorable	= TRUE
			state		= NORMAL
			file		= "Panel/panel-button-inactive.png"
			border		= { 4, 4, 1, 1 }
			stretch		= TRUE
		}
		image {
			function	= BOX
			recolorable	= TRUE
			state		= PRELIGHT
			file		= "Panel/panel-button-hover.png"
			border		= { 4, 4, 1, 1 }
			stretch		= TRUE
		}
		image {
			function	= BOX
			recolorable	= TRUE
			state		= ACTIVE
			file		= "Panel/panel-button-active.png"
			border		= { 4, 4, 1, 1 }
			stretch		= TRUE
		}
		image {
			function	= BOX
			recolorable	= TRUE
			state		= SELECTED
			file		= "Panel/panel-button-active.png"
			border		= { 4, 4, 1, 1 }
			stretch		= TRUE
		}
#		image {
#			function	= BOX
#			recolorable	= TRUE
#			state		= INSENSITIVE
#		}


	}
}

style "other-panel" 	# this style is somehow doubled, discard when no longer needed
{
	xthickness = 0
	ythickness = 0

	fg[NORMAL]		= @bg_color
	fg[PRELIGHT]	= shade (1.45, @selected_bg_color)
	fg[ACTIVE]		= @bg_color
	fg[SELECTED]	= @selected_bg_color

	bg[NORMAL]       	=  shade (0.90, @window_active_color)
#	bg[ACTIVE]			=  @selected_bg_color
#	bg[PRELIGHT]      	=  shade(1.75, @selected_bg_color)
#	bg[SELECTED]      	=  @selected_bg_color

	engine "pixmap" {
		image {
			function	= BOX
			recolorable	= TRUE
			state		= NORMAL
			file		= "Panel/panel-button-inactive.png"
			border		= { 4, 4, 1, 1 }
			stretch		= TRUE
		}
		image {
			function	= BOX
			recolorable	= TRUE
			state		= PRELIGHT
			file		= "Panel/panel-button-hover.png"
			border		= { 4, 4, 1, 1 }
			stretch		= TRUE
		}
		image {
			function	= BOX
			recolorable	= TRUE
			state		= ACTIVE
			file		= "Panel/panel-button-active.png"
			border		= { 4, 4, 1, 1 }
			stretch		= TRUE
		}
		image {
			function	= BOX
			recolorable	= TRUE
			state		= SELECTED
			file		= "Panel/panel-button-active.png"
			border		= { 4, 4, 1, 1 }
			stretch		= TRUE
		}
    	image {
      		function			= HANDLE
      		recolorable			= TRUE
     		overlay_file		= "Others/null.png"
     		#overlay_file		= "Handles/handle-v.png"
      		overlay_stretch		= FALSE
      		orientation			= VERTICAL
    	}
    	image {
      		function			= HANDLE
     		overlay_file		= "Others/null.png"
     		#overlay_file		= "Handles/handle-h.png"
      		overlay_stretch 	= FALSE
      		orientation			= HORIZONTAL
    	}
	}
}

style "theme-panel-light"
{
	xthickness = 1
	ythickness = 0

	fg[NORMAL] = @fg_color

	engine "murrine" {
		textstyle = 0
		roundness = 0
	}
}

style "theme-main-menu-text" = "other-panel"
{
	fg[PRELIGHT]	= "#ffffff"
	text[PRELIGHT]	= "#ffffff"
}

style "theme-panel-handle" 
{
	engine "pixmap"
  	{
    image
    {
      function            = HANDLE
      file                      = "Panel/panel-handle.png"
      border                    = { 0, 0, 0, 0 }
      stretch                   = TRUE
      orientation            = VERTICAL
    }
    image
    {
      function            = HANDLE
      file                      = "Panel/panel-handle.png"
      border                    = { 0, 0, 0, 0 }
      stretch                   = TRUE
      orientation            = HORIZONTAL
    }
  	}
}

# XFCE panel theming.
widget "*Xfce*Panel*"				style "pixmap-panel"
class "*Xfce*Panel*"					style "pixmap-panel"

# Other (MATE) panel

widget "*PanelWidget*"				style "other-panel"
#widget "*PanelApplet*"				style "test"
widget "*fast-user-switch*"			style "other-panel"
widget "*CPUFreq*Applet*"			style "other-panel"
widget "*indicator-applet*"			style "other-panel"
class "PanelApp*"					style "other-panel"
class "PanelToplevel*"				style "other-panel"
widget_class "*PanelToplevel*"		style "other-panel" # pimp here

# widget_class "*notif*"			style "other-panel"
# widget_class "*Notif*"			style "other-panel"
# widget_class "*Tray*"			style "other-panel" 
# widget_class "*tray*"			style "other-panel"
# widget_class "*computertemp*"		style "other-panel"
# widget_class "*Applet*Tomboy*"		style "other-panel"
# widget_class "*Applet*Netstatus*"	style "other-panel"

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

# lxpanel and fbpanel
# widget "*.tclock.*"		style "other-panel"
# widget "*.taskbar.*"		style "other-panel"
# widget_class "*GtkBgbox*"	style "other-panel"

# Make sure panel text color doesn't change
widget_class "*Panel*MenuBar*"		style "theme-main-menu-text" # pimp here
widget_class "*Panel*<GtkMenuBar>*"	style "theme-main-menu-text" # pimp here
widget "*.clock-applet-button.*"		style "other-panel"
widget "*PanelApplet*"				style "other-panel" # check here, why doubled, looks ok for bottom

# Hide ugly handle
# class "PanelAppletFrame" 			style "theme-panel-handle"