Subversion Repositories wimsdev

Rev

Blame | Last modification | View Log | RSS feed

  1. /**
  2.   seriebar.css
  3.   Displays a list of exo (exo done, current exo and exo to do), with a "square" style.
  4.   If you want an "arrow" style, use "seriebar_arrows.css" instead
  5.     HTML template can look like this :
  6.     <ul class="wims_serie_bar inline">
  7.       <li class="wims_exo_done" title="Question 1 (done)">1</li>
  8.       <li class="wims_exo_todo" title="Question 2 (current)">2</li>
  9.       <li title="Question 3 (not tried yet)">3</li>
  10.       <li title="Question 4 (not tried yet)">3</li>
  11.       [...]
  12.     </ul>
  13. **/
  14.  
  15.  
  16. .wims_serie_bar{max-width: 20em;}
  17.  
  18. .wims_serie_bar li{
  19.     width:.4em;
  20.     height:.4em;
  21.     display: inline-block;
  22.     border:2px solid;
  23.     overflow:hidden;
  24.     cursor: help;
  25.  
  26.    border-color:black;
  27.    background-color: white;
  28.    color: transparent;
  29. }
  30.  
  31. .wims_serie_bar .wims_exo_todo{
  32.     background-color: lightgrey;
  33.     color: lightgrey;
  34. }
  35. .wims_serie_bar .wims_exo_done{
  36.     background-color: black;
  37.     color: black;
  38. }
  39.