atutor.no

Here be links.

Question statistics fix

gorzan's picture
Version: 
1.6.2
Short description: 

Fixes the statistics "bars" in the question statistic view for tests for the default theme.

AttachmentSize
gorz_qstat_fix.zip9.92 KB

Comments

Vegard A. Johansen's picture

This is the CSS

This is the CSS to add to your stylesheet if you use a different theme than the default one:

/* the question stats */ 
.qstat_bar-border {
height: 40px !important;
width: 22px;
background: #fff;
border: 1px solid #e0e0e0;
margin: 0;
padding: 1px 1px 1px 1px;
overflow:hidden;

}

.qstat_bar-bar {
position:relative;
top:0px;
width: 0px;
height: 40px;
margin: 0 0 0 0;
border-left: 9px #8796cc solid;
border-right: 9px #8796cc solid;
border-top: 0px;
border-bottom: 0px;
}
.qstat_bar-fill {
position:relative;
top:-40px;
width: 0px;
padding:0;
margin: 0;
line-height:0;
font-size:0;
border-left: 9px #fff solid;
border-right: 9px #fff solid;
border-top: 0px;
border-bottom: 0px;
}

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options