##// END OF EJS Templates
fix(css): distinguish code/pre from #message
super-admin -
r5584:db0ef0c4 default
parent child Browse files
Show More
@@ -1,406 +1,414 b''
1 1
2 2 /** MODAL **/
3 3 .modal-open {
4 4 overflow:hidden;
5 5 }
6 6 body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
7 7 margin-right:15px;
8 8 }
9 9 .modal {
10 10 position:fixed;
11 11 top:0;
12 12 right:0;
13 13 bottom:0;
14 14 left:0;
15 15 z-index:1040;
16 16 display:none;
17 17 overflow-y:scroll;
18 18 &.fade .modal-dialog {
19 19 -webkit-transform:translate(0,-25%);
20 20 -ms-transform:translate(0,-25%);
21 21 transform:translate(0,-25%);
22 22 -webkit-transition:-webkit-transform 0.3s ease-out;
23 23 -moz-transition:-moz-transform 0.3s ease-out;
24 24 -o-transition:-o-transform 0.3s ease-out;
25 25 transition:transform 0.3s ease-out;
26 26 }
27 27 &.in .modal-dialog {
28 28 -webkit-transform:translate(0,0);
29 29 -ms-transform:translate(0,0);
30 30 transform:translate(0,0);
31 31 }
32 32 }
33 33 .modal-dialog {
34 34 z-index:1050;
35 35 width:auto;
36 36 padding:10px;
37 37 margin-right:auto;
38 38 margin-left:auto;
39 39 }
40 40 .modal-content {
41 41 position:relative;
42 42 background-color:#ffffff;
43 43 border: @border-thickness solid rgba(0,0,0,0.2);
44 44 .border-radius(@border-radius);
45 45 outline:none;
46 46 -webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);
47 47 box-shadow:0 3px 9px rgba(0,0,0,0.5);
48 48 background-clip:padding-box;
49 49 }
50 50 .modal-backdrop {
51 51 position:fixed;
52 52 top:0;
53 53 right:0;
54 54 bottom:0;
55 55 left:0;
56 56 z-index:1030;
57 57 background-color:#000000;
58 58
59 59 &.modal-backdrop.fade {
60 60 opacity:0;
61 61 filter:alpha(opacity=0);
62 62 }
63 63 &.in {
64 64 opacity:0.5;
65 65 filter:alpha(opacity=50);
66 66 }
67 67 }
68 68 .modal-header {
69 69 min-height:16.428571429px;
70 70 padding:15px;
71 71 border-bottom: @border-thickness solid @grey6;
72 72 .close {
73 73 margin-top:-2px;
74 74 }
75 75 }
76 76 .modal-title {
77 77 margin:0;
78 78 line-height:1.428571429;
79 79 }
80 80 .modal-body {
81 81 position:relative;
82 82 padding:20px;
83 83 }
84 84 .modal-footer {
85 85 padding:19px 20px 20px;
86 86 margin-top:15px;
87 87 text-align:right;
88 88 border-top:1px solid #e5e5e5;
89 89 .btn + .btn {
90 90 margin-bottom:0;
91 91 margin-left:5px;
92 92 }
93 93 .btn-group .btn + .btn {
94 94 margin-left:-1px;
95 95 }
96 96 .btn-block + .btn-block {
97 97 margin-left:0;
98 98 }
99 99 &:before {
100 100 display:table;
101 101 content:" ";
102 102 }
103 103 &:after {
104 104 display:table;
105 105 content:" ";
106 106 clear:both;
107 107 }
108 108 }
109 109
110 110 /** MARKDOWN styling **/
111 111 div.markdown-block {
112 112 clear: both;
113 113 overflow: hidden;
114 114 margin: 0;
115 115 padding: 3px 15px 3px;
116 116 }
117 117
118 118 div.markdown-block h1,
119 119 div.markdown-block h2,
120 120 div.markdown-block h3,
121 121 div.markdown-block h4,
122 122 div.markdown-block h5,
123 123 div.markdown-block h6 {
124 124 border-bottom: none !important;
125 125 padding: 0 !important;
126 126 overflow: visible !important;
127 127 }
128 128
129 129 div.markdown-block h1,
130 130 div.markdown-block h2 {
131 131 border-bottom: 1px #e6e5e5 solid !important;
132 132 }
133 133
134 134 div.markdown-block h1 {
135 135 font-size: 32px;
136 136 margin: 15px 0 15px 0 !important;
137 137 }
138 138
139 139 div.markdown-block h2 {
140 140 font-size: 24px !important;
141 141 margin: 34px 0 10px 0 !important;
142 142 }
143 143
144 144 div.markdown-block h3 {
145 145 font-size: 18px !important;
146 146 margin: 30px 0 8px 0 !important;
147 147 padding-bottom: 2px !important;
148 148 }
149 149
150 150 div.markdown-block h4 {
151 151 font-size: 13px !important;
152 152 margin: 18px 0 3px 0 !important;
153 153 }
154 154
155 155 div.markdown-block h5 {
156 156 font-size: 12px !important;
157 157 margin: 15px 0 3px 0 !important;
158 158 }
159 159
160 160 div.markdown-block h6 {
161 161 font-size: 12px;
162 162 color: #777777;
163 163 margin: 15px 0 3px 0 !important;
164 164 }
165 165
166 166 div.markdown-block hr {
167 167 border: 0;
168 168 color: #e6e5e5;
169 169 background-color: #e6e5e5;
170 170 height: 3px;
171 171 margin-bottom: 13px;
172 172 }
173 173
174 174 div.markdown-block blockquote {
175 175 color: #424242 !important;
176 176 padding: 8px 21px;
177 177 margin: 12px 0;
178 178 border-left: 4px solid @grey6;
179 179 }
180 180
181 181 div.markdown-block blockquote p {
182 182 color: #424242 !important;
183 183 padding: 0 !important;
184 184 margin: 0 !important;
185 185 line-height: 1.5;
186 186 }
187 187
188 188
189 189 div.markdown-block ol,
190 190 div.markdown-block ul,
191 191 div.markdown-block p,
192 192 div.markdown-block blockquote,
193 193 div.markdown-block dl,
194 194 div.markdown-block li,
195 195 div.markdown-block table {
196 196 color: #424242 !important;
197 197 font-size: 13px !important;
198 198 font-family: @text-regular;
199 199 font-weight: normal !important;
200 200 overflow: visible !important;
201 201 }
202 202
203 203 div.markdown-block pre {
204 204 margin: 3px 0px 13px 0px !important;
205 205 padding: .5em;
206 206 color: #424242 !important;
207 207 font-size: 13px !important;
208 208 overflow: visible !important;
209 209 line-height: 140% !important;
210 210 background-color: @grey7;
211 211 }
212 212
213 213 div.markdown-block img {
214 214 border-style: none;
215 215 background-color: #fff;
216 216 max-width: 100%;
217 217 }
218 218
219 219
220 220 div.markdown-block strong {
221 221 font-weight: 600;
222 222 margin: 0;
223 223 }
224 224
225 225 div.markdown-block ul.checkbox,
226 226 div.markdown-block ol.checkbox {
227 227 padding-left: 20px !important;
228 228 margin-top: 0px !important;
229 229 margin-bottom: 18px !important;
230 230 }
231 231
232 232 div.markdown-block ul,
233 233 div.markdown-block ol {
234 234 padding-left: 30px !important;
235 235 margin-top: 0px !important;
236 236 margin-bottom: 18px !important;
237 237 }
238 238
239 239 div.markdown-block ul.checkbox li,
240 240 div.markdown-block ol.checkbox li {
241 241 list-style: none !important;
242 242 margin: 0px !important;
243 243 padding: 0 !important;
244 244 }
245 245
246 246 div.markdown-block ul li,
247 247 div.markdown-block ol li {
248 248 list-style: disc !important;
249 249 margin: 0px !important;
250 250 padding: 0 !important;
251 251 }
252 252
253 253 div.markdown-block ol li {
254 254 list-style: decimal !important;
255 255 }
256 256
257 257
258 258 div.markdown-block #message {
259 259 .border-radius(@border-radius);
260 260 border: @border-thickness solid @grey5;
261 261 display: block;
262 262 width: 100%;
263 263 height: 60px;
264 264 margin: 6px 0px;
265 265 }
266 266
267 267 div.markdown-block button,
268 268 div.markdown-block #ws {
269 269 font-size: @basefontsize;
270 270 padding: 4px 6px;
271 271 .border-radius(@border-radius);
272 272 border: @border-thickness solid @grey5;
273 273 background-color: @grey6;
274 274 }
275 275
276 276 div.markdown-block p {
277 277 margin-top: 0;
278 278 margin-bottom: 16px;
279 279 padding: 0;
280 280 line-height: unset;
281 281 }
282 282
283 283 div.markdown-block code,
284 284 div.markdown-block pre,
285 285 div.markdown-block #ws,
286 286 div.markdown-block #message {
287 287 font-family: @text-monospace;
288 288 font-size: 11px;
289 289 .border-radius(@border-radius);
290 background-color: transparent;
291 290 color: @grey3;
292 291 }
293 292
293 div.markdown-block code,
294 div.markdown-block pre {
295 background-color: transparent;
296 }
297
298 div.markdown-block #ws,
299 div.markdown-block #message {
300 background-color: white;
301 }
294 302
295 303 div.markdown-block code {
296 304 border: @border-thickness solid @grey6;
297 305 margin: 0 2px;
298 306 padding: 0 5px;
299 307 }
300 308
301 309 div.markdown-block pre {
302 310 border: @border-thickness solid @grey5;
303 311 overflow: auto;
304 312 padding: .5em;
305 313 background-color: @grey7;
306 314 }
307 315
308 316 div.markdown-block pre > code {
309 317 border: 0;
310 318 margin: 0;
311 319 padding: 0;
312 320 }
313 321
314 322 /** RST STYLE **/
315 323 div.rst-block {
316 324 clear: both;
317 325 overflow: hidden;
318 326 margin: 0;
319 327 padding: 3px 15px 3px;
320 328 }
321 329
322 330 div.rst-block h2 {
323 331 font-weight: normal;
324 332 }
325 333
326 334 div.rst-block h1,
327 335 div.rst-block h2,
328 336 div.rst-block h3,
329 337 div.rst-block h4,
330 338 div.rst-block h5,
331 339 div.rst-block h6 {
332 340 border-bottom: 0 !important;
333 341 margin: 0 !important;
334 342 padding: 0 !important;
335 343 line-height: 1.5em !important;
336 344 }
337 345
338 346
339 347 div.rst-block h1:first-child {
340 348 padding-top: .25em !important;
341 349 }
342 350
343 351 div.rst-block h2,
344 352 div.rst-block h3 {
345 353 margin: 1em 0 !important;
346 354 }
347 355
348 356 div.rst-block h1,
349 357 div.rst-block h2 {
350 358 border-bottom: 1px #e6e5e5 solid !important;
351 359 }
352 360
353 361 div.rst-block h2 {
354 362 margin-top: 1.5em !important;
355 363 padding-top: .5em !important;
356 364 }
357 365
358 366 div.rst-block p {
359 367 color: black !important;
360 368 margin: 1em 0 !important;
361 369 line-height: 1.5em !important;
362 370 }
363 371
364 372 div.rst-block ul {
365 373 list-style: disc !important;
366 374 margin: 1em 0 1em 2em !important;
367 375 clear: both;
368 376 }
369 377
370 378 div.rst-block ol {
371 379 list-style: decimal;
372 380 margin: 1em 0 1em 2em !important;
373 381 }
374 382
375 383 div.rst-block pre,
376 384 div.rst-block code {
377 385 font: 12px "Bitstream Vera Sans Mono","Courier",monospace;
378 386 }
379 387
380 388 div.rst-block code {
381 389 font-size: 12px !important;
382 390 background-color: ghostWhite !important;
383 391 color: #444 !important;
384 392 padding: 0 .2em !important;
385 393 border: 1px solid #dedede !important;
386 394 }
387 395
388 396 div.rst-block pre code {
389 397 padding: 0 !important;
390 398 font-size: 12px !important;
391 399 background-color: #eee !important;
392 400 border: none !important;
393 401 }
394 402
395 403 div.rst-block pre {
396 404 margin: 1em 0;
397 405 padding: @padding;
398 406 border: 1px solid @grey6;
399 407 .border-radius(@border-radius);
400 408 overflow: auto;
401 409 font-size: 12px;
402 410 color: #444;
403 411 background-color: @grey7;
404 412 }
405 413
406 414
General Comments 0
You need to be logged in to leave comments. Login now