Subversion Repositories wimsdev

Rev

Rev 14772 | 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, .wims_freework_desc {
  6.   padding:.5em;
  7.   font-style: italic;
  8.   display: block;
  9. }
  10. .wims_sheet_desc>p, .wims_work_desc>p, .wims_vote_desc>p, .wims_exam_desc>p, .wims_doc_desc>p, .wims_freework_desc>p {
  11.   margin:0;
  12. }
  13.  
  14. .wims_user_sheet .wims_user_info {
  15.   margin-left:30%;
  16. }
  17.  
  18. .wims_work_legend{
  19.   text-align: right;
  20. }
  21.  
  22. ul.wims_work_list, ul.wims_user_sheet{
  23.   list-style:none;
  24.   padding:.5em;
  25.   margin:0;
  26. }
  27.  
  28. .wims_work_list>li, .wims_user_sheet>li, .wims_sheet_list>li, .wims_work_legend li {
  29.   display: inline-block;
  30.   /*border:1px solid gray;*/
  31.   /*border-radius: 5px;*/
  32. }
  33. /* Legend for Color and icon types */
  34. .wims_work_legend>p, .wims_work_legend>ul{
  35.   margin:0;
  36. }
  37.  
  38. .wims_work_list>li, .wims_user_sheet>li, .wims_sheet_list>li {
  39.   padding:1em;
  40.   padding-bottom: 1.5em;
  41.   /*margin-right: 3px;*/
  42.   margin-bottom: 1.5em;
  43.   width:45%;
  44.   /*box-sizing: border-box;*/
  45.   /*min-width: 20em;*/
  46.   min-height:3em;
  47.   vertical-align:top;
  48. }
  49.  
  50. .wims_exo_item   {
  51.   background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .25));
  52. }
  53.  
  54. .wims_sheet_item, .wims_doc_item, .wims_vote_item, .wims_exam_item, .wims_exo_item, .wims_freework_item{
  55.   position:relative;
  56.   padding-left:.2em;
  57. }
  58. .wims_sheet_item:before,
  59. .wims_freework_item:before,
  60. .wims_doc_item:before,
  61. .wims_vote_item:before,
  62. .wims_exam_item:before,
  63. .wims_exo_item:before,
  64. .wims_tool_item:before,
  65. .wims_glossary_item:before,
  66. .wims_exercise_item:before,
  67. .wims_recreation_item:before,
  68. .wims_datamodule_item:before{
  69.   font-size: 20px;
  70.   line-height: 1;
  71.   text-rendering: auto;
  72.   -webkit-font-smoothing: antialiased;
  73.   -moz-osx-font-smoothing: grayscale;
  74.   vertical-align: -3px;
  75.   margin-right: 3px;
  76. }
  77.  
  78. /* Item types in a class */
  79. li.wims_sheet_item,li.wims_doc_item,li.wims_vote_item,li.wims_exam_item,
  80. li.wims_tool_item,li.wims_glossary_item,li.wims_glossary_item,
  81. li.wims_freework_item {
  82.   border:1px solid #666;
  83.   border-left-width:.5em;
  84. }
  85.  
  86.  
  87. li.wims_freework_item { border-left-color: #E6A493;}
  88. .wims_freework_item:before { content:"\1F4DA";}
  89. li.wims_sheet_item { border-left-color:#9CF;}
  90. .wims_sheet_item:before { content:"\270E";}
  91. li.wims_doc_item   { border-left-color:#99F;}
  92. .wims_doc_item:before { content:"\1f4d5";}
  93. li.wims_vote_item  { border-left-color:#9f9;}
  94. .wims_vote_item:before { content:"\2713";}
  95. li.wims_exam_item  { border-left-color:#cc4b37;}
  96. .wims_exam_item:before { content:"\270D";}
  97. li.wims_tool_item  { border-left-color:#99A;}
  98. .wims_tool_item:before { content:"\1F6E0";}
  99. li.wims_glossary_item  { border-left-color:#AFB31E;}
  100. .wims_glossary_item:before {content:"\1F524";}
  101. /* for new modules page : */
  102. .wims_exercise_item:before {content:"\1F58B";}
  103. .wims_recreation_item:before {content:"\1f579";}
  104. .wims_datamodule_item:before {content:"\1f4E6";}
  105.  
  106. .wims_sheet_score.trophy1:before{content:"\1F3C6";}
  107. .wims_sheet_score.trophy2:before{content:"\1F3C6\1F3C6";}
  108. .wims_sheet_score.trophy3:before{content:"\1F3C6\1F3C6\1F3C6";}
  109.  
  110. /* Display of list numbers before each li (even when display=inline)*/
  111. .wims_sheet_list {
  112.   /* List will start at 1 */
  113.   counter-reset: LIST-ITEMS;
  114.   padding-left: 0;
  115.   margin-bottom: 0;
  116.   display: flex;
  117.   flex-flow: row wrap;
  118.   justify-content: space-evenly;
  119. }
  120.  
  121. .wims_sheet_list>li:before {
  122.   content: counter( LIST-ITEMS ) ".";
  123.   counter-increment: LIST-ITEMS;
  124.   padding-right: .25em;
  125. }
  126.  
  127.  
  128. /* default style for scores. will be customised by score colors */
  129. .wims_sheet_score {
  130.   text-align:center;
  131.   margin:1px;
  132.   padding:5px;
  133.   border:1px solid #666;
  134.   background-color: #FFF;
  135.   border-radius: 2px;
  136. }
  137.  
  138. div.menuitem.score{
  139.   background-color: white;
  140.   color: black;
  141.   border: 1px solid black;
  142.   padding: .5em;
  143.   width: 80%;
  144.   margin: auto;
  145. }
  146.  
  147. .wims_user_info{
  148.   position: absolute;
  149.   right: .5em;
  150.   /* attention si on place wims_user_info en bas, il faut décaler wims_score_bar*/
  151.   top: -.75em;
  152.   /*bottom:-.5em;*/
  153. }
  154. /*.wims_exo_item .wims_user_info{
  155.   top:auto;
  156.   bottom: 0;
  157. }*/
  158.  
  159. /* could be used
  160. .wims_sheet_weight{}
  161. .wims_style_expire{}
  162. */
  163.  
  164. /* Small and Medium screens */
  165. /* max-width 1024px  */
  166. @media only screen and (max-width: 64em) {}
  167.  
  168. /* Small screens */
  169. /* max-width 640px, mobile-only styles, use when QAing mobile issues */
  170. @media only screen and (max-width: 40em) {
  171.   .wims_work_list>li, .wims_user_sheet>li, .wims_sheet_list>li{
  172.     width:100%;
  173.   }
  174. }
  175.  
  176. /* Medium screens */
  177. /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
  178. @media only screen and (min-width: 40.063em) and (max-width: 64em) {}
  179.  
  180. /* min-width 1025px, large screens */
  181. /* Large screens */
  182. @media only screen and (min-width: 64.063em) {}
  183.  
  184.