diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2013-02-21 17:04:48 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-04 12:52:55 +0000 |
commit | d937722318c47831775d2f0e6c67b0f0f1d57688 (patch) | |
tree | 92d643f4faa5a13dd86ac175d31e2484ef36cf7a /WebContent/VAADIN/themes/reindeer/window | |
parent | 69def694d5d98f518ad08c039195fd2ac8781d2f (diff) | |
download | vaadin-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.png | bin | 0 -> 270 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/window/img/restore.png | bin | 0 -> 328 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/window/window.scss | 20 |
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 Binary files differnew file mode 100644 index 0000000000..86ffff9760 --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/window/img/maximize.png diff --git a/WebContent/VAADIN/themes/reindeer/window/img/restore.png b/WebContent/VAADIN/themes/reindeer/window/img/restore.png Binary files differnew file mode 100644 index 0000000000..119ea04259 --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/window/img/restore.png 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; } |