gnopaste

Sorry for this ugly message. We are searching for some translators.
Please send me an eMail or jabber: t4c@im.digital-bit.ch
Got: de, en, pl, ro, lu, ru, es - Need: everything else

Name
join
Scriptlanguage
Plain Text
Tabwidth
4
Date
10/12/2008 01:45:10 am
IP
86.213.165.139

Thème d'exemple

# Thème GTK d'exemple

gtk_color_scheme = "fg_color:#2e3436\nbg_color:#d1c7b4\nbase_color:#ede3d0\ntext_color:#000000\nselected_fg_color:#d1c7b4\nselected_bg_color:#2b64a8\ntooltip_bg_color:#b8a587\ntooltip_fg_color:#000000"

style "base" {
    fg[NORMAL]        = @fg_color
    fg[PRELIGHT]      = @fg_color
    fg[SELECTED]      = @selected_fg_color
    fg[ACTIVE]        = @fg_color
    fg[INSENSITIVE]  = darker (@bg_color)

    bg[NORMAL]        = @bg_color
    bg[PRELIGHT]      = shade (1.02, @bg_color)
    bg[SELECTED]      = @selected_bg_color
    bg[INSENSITIVE]  = @bg_color
    bg[ACTIVE]        = shade (0.9, @bg_color)

    base[NORMAL]      = @base_color
    base[PRELIGHT]    = shade (0.95, @bg_color)
    base[ACTIVE]      = shade (0.9, @selected_bg_color)
    base[SELECTED]    = @selected_bg_color
    base[INSENSITIVE] = @bg_color

    text[NORMAL]      = @text_color
    text[PRELIGHT]    = @text_color
    text[ACTIVE]      = @selected_fg_color
    text[SELECTED]    = @selected_fg_color
    text[INSENSITIVE] = darker (@bg_color)
    
    # Le contenu du bouton ne se déplace pas au clic
    GtkButton::child-displacement-x = 0
    GtkButton::child-displacement-y = 0

    engine "clearlooks" {
        style = GUMMY
        radius = 6.5
        contrast = 1.0
        scrollbar_color = mix(0.25,@selected_bg_color,@bg_color)
        menubarstyle = 1
        animation = TRUE
    }
}

class "GtkWidget" style "base"

# On fait des styles pour élargir des composants

style "small" {
    xthickness = 1
    ythickness = 1
}

style "medium" {
    xthickness = 2
    ythickness = 2
}

style "large" {
    xthickness = 3
    ythickness = 3
}

style "xlarge" {
    xthickness = 4
    ythickness = 4
}

# On appliquera des styles aux boutons
style "bouton" = "medium" {
    GtkButton::inner-border = {0, 0, 0, 0}
    font_name = "Arial 8"
}

widget_class "*<GtkButton>*" style "bouton"

# Ici c'est les menus
style "menuitem" = "large" {
    fg[PRELIGHT] = lighter(@selected_fg_color)
}

# Les menus sont recolorés
widget_class "*GtkMenu*" style "menuitem"

# Les zones d'entrée sont élargies
widget_class "*<GtkEntry>*" style "xlarge"

submitter » gnopaster | imprint « imprint     
» Terms of use «
» digital bit dot ch - t4c's new home «