summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2009-05-25 14:08:23 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2009-05-25 14:08:23 +0000
commit3e6b6f6dcf8736f106c855033c0bd2a109feac50 (patch)
treef154e1568a3b4850ba92ee5f20bfa27480b65943 /WebContent/VAADIN/themes/reindeer
parentd45fb590e57d55b12635626fb4ca59828e2805d2 (diff)
downloadvaadin-framework-3e6b6f6dcf8736f106c855033c0bd2a109feac50.tar.gz
vaadin-framework-3e6b6f6dcf8736f106c855033c0bd2a109feac50.zip
Refactored loading indicator to be common for both runo and reindeer themes.
Added progress indicator styles to reindeer (copied from runo). svn changeset:7997/svn branch:6.0
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer')
-rw-r--r--WebContent/VAADIN/themes/reindeer/progressindicator/img/base.gifbin0 -> 827 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/progressindicator/img/disabled.gifbin0 -> 179 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/progressindicator/img/progress.pngbin0 -> 148 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/progressindicator/progressindicator.css13
-rw-r--r--WebContent/VAADIN/themes/reindeer/styles.css49
5 files changed, 54 insertions, 8 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/progressindicator/img/base.gif b/WebContent/VAADIN/themes/reindeer/progressindicator/img/base.gif
new file mode 100644
index 0000000000..6c6f15ef9e
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/progressindicator/img/base.gif
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/progressindicator/img/disabled.gif b/WebContent/VAADIN/themes/reindeer/progressindicator/img/disabled.gif
new file mode 100644
index 0000000000..7a64d034b2
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/progressindicator/img/disabled.gif
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/progressindicator/img/progress.png b/WebContent/VAADIN/themes/reindeer/progressindicator/img/progress.png
new file mode 100644
index 0000000000..4a9803308c
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/progressindicator/img/progress.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/progressindicator/progressindicator.css b/WebContent/VAADIN/themes/reindeer/progressindicator/progressindicator.css
new file mode 100644
index 0000000000..d5cae585b3
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/progressindicator/progressindicator.css
@@ -0,0 +1,13 @@
+.v-progressindicator {
+ background: #dfe2e4 url(img/base.gif) repeat-x 0 1px;
+}
+.v-progressindicator-wrapper {
+ border: 1px solid #bfbfbf;
+}
+.v-progressindicator-disabled {
+ background: #dfe2e4 url(img/disabled.gif);
+ border: 1px solid #bfbfbf;
+}
+.v-progressindicator-indicator {
+ background: #f7f9f9 url(img/progress.png);
+} \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/reindeer/styles.css b/WebContent/VAADIN/themes/reindeer/styles.css
index e623250a04..7873f1e58b 100644
--- a/WebContent/VAADIN/themes/reindeer/styles.css
+++ b/WebContent/VAADIN/themes/reindeer/styles.css
@@ -176,9 +176,12 @@
.v-app {
height: 100%;
}
-.v-app-loading {
+div.v-app-loading {
/* You can use this to provide indication for the user that the application is loading. */
/* It is applied to the same element as .v-app */
+ background-image: url(../base/common/img/loading-indicator.gif);
+ background-repeat: no-repeat;
+ background-position: 50%;
}
.v-view {
height: 100%;
@@ -312,11 +315,21 @@
.v-loading-indicator,
.v-loading-indicator-delay,
.v-loading-indicator-wait {
- height: 16px;
position: absolute;
top: 0;
right: 0;
z-index: 30000;
+ width: 31px;
+ height: 31px;
+ background: transparent url(../base/common/img/loading-indicator.gif);
+ margin-right: 5px;
+ margin-top: 5px;
+}
+.v-loading-indicator-delay {
+ background-image: url(../base/common/img/loading-indicator-delay.gif);
+}
+.v-loading-indicator-wait {
+ background-image: url(../base/common/img/loading-indicator-wait.gif);
}
/* Debug dialog */
.v-debug-console {
@@ -722,10 +735,14 @@
overflow: hidden; /* for IE6 */
background: #ddd;
}
-.v-progressindicator-indeterminate {
- height: 16px;
- width: 16px;
+div.v-progressindicator-indeterminate {
+ height: 20px;
+ width: 20px;
overflow: hidden; /* for IE6 */
+ background: #fff url(../base/common/img/ajax-loader-medium.gif) no-repeat 50%;
+ border-radius: 4px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
}
/* Hide obsolete elements in indeterminate mode */
.v-progressindicator-indeterminate .v-progressindicator-wrapper,
@@ -734,10 +751,11 @@
.v-progressindicator-indeterminate-disabled .v-progressindicator-indicator {
display: none;
}
-.v-progressindicator-indeterminate-disabled {
- height: 16px;
- width: 16px;
+div.v-progressindicator-indeterminate-disabled {
+ height: 20px;
+ width: 20px;
overflow: hidden; /* for IE6 */
+ background: transparent;
}
/* ./WebContent/VAADIN/themes/base/select/select.css */
@@ -2878,6 +2896,21 @@ td.v-datefield-calendarpanel-nextyear {
display: -moz-inline-stack;
}
+/* ./WebContent/VAADIN/themes/reindeer/progressindicator/progressindicator.css */
+.v-progressindicator {
+ background: #dfe2e4 url(progressindicator/img/base.gif) repeat-x 0 1px;
+}
+.v-progressindicator-wrapper {
+ border: 1px solid #bfbfbf;
+}
+.v-progressindicator-disabled {
+ background: #dfe2e4 url(progressindicator/img/disabled.gif);
+ border: 1px solid #bfbfbf;
+}
+.v-progressindicator-indicator {
+ background: #f7f9f9 url(progressindicator/img/progress.png);
+}
+
/* ./WebContent/VAADIN/themes/reindeer/select/select.css */
.v-filterselect {
height: 24px;