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