The progress indicator is by default not modal, so users can still interact with the web application. Maybe this is not what you want and you would like to make the progress indicator modal so users can't interact with the web application during a long running process.
To summarize the goals:
- Move default progress indicator from upper right corner to centre
- Make indicator modal, so users can't interact during a long running process
I use the reindeermods theme so the styles.css example provided below extends exactly that theme.
The minimal styles.css solution to solve the requirements:
@CHARSET "ISO-8859-1";
@import url(../reindeermods/styles.css);
.v-loading-indicator,
.v-loading-indicator-delay,
.v-loading-indicator-wait {
width: 100%;
height: 100%;
margin: 0;
background-position: 50%;
background-color: gray;
background-repeat: no-repeat;
background-attachment: fixed;
opacity: .8;
-ms-filter: alpha(opacity=80);
filter: alpha(opacity=80);
}
This solution was taken from this Vaadin forum post.
The progress indicator is showing all over the page :(
ReplyDeletethank you soooooooooooooooooooooooooooooooooooooooooo much man great work and code
ReplyDeleteUseful information ..I am very happy to read this article..thanks for giving us this useful information.Fantastic walk-through. I appreciate this post.
ReplyDeleteHi Thanks for sharing this but i want to change my own application. i dont wnat to show these style for all applications
ReplyDeleteYou should probably indicate that you directly plagarised this from the vaadin forums >:(
ReplyDeleteJust 1 remark, seems that defaut theme hasbeen renamed at least in vaadin 6.7.9
ReplyDeleteinstead of
@import url(../reindeermods/styles.css);
should be
@import url(../reindeer/styles.css);