]> source.dussan.org Git - vaadin-framework.git/commitdiff
Refactored loading indicator to be common for both runo and reindeer themes.
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Mon, 25 May 2009 14:08:23 +0000 (14:08 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Mon, 25 May 2009 14:08:23 +0000 (14:08 +0000)
Added progress indicator styles to reindeer (copied from runo).

svn changeset:7997/svn branch:6.0

23 files changed:
WebContent/VAADIN/themes/base/common/common.css
WebContent/VAADIN/themes/base/common/img/ajax-loader-big.gif [new file with mode: 0644]
WebContent/VAADIN/themes/base/common/img/ajax-loader-medium.gif [new file with mode: 0644]
WebContent/VAADIN/themes/base/common/img/ajax-loader.gif [new file with mode: 0755]
WebContent/VAADIN/themes/base/common/img/loading-indicator-delay.gif [new file with mode: 0755]
WebContent/VAADIN/themes/base/common/img/loading-indicator-wait.gif [new file with mode: 0755]
WebContent/VAADIN/themes/base/common/img/loading-indicator.gif [new file with mode: 0644]
WebContent/VAADIN/themes/base/progressindicator/progressindicator.css
WebContent/VAADIN/themes/base/styles.css
WebContent/VAADIN/themes/reindeer/progressindicator/img/base.gif [new file with mode: 0644]
WebContent/VAADIN/themes/reindeer/progressindicator/img/disabled.gif [new file with mode: 0644]
WebContent/VAADIN/themes/reindeer/progressindicator/img/progress.png [new file with mode: 0644]
WebContent/VAADIN/themes/reindeer/progressindicator/progressindicator.css [new file with mode: 0644]
WebContent/VAADIN/themes/reindeer/styles.css
WebContent/VAADIN/themes/runo/common/common.css
WebContent/VAADIN/themes/runo/common/img/ajax-loader-big.gif [deleted file]
WebContent/VAADIN/themes/runo/common/img/ajax-loader-medium.gif [deleted file]
WebContent/VAADIN/themes/runo/common/img/ajax-loader.gif [deleted file]
WebContent/VAADIN/themes/runo/common/img/loading-indicator-delay.gif [deleted file]
WebContent/VAADIN/themes/runo/common/img/loading-indicator-wait.gif [deleted file]
WebContent/VAADIN/themes/runo/common/img/loading-indicator.gif [deleted file]
WebContent/VAADIN/themes/runo/progressindicator/progressindicator.css
WebContent/VAADIN/themes/runo/styles.css

index 3ed9b8daad0afd5bce38375b1f77742cfcc1d892..68052dc36f278509e5630882139a93eda55d33b4 100644 (file)
@@ -9,9 +9,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(img/loading-indicator.gif);
+       background-repeat: no-repeat;
+       background-position: 50%;
 }
 .v-view {
        height: 100%;
 .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(img/loading-indicator.gif);
+       margin-right: 5px;
+       margin-top: 5px;
+}
+.v-loading-indicator-delay {
+       background-image: url(img/loading-indicator-delay.gif);
+}
+.v-loading-indicator-wait {
+       background-image: url(img/loading-indicator-wait.gif);
 }
 /* Debug dialog */
 .v-debug-console {
diff --git a/WebContent/VAADIN/themes/base/common/img/ajax-loader-big.gif b/WebContent/VAADIN/themes/base/common/img/ajax-loader-big.gif
new file mode 100644 (file)
index 0000000..73dc88e
Binary files /dev/null and b/WebContent/VAADIN/themes/base/common/img/ajax-loader-big.gif differ
diff --git a/WebContent/VAADIN/themes/base/common/img/ajax-loader-medium.gif b/WebContent/VAADIN/themes/base/common/img/ajax-loader-medium.gif
new file mode 100644 (file)
index 0000000..0a0c6aa
Binary files /dev/null and b/WebContent/VAADIN/themes/base/common/img/ajax-loader-medium.gif differ
diff --git a/WebContent/VAADIN/themes/base/common/img/ajax-loader.gif b/WebContent/VAADIN/themes/base/common/img/ajax-loader.gif
new file mode 100755 (executable)
index 0000000..354dc46
Binary files /dev/null and b/WebContent/VAADIN/themes/base/common/img/ajax-loader.gif differ
diff --git a/WebContent/VAADIN/themes/base/common/img/loading-indicator-delay.gif b/WebContent/VAADIN/themes/base/common/img/loading-indicator-delay.gif
new file mode 100755 (executable)
index 0000000..48810bb
Binary files /dev/null and b/WebContent/VAADIN/themes/base/common/img/loading-indicator-delay.gif differ
diff --git a/WebContent/VAADIN/themes/base/common/img/loading-indicator-wait.gif b/WebContent/VAADIN/themes/base/common/img/loading-indicator-wait.gif
new file mode 100755 (executable)
index 0000000..5f7aab9
Binary files /dev/null and b/WebContent/VAADIN/themes/base/common/img/loading-indicator-wait.gif differ
diff --git a/WebContent/VAADIN/themes/base/common/img/loading-indicator.gif b/WebContent/VAADIN/themes/base/common/img/loading-indicator.gif
new file mode 100644 (file)
index 0000000..cedaa56
Binary files /dev/null and b/WebContent/VAADIN/themes/base/common/img/loading-indicator.gif differ
index 18b1f1e4a7955a581e98c75aae60c1fcd0e96332..d50954e7e834acec40f1a21ca69bd2ea64c3e5a7 100644 (file)
        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(../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,
@@ -28,8 +32,9 @@
 .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;
 }
\ No newline at end of file
index 2a5445247733fa5ab182fdcaff8494fef6a544ab..db38809535b7bbdbbfe1e9ad0a8c165fd2112e72 100644 (file)
 .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(common/img/loading-indicator.gif);
+       background-repeat: no-repeat;
+       background-position: 50%;
 }
 .v-view {
        height: 100%;
 .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(common/img/loading-indicator.gif);
+       margin-right: 5px;
+       margin-top: 5px;
+}
+.v-loading-indicator-delay {
+       background-image: url(common/img/loading-indicator-delay.gif);
+}
+.v-loading-indicator-wait {
+       background-image: url(common/img/loading-indicator-wait.gif);
 }
 /* Debug dialog */
 .v-debug-console {
        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(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,
 .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 */
diff --git a/WebContent/VAADIN/themes/reindeer/progressindicator/img/base.gif b/WebContent/VAADIN/themes/reindeer/progressindicator/img/base.gif
new file mode 100644 (file)
index 0000000..6c6f15e
Binary files /dev/null and b/WebContent/VAADIN/themes/reindeer/progressindicator/img/base.gif 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 (file)
index 0000000..7a64d03
Binary files /dev/null and b/WebContent/VAADIN/themes/reindeer/progressindicator/img/disabled.gif 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 (file)
index 0000000..4a98033
Binary files /dev/null and b/WebContent/VAADIN/themes/reindeer/progressindicator/img/progress.png differ
diff --git a/WebContent/VAADIN/themes/reindeer/progressindicator/progressindicator.css b/WebContent/VAADIN/themes/reindeer/progressindicator/progressindicator.css
new file mode 100644 (file)
index 0000000..d5cae58
--- /dev/null
@@ -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
index e623250a040c554dce03f5a0b84c480c66381e79..7873f1e58b0c534156bdf3a1cc9d69a16bb6ac8f 100644 (file)
 .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%;
 .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 {
        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,
 .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;
index 5f564e399749496ee96f0563d5335c8a88734eed..7b40130c45c2b690cd64ff421b0f7027f533633c 100644 (file)
@@ -8,11 +8,6 @@
        font-size: 13px;
        line-height: 18px;
 }
-.v-app-loading {
-       background-image: url(img/loading-indicator.gif);
-       background-repeat: no-repeat;
-       background-position: 50%;
-}
 /* Global font styles */
 .v-window,
 .v-popupview-popup,
 }
 .v-contextmenu .gwt-MenuItem img {
        margin-right: 10px;
-}
-.v-loading-indicator,
-.v-loading-indicator-delay,
-.v-loading-indicator-wait {
-       width: 31px;
-       height: 31px;
-       background: transparent url(img/loading-indicator.gif);
-       margin-right: 5px;
-       margin-top: 5px;
-}
-.v-loading-indicator-delay {
-       background-image: url(img/loading-indicator-delay.gif);
-}
-.v-loading-indicator-wait {
-       background-image: url(img/loading-indicator-wait.gif);
 }
\ No newline at end of file
diff --git a/WebContent/VAADIN/themes/runo/common/img/ajax-loader-big.gif b/WebContent/VAADIN/themes/runo/common/img/ajax-loader-big.gif
deleted file mode 100644 (file)
index 73dc88e..0000000
Binary files a/WebContent/VAADIN/themes/runo/common/img/ajax-loader-big.gif and /dev/null differ
diff --git a/WebContent/VAADIN/themes/runo/common/img/ajax-loader-medium.gif b/WebContent/VAADIN/themes/runo/common/img/ajax-loader-medium.gif
deleted file mode 100644 (file)
index 0a0c6aa..0000000
Binary files a/WebContent/VAADIN/themes/runo/common/img/ajax-loader-medium.gif and /dev/null differ
diff --git a/WebContent/VAADIN/themes/runo/common/img/ajax-loader.gif b/WebContent/VAADIN/themes/runo/common/img/ajax-loader.gif
deleted file mode 100755 (executable)
index 354dc46..0000000
Binary files a/WebContent/VAADIN/themes/runo/common/img/ajax-loader.gif and /dev/null differ
diff --git a/WebContent/VAADIN/themes/runo/common/img/loading-indicator-delay.gif b/WebContent/VAADIN/themes/runo/common/img/loading-indicator-delay.gif
deleted file mode 100755 (executable)
index 48810bb..0000000
Binary files a/WebContent/VAADIN/themes/runo/common/img/loading-indicator-delay.gif and /dev/null differ
diff --git a/WebContent/VAADIN/themes/runo/common/img/loading-indicator-wait.gif b/WebContent/VAADIN/themes/runo/common/img/loading-indicator-wait.gif
deleted file mode 100755 (executable)
index 5f7aab9..0000000
Binary files a/WebContent/VAADIN/themes/runo/common/img/loading-indicator-wait.gif and /dev/null differ
diff --git a/WebContent/VAADIN/themes/runo/common/img/loading-indicator.gif b/WebContent/VAADIN/themes/runo/common/img/loading-indicator.gif
deleted file mode 100755 (executable)
index cedaa56..0000000
Binary files a/WebContent/VAADIN/themes/runo/common/img/loading-indicator.gif and /dev/null differ
index 41f797dc8b2615b5bb28a10a543f08eec43c15e2..a9c20090d661350bf2468506a948ac51b440a2bb 100644 (file)
@@ -12,8 +12,8 @@
        background: #f7f9f9 url(img/progress.png);
 }
 .v-progressindicator-indeterminate {
-       background: #dfe2e4 url(../common/img/ajax-loader-medium.gif);
+       background: #fff url(../../base/common/img/ajax-loader-medium.gif) no-repeat 50%;
 }
 .v-progressindicator-indeterminate-disabled {
-       background: #dfe2e4 url(../common/img/blank.gif);
+       background: #dfe2e4;
 }
\ No newline at end of file
index 5492f7629557b769753a484c852dc131b20d6ba8..0bac84efe8128df6891fe61bd05720ec3d2e8961 100644 (file)
 .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%;
 .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 {
        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,
 .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 */
@@ -1657,11 +1675,6 @@ div.v-window-header {
        font-size: 13px;
        line-height: 18px;
 }
-.v-app-loading {
-       background-image: url(common/img/loading-indicator.gif);
-       background-repeat: no-repeat;
-       background-position: 50%;
-}
 /* Global font styles */
 .v-window,
 .v-popupview-popup,
@@ -1748,21 +1761,6 @@ div.v-window-header {
 .v-contextmenu .gwt-MenuItem img {
        margin-right: 10px;
 }
-.v-loading-indicator,
-.v-loading-indicator-delay,
-.v-loading-indicator-wait {
-       width: 31px;
-       height: 31px;
-       background: transparent url(common/img/loading-indicator.gif);
-       margin-right: 5px;
-       margin-top: 5px;
-}
-.v-loading-indicator-delay {
-       background-image: url(common/img/loading-indicator-delay.gif);
-}
-.v-loading-indicator-wait {
-       background-image: url(common/img/loading-indicator-wait.gif);
-}
 
 /* ./WebContent/VAADIN/themes/runo/datefield/datefield.css */
 .v-datefield-button {
@@ -2240,10 +2238,10 @@ div.v-window-header {
        background: #f7f9f9 url(progressindicator/img/progress.png);
 }
 .v-progressindicator-indeterminate {
-       background: #dfe2e4 url(common/img/ajax-loader-medium.gif);
+       background: #fff url(../base/common/img/ajax-loader-medium.gif) no-repeat 50%;
 }
 .v-progressindicator-indeterminate-disabled {
-       background: #dfe2e4 url(common/img/blank.gif);
+       background: #dfe2e4;
 }
 
 /* ./WebContent/VAADIN/themes/runo/select/select.css */