Subversion Repositories wimsdev

Rev

Rev 14631 | Rev 17650 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
12261 bpr 1
/* WORDS in code in all texts*/
7888 obado 2
 
3
code, pre{
12300 obado 4
  border: 1px solid #cacaca;
7888 obado 5
  border-radius: 2px;
13292 obado 6
  box-shadow: inset 0 0 .5em rgba(128,128,128,.5);
6236 bpr 7
}
7888 obado 8
 
14631 obado 9
pre>code{
10
  border: none;
11
  box-shadow: none;
12
  padding:0;
13
}
14
 
7888 obado 15
code{
17143 obado 16
  /* <code> est habituellement utilis pour du code "inline",
7888 obado 17
     mais avec "inline-block", on peut aussi l'utiliser en multi-lignes. */
18
  display:inline-block;
14631 obado 19
  padding: .3rem .4rem;
12300 obado 20
  font-family: Consolas, "Liberation Mono", Courier, monospace;
21
  font-weight: normal;
22
  color: #0a0a0a;
13991 obado 23
  /*background-color: #f9fdf9;*/
24
  background-color: #FFF;
7888 obado 25
}
26
 
27
pre{
10207 bpr 28
  /* pre peut afficher du texte multi-lignes */
7888 obado 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;
14631 obado 39
   padding: .6rem;
7888 obado 40
}
41
 
9726 obado 42
textarea#wims_deposit {
17143 obado 43
  width:100%;
44
  max-width:75em;
6236 bpr 45
  min-height:30em;
46
}
7888 obado 47
 
9635 obado 48
/* reference to filename (in modtool file list)*/
6236 bpr 49
.wims_fname {
50
  font-family: monospace, "Courier New";
7075 obado 51
  color :#600;
6236 bpr 52
  font-weight:bold;
53
}
7671 bpr 54
/* reference to parameters */
6236 bpr 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*/
7075 obado 64
/*.wims_address {}*/
65
 
6236 bpr 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
}
9635 obado 75
 
76
/* WIMS_messages */
77
.wims_msg{
10262 obado 78
   /*font-weight: bold;*/
12300 obado 79
   padding: .3rem;
13292 obado 80
   border: 1px solid #BCBCBC;
17143 obado 81
   max-height: 999em;
6236 bpr 82
}
12300 obado 83
div.wims_msg{
84
  margin: .5rem auto 1rem auto;
17143 obado 85
  position: relative;
12300 obado 86
}
17143 obado 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
 
9635 obado 99
/* WIMS_messages (type success) */
10262 obado 100
.wims_msg.success{background-color: #e1faea;}
9635 obado 101
/* WIMS_messages (type alert) */
14091 obado 102
.wims_msg.alert,.wims_msg.fail{background-color: #fce6e2;}
9635 obado 103
/* WIMS_messages (type warning) */
10262 obado 104
.wims_msg.warning{background-color: #fff3d9;}
9635 obado 105
/* WIMS_messages (type info) */
10262 obado 106
.wims_msg.info{background-color: #def0fc;}
12300 obado 107
/* WIMS_messages (type help) */
108
.wims_msg.help{background-color: #F6F6F6;}
10262 obado 109
/* include variables in WIMS_messages
110
.wims_msg .tt{color: black;}*/
12300 obado 111
 
9635 obado 112
/* alert msg (WIMS_messages, old way (but still used in several modules) */
113
.wims_alertmsg{
9628 guerimand 114
   margin:auto;
9635 obado 115
   color: #A52A2A;
9628 guerimand 116
   font-weight: bold;
117
   padding: 10px;
9635 obado 118
   border: solid 1px;
9628 guerimand 119
}
9635 obado 120
 
6635 bpr 121
/* reference sur un label */
122
.wims_label {
123
   font-family: monospace, "Courier New";
12904 obado 124
   padding: 1px 3px;
7671 bpr 125
   border:solid 1px ;
6635 bpr 126
}
12904 obado 127
.wims_label.open,.wims_label.success{
13019 bpr 128
  color:green;
12904 obado 129
}
7075 obado 130
 
6236 bpr 131
/* words as login*/
132
.wims_login {
133
   color:blue;
134
   font-weight:bold;
6635 bpr 135
}