aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/window/window.scss
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-08-08 14:27:31 +0300
committerHenri Sara <hesara@vaadin.com>2012-08-08 14:44:49 +0300
commitcfa455d6cfd4a535fd77cbc76637a57e7024e9ac (patch)
treececb66492671ed20fa9865581da12930ed502047 /WebContent/VAADIN/themes/chameleon/components/window/window.scss
parent620e096b45f27ecc5aa85d164ca8b81df000e593 (diff)
downloadvaadin-framework-cfa455d6cfd4a535fd77cbc76637a57e7024e9ac.tar.gz
vaadin-framework-cfa455d6cfd4a535fd77cbc76637a57e7024e9ac.zip
Standard themes in SCSS form, updated CompileDefaultTheme (#9223)
Conversion performed for most themes trivial, just rename file and wrap in a mixin. For chameleon compounds, also nesting used. In some cases, related small files combined in a single SCSS file Chameleon accordion and select contain fixes other than just a missing semicolon.
Diffstat (limited to 'WebContent/VAADIN/themes/chameleon/components/window/window.scss')
-rw-r--r--WebContent/VAADIN/themes/chameleon/components/window/window.scss57
1 files changed, 57 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/chameleon/components/window/window.scss b/WebContent/VAADIN/themes/chameleon/components/window/window.scss
new file mode 100644
index 0000000000..f1a6b5e529
--- /dev/null
+++ b/WebContent/VAADIN/themes/chameleon/components/window/window.scss
@@ -0,0 +1,57 @@
+@mixin chameleon-window {
+
+.v-window-closebox {
+ 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;
+ }
+
+.v-window-closebox:hover {
+ background-position: 0 -25px;
+ }
+
+.v-window-closebox:active {
+ background-position: 0 -50px;
+ }
+
+.v-window {
+ background-image: none;
+ }
+
+.v-window-wrap {
+ border-radius: 3px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ background-image: url(../../img/grad-light-top.png);
+ background-repeat: repeat-x;
+ }
+.v-window-outerheader {
+ padding: .2em 1.7em .5em 1.2em;
+ height: auto;
+ text-align: center;
+ }
+
+.v-window-header {
+ font-weight: normal;
+ }
+
+.v-window-footer {
+ height: 0;
+ position: static;
+ }
+
+.v-window-resizebox {
+ background: transparent url(../../img/resize.png) no-repeat;
+ width: 14px;
+ height: 14px;
+ bottom: 0;
+ }
+
+} \ No newline at end of file