From d6f43136341159cccde9f707f2a493c109ec4e85 Mon Sep 17 00:00:00 2001 From: Alexandre Mazari Date: Fri, 29 Jul 2011 23:57:51 -0500 Subject: e-window: use a css file for widget styling Replace local styling (used for the tab close button and embed's status frame) by a global css sheet loaded at window construction. This allows tweaking style properties without rebuilding. The css file is installed in $(pkgdatadir)/epiphany.css. Signed-off-by: Diego Escalante Urrelo Bug #644805 --- data/ui/Makefile.am | 7 ++++++- data/ui/epiphany.css | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 data/ui/epiphany.css (limited to 'data') diff --git a/data/ui/Makefile.am b/data/ui/Makefile.am index 4fd9a45f2..7ffa3b1cb 100644 --- a/data/ui/Makefile.am +++ b/data/ui/Makefile.am @@ -7,4 +7,9 @@ xml_DATA = \ epiphany-toolbar.xml \ epiphany-history-window-ui.xml -EXTRA_DIST = $(xml_DATA) +cssdir = $(pkgdatadir) +css_DATA = epiphany.css + +EXTRA_DIST = \ + $(xml_DATA) \ + $(css_DATA) diff --git a/data/ui/epiphany.css b/data/ui/epiphany.css new file mode 100644 index 000000000..867d31045 --- /dev/null +++ b/data/ui/epiphany.css @@ -0,0 +1,16 @@ +#ephy-status-frame { + border-style: solid; + border-width: 1; + padding: 4; +} + +#ephy-tab-close-button { + -GtkButton-default-border: 0; + -GtkButton-default-outside-border: 0; + -GtkButton-inner-border: 0; + -GtkWidget-focus-padding: 0; + -GtkWidget-focus-line-width: 0; + margin: 0; + padding: 0; +} + -- cgit