Commit ce3d607b authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte
Browse files

GladeDesignLayout: updated to new class css name API

parent 08529d9d
......@@ -2050,6 +2050,8 @@ glade_design_layout_class_init (GladeDesignLayoutClass * klass)
NULL, NULL));
/* Setup Custom CSS */
gtk_widget_class_set_css_name (widget_class, "glade-design-layout");
css_provider = gtk_css_provider_new ();
gtk_css_provider_load_from_resource (css_provider, "/org/gnome/gladeui/glade-design-layout.css");
......
......@@ -21,25 +21,26 @@
*
*/
GladeDesignLayout {
background-color: @theme_selected_bg_color;
glade-design-layout {
background: none;
border: 4px solid @theme_selected_bg_color;
color: @theme_selected_fg_color;
border-radius: 4px 4px 0px 4px;
}
GladeDesignLayout.handle {
glade-design-layout.handle {
background-color: @theme_selected_bg_color;
border-radius: 0px 0px 4px 4px;
}
GladeDesignLayout.selection {
glade-design-layout.selection {
border: 2px solid @theme_selected_bg_color;
border-radius: 0px;
background-color:transparent;
background-image: -gtk-gradient (radial,
center center, 0,
center center, 1,
from (alpha(@theme_selected_bg_color, 0)),
to (alpha(@theme_selected_bg_color, .8)));
from (alpha(@theme_selected_bg_color, .08)),
to (alpha(@theme_selected_bg_color, .50)));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment