Subversion Repositories wimsdev

Rev

Rev 14631 | Rev 17650 | Go to most recent revision | 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 rgba(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 utilis 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:rgba(0,128,0,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. /* variables in help for example*/
  61. .wims_code_variable {color:navy;}
  62.  
  63. /*address as email adress, but also adresse of a file*/
  64. /*.wims_address {}*/
  65.  
  66. /* title of modules in a texte */
  67. .wims_mod_title {
  68.   color:blue;
  69.   font-style: italic;
  70. }
  71. /* descriptions of modules in help or text */
  72. .wims_mod_desc {
  73.   font-style: italic;
  74. }
  75.  
  76. /* WIMS_messages */
  77. .wims_msg{
  78.    /*font-weight: bold;*/
  79.    padding: .3rem;
  80.    border: 1px solid #BCBCBC;
  81.    max-height: 999em;
  82. }
  83. div.wims_msg{
  84.   margin: .5rem auto 1rem auto;
  85.   position: relative;
  86. }
  87. /* transition to hide an element (will be smoother if we use js) */
  88. div.alert_closing {
  89.   max-height: 0;
  90.   padding-top: 0;
  91.   padding-bottom: 0;
  92.   margin-top: 0;
  93.   margin-bottom: 0;
  94.   overflow: hidden;
  95.   opacity: 0;
  96.   transition: all 2s ease-out;
  97. }
  98.  
  99. /* WIMS_messages (type success) */
  100. .wims_msg.success{background-color: #e1faea;}
  101. /* WIMS_messages (type alert) */
  102. .wims_msg.alert,.wims_msg.fail{background-color: #fce6e2;}
  103. /* WIMS_messages (type warning) */
  104. .wims_msg.warning{background-color: #fff3d9;}
  105. /* WIMS_messages (type info) */
  106. .wims_msg.info{background-color: #def0fc;}
  107. /* WIMS_messages (type help) */
  108. .wims_msg.help{background-color: #F6F6F6;}
  109. /* include variables in WIMS_messages
  110. .wims_msg .tt{color: black;}*/
  111.  
  112. /* alert msg (WIMS_messages, old way (but still used in several modules) */
  113. .wims_alertmsg{
  114.    margin:auto;
  115.    color: #A52A2A;
  116.    font-weight: bold;
  117.    padding: 10px;
  118.    border: solid 1px;
  119. }
  120.  
  121. /* reference sur un label */
  122. .wims_label {
  123.    font-family: monospace, "Courier New";
  124.    padding: 1px 3px;
  125.    border:solid 1px ;
  126. }
  127. .wims_label.open,.wims_label.success{
  128.   color:green;
  129. }
  130.  
  131. /* words as login*/
  132. .wims_login {
  133.    color:blue;
  134.    font-weight:bold;
  135. }
  136.