[cairo-commit] cairo-gtk-engine/theme/cairo-flat .cvsignore, NONE, 1.1 Makefile.am, NONE, 1.1 gtkrc, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Fri Feb 4 12:18:14 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo-gtk-engine/theme/cairo-flat
In directory gabe:/tmp/cvs-serv21883/theme/cairo-flat

Added Files:
	.cvsignore Makefile.am gtkrc 
Log Message:

        * configure.ac:
        * theme/Makefile.am:
        * theme/cairo-flat/.cvsignore:
        * theme/cairo-flat/Makefile.am: New build stuff for cairo-flat.

        * theme/cairo-flat/gtkrc: Make new cairo-flat theme, (so far just
        a clone of cairo-industrial with indentation cleanups).


--- NEW FILE: .cvsignore ---
Makefile
Makefile.in

--- NEW FILE: Makefile.am ---
themedir = $(datadir)/themes/cairo-flat/gtk-2.0
theme_DATA = gtkrc 

EXTRA_DIST = $(theme_DATA)

--- NEW FILE: gtkrc ---
style "cairo-flat-default"
{
    GtkWidget::interior_focus = 1
    GtkButton::default_border = { 3, 3, 3, 3 }
    GtkButton::default_outside_border = { 3, 3, 3, 3 }
    GtkRange::trough_border = 0

    GtkWidget::focus_padding = 1

    GtkPaned::handle_size = 7
  
    GtkRange::slider_width = 15
    GtkRange::stepper_size = 15
    GtkScrollbar::min_slider_length = 30
    GtkCheckButton::indicator_size = 13
    GtkRadioButton::indicator_size = 13
    GtkMenuBar::internal-padding = 0

    GtkButton::child_displacement_x = 0
    GtkButton::child_displacement_y = 1

    PanelMenu::gradient_bg = 1
    PanelMenu::stripe-color = { 0.24, 0.44, 0.66 }
    PanelMenu::stripe-color-light = { 0.54, 0.74, 0.96 }

    GtkMenuItem::selected_shadow_type = GTK_SHADOW_IN

    #GtkOptionMenu::indicator_size = { 11, 6 }
    #GtkOptionMenu::indicator_spacing = { 4, 5, 2, 2 }

    xthickness = 1
    ythickness = 1

    bg[NORMAL]      = "#f6f6f6"
    bg[PRELIGHT]    = "#ffffff"
    fg[PRELIGHT]    = "#202020"
    bg[ACTIVE]	    = "#d9d9d9"
    bg[INSENSITIVE] = "#d9d9d9"
    bg[SELECTED]    = "#99a6bf"

    base[SELECTED]  = "#7b96ac"
    text[SELECTED]  = "#ffffff"
    
    engine "cairo-gtk-engine" 
    {
	fill{
	    mode=gradient
	    gradient_direction=vertical
	    color[NORMAL]="#f6f6f6"
	    color[NORMAL]="#f6f6f6"
	    color[NORMAL]="#f6f6f6"
	    color[NORMAL]="#ededed"
	    color[NORMAL]="#f6f6f6"
	    
	   #color[PRELIGHT]="#ffffff"
	}	
	arrow=simple
    }
}

widget_class "*" style "cairo-flat-default"

style "cairo-flat-unrounded" = "cairo-flat-default"
{
    
}

style "cairo-flat-wide" = "cairo-flat-default"
{
    xthickness = 2
    ythickness = 2
}

style "cairo-flat-tasklist" = "cairo-flat-default"
{
    xthickness = 5
    ythickness = 3
}

style "cairo-flat-arrows" = "cairo-flat-default"
{
    fg[NORMAL] = { 0.2,0.2,0.2 }
}

style "cairo-flat-menu" = "cairo-flat-default"
{
    xthickness = 3
    ythickness = 3

    #bg[PRELIGHT]    = "#7b96ac"
    #bg[SELECTED]    = "#7b96ac"

    bg[PRELIGHT]    = "#3e71aa"
    bg[SELECTED]    = "#577591"

    fg[PRELIGHT]  = "#ffffff"
    fg[SELECTED]  = "#ffffff"

    engine "cairo-gtk-engine" 
    {
	fill{
            mode=gradient
            color[PRELIGHT]    = "#3e71aa"
	}	
    }
}

style "cairo-flat-menu-separator" = "cairo-flat-default"
{
    xthickness = 3
    ythickness = 3

    bg[PRELIGHT] = "#7b96ac"
    bg[SELECTED] = "#7b96ac"
    fg[PRELIGHT] = "#ffffff"
    fg[SELECTED] = "#ffffff"
}

style "cairo-flat-menubar" = "cairo-flat-default"
{
    xthickness = 3
    ythickness = 3
}

style "cairo-flat-paned" = "cairo-flat-default"
{
    xthickness = 10
    ythickness = 10
}

style "cairo-flat-tree" = "cairo-flat-default"
{
    engine "cairo-gtk-engine" 
    {
#      rounded_buttons = FALSE
    }
    xthickness = 2
    ythickness = 2
}

style "cairo-flat-frame-title" = "cairo-flat-default"
{
    fg[NORMAL] = { 0.25,0.25,0.25 }
}

style "cairo-flat-panel" = "cairo-flat-default"
{
    xthickness = 3
    ythickness = 3
}

style "cairo-flat-tooltips" = "cairo-flat-default"
{
    xthickness = 4
    ythickness = 4
    bg[NORMAL] = { 0.9,0.9,0.9 }
}

style "cairo-flat-scroll" = "cairo-flat-default"
{
    engine "cairo-gtk-engine"
    {
	style {
	    detail=trough
	    line{
		mode=none
	    }
	}
	arrow=simple
    }
}


style "cairo-flat-notebook" = "cairo-flat-default"
{
    engine "cairo-gtk-engine"
    {
	fill{
	    mode=solid
	}
    }
}

style "cairo-flat-button" = "cairo-flat-default"
{
    engine "cairo-gtk-engine" 
    {
	fill{
            mode=gradient
            gradient_direction=vertical
            color[NORMAL]="#f6f6f6"
            color[NORMAL]="#f6f6f6"
            color[NORMAL]="#f6f6f6"
            color[NORMAL]="#ededed"
            color[NORMAL]="#f6f6f6"
            color[PRELIGHT]="#ffffff"

            round_width=6.0
	}	
    }
}

style "metacity-frame"
{
    # Normal base color
    bg[NORMAL]      = { 0.97, 0.97, 0.97 }

    # Unfocused title background color
    bg[INSENSITIVE]	= { 0.9, 0.9, 0.9 }

    # Unfocused title text color
    fg[INSENSITIVE]	= { 0.15, 0.15, 0.15 }

    # Focused icon color
    fg[NORMAL]	= { 0.2, 0.2, 0.2 }

    # Focused title background color
    bg[SELECTED]	= { 0.27, 0.52, 0.84 }

    # Focused title text color
    fg[SELECTED]	= "white"
}

#class "Gtk*Paned" style "cairo-flat-paned"

widget "*.tasklist-button" style "cairo-flat-unrounded"
widget_class "*.GtkTreeView.*" style "cairo-flat-tree"
widget_class "*.GtkList.*" style "cairo-flat-tree"
widget_class "*.GtkCList.*" style "cairo-flat-tree"
widget_class "*.ETree.*" style "cairo-flat-tree"
widget_class "*.ETable.*" style "cairo-flat-tree"

class "GtkNotebook" style "cairo-flat-notebook"

#widget_class "*trough*" style "cairo-flat-scroll"

class "GtkButton" style "cairo-flat-button"
class "GtkRange" style "cairo-flat-scroll"
class "GtkMenu" style "cairo-flat-wide"
class "GtkFrame" style "cairo-flat-wide"
class "GtkStatusbar" style "cairo-flat-wide"
class "GtkMenuItem" style "cairo-flat-menu"
widget_class "*.GtkMenuItem.*" style "cairo-flat-menu"
widget_class "*.GtkAccelMenuItem.*" style "cairo-flat-menu"
widget_class "*.GtkRadioMenuItem.*" style "cairo-flat-menu"
widget_class "*.GtkCheckMenuItem.*" style "cairo-flat-menu"
widget_class "*.GtkImageMenuItem.*" style "cairo-flat-menu"
widget_class "*.GtkSeparatorMenuItem.*" style "cairo-flat-menu-separator"
class "GtkEntry" style "cairo-flat-wide"
widget_class "*.tooltips.*.GtkToggleButton" style "cairo-flat-tasklist"
widget_class "*.GtkFrame.GtkLabel" style "cairo-flat-frame-title"
widget_class "*.GtkFrame.GtkCheckButton.GtkLabel" style "cairo-flat-frame-title"
class "MetaFrames" style "metacity-frame"
class "GtkVScrollbar" style "cairo-flat-scroll"
class "GtkHScrollbar" style "cairo-flat-arrows"
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "cairo-flat-panel"
widget "gtk-tooltips" style "cairo-flat-tooltips"




More information about the cairo-commit mailing list