summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/window
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2013-02-21 17:04:48 +0200
committerVaadin Code Review <review@vaadin.com>2013-04-04 12:52:55 +0000
commitd937722318c47831775d2f0e6c67b0f0f1d57688 (patch)
tree92d643f4faa5a13dd86ac175d31e2484ef36cf7a /WebContent/VAADIN/themes/reindeer/window
parent69def694d5d98f518ad08c039195fd2ac8781d2f (diff)
downloadvaadin-framework-d937722318c47831775d2f0e6c67b0f0f1d57688.tar.gz
vaadin-framework-d937722318c47831775d2f0e6c67b0f0f1d57688.zip
Maximize Restore for Window #3400
Change-Id: I164ae83bd6cf98f7a3d7e76d8e717a56e8cb5183
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer/window')
-rw-r--r--WebContent/VAADIN/themes/reindeer/window/img/maximize.pngbin0 -> 270 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/window/img/restore.pngbin0 -> 328 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/window/window.scss20
3 files changed, 19 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/window/img/maximize.png b/WebContent/VAADIN/themes/reindeer/window/img/maximize.png
new file mode 100644
index 0000000000..86ffff9760
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/window/img/maximize.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/window/img/restore.png b/WebContent/VAADIN/themes/reindeer/window/img/restore.png
new file mode 100644
index 0000000000..119ea04259
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/window/img/restore.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/window/window.scss b/WebContent/VAADIN/themes/reindeer/window/window.scss
index e6a73ee2c0..7a05e52aec 100644
--- a/WebContent/VAADIN/themes/reindeer/window/window.scss
+++ b/WebContent/VAADIN/themes/reindeer/window/window.scss
@@ -14,7 +14,7 @@
border-color: rgba(0,0,0,.2);
}
.#{$primaryStyleName}-outerheader {
- padding: 12px 32px 0 14px;
+ padding: 12px 52px 0 14px;
height: 37px;
background: black repeat-x;
background-image: url(img/header-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
@@ -61,6 +61,24 @@
.#{$primaryStyleName}-closebox:active {
background-image: url(img/close-pressed.png); /** sprite-ref: verticals */
}
+.#{$primaryStyleName}-maximizebox,
+.#{$primaryStyleName}-restorebox {
+ top: 12px;
+ right: 28px;
+ width: 15px;
+ height: 16px;
+ background: transparent;
+}
+.#{$primaryStyleName}-maximizebox {
+ &, &:hover,&:active {
+ background-image: url(img/maximize.png); /** sprite-ref: verticals */
+ }
+}
+.#{$primaryStyleName}-restorebox {
+ &, &:hover,&:active {
+ background-image: url(img/restore.png); /** sprite-ref: verticals */
+ }
+}
.#{$primaryStyleName}-contents {
background: #fff;
}