diff options
author | Maggie Costello Wachs <fg.maggie@gmail.com> | 2008-12-05 22:59:01 +0000 |
---|---|---|
committer | Maggie Costello Wachs <fg.maggie@gmail.com> | 2008-12-05 22:59:01 +0000 |
commit | 03909cb87c8419e6718b3c0d59adbd1bd5afa1ba (patch) | |
tree | b0c636fa97acaaa8e312957445760d2e31034db4 /themes/base | |
parent | bd96035b5d0892ce2f05192c1de308aac364f063 (diff) | |
download | jquery-ui-03909cb87c8419e6718b3c0d59adbd1bd5afa1ba.tar.gz jquery-ui-03909cb87c8419e6718b3c0d59adbd1bd5afa1ba.zip |
added examples of labels offset from the left side, FG's recommendation for best workaround re: label position, requires no extra markup and max flexibility
Diffstat (limited to 'themes/base')
-rw-r--r-- | themes/base/ui.progressbar.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/base/ui.progressbar.css b/themes/base/ui.progressbar.css index fad951413..94c8ac22e 100644 --- a/themes/base/ui.progressbar.css +++ b/themes/base/ui.progressbar.css @@ -1,6 +1,6 @@ /* Progressbar ----------------------------------*/ -.ui-progressbar { position: relative; } -.ui-progressbar-label {position: absolute; top: 0; left: 0; padding: .4em .5em; border: 0; background: none; } -.ui-progressbar-value { position: relative; margin: -1px; padding: .4em .5em; overflow: hidden; font-weight: normal !important; white-space: nowrap; } -.ui-progressbar-value .ui-progressbar-label { position: static; padding: 0; top: auto; left: auto; }
\ No newline at end of file +.ui-progressbar { position: relative; overflow:hidden; } +.ui-progressbar, .ui-progressbar-value { height:1em; padding:.4em 0 .5em; } +.ui-progressbar-label { position: absolute; left:0; top: .3em; text-indent: .5em; border: 0; background: none; white-space: nowrap; } +.ui-progressbar-value { position: absolute; top:0; width:100%; margin: -1px; overflow: hidden; font-weight: normal !important; white-space: nowrap; }
\ No newline at end of file |