Subversion Repositories wimsdev

Rev

Rev 13604 | Rev 14769 | 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:45%;
  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,
  56. .wims_doc_item:before,
  57. .wims_vote_item:before,
  58. .wims_exam_item:before,
  59. .wims_exo_item:before,
  60. .wims_tool_item:before,
  61. .wims_glossary_item:before,
  62. .wims_exercise_item:before,
  63. .wims_recreation_item:before,
  64. .wims_datamodule_item:before{
  65.   font-size: 20px;
  66.   line-height: 1;
  67.   text-rendering: auto;
  68.   -webkit-font-smoothing: antialiased;
  69.   -moz-osx-font-smoothing: grayscale;
  70.   vertical-align: -3px;
  71.   margin-right: 3px;
  72. }
  73.  
  74. /* Item types in a class */
  75. li.wims_sheet_item,li.wims_doc_item,li.wims_vote_item,li.wims_exam_item,
  76. li.wims_tool_item,li.wims_glossary_item  {
  77.   border:1px solid #666;
  78.   border-left-width:.5em;
  79. }
  80.  
  81. li.wims_sheet_item { border-left-color:#9CF;}
  82. .wims_sheet_item:before { content:"\270E";}
  83. li.wims_doc_item   { border-left-color:#99F;}
  84. .wims_doc_item:before { content:"\1f4d5";}
  85. li.wims_vote_item  { border-left-color:#9f9;}
  86. .wims_vote_item:before { content:"\2713";}
  87. li.wims_exam_item  { border-left-color:#cc4b37;}
  88. .wims_exam_item:before { content:"\270D";}
  89. li.wims_tool_item  { border-left-color:#99A;}
  90. .wims_tool_item:before { content:"\1F6E0";}
  91. li.wims_glossary_item  { border-left-color:#AFB31E;}
  92. .wims_glossary_item:before {content:"\1f4d2";}
  93. /* for new modules page : */
  94. .wims_exercise_item:before {content:"\1F58B";}
  95. .wims_recreation_item:before {content:"\1f579";}
  96. .wims_datamodule_item:before {content:"\1f4E6";}
  97.  
  98. .wims_sheet_score.trophy1:before{content:"\1F3C6";}
  99. .wims_sheet_score.trophy2:before{content:"\1F3C6\1F3C6";}
  100. .wims_sheet_score.trophy3:before{content:"\1F3C6\1F3C6\1F3C6";}
  101.  
  102. /* Display of list numbers before each li (even when display=inline)*/
  103. .wims_sheet_list {
  104.   /* List will start at 1 */
  105.   counter-reset: LIST-ITEMS;
  106.   padding-left: 0;
  107.   margin-bottom: 0;
  108.   display: flex;
  109.   flex-flow: row wrap;
  110.   justify-content: space-evenly;
  111. }
  112.  
  113. .wims_sheet_list>li:before {
  114.   content: counter( LIST-ITEMS ) ".";
  115.   counter-increment: LIST-ITEMS;
  116.   padding-right: .25em;
  117. }
  118.  
  119.  
  120. /* default style for scores. will be customised by score colors */
  121. .wims_sheet_score {
  122.   text-align:center;
  123.   margin:1px;
  124.   padding:5px;
  125.   border:1px solid #666;
  126.   background-color: #FFF;
  127.   border-radius: 2px;
  128. }
  129.  
  130. div.menuitem.score{
  131.   background-color: white;
  132.   color: black;
  133.   border: 1px solid black;
  134.   padding: .5em;
  135.   width: 80%;
  136.   margin: auto;
  137. }
  138.  
  139. .wims_user_info{
  140.   position: absolute;
  141.   right: .5em;
  142.   /* attention si on place wims_user_info en bas, il faut décaler wims_score_bar*/
  143.   top: -.75em;
  144.   /*bottom:-.5em;*/
  145. }
  146. /*.wims_exo_item .wims_user_info{
  147.   top:auto;
  148.   bottom: 0;
  149. }*/
  150.  
  151. /* could be used
  152. .wims_sheet_weight{}
  153. .wims_style_expire{}
  154. */
  155.  
  156. /* Small and Medium screens */
  157. /* max-width 1024px  */
  158. @media only screen and (max-width: 64em) {}
  159.  
  160. /* Small screens */
  161. /* max-width 640px, mobile-only styles, use when QAing mobile issues */
  162. @media only screen and (max-width: 40em) {
  163.   .wims_work_list>li, .wims_user_sheet>li, .wims_sheet_list>li{
  164.     width:100%;
  165.   }
  166. }
  167.  
  168. /* Medium screens */
  169. /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
  170. @media only screen and (min-width: 40.063em) and (max-width: 64em) {}
  171.  
  172. /* min-width 1025px, large screens */
  173. /* Large screens */
  174. @media only screen and (min-width: 64.063em) {}
  175.  
  176.