diff options
author | Artur Signell <artur@vaadin.com> | 2015-04-21 17:37:22 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-07-13 17:19:09 +0300 |
commit | 33751bb59b9f5d8dab0ddffc9252eddbe3fbce86 (patch) | |
tree | cd8425d77ff8c6bd01af980af72d857624eeed28 /WebContent | |
parent | 578aabe49c4135835a0ce976b8fcdcb2f74c2fd3 (diff) | |
download | vaadin-framework-33751bb59b9f5d8dab0ddffc9252eddbe3fbce86.tar.gz vaadin-framework-33751bb59b9f5d8dab0ddffc9252eddbe3fbce86.zip |
Initial version of the reconnect dialog and a problem handler which uses it (#11733)
Limitations
* Does not take Push into account
* Hard coded parameters
* Only theme for Valo
Change-Id: Iddb12d20391bcd30dc7289b7ea694ac3fbbd116d
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/valo/shared/_global.scss | 2 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/valo/shared/_reconnect-dialog.scss | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/shared/_global.scss b/WebContent/VAADIN/themes/valo/shared/_global.scss index b4e8564119..39b5a4e7d9 100644 --- a/WebContent/VAADIN/themes/valo/shared/_global.scss +++ b/WebContent/VAADIN/themes/valo/shared/_global.scss @@ -2,6 +2,7 @@ @import "contextmenu"; @import "overlay"; @import "tooltip"; +@import "reconnect-dialog"; /* @@ -374,6 +375,7 @@ $valo-shared-pathPrefix: null; @include valo-contextmenu; + @include valo-reconnect-dialog; } diff --git a/WebContent/VAADIN/themes/valo/shared/_reconnect-dialog.scss b/WebContent/VAADIN/themes/valo/shared/_reconnect-dialog.scss new file mode 100644 index 0000000000..94f5f8b0bd --- /dev/null +++ b/WebContent/VAADIN/themes/valo/shared/_reconnect-dialog.scss @@ -0,0 +1,18 @@ +@mixin valo-reconnect-dialog { + .v-reconnect-dialog { + color: white; + @include valo-notification-bar-style; + @include valo-notification-system-style; + text-align: center; + .spinner { + @include valo-spinner; + display: inline-block; + margin-top: 10px; + visibility: hidden; + } + + &.active .spinner { + visibility: visible; + } + } +}
\ No newline at end of file |