]> git.wh0rd.org - tt-rss.git/blame - lib/dijit/themes/claro/ProgressBar.less
update dojo to 1.7.3
[tt-rss.git] / lib / dijit / themes / claro / ProgressBar.less
CommitLineData
81bea17a
AD
1/* ProgressBar
2 *
3 * Styling of the ProgressBar consists of the following:
4 *
5 * 1. the base progress bar
6 * .dijitProgressBar - sets margins for the progress bar
7 *
8 * 2. the empty bar
9 * .dijitProgressBarEmpty - sets background img and color for bar or parts of bar that are not finished yet
10 * Also sets border color for whole bar
11 *
12 * 3. tile mode
13 * .dijitProgressBarTile
14 * inner container for finished portion when in 'tile' (image) mode
15 *
16 * 4. full bar mode
17 * .dijitProgressBarFull
18 * adds border to right side of the filled portion of bar
19 *
20 * 5. text for label of bar
21 * .dijitProgressBarLabel - sets text color, which must contrast with both the "Empty" and "Full" parts.
22 *
23 * 6. indeterminate mode
24 * .dijitProgressBarIndeterminate .dijitProgressBarTile
25 * sets animated gif for the progress bar in 'indeterminate' mode
26 */
27
28 @import "variables";
29
30.claro .dijitProgressBar {
31 margin:2px 0 2px 0;
32}
33.claro .dijitProgressBarEmpty {
34 /* outer container and background of the bar that's not finished yet*/
1354d172 35 background: @progressbar-empty-background-color url(@image-progressbar-empty) no-repeat left;
81bea17a
AD
36 border-color: @progressbar-border-color;
37}
38.claro .dijitProgressBarTile {
39 /* inner container for finished portion when in 'tile' (image) mode */
1354d172 40 background: @progressbar-full-background-color url(@image-progressbar-full) repeat-x top;
81bea17a
AD
41}
42.dj_ie6 .claro .dijitProgressBarTile {
43 background-image: none;
44}
45.claro .dijitProgressBarFull {
46 border-right:1px solid @progressbar-border-color;
1354d172
AD
47 .transition-property(width);
48 .transition-duration(.25s);
81bea17a
AD
49}
50.claro .dijitProgressBarLabel {
51 /* Set to a color that contrasts with both the "Empty" and "Full" parts. */
52 color: @progressbar-text-color;
53}
54.claro .dijitProgressBarIndeterminate .dijitProgressBarTile {
55 /* use an animated gif for the progress bar in 'indeterminate' mode;
56 background-color won't appear unless user has turned off background images */
1354d172
AD
57 background: @bar-background-color url(@image-progressbar-anim) repeat-x top;
58}