Subversion Repositories wimsdev

Rev

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

  1. /* utilities2.css */
  2.  
  3. .nowrap {
  4.   white-space:nowrap;
  5. }
  6. textarea.nowrap {
  7.   white-space:pre;
  8.   overflow: auto;
  9.   word-wrap: normal;
  10. }
  11.  
  12. /* technical info */
  13. .wimstech {font-family: monospace, "Courier New";font-size:small}
  14.  
  15. /* used for non responsive content that cannot be shrinked on small screens */
  16. .wims_scrollable{
  17.   overflow-x: auto;
  18. }
  19.  
  20. /* use <br class="spacer" /> instead*/
  21. .emptyline { height:20px;}
  22. .empty { width:5%;}
  23.  
  24. /* permalink */
  25. /*#export_media .about {
  26.   margin-top: 0;
  27.   background-repeat: no-repeat;
  28.   background-position: 0 50%;
  29.   padding-left: 28px;
  30.   line-height: 28px;
  31.   text-align: left;
  32. }
  33. #export_media{
  34.   border: 1px solid #999;
  35.   padding: 5px;
  36. }*/
  37. .wims_debug_mode{
  38.   margin:auto;
  39.   width:50%;
  40.   font-size:small;
  41.   font-family: monospace;
  42.   border:1px solid #DFDFDF;
  43.   padding:0 .5em 0;
  44.   background-color: #FFF;
  45. }
  46.  
  47.  
  48. /*back to the top of the page*/
  49. .wims_topback {
  50.   padding-right:.5em;
  51.   position:fixed;
  52.   bottom:0;
  53.   right:0;
  54.   z-index: 10;
  55. }
  56. .wims_topback a{
  57.   position:relative;
  58.   top:0;
  59.   transition: top .2s linear;
  60. }
  61. .wims_topback a:before{
  62.     content:"\21E1";
  63.     font-size: 2em;
  64. }
  65. .wims_topback a:hover{top:-5px;}
  66.  
  67. /* Scrolling with anchor links is smoother (with Firefox and Chrome) */
  68. /*Disabled to avoid some issue with Firefox & Geogebra
  69. html{scroll-behavior: smooth;}*/
  70.  
  71.  
  72. /* "Plugged" icon ("\1f50c"), indicating user is connected now.
  73.  Previously : marked icon : ("\2713") */
  74. .wims_connected:after{content:"\270b";font-size:1.5em;color:#8bb681;}
  75. /* .wims_tooltip added on an icon when text will be displayed via "title" attribute. */
  76. .wims_tooltip{cursor:help;}
  77. /* Removes underline inherited from link */
  78. a .wims_tooltip{display: inline-block;}
  79. /* a border around icon hovered indicates it will do something (ie : displays the title) */
  80. .wims_tooltip:after{
  81.   border:2px solid transparent;
  82.   padding:1px 6px 1px 3px ;
  83.   border-radius: 15px;
  84. }
  85. .wims_tooltip:hover:after{border-color:#8bb681;}
  86.  
  87. /** hides a text, so it will only be readable by screen readers, for better accesibility */
  88. .hidden_text{
  89.     display:inline-block;
  90.     width:1px;
  91.     height:1px;
  92.     color:transparent;
  93.     overflow:hidden;
  94. }
  95.  
  96. /* alert message from teacher to a choosen student */
  97. .wims_alertchat {
  98.   background-color: #a0d3e8;
  99.   /*border : 1px solid #74bfdd;*/
  100.   border-radius: 5px;
  101.   padding: 0 .5em;
  102.   font-size: .9em;
  103.   transition: opacity 300ms ease-out;
  104. }
  105. div.wims_alertchat {
  106.   margin:.5em auto;
  107.   width:50%;
  108. }
  109.  
  110. .wims_alertchat .float_right{
  111.   margin-top:.5em;
  112. }
  113.  
  114. /* ## Layout Classes ## */
  115.  
  116. /* fullwidth : Takes maximum width available */
  117. .fullwidth{
  118.     box-sizing: border-box;
  119.     width:100%;
  120.     clear: both;
  121. }
  122. .fullwidth.wimscenter{
  123.     margin:0;
  124. }
  125.  
  126. /* halfwidth : Takes half size */
  127. .halfwidth{
  128.     box-sizing: border-box;
  129.     width:50%;
  130.     vertical-align: top;
  131. }
  132.  
  133. /*
  134. Flexbox : a way to uniformize multiple box automatically
  135. See more at http://css-tricks.com/snippets/css/a-guide-to-flexbox/
  136. (be aware that safari does not handle a display flex on a fieldset yet. you have to add a div inside.)
  137. */
  138. .flex_box{
  139.     display: flex;
  140.     flex-flow: row wrap;
  141.     justify-content: space-around;
  142.     list-style:none;
  143.     margin:auto;
  144.     padding: 2px;
  145. }
  146.  
  147. .flex_box>li{
  148.     display:inline-block;
  149.     margin:1px;
  150. }
  151. .flex_box>li.field:nth-child(2n){
  152.   background-color: #FFF;
  153. }
  154.  
  155. /* Reset a jquery UI default */
  156. .main_body .ui-widget{
  157.   font-size: inherit;
  158. }
  159.  
  160. .ui-tabs{
  161.   margin-bottom:.5em;
  162. }
  163.  
  164. .main_body .ui-tabs .ui-tabs-panel{
  165.   padding:.5em;
  166. }
  167.  
  168. /* "disabled" look */
  169. span.disabled, span.disabled:hover, span.disabled:active{
  170.   opacity:.6;
  171. }
  172. .is-dropdown-submenu .disabled{
  173.   background-color: #CCC;
  174. }
  175. .wims_notepad:before {content:"\270E";}
  176.  
  177. svg{
  178.   /*prevent svg pictures being larger than screen */
  179.   max-width: 100%;
  180. }
  181.