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 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367
| # Basé sur :
# Fedora Nodoka gtkrc, based on Aqualooks
#
# Authors:
# Daniel Geiger <dgeiger_343@yahoo.com>
# Martin Sourada <martin.sourada@seznam.cz>
#
# Uses the Nodoka theme engine, forked from Murrine theme engine
gtk_color_scheme = "fg_color:#FFFFFF\nbg_color:#101010\nbase_color:#000\ntext_color:#FFFFFF\nselected_bg_color:#FFFFFF\nselected_fg_color:#000\ntooltip_bg_color:#000\ntooltip_fg_color:#FFFFFF"
style "font"
{
font_name = "Tahoma 14"
}
widget_class "*" style "font"
gtk-font-name = "Tahoma 14"
style "my-scroll-style"
{
GtkScrollbar::slider_width = 25
GtkScrollbar::stepper_size = 20
GtkRange::slider-width = 28
GtkRange::trough_border = 0
GtkScale::slider-length = 64
GtkWidget::scroll-arrow-vlength = 48
GtkWidget::scroll-arrow-hlength = 48
}
widget_class "*" style "my-scroll-style"
style "fedora-default"
{
GtkComboBox::appears-as-list = 1
GtkComboBox::focus-on-click = 0
GOComboBox::add_tearoffs = 0
# font_name="Verdana 8"
# GtkRange::slider_width = 32
engine "pixmap"
{
image
{
function = FOCUS
recolorable = TRUE
overlay_file = "blank.png"
overlay_border = { 0,0,0,0 }
overlay_stretch = TRUE
}
image
{
function = ARROW
recolorable = TRUE
state = NORMAL
file = "arrow_up1.png"
stretch = TRUE
arrow_direction = UP
}
}
GtkButton::default_border = { 0, 0, 0, 0 }
GtkButton::child-displacement-x = 0
GtkButton::child-displacement-y = 1
GtkRange::trough_border = 0
GtkRange::slider_width = 14
GtkRange::stepper_size = 14
GtkRange::stepper_spacing = 0
GtkScale::slider-length = 28
GtkPaned::handle_size = 6
GtkScrollbar::min_slider_length = 60
GtkCheckButton::indicator_size = 16
#13
GtkRadioButton::indicator_size = 16
#13
GtkMenuBar::internal-padding = 0
GtkTreeView::expander_size = 14
GtkExpander::expander_size = 16
xthickness = 1
ythickness = 1
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = @bg_color
#@selected_fg_color
bg[NORMAL] = @bg_color
bg[ACTIVE] = shade (1.025,@bg_color)
bg[PRELIGHT] = shade (1.10,@bg_color)
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = @bg_color
#shade (1.025,@bg_color)
base[NORMAL] = @base_color
base[ACTIVE] = shade (0.65,@base_color)
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
base[INSENSITIVE] = @bg_color
#shade (1.025,@bg_color)
text[NORMAL] = @text_color
text[ACTIVE] = shade (0.65,@text_color)
text[PRELIGHT] = @text_color
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = darker(@bg_color)
#"#000000"
#shade (1.70,@bg_color)
}
# Evolution (and some deprecated widgets) use bg and fg for its listview instead of
# base and text like they should, so we override it.
style "evolution-hack" = "fedora-default"
{
bg[ACTIVE] = @bg_color
}
style "evolution-hack-tree" = "fedora-default"
{
bg[ACTIVE] = mix (0.8, @bg_color, @selected_bg_color)
bg[SELECTED] = shade (1.040897799, @selected_bg_color)
fg[ACTIVE] = @text_color
fg[SELECTED] = @selected_fg_color
}
style "fedora-wide" = "fedora-default"
{
xthickness = 2
ythickness = 2
}
style "fedora-wider" = "fedora-default"
{
xthickness = 3
ythickness = 3
}
style "fedora-button" = "fedora-wider"
{
bg[NORMAL] = @bg_color
bg[ACTIVE] = @bg_color
bg[PRELIGHT] = @bg_color
#bg[PRELIGHT] = mix(0.60, @bg_color, @selected_bg_color)
#for arrows
text[SELECTED] = shade (0.75,@selected_fg_color)
}
style "fedora-notebook" = "fedora-wide"
{
bg[NORMAL] = shade (1.10,@bg_color)
fg[ACTIVE] = shade (0.6,@fg_color)
bg[ACTIVE] = shade (0.90,@bg_color)
bg[SELECTED] = mix(0.70, @selected_bg_color, shade (1.10,@bg_color))
}
style "fedora-menubar" = "fedora-default"
{
# bg[NORMAL] = mix (0.8, lighter(@bg_color), shade(1.040897799, @selected_bg_color))
fg[PRELIGHT] = @selected_fg_color
text[PRELIGHT] = @selected_fg_color
}
style "fedora-panel-menubar" = "fedora-menubar"
{
fg[PRELIGHT] = @selected_fg_color
text[PRELIGHT] = @selected_fg_color
}
style "fedora-menu" = "fedora-default"
{
xthickness = 2
bg[NORMAL] = shade (1.15,@bg_color)
}
style "fedora-menu-item" = "fedora-menu"
{
xthickness = 3
ythickness = 3
fg[PRELIGHT] = @selected_fg_color
text[PRELIGHT] = @selected_fg_color
}
style "fedora-tree" = "fedora-wide"
{
bg[NORMAL] = shade (1.10,@bg_color)
bg[PRELIGHT] = shade (1.30,@bg_color)
bg[ACTIVE] = mix(0.85, shade (1.05,@bg_color), @selected_bg_color)
}
style "fedora-frame-title" = "fedora-default"
{
fg[NORMAL] = @text_color
}
style "fedora-tooltips"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
}
style "fedora-progressbar" = "fedora-wide"
{
bg[NORMAL] = shade (0.80, @bg_color)
bg[SELECTED] = shade (0.80, @selected_bg_color)
fg[PRELIGHT] = @selected_fg_color
}
style "fedora-combo" = "fedora-button"
{
# xthickness = 10
# ythickness = 30
GtkComboBox::arrow-size = 20
}
style "fedora-status" = "fedora-wide"
{
GtkStatusbar ::shadow-type = GTK_SHADOW_IN
}
style "fedora-entry" = "fedora-button"
{
GtkWidget ::focus-line-width = 2
GtkEntry ::shadow-type = GTK_SHADOW_IN
}
style "fedora-scrollbar" = "fedora-button"
{
# text[NORMAL] = shade (0.2, @bg_color)
# text[PRELIGHT] = shade (0.2, @bg_color)
# text[ACTIVE] = @text_color
}
style "fedora-scale" = "fedora-button"
{
GtkRange ::trough-side-details = 0
GtkRange ::slider_width = 16
bg[SELECTED] = shade (0.90, @selected_bg_color)
fg[PRELIGHT] = shade(1.1946, @selected_fg_color)
}
style "fedora-checkbutton" = "fedora-button"
{
bg[PRELIGHT] = @bg_color
}
style "fedora-spin-button" = "fedora-entry"
{
xthickness = 12
ythickness = 18
}
style "fedora-toolbar" = "fedora-default"
{
bg[NORMAL] = shade (1.2,@bg_color)
}
style "fedora-frame" = "fedora-wide"
{
}
# widget styles
class "GtkWidget" style "fedora-default"
class "GtkButton" style "fedora-button"
class "GtkCombo" style "fedora-combo"
class "GtkComboBox" style "fedora-combo"
class "GtkRange" style "fedora-wide"
class "GtkFrame" style "fedora-frame"
class "GtkMenu" style "fedora-menu"
class "GtkEntry" style "fedora-entry"
class "GtkMenuItem" style "fedora-menu-item"
class "GtkNotebook" style "fedora-notebook"
class "GtkProgressBar" style "fedora-progressbar"
class "GtkMenuBar" style "fedora-menubar"
class "GtkStatusbar" style "fedora-status"
class "GtkScrollbar" style "fedora-scrollbar"
class "GtkHBox" style "fedora-wider"
class "GtkScale" style "fedora-scale"
class "GtkCheckButton" style "fedora-checkbutton"
class "GtkSpinButton" style "fedora-spin-button"
class "GtkToolbar" style "fedora-toolbar"
widget_class "*MenuItem.*" style "fedora-menu-item"
# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "fedora-combo"
widget_class "*.GtkCombo.GtkButton" style "fedora-combo"
# new
widget_class "*.GtkComboBox.GtkButton" style "fedora-combo"
widget_class "*.GtkComboBox.GtkFrame" style "fedora-wider"
# tooltips stuff
widget "gtk-tooltip*" style "fedora-tooltips"
# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "fedora-tree"
widget_class "*.GtkCTree.GtkButton" style "fedora-tree"
widget_class "*.GtkList.GtkButton" style "fedora-tree"
widget_class "*.GtkCList.GtkButton" style "fedora-tree"
widget_class "*.GtkFrame.GtkLabel" style "fedora-frame-title"
# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "fedora-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "fedora-notebook"
widget_class "*.GtkNotebook.GtkLabel*" style "fedora-notebook" #for tabs
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "fedora-notebook"
widget_class "*<GtkNotebook>*<GtkLayout>" style "fedora-notebook"
# these should really use base and text colors instead
widget_class "*GtkCTree*" style "evolution-hack-tree"
widget_class "*GtkList*" style "evolution-hack-tree"
widget_class "*GtkCList*" style "evolution-hack-tree"
widget_class "*.ETree.*" style "evolution-hack-tree"
widget_class "*EInfoLabel*" style "evolution-hack"
#panel bg hack
widget "*Panel*Menu*" style "fedora-panel-menubar"
#evolution new button workaround (should be fixed in Evo 2.24)
style "fedora-evo-new-button-workaround"
{
bg[NORMAL] = @bg_color
}
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "fedora-evo-new-button-workaround"
widget_class "*.<GtkProgress>" style "fedora-progressbar"
#style "labelstyle"
#{
#text[INSENSITIVE] = "#000000"
#shade (1.70,@bg_color)
#"#000000"
#}
#class "GtkLabel*" style "labelstyle"
#class "GtkFrame.GtkLabel" style "labelstyle"
#class "GtkMisc" style "labelstyle"
#style "my-spin"
#{
# xthickness = 50
# ythickness = 50
#}
#widget_class "GtkSpinButton" style "my-spin" |
Partager