summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-15 10:25:20 +0200
committerraveit65 <[email protected]>2016-04-20 16:04:43 +0200
commite8be955849664584f1fb697fd904ae9f85945a5e (patch)
tree879ce9db288821951472b5ae0d217e6104c3ef60 /data
parente8ec81e2da654f5f07d94dc3f767d42f90fd12b4 (diff)
downloadcaja-e8be955849664584f1fb697fd904ae9f85945a5e.tar.bz2
caja-e8be955849664584f1fb697fd904ae9f85945a5e.tar.xz
GTK+-3 theming: add a CSS file for caja, and initialize it at startup
inspired by: https://git.gnome.org/browse/nautilus/commit/?id=dad5d12
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
-rw-r--r--data/caja.css23
2 files changed, 25 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 2d79e780..0342a34c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -33,6 +33,7 @@ cajadata_DATA = \
browser.xml \
caja-extras.placeholder \
caja-suggested.placeholder \
+ caja.css \
$(NULL)
# app data file
@@ -43,6 +44,7 @@ appdata_DATA = $(appdata_in_files:.xml.in=.xml)
EXTRA_DIST = $(cajadata_DATA) \
caja.desktop \
caja.desktop.in \
+ caja.css \
freedesktop-dbus-interfaces.xml \
$(xml_in_files) \
$(desktop_in_files) \
diff --git a/data/caja.css b/data/caja.css
new file mode 100644
index 00000000..360a4f52
--- /dev/null
+++ b/data/caja.css
@@ -0,0 +1,23 @@
+
+
+.caja-canvas-item {
+ border-radius: 3px;
+}
+
+/* desktop mode */
+.caja-desktop.caja-canvas-item {
+ color: #ffffff;
+ text-shadow: 1px 1px alpha (#000000, 0.8);
+}
+
+.caja-desktop.caja-canvas-item:selected,
+.caja-desktop.caja-canvas-item:active,
+.caja-desktop.caja-canvas-item:hover {
+ text-shadow: none;
+}
+
+.caja-desktop EelEditableLabel.entry {
+ border-image: none;
+ border-width: 1px;
+ text-shadow: none;
+}