aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/liferay
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-04-04 23:25:10 +0300
committerVaadin Code Review <review@vaadin.com>2013-04-05 07:15:08 +0000
commitcc3041f933f231ef274e606fe97f713468f2e3b0 (patch)
tree6b659e74094219346d945fb4273b40e8f8f3e6bf /WebContent/VAADIN/themes/liferay
parent874c76e4a51f07067a2351fe54d9cfa03f70e968 (diff)
downloadvaadin-framework-cc3041f933f231ef274e606fe97f713468f2e3b0.tar.gz
vaadin-framework-cc3041f933f231ef274e606fe97f713468f2e3b0.zip
Maximize/restore icons for Chameleon, Liferay, Runo (#3400)
Change-Id: Ibbeed5b5925442f966841c0f5d2ea3dbfe9007bb
Diffstat (limited to 'WebContent/VAADIN/themes/liferay')
-rw-r--r--WebContent/VAADIN/themes/liferay/window/maximize_sprites.pngbin0 -> 1291 bytes
-rw-r--r--WebContent/VAADIN/themes/liferay/window/restore_sprites.pngbin0 -> 1441 bytes
-rw-r--r--WebContent/VAADIN/themes/liferay/window/window.scss28
3 files changed, 21 insertions, 7 deletions
diff --git a/WebContent/VAADIN/themes/liferay/window/maximize_sprites.png b/WebContent/VAADIN/themes/liferay/window/maximize_sprites.png
new file mode 100644
index 0000000000..06510063cd
--- /dev/null
+++ b/WebContent/VAADIN/themes/liferay/window/maximize_sprites.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/liferay/window/restore_sprites.png b/WebContent/VAADIN/themes/liferay/window/restore_sprites.png
new file mode 100644
index 0000000000..41ccfaf79f
--- /dev/null
+++ b/WebContent/VAADIN/themes/liferay/window/restore_sprites.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/liferay/window/window.scss b/WebContent/VAADIN/themes/liferay/window/window.scss
index 54bfb37938..583a81d9e4 100644
--- a/WebContent/VAADIN/themes/liferay/window/window.scss
+++ b/WebContent/VAADIN/themes/liferay/window/window.scss
@@ -42,21 +42,35 @@
height: 5px;
}
+.v-window-restorebox,
+.v-window-maximizebox,
.v-window-closebox {
- background: url(closebutton_sprites.png) no-repeat scroll 0 0 transparent;
position: absolute;
width: 24px;
height: 24px;
- right: 9px;
top: 8px;
+ &:hover {
+ background-position: 0 -24px;
+ }
+ &:active {
+ background-position: 0 -48px;
+ }
+
}
-
-.v-window-closebox:hover {
- background-position: 0 -24px;
+.v-window-closebox {
+ right: 9px;
+ background: url(closebutton_sprites.png) no-repeat scroll 0 0 transparent;
}
-.v-window-closebox:active {
- background-position: 0 -48px;
+.v-window-restorebox,
+.v-window-maximizebox {
+ right: 36px;
+}
+.v-window-restorebox {
+ background: url(restore_sprites.png) no-repeat scroll 0 0 transparent;
+}
+.v-window-maximizebox {
+ background: url(maximize_sprites.png) no-repeat scroll 0 0 transparent;
}
.v-window-resizebox {