Subversion Repositories wimsdev

Rev

Rev 17143 | 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
 
17650 obado 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 rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.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
 
6236 bpr 78
/* variables in help for example*/
79
.wims_code_variable {color:navy;}
80
 
81
/*address as email adress, but also adresse of a file*/
7075 obado 82
/*.wims_address {}*/
83
 
6236 bpr 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
}
9635 obado 93
 
94
/* WIMS_messages */
95
.wims_msg{
10262 obado 96
   /*font-weight: bold;*/
12300 obado 97
   padding: .3rem;
13292 obado 98
   border: 1px solid #BCBCBC;
17143 obado 99
   max-height: 999em;
6236 bpr 100
}
12300 obado 101
div.wims_msg{
102
  margin: .5rem auto 1rem auto;
17143 obado 103
  position: relative;
12300 obado 104
}
17143 obado 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
 
9635 obado 117
/* WIMS_messages (type success) */
10262 obado 118
.wims_msg.success{background-color: #e1faea;}
9635 obado 119
/* WIMS_messages (type alert) */
14091 obado 120
.wims_msg.alert,.wims_msg.fail{background-color: #fce6e2;}
9635 obado 121
/* WIMS_messages (type warning) */
10262 obado 122
.wims_msg.warning{background-color: #fff3d9;}
9635 obado 123
/* WIMS_messages (type info) */
10262 obado 124
.wims_msg.info{background-color: #def0fc;}
12300 obado 125
/* WIMS_messages (type help) */
126
.wims_msg.help{background-color: #F6F6F6;}
10262 obado 127
/* include variables in WIMS_messages
128
.wims_msg .tt{color: black;}*/
12300 obado 129
 
9635 obado 130
/* alert msg (WIMS_messages, old way (but still used in several modules) */
131
.wims_alertmsg{
9628 guerimand 132
   margin:auto;
9635 obado 133
   color: #A52A2A;
9628 guerimand 134
   font-weight: bold;
135
   padding: 10px;
9635 obado 136
   border: solid 1px;
9628 guerimand 137
}
9635 obado 138
 
6635 bpr 139
/* reference sur un label */
140
.wims_label {
141
   font-family: monospace, "Courier New";
12904 obado 142
   padding: 1px 3px;
7671 bpr 143
   border:solid 1px ;
6635 bpr 144
}
12904 obado 145
.wims_label.open,.wims_label.success{
13019 bpr 146
  color:green;
12904 obado 147
}
7075 obado 148
 
6236 bpr 149
/* words as login*/
150
.wims_login {
151
   color:blue;
152
   font-weight:bold;
6635 bpr 153
}