1/**************************************************************************************
2This file is distributed under the GNU General Public License version 2 (a.k.a. GPL-v2)
3(c) 2019-2021 Virgil Mager - vvmager@gmail.com
4(c) 2019-2021 Information Technology Group - http://itgroup.ro
5**************************************************************************************/
6
7style "panel" {
8
9#	bg_pixmap[NORMAL] = "assets/panel.png"
10#	bg[NORMAL]   = "#00ff00"
11	fg[NORMAL]   = mix(00.20, mix(0.398, @fg_color, @shift_bg_color), @fg_color)
12	text[NORMAL] = mix(00.20, mix(0.398, @fg_color, @shift_bg_color), @fg_color)
13
14#	bg[ACTIVE]   = shade(0.77, mix(0.7, mix(0.45, "#ffffff", @selected_bg_color), mix(0.2, "#000000", mix(00.20, @shift_bg_color, @bg_color))))
15	bg[SELECTED] = shade(0.77, mix(0.7, mix(0.45, "#ffffff", @selected_bg_color), mix(0.2, "#000000", mix(00.20, @shift_bg_color, @bg_color))))
16   fg[ACTIVE]   = "#ffffff"
17   text[ACTIVE] = "#ffffff"
18
19	bg[PRELIGHT]   = shade(1.01, mix(0.25, @bg_color, mix(00.20, @shift_bg_color, @bg_color)))
20	fg[PRELIGHT]   = mix(00.20, mix(0.398, @fg_color, @shift_bg_color), @fg_color)
21	text[PRELIGHT] = mix(00.20, mix(0.398, @fg_color, @shift_bg_color), @fg_color)
22
23	xthickness = 1
24	ythickness = 2
25	engine "murrine" {
26      roundness = 2
27		contrast = 0.6
28		textstyle = 0
29		lightborderstyle = 1
30		lightborder_shade = 1.2
31	}
32}
33
34style "panel_button" {
35	GtkButton::inner-border = {1, 1, 0, 0}
36
37#	bg[NORMAL]   = "#303030"
38	fg[NORMAL]   = mix(00.20, mix(0.398, @fg_color, @shift_bg_color), @fg_color)
39	text[NORMAL] = mix(00.20, mix(0.398, @fg_color, @shift_bg_color), @fg_color)
40
41	bg[ACTIVE]   = shade(0.75, mix(0.7, mix(0.45, "#ffffff", @selected_bg_color), mix(0.2, "#000000", mix(00.20, @shift_bg_color, @bg_color))))
42   fg[ACTIVE]   = "#ffffff" # mix(0.8, "#000000", @selected_bg_color)
43   text[ACTIVE] = "#ffffff" # mix(0.8, "#000000", @selected_bg_color)
44
45	bg[PRELIGHT]   = shade(1.06, mix(0.25, @bg_color, mix(00.20, @shift_bg_color, @bg_color)))
46	fg[PRELIGHT]   = mix(00.20, mix(0.398, @fg_color, @shift_bg_color), @fg_color)
47	text[PRELIGHT] = mix(00.20, mix(0.398, @fg_color, @shift_bg_color), @fg_color)
48
49	xthickness = 5
50	ythickness = 3
51	engine "murrine" {
52		roundness = 2
53		contrast = 0.3
54		lightborderstyle = 1
55		lightborder_shade = 1.4
56		border_shades = {0.7, 0.55}
57#		trough_shades = {0.1, 0.1}
58		gradient_shades = {1.12, 1.0, 1.0, 0.88}
59		reliefstyle = 3
60#		glowstyle = 1
61#		glow_shade = 0.7
62	}
63}
64