Subversion Repositories wimsdev

Rev

Rev 17650 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17650 Rev 17966
Line 1... Line 1...
1
/* WORDS in code in all texts*/
1
/* WORDS in code in all texts*/
2
 
2
 
3
code, pre{
3
code, pre{
4
  border: 1px solid #cacaca;
4
  border: 1px solid #cacaca;
5
  border-radius: 2px;
5
  border-radius: 2px;
6
  box-shadow: inset 0 0 .5em rgba(128,128,128,.5);
6
  box-shadow: inset 0 0 .5em rgb(128 128 128 / .5);
7
}
7
}
8
 
8
 
9
pre>code{
9
pre>code{
10
  border: none;
10
  border: none;
11
  box-shadow: none;
11
  box-shadow: none;
12
  padding:0;
12
  padding: 0;
13
}
13
}
14
 
14
 
15
code{
15
code{
16
  /* <code> est habituellement utilis pour du code "inline",
16
  /* <code> est habituellement utilise pour du code "inline",
17
     mais avec "inline-block", on peut aussi l'utiliser en multi-lignes. */
17
     mais avec "inline-block", on peut aussi l'utiliser en multi-lignes. */
18
  display:inline-block;
18
  display: inline-block;
19
  padding: .3rem .4rem;
19
  padding: .3rem .4rem;
20
  font-family: Consolas, "Liberation Mono", Courier, monospace;
20
  font-family: Consolas, "Liberation Mono", Courier, monospace;
21
  font-weight: normal;
21
  font-weight: normal;
22
  color: #0a0a0a;
22
  color: #0a0a0a;
23
  /*background-color: #f9fdf9;*/
23
  /*background-color: #f9fdf9;*/
Line 26... Line 26...
26
 
26
 
27
pre{
27
pre{
28
  /* pre peut afficher du texte multi-lignes */
28
  /* pre peut afficher du texte multi-lignes */
29
   /*border-left-width: 4px;
29
   /*border-left-width: 4px;
30
   background-color:rgb(128,255,128);
30
   background-color:rgb(128,255,128);
31
   background-color:rgba(0,128,0,0.1);
31
   background-color:rgb(0 128 0 / .1);
32
   font-family: monospace, "Courier New";
32
   font-family: monospace, "Courier New";
33
   border-left-style: ridge;
33
   border-left-style: ridge;
34
   line-height: 1.1em;
34
   line-height: 1.1em;
35
   margin: 1em;*/
35
   margin: 1em;*/
36
   /* white-space lets display this block without scroll bars */
36
   /* white-space lets display this block without scroll bars */
Line 38... Line 38...
38
   overflow: auto;
38
   overflow: auto;
39
   padding: .6rem;
39
   padding: .6rem;
40
}
40
}
41
 
41
 
42
textarea#wims_deposit {
42
textarea#wims_deposit {
43
  width:100%;
43
  width: 100%;
44
  max-width:75em;
44
  max-width: 75em;
45
  min-height:30em;
45
  min-height: 30em;
46
}
46
}
47
 
47
 
48
/* reference to filename (in modtool file list)*/
48
/* reference to filename (in modtool file list)*/
49
.wims_fname {
49
.wims_fname {
50
  font-family: monospace, "Courier New";
50
  font-family: monospace, "Courier New";
51
  color :#600;
51
  color: #600;
52
  font-weight:bold;
52
  font-weight: bold;
53
}
53
}
54
/* reference to parameters */
54
/* reference to parameters */
55
.wims_parm{background-color : #ffffe5;}
55
.wims_parm{background-color: #ffffe5;}
56
 
56
 
57
/* mots de code */
57
/* mots de code */
58
.wims_code_words {color:blue;}
58
.wims_code_words {color: blue;}
59
 
59
 
60
/* The <kbd> HTML element represents a span of
60
/* The <kbd> HTML element represents a span of
61
 inline text denoting textual user input from a keyboard,
61
 inline text denoting textual user input from a keyboard,
62
 voice input, or any other text entry device.
62
 voice input, or any other text entry device.
63
*/
63
*/
64
kbd {
64
kbd {
65
  border: 1px solid #b4b4b4;
65
  border: 1px solid #b4b4b4;
66
  background-color: #eee;
66
  background-color: #eee;
67
  color: #333;
67
  color: #333;
68
  border-radius: 3px;
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;
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;
70
  line-height: 1;
71
  font-weight: bold;
71
  font-weight: bold;
72
  display: inline-block;
72
  display: inline-block;
73
  letter-spacing: .05em;
73
  letter-spacing: .05em;
74
  padding: 2px 4px;
74
  padding: 2px 4px;
75
  white-space: nowrap;
75
  white-space: nowrap;
76
}
76
}
77
 
77
 
78
/* variables in help for example*/
78
/* variables in help for example*/
79
.wims_code_variable {color:navy;}
79
.wims_code_variable {color: navy;}
80
 
80
 
81
/*address as email adress, but also adresse of a file*/
81
/*address as email adress, but also adresse of a file*/
82
/*.wims_address {}*/
82
/*.wims_address {}*/
83
 
83
 
84
/* title of modules in a texte */
84
/* title of modules in a texte */
85
.wims_mod_title {
85
.wims_mod_title {
86
  color:blue;
86
  color: blue;
87
  font-style: italic;
87
  font-style: italic;
88
}
88
}
89
/* descriptions of modules in help or text */
89
/* descriptions of modules in help or text */
90
.wims_mod_desc {
90
.wims_mod_desc {
91
  font-style: italic;
91
  font-style: italic;
92
}
92
}
93
 
93
 
Line 127... Line 127...
127
/* include variables in WIMS_messages
127
/* include variables in WIMS_messages
128
.wims_msg .tt{color: black;}*/
128
.wims_msg .tt{color: black;}*/
129
 
129
 
130
/* alert msg (WIMS_messages, old way (but still used in several modules) */
130
/* alert msg (WIMS_messages, old way (but still used in several modules) */
131
.wims_alertmsg{
131
.wims_alertmsg{
132
   margin:auto;
132
   margin: auto;
133
   color: #A52A2A;
133
   color: #A52A2A;
134
   font-weight: bold;
134
   font-weight: bold;
135
   padding: 10px;
135
   padding: 10px;
136
   border: solid 1px;
136
   border: solid 1px;
137
}
137
}
138
 
138
 
139
/* reference sur un label */
139
/* reference sur un label */
140
.wims_label {
140
.wims_label {
141
   font-family: monospace, "Courier New";
141
   font-family: monospace, "Courier New";
142
   padding: 1px 3px;
142
   padding: 1px 3px;
143
   border:solid 1px ;
143
   border: solid 1px ;
144
}
144
}
145
.wims_label.open,.wims_label.success{
145
.wims_label.open,.wims_label.success{
146
  color:green;
146
  color: green;
147
}
147
}
148
 
148
 
149
/* words as login*/
149
/* words as login*/
150
.wims_login {
150
.wims_login {
151
   color:blue;
151
   color: blue;
152
   font-weight:bold;
152
   font-weight: bold;
153
}
153
}