From 33751bb59b9f5d8dab0ddffc9252eddbe3fbce86 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 21 Apr 2015 17:37:22 +0300 Subject: 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 --- WebContent/VAADIN/themes/valo/shared/_global.scss | 2 ++ .../VAADIN/themes/valo/shared/_reconnect-dialog.scss | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 WebContent/VAADIN/themes/valo/shared/_reconnect-dialog.scss (limited to 'WebContent/VAADIN') 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 -- cgit v1.2.3