~ubuntu-branches/ubuntu/vivid/ubuntukylin-theme/vivid-proposed

« back to all changes in this revision

Viewing changes to kylin-theme/gtk-2.0/apps/nautilus-e.rc

  • Committer: Package Import Robot
  • Author(s): zhangchao (work)
  • Date: 2013-03-14 10:28:00 UTC
  • Revision ID: package-import@ubuntu.com-20130314102800-78ehv34yfsw836rd
Tags: 0.4.2
del plymouth-text

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
### This file styles Nautilus elementary. nautilus.rc is for Nautilus normal. ###
2
 
 
3
 
style "nautilus-window-base" { bg[NORMAL]       = @base_color }
4
 
 
5
 
style "nautilus-sidebar" = "murrine-sidebar" {
6
 
        GtkTreeView::horizontal_separator = 15
7
 
        GtkTreeView::vertical_separator = 2
8
 
}
9
 
style "nautilus-sidebar-other" = "nautilus-sidebar" {
10
 
        xthickness = 0
11
 
        bg[NORMAL] = @bg_color
12
 
}
13
 
style "nautilus-extra-view" {
14
 
        xthickness = 0
15
 
        ythickness = 0
16
 
        engine "pixmap" {
17
 
                image {
18
 
                        function        = FLAT_BOX
19
 
                        file            = "Nautilus/extra-widget.png"
20
 
                        stretch         = TRUE
21
 
                        border          = { 0, 0, 4, 4 }
22
 
                        }
23
 
                }
24
 
}
25
 
style "nautilus-statusbar" {
26
 
        xthickness = 1
27
 
        ythickness = 2
28
 
 
29
 
        bg[NORMAL]      = @bg_color
30
 
        bg[PRELIGHT]    = @bg_color
31
 
        bg[SELECTED]    = @bg_color
32
 
        base[SELECTED]  = @base_color
33
 
        fg[NORMAL]      = @fg_color
34
 
        fg[PRELIGHT]    = @fg_color
35
 
        fg[SELECTED]    = @fg_color
36
 
        fg[ACTIVE]      = @fg_color
37
 
        fg[INSENSITIVE] = @fg_color
38
 
 
39
 
        engine "murrine" {}
40
 
}
41
 
style "nautilus-scale" {
42
 
        ythickness = 0
43
 
        xthickness = 4
44
 
        GtkRange ::trough-border        = 0
45
 
        GtkScale ::trough-side-details  = 0
46
 
        engine "pixmap" {
47
 
                image {
48
 
                        function        = BOX
49
 
                        detail          = "trough"
50
 
                        file            = "Nautilus/trough.png"
51
 
                        border          = { 10, 10, 5, 15 }
52
 
                        }       
53
 
                image {
54
 
                        function        = SLIDER
55
 
                        overlay_file    = "Nautilus/slider.png"
56
 
                        overlay_stretch = FALSE
57
 
                        }
58
 
                }
59
 
}
60
 
style "nautilus-breadcrumbs" {
61
 
        fg[NORMAL]      = @fg_color
62
 
        fg[PRELIGHT]    = @fg_color
63
 
        fg[SELECTED]    = @selected_fg_color
64
 
        fg[ACTIVE]      = @fg_color
65
 
        fg[INSENSITIVE] = darker (@bg_color)
66
 
 
67
 
        xthickness = 6
68
 
        ythickness = 0
69
 
        GtkButton::child-displacement-y = 0
70
 
        GtkButton::inner-border         = { 0, 11, 0, 0}
71
 
        engine "pixmap" {       
72
 
                image {
73
 
                        function        = BOX
74
 
                        recolorable     = TRUE
75
 
                        state           = PRELIGHT
76
 
                        file            = "Nautilus/breadcrumb_prelight.png"
77
 
                        border          = { 3, 13, 3, 3 }
78
 
                        stretch         = TRUE
79
 
                        }
80
 
                image {
81
 
                        function        = BOX
82
 
                        recolorable     = TRUE
83
 
                        state           = NORMAL
84
 
                        file            = "Nautilus/breadcrumb_normal.png"
85
 
                        border          = { 3, 13, 3, 3 }
86
 
                        stretch         = TRUE
87
 
                        }
88
 
                image {
89
 
                        function        = BOX
90
 
                        recolorable     = TRUE
91
 
                        state           = ACTIVE
92
 
                        file            = "Nautilus/breadcrumb_active.png"
93
 
                        border          = { 3, 13, 3, 3 }
94
 
                        stretch         = TRUE
95
 
                        }
96
 
                image {
97
 
                        function        = BOX
98
 
                        recolorable     = TRUE
99
 
                        state           = INSENSITIVE
100
 
                        file            = "Nautilus/breadcrumb_normal.png"
101
 
                        border          = { 3, 13, 3, 3 }
102
 
                        stretch         = TRUE
103
 
                        }
104
 
                image {
105
 
                        function        = BOX
106
 
                        recolorable     = TRUE
107
 
                        state           = SELECTED
108
 
                        file            = "Nautilus/breadcrumb_active.png"
109
 
                        border          = { 3, 13, 3, 3 }
110
 
                        stretch         = TRUE
111
 
                        }
112
 
                }
113
 
}
114
 
 
115
 
style "nautilus-left-slider" {
116
 
        xthickness = 0
117
 
        ythickness = 0
118
 
        engine "pixmap" {
119
 
                image {
120
 
                        function        = BOX
121
 
                        file            = "Nautilus/left_slider_normal.png"
122
 
                        border          = { 3, 3, 3, 3 }
123
 
                        stretch         = TRUE
124
 
                        }
125
 
                }
126
 
}
127
 
 
128
 
style "nautilus-right-slider" { 
129
 
        xthickness = 0
130
 
        ythickness = 0
131
 
        engine "pixmap" {
132
 
                image {
133
 
                        function        = BOX
134
 
                        file            = "Nautilus/right_slider_normal.png"
135
 
                        border          = { 3, 3, 3, 3 }
136
 
                        stretch         = TRUE
137
 
                        }
138
 
                }
139
 
}
140
 
style "nautilus-toolbar" 
141
 
{
142
 
        xthickness = 1
143
 
        ythickness = 1
144
 
        bg_pixmap[NORMAL] = "Nautilus/nautilus-toolbar.png"
145
 
        engine "pixmap" {
146
 
                image {
147
 
                        function        = BOX
148
 
                        file            = "Nautilus/nautilus-toolbar.png"
149
 
                        border          = { 100, 1, 0, 36 }
150
 
                        stretch         = TRUE
151
 
                        }
152
 
                }
153
 
}
154
 
 
155
 
style "Nautilus-icons" {
156
 
        stock["gtk-go-back"]            = { { "stock_back.png", *, *, *}}
157
 
        stock["gtk-go-back-rtl"]        = { { "stock_back.png", *, *, *}}
158
 
        stock["gtk-previous"]           = { { "stock_back.png", *, *, *}}
159
 
        stock["gtk-go-forward"]         = { { "stock_forward.png", *, *, *}}
160
 
        stock["gtk-go-forward-rtl"]     = { { "stock_forward.png", *, *, *}}
161
 
        stock["gtk-home"]               = { { "stock_home.png", *, *, *}}
162
 
        stock["gtk-refresh"]            = { { "stock_refresh.png", *, *, *}}
163
 
        stock["gtk-stop"]               = { { "stock_stop.png", *, *, *}}
164
 
        stock["gtk-find"]               = { { "stock_find.png", *, *, *}}
165
 
}
166
 
style "toolbuttons" = "murrine-default" {
167
 
        GtkWidget::focus-padding = 2 # For nautilus elementary. Setting this in the global settings of the theme causes the Firefox tabs to jump a little bit.
168
 
        xthickness = 1
169
 
        ythickness = 2
170
 
        engine "pixmap" {
171
 
                image {
172
 
                        function        = BOX
173
 
                        recolorable     = TRUE
174
 
                        state           = NORMAL
175
 
                        file            = "dummy.png"
176
 
                        border          = { 5, 5, 5, 5 }
177
 
                        stretch         = TRUE
178
 
                        }
179
 
                image {
180
 
                        function        = BOX
181
 
                        recolorable     = TRUE
182
 
                        state           = PRELIGHT
183
 
                        file            = "dummy.png"
184
 
                        border          = { 5, 5, 5, 5 }
185
 
                        stretch         = TRUE
186
 
                        }
187
 
                image {
188
 
                        function        = BOX
189
 
                        recolorable     = TRUE
190
 
                        state           = ACTIVE
191
 
                        file            = "dummy.png"
192
 
                        border          = { 5, 5, 5, 5 }
193
 
                        stretch         = TRUE
194
 
                        }  
195
 
                image {
196
 
                        function        = BOX
197
 
                        recolorable     = TRUE
198
 
                        state           = INSENSITIVE
199
 
                        file            = "dummy.png"
200
 
                        border          = { 5, 5, 5, 5 }
201
 
                        stretch         = TRUE
202
 
                        }  
203
 
                }
204
 
}
205
 
 
206
 
style "pixmap-mode-button" {
207
 
        engine "pixmap" {       
208
 
                image { function = BOX state = PRELIGHT         file = "Nautilus/mode_prelight.png" border = { 3, 13, 3, 3 } stretch = TRUE }
209
 
                image { function = BOX state = NORMAL           file = "Nautilus/mode_normal.png"   border = { 3, 13, 3, 3 } stretch = TRUE }
210
 
                image { function = BOX state = ACTIVE           file = "Nautilus/mode_pressed.png"  border = { 3, 13, 3, 3 } stretch = TRUE }  
211
 
                image { function = BOX state = INSENSITIVE      file = "Nautilus/mode_normal.png"   border = { 3, 13, 3, 3 } stretch = TRUE } 
212
 
                image { function = BOX state = SELECTED         file = "Nautilus/mode_pressed.png"  border = { 3, 13, 3, 3 } stretch = TRUE }
213
 
                }
214
 
}
215
 
 
216
 
widget_class    "*Nautilus*Toolbar*Button"              style "toolbuttons"
217
 
widget          "Nautilus*Toolbar"                      style "nautilus-toolbar"
218
 
widget_class    "*Nautilus*GtkImage*"                   style "Nautilus-icons" # We only want these icons in Nautilus.
219
 
widget          "*NautilusNavigationWindow"             style "nautilus-window-base"
220
 
widget          "*Nautilus*Splitter"                    style "pixmap-sidebar-handle-left"
221
 
widget_class    "*Nautilus*View"                        style "murrine-thin"
222
 
widget_class    "*Nautilus*NautilusSidePane*"           style "nautilus-sidebar"
223
 
widget_class    "*Nautilus*NautilusSidePane*Scrolled*"  style "murrine-scrollbar"
224
 
widget_class    "*Nautilus*Statusbar*"                  style "nautilus-statusbar"
225
 
widget_class    "*Nautilus*Scale*"                      style "nautilus-scale"
226
 
 
227
 
widget_class    "*Nautilus*Notebook"                    style "murrine-thin"
228
 
 
229
 
widget          "*ModeButton*"                          style "pixmap-mode-button"
230
 
widget "*.nautilus-extra-view-widget"                   style : highest "nautilus-extra-view"
231
 
widget_class    "*NautilusPathBar.*ToggleButton*"       style "nautilus-breadcrumbs" 
232
 
 
233
 
widget          "Nautilus*left_slider*"                 style "nautilus-left-slider" 
234
 
widget          "Nautilus*right_slider*"                style "nautilus-right-slider"