diff options
author | Artur Signell <artur@vaadin.com> | 2013-04-04 23:25:10 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-05 07:15:08 +0000 |
commit | cc3041f933f231ef274e606fe97f713468f2e3b0 (patch) | |
tree | 6b659e74094219346d945fb4273b40e8f8f3e6bf /WebContent/VAADIN/themes/chameleon | |
parent | 874c76e4a51f07067a2351fe54d9cfa03f70e968 (diff) | |
download | vaadin-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/chameleon')
-rw-r--r-- | WebContent/VAADIN/themes/chameleon/components/window/window.scss | 34 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/chameleon/img/maximize.png | bin | 0 -> 1207 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/chameleon/img/restore.png | bin | 0 -> 1200 bytes |
3 files changed, 24 insertions, 10 deletions
diff --git a/WebContent/VAADIN/themes/chameleon/components/window/window.scss b/WebContent/VAADIN/themes/chameleon/components/window/window.scss index e9524745f8..92ada43c90 100644 --- a/WebContent/VAADIN/themes/chameleon/components/window/window.scss +++ b/WebContent/VAADIN/themes/chameleon/components/window/window.scss @@ -1,25 +1,39 @@ @mixin chameleon-window($primaryStyleName : v-window) { -.#{$primaryStyleName}-closebox { +.#{$primaryStyleName}-closebox, +.#{$primaryStyleName}-restorebox, +.#{$primaryStyleName}-maximizebox { width: 14px; height: 15px; overflow: hidden; - text-indent: -50px; - background: transparent url(../../img/close-btn.png) no-repeat; vertical-align: middle; margin: 0; top: .3em; - right: .4em; z-index: 2; + &:hover { + background-position: 0 -25px; } - -.#{$primaryStyleName}-closebox:hover { - background-position: 0 -25px; + &:active { + background-position: 0 -50px; } +} +.#{$primaryStyleName}-closebox { + text-indent: -50px; + background: transparent url(../../img/close-btn.png) no-repeat; + right: .4em; +} +.#{$primaryStyleName}-restorebox, +.#{$primaryStyleName}-maximizebox { + right: 1.8em; +} + +.#{$primaryStyleName}-restorebox { + background: transparent url(../../img/restore.png) no-repeat; +} +.#{$primaryStyleName}-maximizebox { + background: transparent url(../../img/maximize.png) no-repeat; +} -.#{$primaryStyleName}-closebox:active { - background-position: 0 -50px; - } .#{$primaryStyleName} { background-image: none; diff --git a/WebContent/VAADIN/themes/chameleon/img/maximize.png b/WebContent/VAADIN/themes/chameleon/img/maximize.png Binary files differnew file mode 100644 index 0000000000..5c6488d1a5 --- /dev/null +++ b/WebContent/VAADIN/themes/chameleon/img/maximize.png diff --git a/WebContent/VAADIN/themes/chameleon/img/restore.png b/WebContent/VAADIN/themes/chameleon/img/restore.png Binary files differnew file mode 100644 index 0000000000..55d004fe53 --- /dev/null +++ b/WebContent/VAADIN/themes/chameleon/img/restore.png |