Subversion Repositories wimsdev

Rev

Rev 12286 | Rev 12355 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. /* SHEET STYLES */
  2.  
  3. .wims_sheet_title {text-align:center;}
  4.  
  5. .wims_sheet_desc, .wims_work_desc, .wims_vote_desc, .wims_exam_desc, .wims_doc_desc {
  6.   padding:.5em;
  7.   font-style: italic;
  8.   display: block;
  9. }
  10.  
  11. .wims_user_sheet .wims_user_info {
  12.   margin-left:30%;
  13. }
  14.  
  15. .wims_work_legend{
  16.   text-align: right;
  17. }
  18.  
  19. ul.wims_work_list, ul.wims_user_sheet{
  20.   list-style:none;
  21.   padding:.5em;
  22.   margin:0;
  23. }
  24.  
  25. .wims_work_list>li, .wims_user_sheet>li, .wims_sheet_list>li, .wims_work_legend li {
  26.   display: inline-block;
  27.   border:1px solid gray;
  28.   border-radius: 5px;
  29. }
  30. /* Legend for Color and icon types */
  31. .wims_work_legend>p, .wims_work_legend>ul{
  32.   margin:0;
  33. }
  34.  
  35. .wims_work_list>li, .wims_user_sheet>li, .wims_sheet_list>li {
  36.   padding:1em;
  37.   padding-bottom: 1.5em;
  38.   margin-right: 3px;
  39.   margin-bottom: 1.5em;
  40.   width:46%;
  41.   /*box-sizing: border-box;*/
  42.   min-width: 20em;
  43.   min-height:3em;
  44.   vertical-align:top;
  45. }
  46.  
  47. .wims_exo_item   {
  48.   background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .25));
  49. }
  50.  
  51. .wims_sheet_item, .wims_doc_item, .wims_vote_item, .wims_exam_item, .wims_exo_item{
  52.   position:relative;
  53.   padding-left:.2em;
  54. }
  55. .wims_sheet_item:before, .wims_doc_item:before, .wims_vote_item:before, .wims_exam_item:before, .wims_exo_item:before{
  56.   font-size: 20px;
  57.   line-height: 1;
  58.   text-rendering: auto;
  59.   -webkit-font-smoothing: antialiased;
  60.   -moz-osx-font-smoothing: grayscale;
  61.   vertical-align: -3px;
  62.   margin-right: 3px;
  63. }
  64.  
  65. /* Item types in a class */
  66. li.wims_sheet_item { background-color:#CCF;}
  67. .wims_sheet_item:before { content:"\270E";}
  68. li.wims_doc_item   { background-color:#99F;}
  69. .wims_doc_item:before { content:"\2691";}
  70. li.wims_vote_item  { background-color:#9f9;}
  71. .wims_vote_item:before { content:"\2713";}
  72. li.wims_exam_item  { background-color:#9CF;}
  73. .wims_exam_item:before { content:"\270D";}
  74.  
  75. .wims_sheet_score.trophy:before{content:"\1F3C6";}
  76.  
  77. /* Display of list numbers before each li (even when display=inline)*/
  78. .wims_sheet_list
  79. {
  80.   /* List will start at 1 */
  81.   counter-reset: LIST-ITEMS;
  82. }
  83.  
  84. .wims_sheet_list>li:before
  85. {
  86.   content: counter( LIST-ITEMS ) ".";
  87.   counter-increment: LIST-ITEMS;
  88.   padding-right: .25em;
  89. }
  90.  
  91.  
  92. /* default style for scores. will be customised by score colors */
  93. .wims_sheet_score {
  94.   text-align:center;
  95.   margin:1px;
  96.   padding:5px;
  97.   border:2px solid #666;
  98.   background-color: #FFF;
  99.   border-radius: 2px;
  100. }
  101.  
  102. div.menuitem.score{
  103.   background-color: white;
  104.   color: black;
  105.   border: 1px solid black;
  106.   padding: .5em;
  107.   width: 80%;
  108.   margin: auto;
  109. }
  110.  
  111. .wims_user_info{
  112.   position: absolute;
  113.   right: .5em;
  114.   /* attention si on place wims_user_info en bas, il faut décaler wims_score_bar*/
  115.   top: -.75em;
  116.   /*bottom:-.5em;*/
  117. }
  118. /*.wims_exo_item .wims_user_info{
  119.   top:auto;
  120.   bottom: 0;
  121. }*/
  122.  
  123. /* could be used
  124. .wims_sheet_weight{}
  125. .wims_style_expire{}
  126. */
  127.  
  128. /* Small and Medium screens */
  129. /* max-width 1024px  */
  130. @media only screen and (max-width: 64em) {
  131.  .wims_work_list>li, .wims_user_sheet>li, .wims_sheet_list>li{
  132.     width:inherit;
  133.     display:block;
  134.   }
  135. }
  136.  
  137. /* Small screens */
  138. /* max-width 640px, mobile-only styles, use when QAing mobile issues */
  139. @media only screen and (max-width: 40em) { }
  140.  
  141. /* Medium screens */
  142. /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
  143. @media only screen and (min-width: 40.063em) and (max-width: 64em) { }
  144.  
  145. /* min-width 1025px, large screens */
  146. /* Large screens */
  147. @media only screen and (min-width: 64.063em) { }
  148.  
  149.