summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-05-08 09:10:39 +0000
committerjabiertxof <info@marker.es>2016-05-08 09:10:39 +0000
commit42ccdd6fa5daca2820326ec11e01cc2731f21369 (patch)
tree9ecaa2b74d1fa392e9b52b6295c0a05319cbf442 /share
parentFix transform in document based axis (diff)
parentStart of GTK3 external style sheet support. (diff)
downloadinkscape-42ccdd6fa5daca2820326ec11e01cc2731f21369.tar.gz
inkscape-42ccdd6fa5daca2820326ec11e01cc2731f21369.zip
update to trunk
(bzr r13682.1.42)
Diffstat (limited to 'share')
-rw-r--r--share/ui/CMakeLists.txt2
-rw-r--r--share/ui/Makefile.am1
-rw-r--r--share/ui/style.css55
3 files changed, 57 insertions, 1 deletions
diff --git a/share/ui/CMakeLists.txt b/share/ui/CMakeLists.txt
index 89b9f9b0f..5e9db74cf 100644
--- a/share/ui/CMakeLists.txt
+++ b/share/ui/CMakeLists.txt
@@ -1,3 +1,3 @@
-file(GLOB _FILES "*.xml" "*.rc")
+file(GLOB _FILES "*.xml" "*.rc" "*.css")
install(FILES ${_FILES} DESTINATION ${SHARE_INSTALL}/inkscape/ui)
diff --git a/share/ui/Makefile.am b/share/ui/Makefile.am
index 7195af0cb..1e55ea58f 100644
--- a/share/ui/Makefile.am
+++ b/share/ui/Makefile.am
@@ -4,6 +4,7 @@ uidir = $(datadir)/inkscape/ui
ui_DATA = \
keybindings.rc \
menus-bars.xml \
+ style.css \
toolbox.xml \
units.xml
diff --git a/share/ui/style.css b/share/ui/style.css
new file mode 100644
index 000000000..41b8ba426
--- /dev/null
+++ b/share/ui/style.css
@@ -0,0 +1,55 @@
+
+/* GTK3 WIDGET STYLING */
+
+/*
+ * Keep in order of:
+ * General -> Specific
+ * Order of default appearance
+ * Top -> Bottom (e.g. Selector Tool, Node Tool, ...)
+ * Left -> Right
+ *
+ * We need a standardized naming scheme.
+ */
+
+/* Lightest to darkest based on linear rgb */
+@define-color bg_color0 #ffffff; /* White */
+@define-color bg_color05 #f8f8f8; /* Slightly off white */
+@define-color bg_color1 #f0f0f0;
+@define-color bg_color2 #e0e0e0;
+@define-color bg_color3 #d0d0d0;
+@define-color bg_color4 #bbbbbb; /* 50% Gray */
+@define-color bg_color5 #a5a5a5;
+@define-color bg_color6 #898989;
+@define-color bg_color7 #636363;
+@define-color bg_color8 #000000; /* Black */
+
+GtkWidget {
+/* font-size: 12pt; */
+}
+
+SPRuler {
+ background-color: @bg_color05;
+}
+
+SPCanvas {
+ background-color: @bg_color0;
+}
+
+combobox window.popup scrolledwindow treeview separator {
+ -GtkWidget-wide-separators: true;
+ -GtkWidget-separator-height: 6;
+}
+
+#font_selector_family {
+ -GtkWidget-wide-separators: true;
+ -GtkWidget-separator-height: 6;
+}
+
+#TextFontFamilyAction_combobox {
+ -GtkComboBox-appears-as-list: true;
+}
+
+#guides_lock {
+ padding: 0;
+}
+