Rev 11412 | Rev 12300 | 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{ |
||
4 | /*border-left-width: 4px; |
||
7075 | obado | 5 | background-color:rgb(128,255,128); |
6236 | bpr | 6 | background-color:rgba(0,128,0,0.1); |
7 | font-family: monospace, "Courier New"; |
||
8 | line-height: 1.1em; |
||
9 | margin: 1em; |
||
7888 | obado | 10 | padding: .5em 1em;*/ |
11 | /*word-wrap: normal;*/ |
||
12 | border: 1px solid #ccc; |
||
13 | border-radius: 2px; |
||
14 | box-shadow: inset 0 0 .5em rgba(128,128,128,0.5); |
||
6236 | bpr | 15 | } |
7888 | obado | 16 | |
17 | code{ |
||
11168 | bpr | 18 | /* <code> est habituellement utilisé pour du code "inline", |
7888 | obado | 19 | mais avec "inline-block", on peut aussi l'utiliser en multi-lignes. */ |
20 | display:inline-block; |
||
21 | font-family: Consolas,"Andale Mono WT","Andale Mono","Bitstream Vera Sans Mono","Nimbus Mono L",Monaco,"Courier New",monospace; |
||
22 | /*font-size: 1em;*/ |
||
23 | /*text-align: left;*/ |
||
24 | background-color: #fbfaf9; |
||
25 | background-color: rgba(0,128,0,0.1); |
||
26 | color: #333; |
||
27 | padding: .5em; |
||
28 | } |
||
29 | |||
30 | pre{ |
||
10207 | bpr | 31 | /* pre peut afficher du texte multi-lignes */ |
7888 | obado | 32 | /*border-left-width: 4px; |
33 | background-color:rgb(128,255,128); |
||
34 | background-color:rgba(0,128,0,0.1); |
||
35 | font-family: monospace, "Courier New"; |
||
36 | border-left-style: ridge; |
||
37 | line-height: 1.1em; |
||
38 | margin: 1em;*/ |
||
39 | /* white-space lets display this block without scroll bars */ |
||
40 | /*white-space: pre-wrap;*/ |
||
41 | overflow: auto; |
||
42 | padding: 1em; |
||
43 | } |
||
44 | |||
9726 | obado | 45 | textarea#wims_deposit { |
6236 | bpr | 46 | width:80%; |
47 | min-width:50em; |
||
48 | min-height:30em; |
||
49 | } |
||
7888 | obado | 50 | |
9635 | obado | 51 | /* reference to filename (in modtool file list)*/ |
6236 | bpr | 52 | .wims_fname { |
53 | font-family: monospace, "Courier New"; |
||
7075 | obado | 54 | color :#600; |
6236 | bpr | 55 | font-weight:bold; |
56 | } |
||
7671 | bpr | 57 | /* reference to parameters */ |
6236 | bpr | 58 | .wims_parm{background-color : #ffffe5;} |
59 | |||
60 | /* mots de code */ |
||
61 | .wims_code_words {color:blue;} |
||
62 | |||
63 | /* variables in help for example*/ |
||
64 | .wims_code_variable {color:navy;} |
||
65 | |||
66 | /*address as email adress, but also adresse of a file*/ |
||
7075 | obado | 67 | /*.wims_address {}*/ |
68 | |||
6236 | bpr | 69 | /* title of modules in a texte */ |
70 | .wims_mod_title { |
||
71 | color:blue; |
||
72 | font-style: italic; |
||
73 | } |
||
74 | /* descriptions of modules in help or text */ |
||
75 | .wims_mod_desc { |
||
76 | font-style: italic; |
||
77 | } |
||
9635 | obado | 78 | |
79 | /* WIMS_messages */ |
||
80 | .wims_msg{ |
||
10262 | obado | 81 | /*font-weight: bold;*/ |
11204 | obado | 82 | padding: 0.3rem; |
11412 | obado | 83 | /*margin: 0 auto 1rem auto;*/ |
10262 | obado | 84 | border: 1px solid rgba(10, 10, 10, 0.25); |
6236 | bpr | 85 | } |
9635 | obado | 86 | /* WIMS_messages (type success) */ |
10262 | obado | 87 | .wims_msg.success{background-color: #e1faea;} |
9635 | obado | 88 | /* WIMS_messages (type alert) */ |
10262 | obado | 89 | .wims_msg.alert{background-color: #fce6e2;} |
9635 | obado | 90 | /* WIMS_messages (type warning) */ |
10262 | obado | 91 | .wims_msg.warning{background-color: #fff3d9;} |
9635 | obado | 92 | /* WIMS_messages (type info) */ |
10262 | obado | 93 | .wims_msg.info{background-color: #def0fc;} |
94 | /* include variables in WIMS_messages |
||
95 | .wims_msg .tt{color: black;}*/ |
||
11155 | bpr | 96 | /* WIMS_messages (type example) */ |
97 | .wims_msg.example{} |
||
9635 | obado | 98 | /* alert msg (WIMS_messages, old way (but still used in several modules) */ |
99 | .wims_alertmsg{ |
||
9628 | guerimand | 100 | margin:auto; |
9635 | obado | 101 | color: #A52A2A; |
9628 | guerimand | 102 | font-weight: bold; |
103 | padding: 10px; |
||
9635 | obado | 104 | border: solid 1px; |
9628 | guerimand | 105 | } |
9635 | obado | 106 | |
6635 | bpr | 107 | /* reference sur un label */ |
108 | .wims_label { |
||
109 | color:green ; |
||
110 | font-family: monospace, "Courier New"; |
||
7671 | bpr | 111 | padding: 3px ; |
112 | border:solid 1px ; |
||
6635 | bpr | 113 | } |
7075 | obado | 114 | |
6236 | bpr | 115 | /* words as login*/ |
116 | .wims_login { |
||
117 | color:blue; |
||
118 | font-weight:bold; |
||
6635 | bpr | 119 | } |