Subversion Repositories wimsdev

Rev

Rev 17650 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. /* WORDS in code in all texts*/
  2.  
  3. code, pre{
  4.   border: 1px solid #cacaca;
  5.   border-radius: 2px;
  6.   box-shadow: inset 0 0 .5em rgb(128 128 128 / .5);
  7. }
  8.  
  9. pre>code{
  10.   border: none;
  11.   box-shadow: none;
  12.   padding: 0;
  13. }
  14.  
  15. code{
  16.   /* <code> est habituellement utilise pour du code "inline",
  17.      mais avec "inline-block", on peut aussi l'utiliser en multi-lignes. */
  18.   display: inline-block;
  19.   padding: .3rem .4rem;
  20.   font-family: Consolas, "Liberation Mono", Courier, monospace;
  21.   font-weight: normal;
  22.   color: #0a0a0a;
  23.   /*background-color: #f9fdf9;*/
  24.   background-color: #FFF;
  25. }
  26.  
  27. pre{
  28.   /* pre peut afficher du texte multi-lignes */
  29.    /*border-left-width: 4px;
  30.    background-color:rgb(128,255,128);
  31.    background-color:rgb(0 128 0 / .1);
  32.    font-family: monospace, "Courier New";
  33.    border-left-style: ridge;
  34.    line-height: 1.1em;
  35.    margin: 1em;*/
  36.    /* white-space lets display this block without scroll bars */
  37.    /*white-space: pre-wrap;*/
  38.    overflow: auto;
  39.    padding: .6rem;
  40. }
  41.  
  42. textarea#wims_deposit {
  43.   width: 100%;
  44.   max-width: 75em;
  45.   min-height: 30em;
  46. }
  47.  
  48. /* reference to filename (in modtool file list)*/
  49. .wims_fname {
  50.   font-family: monospace, "Courier New";
  51.   color: #600;
  52.   font-weight: bold;
  53. }
  54. /* reference to parameters */
  55. .wims_parm{background-color: #ffffe5;}
  56.  
  57. /* mots de code */
  58. .wims_code_words {color: blue;}
  59.  
  60. /* The <kbd> HTML element represents a span of
  61.  inline text denoting textual user input from a keyboard,
  62.  voice input, or any other text entry device.
  63. */
  64. kbd {
  65.   border: 1px solid #b4b4b4;
  66.   background-color: #eee;
  67.   color: #333;
  68.   border-radius: 3px;
  69.   box-shadow: 0 1px 1px rgb(0 0 0 / .2), 0 2px 0 0 rgb(255 255 255 / .7) inset;
  70.   line-height: 1;
  71.   font-weight: bold;
  72.   display: inline-block;
  73.   letter-spacing: .05em;
  74.   padding: 2px 4px;
  75.   white-space: nowrap;
  76. }
  77.  
  78. /* variables in help for example*/
  79. .wims_code_variable {color: navy;}
  80.  
  81. /*address as email adress, but also adresse of a file*/
  82. /*.wims_address {}*/
  83.  
  84. /* title of modules in a texte */
  85. .wims_mod_title {
  86.   color: blue;
  87.   font-style: italic;
  88. }
  89. /* descriptions of modules in help or text */
  90. .wims_mod_desc {
  91.   font-style: italic;
  92. }
  93.  
  94. /* WIMS_messages */
  95. .wims_msg{
  96.    /*font-weight: bold;*/
  97.    padding: .3rem;
  98.    border: 1px solid #BCBCBC;
  99.    max-height: 999em;
  100. }
  101. div.wims_msg{
  102.   margin: .5rem auto 1rem auto;
  103.   position: relative;
  104. }
  105. /* transition to hide an element (will be smoother if we use js) */
  106. div.alert_closing {
  107.   max-height: 0;
  108.   padding-top: 0;
  109.   padding-bottom: 0;
  110.   margin-top: 0;
  111.   margin-bottom: 0;
  112.   overflow: hidden;
  113.   opacity: 0;
  114.   transition: all 2s ease-out;
  115. }
  116.  
  117. /* WIMS_messages (type success) */
  118. .wims_msg.success{background-color: #e1faea;}
  119. /* WIMS_messages (type alert) */
  120. .wims_msg.alert,.wims_msg.fail{background-color: #fce6e2;}
  121. /* WIMS_messages (type warning) */
  122. .wims_msg.warning{background-color: #fff3d9;}
  123. /* WIMS_messages (type info) */
  124. .wims_msg.info{background-color: #def0fc;}
  125. /* WIMS_messages (type help) */
  126. .wims_msg.help{background-color: #F6F6F6;}
  127. /* include variables in WIMS_messages
  128. .wims_msg .tt{color: black;}*/
  129.  
  130. /* alert msg (WIMS_messages, old way (but still used in several modules) */
  131. .wims_alertmsg{
  132.    margin: auto;
  133.    color: #A52A2A;
  134.    font-weight: bold;
  135.    padding: 10px;
  136.    border: solid 1px;
  137. }
  138.  
  139. /* reference sur un label */
  140. .wims_label {
  141.    font-family: monospace, "Courier New";
  142.    padding: 1px 3px;
  143.    border: solid 1px ;
  144. }
  145. .wims_label.open,.wims_label.success{
  146.   color: green;
  147. }
  148.  
  149. /* words as login*/
  150. .wims_login {
  151.    color: blue;
  152.    font-weight: bold;
  153. }
  154.