summaryrefslogtreecommitdiff
path: root/desktop-themes/Blue-Submarine/gtk-2.0/apps/caja.rc
blob: c40e145f5620ac4a9808f156172491f518abc140 (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
### This file styles Caja. ###

style "caja-window-base" { bg[NORMAL] = @bg_color }

style "caja-sidebar" = "murrine-sidebar" {
	GtkTreeView::horizontal_separator = 15
	GtkTreeView::vertical_separator = 2
	text[NORMAL] = @fg_color
	bg[NORMAL]  = mix (0.60, shade (1.15, @bg_color), @bg_color)

	GtkTreeView::odd_row_color = mix (0.60, shade (1.15, @bg_color), @bg_color)
	GtkTreeView::even_row_color = mix (0.60, shade (1.15, @bg_color), @bg_color)
}

style "caja-view" {
	xthickness = 0
	ythickness = 0
}

style "caja-handle" {
	GtkPaned::handle-size = 1
	
	engine "pixmap" {
		# for the thin gray line separating the sidepane and viewpane
		image {
			function	= HANDLE
			recolorable	= TRUE
			file		= "Handles/handle-caja.png"
			stretch		= TRUE
			border		= { 0, 0, 0, 0 }
		}
	}
}

style "caja-statusbar"
{
	bg[NORMAL]  = mix (0.60, shade (1.10, @bg_color), @bg_color)
	base[NORMAL] = @base_color
	fg[NORMAL] = shade (1.2, @fg_color)

	engine "pixmap" {
		image
		{
		function        = HANDLE
		recolorable     = TRUE
		file            = "Handles/resize-grip.png"
		state           = NORMAL
		stretch         = TRUE
		border          = { 0, 0, 1, 0 }
		}
	}
}

style "caja-location"
{
	bg[NORMAL]  = mix (0.60, shade (1.05, @bg_color), @bg_color)
}

style "caja-pathbar"
{	
    bg[PRELIGHT] 	= shade(0.91, @bg_color)
    bg[ACTIVE] 		= shade(0.76, @bg_color)
	bg[SELECTED] 	= shade(0.80, @selected_bg_color)
	bg[INSENSITIVE] = shade(0.83, @bg_color)

    fg[NORMAL]          = @fg_color
	fg[PRELIGHT]	    = @fg_color
	fg[ACTIVE]	        = @fg_color
	fg[SELECTED]	    = @fg_color_dark
}

# workaround for toolbar dropdown menu and toolbar button
style "caja-toolbar-button"
{
    xthickness	= 3
    ythickness	= 2

	bg[NORMAL]		= shade(0.80, @bg_color_dark)
    bg[PRELIGHT] 	= shade(0.91, @bg_color_dark)
    bg[ACTIVE] 		= shade(0.76, @bg_color_dark)
	bg[SELECTED] 	= shade(0.80, @selected_bg_color)
	bg[INSENSITIVE] = shade(0.83, @bg_color_dark)

	fg[NORMAL]          = @fg_color_dark
	fg[PRELIGHT]	    = @selected_fg_color
	fg[ACTIVE]	        = @fg_color_dark
	fg[SELECTED]	    = @fg_color_dark

    text[NORMAL]        = @fg_color_dark
	text[PRELIGHT]	    = @selected_fg_color
	text[ACTIVE]	    = @fg_color_dark
	text[SELECTED]	    = @fg_color_dark

	engine "murrine" {
		gradient_shades     	= {2.63,1.17,1.17,1.17}
		border_shades           = {5.10, 5.00}
		contrast                = 0.80
		roundness               = 5 # 0 = squared
		lightborderstyle        = 1
		lightborder_shade       = 1.1
		glow_shade              = 1.0
		textstyle               = 1
		text_shade			    = 1.15
	}
}

############################################
# CAJA
# Order of assignment is important
#############################################

widget_class "*CajaSidePane.*"                 style "caja-sidebar"
widget_class "*Caja*Places*Sidebar*"           style "caja-sidebar"
widget_class "*Caja*Side*.GtkWidget"           style "caja-sidebar"
widget_class "*Caja*Side*Title*"               style "caja-sidebar"

widget "*CajaNavigationWindow"                 style "caja-window-base"

widget_class "*Caja*Scrollbar"                 style "murrine-scrollbar"
widget_class "*CajaSidePane.*Scrollbar"        style:highest "murrine-scrollbar"
widget_class "*Caja*Statusbar*"                style "caja-statusbar"

widget "*Caja*Splitter"                        style "caja-handle"
widget_class "*Caja*View*"                     style "caja-view"
widget_class "*Caja*Notebook"                  style "murrine-notebook"

widget_class "*Caja*<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
widget_class "*Caja*<GtkCTree>.<GtkButton>"    style "murrine-treeview-header"
widget_class "*Caja*<GtkList>.<GtkButton>"     style "murrine-treeview-header"
widget_class "*Caja*<GtkCList>.<GtkButton>"    style "murrine-treeview-header"

widget_class "*CajaPathBar*"                   style "caja-pathbar" 
widget "*.caja-extra-view-widget" 		       style : highest "caja-location"

# workaround for toolbar dropdown menu and toolbar button
widget_class "*Caja*Toolbar*Button" style "caja-toolbar-button"
widget_class "*Caja*Toolbar*.<GtkComboBox>.<GtkCellView>" style "caja-toolbar-button"