File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
themes/default/assets/stylesheets Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 5858 < td > < a href ="# " data-load-content ="mail/mail_user_edit.php?id={tmpl_var name='id'} "> {tmpl_var
5959 name="quota"}</ a > </ td >
6060 < td colspan ="2 ">
61- {tmpl_if name="progressbar " op="!=" value="-1 "}< div class ="progress " style ="height: 20px ">
61+ {tmpl_if name="quota " op="!=" value="0 "}< div class ="progress " style ="height: 20px ">
6262 < div class ='progress-bar-striped progress-bar-{tmpl_if name="percentage_sort" op="<" value="50"}success{tmpl_elseif name="percentage_sort" op="<" value="75"}warning{tmpl_else}danger{/tmpl_if} '
63- role ="progressbar " style ="width: {tmpl_var name= " progressbar "}%;"
63+ role ="progressbar " style ="width: {tmpl_var name= "progressbar "}%;"
6464 aria-valuenow="{tmpl_var name= " percentage "}" aria-valuemin="0 " aria-valuemax ="100 ">
65- {tmpl_var name="percentage"}</ div >
65+ < span > {tmpl_var name="percentage"}</ span </ div >
6666 </ div > {/tmpl_if}
6767 </ td >
6868
Original file line number Diff line number Diff line change @@ -284,11 +284,22 @@ body {
284284 height : 20px ;
285285 background-color : # ababab ;
286286 font-weight : bold;
287+ position : relative;
287288}
288289
289290.progress-bar-danger , .progress-bar-warning , .progress-bar-success {
290291 text-align : center;
291292 color : white;
293+ display : list-item;
294+ }
295+
296+ .progress span {
297+ position : absolute;
298+ left : 0 ;
299+ width : 100% ;
300+ text-align : center;
301+ z-index : 2 ;
302+ color : white;
292303}
293304
294305p .fieldset-legend {
You can’t perform that action at this time.
0 commit comments