diff options
author | Alexandre Mazari <scaroo@gmail.com> | 2011-07-30 12:57:51 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2011-07-30 13:10:17 +0800 |
commit | d6f43136341159cccde9f707f2a493c109ec4e85 (patch) | |
tree | f9cd5ac4c6b6ffdd08f3404e90236c8b13c609a1 /data | |
parent | f4c6a2f079f5b24c067f2b656a8a4f808ec4533c (diff) | |
download | gsoc2013-epiphany-d6f43136341159cccde9f707f2a493c109ec4e85.tar.gz gsoc2013-epiphany-d6f43136341159cccde9f707f2a493c109ec4e85.tar.zst gsoc2013-epiphany-d6f43136341159cccde9f707f2a493c109ec4e85.zip |
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 <descalante@igalia.com>
Bug #644805
Diffstat (limited to 'data')
-rw-r--r-- | data/ui/Makefile.am | 7 | ||||
-rw-r--r-- | data/ui/epiphany.css | 16 |
2 files changed, 22 insertions, 1 deletions
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; +} + |