summaryrefslogtreecommitdiffstats
path: root/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-03-13 11:24:41 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-03-13 11:24:41 +0100
commit09c4b4be9ec33bac7d814dbeb28095a7a7add835 (patch)
tree4bfda9a01916a45aa0dcc8b91305956fe75508bc /java/vaadin/src/main/WebContent/VAADIN/themes/mytheme
parent7b2889665d790585f4e1e0ac5c215359240a8d33 (diff)
downloadshare-09c4b4be9ec33bac7d814dbeb28095a7a7add835.zip
share-09c4b4be9ec33bac7d814dbeb28095a7a7add835.tar.gz
java : vaadin : add theme support
Diffstat (limited to 'java/vaadin/src/main/WebContent/VAADIN/themes/mytheme')
-rw-r--r--java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/icons/home.pngbin0 -> 1783 bytes
-rw-r--r--java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/mytheme.scss15
-rw-r--r--java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/styles.scss4
3 files changed, 19 insertions, 0 deletions
diff --git a/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/icons/home.png b/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/icons/home.png
new file mode 100644
index 0000000..7362322
--- /dev/null
+++ b/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/icons/home.png
Binary files differ
diff --git a/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/mytheme.scss b/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/mytheme.scss
new file mode 100644
index 0000000..f1c36c3
--- /dev/null
+++ b/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/mytheme.scss
@@ -0,0 +1,15 @@
+
+@import "../valo/valo.scss";
+
+@mixin mytheme {
+ @include valo;
+
+ .v-app {
+ background-color: #e6e6e9;
+ }
+ .v-button {
+ color: #ff6660;
+ background-image: none;
+ background-color: #eee666;
+ }
+}
diff --git a/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/styles.scss b/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/styles.scss
new file mode 100644
index 0000000..447ce98
--- /dev/null
+++ b/java/vaadin/src/main/WebContent/VAADIN/themes/mytheme/styles.scss
@@ -0,0 +1,4 @@
+@import "mytheme.scss";
+.mytheme {
+ @include mytheme;
+}