diff options
Diffstat (limited to 'WebContent/VAADIN/themes/base')
-rw-r--r-- | WebContent/VAADIN/themes/base/base.scss | 2 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/base/common/img/reconnect-spinner.gif | bin | 0 -> 3223 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/base/common/reconnect-dialog.scss | 32 |
3 files changed, 34 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/base.scss b/WebContent/VAADIN/themes/base/base.scss index d40ac1a7bf..56b2e311c6 100644 --- a/WebContent/VAADIN/themes/base/base.scss +++ b/WebContent/VAADIN/themes/base/base.scss @@ -17,6 +17,7 @@ $v-line-height: $line-height !default; @import "caption/caption.scss"; @import "colorpicker/colorpicker.scss"; @import "common/common.scss"; +@import "common/reconnect-dialog.scss"; @import "csslayout/csslayout.scss"; @import "customcomponent/customcomponent.scss"; @import "customlayout/customlayout.scss"; @@ -89,6 +90,7 @@ $v-line-height: $line-height !default; // here for now to preserve old semantics @include base-common; + @include base-reconnect-dialog; @include base-layout; @include base-csslayout; diff --git a/WebContent/VAADIN/themes/base/common/img/reconnect-spinner.gif b/WebContent/VAADIN/themes/base/common/img/reconnect-spinner.gif Binary files differnew file mode 100644 index 0000000000..bc1a496d11 --- /dev/null +++ b/WebContent/VAADIN/themes/base/common/img/reconnect-spinner.gif diff --git a/WebContent/VAADIN/themes/base/common/reconnect-dialog.scss b/WebContent/VAADIN/themes/base/common/reconnect-dialog.scss new file mode 100644 index 0000000000..cde587cfe9 --- /dev/null +++ b/WebContent/VAADIN/themes/base/common/reconnect-dialog.scss @@ -0,0 +1,32 @@ +@mixin base-reconnect-dialog { + .v-reconnect-dialog { + color: white; + top: 12px; + right: 12px; + max-width: 100%; + border-radius: 0; + @include box-shadow(0 0 20px 0 rgba(0,0,0,0.25)); + padding: 10px; + + background-color: #444; + text-align: center; + + .text { + display: inline-block; + padding-left: 10px; + } + + .spinner { + background-image: url(img/reconnect-spinner.gif); + width: 31px; + height: 31px; + display: inline-block; + visibility: hidden; + vertical-align: middle; + } + + &.active .spinner { + visibility: visible; + } + } +}
\ No newline at end of file |