##// END OF EJS Templates
fix celltoolbar css
Matthias BUSSONNIER -
Show More
@@ -1,86 +1,103 b''
1 /* Css for the metadata edit area */
1 /* Css for the metadata edit area */
2
2
3
3
4 .celltoolbar {
4 .celltoolbar {
5 border: thin solid #CFCFCF;
5 border: thin solid #CFCFCF;
6 margin-left: 0px;
6 margin-left: 0px;
7 border-bottom: none;
7 border-bottom: none;
8 margin:0;
9 padding:0;
8 background : #EEE;
10 background : #EEE;
9 border-top-right-radius: 3px;
11 border-top-right-radius: 3px;
10 border-top-left-radius: 3px;
12 border-top-left-radius: 3px;
11 }
13 }
12
14
15 .celltoolbar div{
16 line-height: 0;
17 margin:0;
18 padding:0;
19 }
20
21
13 .no_input_radius {
22 .no_input_radius {
14 border-top-right-radius: 0px;
23 border-top-right-radius: 0px;
15 border-top-left-radius: 0px;
24 border-top-left-radius: 0px;
16 }
25 }
17
26
18 .text_cell .ctb_prompt {
27 .text_cell .ctb_prompt {
19 display: none;
28 display: none;
20 }
29 }
21
30
22 .code_cell .ctb_prompt {
31 .code_cell .ctb_prompt {
23 display: block;
32 display: block;
24 }
33 }
25
34
26 .ctb_hideshow {
35 .ctb_hideshow {
27 display: none;
36 display: none;
28 }
37 }
29
38
39 .ctb_area {
40 margin:0;
41 padding:0;
42
43 }
44
45
30 /*ctb_show is added to either body or the ctb_hideshow div to show
46 /*ctb_show is added to either body or the ctb_hideshow div to show
31 all or one cell's toolbars.
47 all or one cell's toolbars.
32 */
48 */
33 .ctb_show.ctb_hideshow, .ctb_show .ctb_hideshow {
49 .ctb_show.ctb_hideshow, .ctb_show .ctb_hideshow {
34 display: block;
50 display: block;
35 }
51 }
36
52
37 .ctb_show .ctb_hideshow + div > div.input_area,
53 .ctb_show .ctb_hideshow + div > div.input_area,
38 .ctb_show .ctb_hideshow + div.text_cell_input {
54 .ctb_show .ctb_hideshow + div.text_cell_input {
39 border-top-right-radius: 0px;
55 border-top-right-radius: 0px;
40 border-top-left-radius: 0px;
56 border-top-left-radius: 0px;
41 }
57 }
42
58
43 .ctb_show > .celltoolbar {
59 .ctb_show > .celltoolbar {
44 border-bottom-right-radius: 0px;
60 border-bottom-right-radius: 0px;
45 border-bottom-left-radius: 0px;
61 border-bottom-left-radius: 0px;
46 }
62 }
47
63
48 .button_container {
64 .button_container {
49 float: right;
65 float: right;
50 padding-bottom: 1px;
66 padding-bottom: 1px;
51 }
67 }
52
68
53 .button_container .ui-state-default, .button_container .ui-state-hover, .button_container .ui-state-hover span{
69 .button_container .ui-state-default, .button_container .ui-state-hover, .button_container .ui-state-hover span{
54 border-radius : 0 0 0 0;
70 border-radius : 0 0 0 0;
55 border : none;
71 border : none;
56 }
72 }
57
73
58 .celltoolbar .button_container select {
74 .celltoolbar .button_container select {
59 margin: 10px;
75 margin: 10px;
60 margin-top: 0px;
76 margin-top: 0px;
61 margin-bottom: 0px;
77 margin-bottom: 0px;
62 font-size: 87%;
78 font-size: 87%;
63 height:18px;
79 height:18px;
64 display:inline;
80 display:inline;
65 width:auto;
81 width:auto;
66 }
82 }
67
83
68 .celltoolbar label{
84 .celltoolbar label{
69 display:inline;
85 display:inline;
86 line-height:13px;
70 }
87 }
71
88
72 .celltoolbar label span {
89 .celltoolbar label span {
73 font-size: 87%;
90 font-size: 85%;
74 }
91 }
75
92
76 .celltoolbar input[type=checkbox] {
93 .celltoolbar input[type=checkbox] {
77 margin: 0px;
94 margin: 0px;
78 margin-left: 4px;
95 margin-left: 4px;
79 margin-right: 4px;
96 margin-right: 4px;
80 }
97 }
81
98
82
99
83 .celltoolbar ui-button {
100 .celltoolbar ui-button {
84 border: none;
101 border: none;
85 }
102 }
86
103
@@ -1,464 +1,470 b''
1 /**
1 /**
2 * Primary styles
2 * Primary styles
3 *
3 *
4 * Author: IPython Development Team
4 * Author: IPython Development Team
5 */
5 */
6
6
7 @import "variables.less";
7 @import "variables.less";
8
8
9
9
10 body {
10 body {
11 background-color:@notebook_background;
11 background-color:@notebook_background;
12 }
12 }
13
13
14 body.notebook_app {
14 body.notebook_app {
15 overflow: hidden;
15 overflow: hidden;
16 }
16 }
17
17
18 blockquote {
18 blockquote {
19 border-left: 4px solid #DDD;
19 border-left: 4px solid #DDD;
20 padding: 0 15px;
20 padding: 0 15px;
21 color: #777;
21 color: #777;
22 }
22 }
23
23
24 span#save_widget {
24 span#save_widget {
25 padding: 5px;
25 padding: 5px;
26 margin: 0px 0px 0px 300px;
26 margin: 0px 0px 0px 300px;
27 display:inline-block;
27 display:inline-block;
28 }
28 }
29
29
30 span#notebook_name {
30 span#notebook_name {
31 height: 1em;
31 height: 1em;
32 line-height: 1em;
32 line-height: 1em;
33 padding: 3px;
33 padding: 3px;
34 border: none;
34 border: none;
35 font-size: 146.5%;
35 font-size: 146.5%;
36 }
36 }
37
37
38
38
39 .ui-menubar-item .ui-button .ui-button-text {
39 .ui-menubar-item .ui-button .ui-button-text {
40 padding: 0.4em 1.0em;
40 padding: 0.4em 1.0em;
41 font-size: 100%;
41 font-size: 100%;
42 }
42 }
43
43
44 .ui-menu {
44 .ui-menu {
45 -moz-box-shadow: 0px 6px 10px -1px #adadad;
45 -moz-box-shadow: 0px 6px 10px -1px #adadad;
46 -webkit-box-shadow: 0px 6px 10px -1px #adadad;
46 -webkit-box-shadow: 0px 6px 10px -1px #adadad;
47 box-shadow: 0px 6px 10px -1px #adadad;
47 box-shadow: 0px 6px 10px -1px #adadad;
48 }
48 }
49
49
50 .ui-menu .ui-menu-item a {
50 .ui-menu .ui-menu-item a {
51 border: 1px solid transparent;
51 border: 1px solid transparent;
52 padding: 2px 1.6em;
52 padding: 2px 1.6em;
53 }
53 }
54
54
55 .ui-menu .ui-menu-item a.ui-state-focus {
55 .ui-menu .ui-menu-item a.ui-state-focus {
56 margin: 0;
56 margin: 0;
57 }
57 }
58
58
59 .ui-menu hr {
59 .ui-menu hr {
60 margin: 0.3em 0;
60 margin: 0.3em 0;
61 }
61 }
62
62
63 #menubar_container {
63 #menubar_container {
64 position: relative;
64 position: relative;
65 }
65 }
66
66
67 #notification_area {
67 #notification_area {
68 position: absolute;
68 position: absolute;
69 right: 0px;
69 right: 0px;
70 top: 0px;
70 top: 0px;
71 height: 25px;
71 height: 25px;
72 padding: 3px 0px;
72 padding: 3px 0px;
73 padding-right: 3px;
73 padding-right: 3px;
74 z-index: 10;
74 z-index: 10;
75 }
75 }
76
76
77 .notification_widget{
77 .notification_widget{
78 float : right;
78 float : right;
79 right: 0px;
79 right: 0px;
80 top: 1px;
80 top: 1px;
81 height: 25px;
81 height: 25px;
82 padding: 3px 6px;
82 padding: 3px 6px;
83 z-index: 10;
83 z-index: 10;
84 }
84 }
85
85
86 .toolbar {
86 .toolbar {
87 padding: 3px 15px;
87 padding: 3px 15px;
88 border-bottom: @borderwidth @border_color solid;
88 border-bottom: @borderwidth @border_color solid;
89 }
90
89
91 .toolbar select, .toolbar label {
90 button {
92 height : 19px;
91 margin-top:2px;
93 vertical-align: top;
92 margin-bottom:2px;
94 margin-right:2px;
93 }
95 margin-bottom:0;
94
96 display: inline;
95
97 font-size: 92%;
96 select, label {
98 margin-left:0.3em;
97 height : 19px;
99 margin-right:0.3em;
98 vertical-align:middle;
99 margin-right:2px;
100 margin-bottom:0;
101 display: inline;
102 font-size: 92%;
103 margin-left:0.3em;
104 margin-right:0.3em;
105 }
100 }
106 }
101
107
102 .toolbar select{
108 .toolbar select{
103 width:auto;
109 width:auto;
104 }
110 }
105
111
106
112
107 #ipython-main-app {
113 #ipython-main-app {
108 width: 100%;
114 width: 100%;
109 position: relative;
115 position: relative;
110 }
116 }
111
117
112 span#quick_help_area {
118 span#quick_help_area {
113 position: static;
119 position: static;
114 padding: 5px 0px;
120 padding: 5px 0px;
115 margin: 0px 0px 0px 0px;
121 margin: 0px 0px 0px 0px;
116 }
122 }
117
123
118 .help_string {
124 .help_string {
119 float: right;
125 float: right;
120 width: 170px;
126 width: 170px;
121 padding: 0px 5px;
127 padding: 0px 5px;
122 text-align: left;
128 text-align: left;
123 font-size: 85%;
129 font-size: 85%;
124 }
130 }
125
131
126 .help_string_label {
132 .help_string_label {
127 float: right;
133 float: right;
128 font-size: 85%;
134 font-size: 85%;
129 }
135 }
130
136
131 div#notebook_panel {
137 div#notebook_panel {
132 margin: 0px 0px 0px 0px;
138 margin: 0px 0px 0px 0px;
133 padding: 0px;
139 padding: 0px;
134 }
140 }
135
141
136 div#notebook {
142 div#notebook {
137 overflow-y: scroll;
143 overflow-y: scroll;
138 overflow-x: auto;
144 overflow-x: auto;
139 width: 100%;
145 width: 100%;
140 /* This spaces the cell away from the edge of the notebook area */
146 /* This spaces the cell away from the edge of the notebook area */
141 padding: 5px 5px 15px 5px;
147 padding: 5px 5px 15px 5px;
142 margin: 0px;
148 margin: 0px;
143 }
149 }
144
150
145 div#pager_splitter {
151 div#pager_splitter {
146 height: 8px;
152 height: 8px;
147 }
153 }
148
154
149 #pager_container {
155 #pager_container {
150 position : relative;
156 position : relative;
151 }
157 }
152
158
153 div#pager {
159 div#pager {
154 padding: 15px;
160 padding: 15px;
155 overflow: auto;
161 overflow: auto;
156 display: none;
162 display: none;
157 }
163 }
158
164
159 div.ui-widget-content {
165 div.ui-widget-content {
160 border: 1px solid @border_color;
166 border: 1px solid @border_color;
161 outline: none;
167 outline: none;
162 }
168 }
163
169
164 .cell {
170 .cell {
165 border: 1px solid transparent;
171 border: 1px solid transparent;
166
172
167 &.selected {
173 &.selected {
168 .corner-all;
174 .corner-all;
169 background-color:@cell_selected_background;
175 background-color:@cell_selected_background;
170 border : thin @border_color solid;
176 border : thin @border_color solid;
171 }
177 }
172 }
178 }
173
179
174 div.cell {
180 div.cell {
175 width: 100%;
181 width: 100%;
176 padding: 5px 5px 5px 0px;
182 padding: 5px 5px 5px 0px;
177 /* This acts as a spacer between cells, that is outside the border */
183 /* This acts as a spacer between cells, that is outside the border */
178 margin: 2px 0px 2px 0px;
184 margin: 2px 0px 2px 0px;
179 outline: none;
185 outline: none;
180 }
186 }
181
187
182 div.code_cell {
188 div.code_cell {
183 }
189 }
184
190
185 /* any special styling for code cells that are currently running goes here */
191 /* any special styling for code cells that are currently running goes here */
186 div.code_cell.running {
192 div.code_cell.running {
187 }
193 }
188
194
189 div.prompt {
195 div.prompt {
190 /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
196 /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
191 width: 11ex;
197 width: 11ex;
192 /* This 0.4em is tuned to match the padding on the CodeMirror editor. */
198 /* This 0.4em is tuned to match the padding on the CodeMirror editor. */
193 padding: 0.4em;
199 padding: 0.4em;
194 margin: 0px;
200 margin: 0px;
195 font-family: monospace;
201 font-family: monospace;
196 text-align: right;
202 text-align: right;
197 /* This has to match that of the the CodeMirror class line-height below */
203 /* This has to match that of the the CodeMirror class line-height below */
198 line-height: 1.231;
204 line-height: 1.231;
199 }
205 }
200
206
201 div.input {
207 div.input {
202 page-break-inside: avoid;
208 page-break-inside: avoid;
203 }
209 }
204
210
205 /* input_area and input_prompt must match in top border and margin for alignment */
211 /* input_area and input_prompt must match in top border and margin for alignment */
206 div.input_area {
212 div.input_area {
207 /*color: @fontBaseColor;*/
213 /*color: @fontBaseColor;*/
208 border: 1px solid @light_border_color;
214 border: 1px solid @light_border_color;
209 .corner-all;
215 .corner-all;
210 background: @cell_background;
216 background: @cell_background;
211 }
217 }
212
218
213 div.input_prompt {
219 div.input_prompt {
214 color: navy;
220 color: navy;
215 border-top: 1px solid transparent;
221 border-top: 1px solid transparent;
216 }
222 }
217
223
218 div.output_wrapper {
224 div.output_wrapper {
219 /* This is a spacer between the input and output of each cell */
225 /* This is a spacer between the input and output of each cell */
220 margin-top: 5px;
226 margin-top: 5px;
221 margin-left: 5px;
227 margin-left: 5px;
222 /* FF needs explicit width to stretch */
228 /* FF needs explicit width to stretch */
223 width: 100%;
229 width: 100%;
224 /* this position must be relative to enable descendents to be absolute within it */
230 /* this position must be relative to enable descendents to be absolute within it */
225 position: relative;
231 position: relative;
226 }
232 }
227
233
228 /* class for the output area when it should be height-limited */
234 /* class for the output area when it should be height-limited */
229 div.output_scroll {
235 div.output_scroll {
230 /* ideally, this would be max-height, but FF barfs all over that */
236 /* ideally, this would be max-height, but FF barfs all over that */
231 height: 24em;
237 height: 24em;
232 /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */
238 /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */
233 width: 100%;
239 width: 100%;
234
240
235 overflow: auto;
241 overflow: auto;
236 .corner-all;
242 .corner-all;
237 box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8);
243 box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8);
238 }
244 }
239
245
240 /* output div while it is collapsed */
246 /* output div while it is collapsed */
241 div.output_collapsed {
247 div.output_collapsed {
242 margin-right: 5px;
248 margin-right: 5px;
243 }
249 }
244
250
245 div.out_prompt_overlay {
251 div.out_prompt_overlay {
246 height: 100%;
252 height: 100%;
247 padding: 0px;
253 padding: 0px;
248 position: absolute;
254 position: absolute;
249 .corner-all;
255 .corner-all;
250 }
256 }
251
257
252 div.out_prompt_overlay:hover {
258 div.out_prompt_overlay:hover {
253 /* use inner shadow to get border that is computed the same on WebKit/FF */
259 /* use inner shadow to get border that is computed the same on WebKit/FF */
254 box-shadow: inset 0 0 1px #000;
260 box-shadow: inset 0 0 1px #000;
255 background: rgba(240, 240, 240, 0.5);
261 background: rgba(240, 240, 240, 0.5);
256 }
262 }
257
263
258 div.output_prompt {
264 div.output_prompt {
259 color: darkred;
265 color: darkred;
260 /* 5px right shift to account for margin in parent container */
266 /* 5px right shift to account for margin in parent container */
261 margin: 0 5px 0 -5px;
267 margin: 0 5px 0 -5px;
262 }
268 }
263
269
264 /* This class is the outer container of all output sections. */
270 /* This class is the outer container of all output sections. */
265 div.output_area {
271 div.output_area {
266 padding: 0px;
272 padding: 0px;
267 page-break-inside: avoid;
273 page-break-inside: avoid;
268 }
274 }
269
275
270
276
271 /* This is needed to protect the pre formating from global settings such
277 /* This is needed to protect the pre formating from global settings such
272 as that of bootstrap */
278 as that of bootstrap */
273 div.output_area pre {
279 div.output_area pre {
274 font-family: monospace;
280 font-family: monospace;
275 margin: 0;
281 margin: 0;
276 padding: 0;
282 padding: 0;
277 border: 0;
283 border: 0;
278 font-size: 100%;
284 font-size: 100%;
279 font: inherit;
285 font: inherit;
280 vertical-align: baseline;
286 vertical-align: baseline;
281 color: black;
287 color: black;
282 }
288 }
283
289
284 /* This class is for the output subarea inside the output_area and after
290 /* This class is for the output subarea inside the output_area and after
285 the prompt div. */
291 the prompt div. */
286 div.output_subarea {
292 div.output_subarea {
287 padding: 0.44em 0.4em 0.4em 1px;
293 padding: 0.44em 0.4em 0.4em 1px;
288 }
294 }
289
295
290 /* The rest of the output_* classes are for special styling of the different
296 /* The rest of the output_* classes are for special styling of the different
291 output types */
297 output types */
292
298
293 /* all text output has this class: */
299 /* all text output has this class: */
294 div.output_text {
300 div.output_text {
295 text-align: left;
301 text-align: left;
296 color: @fontBaseColor;
302 color: @fontBaseColor;
297 font-family: monospace;
303 font-family: monospace;
298 /* This has to match that of the the CodeMirror class line-height below */
304 /* This has to match that of the the CodeMirror class line-height below */
299 line-height: 1.231;
305 line-height: 1.231;
300 }
306 }
301
307
302 /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */
308 /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */
303 div.output_stream {
309 div.output_stream {
304 padding-top: 0.0em;
310 padding-top: 0.0em;
305 padding-bottom: 0.0em;
311 padding-bottom: 0.0em;
306 }
312 }
307 div.output_stdout {
313 div.output_stdout {
308 }
314 }
309 div.output_stderr {
315 div.output_stderr {
310 background: #fdd; /* very light red background for stderr */
316 background: #fdd; /* very light red background for stderr */
311 }
317 }
312
318
313 div.output_latex {
319 div.output_latex {
314 text-align: left;
320 text-align: left;
315 }
321 }
316
322
317 div.output_html {
323 div.output_html {
318 }
324 }
319
325
320 div.output_png {
326 div.output_png {
321 }
327 }
322
328
323 div.output_jpeg {
329 div.output_jpeg {
324 }
330 }
325
331
326 div.text_cell {
332 div.text_cell {
327 padding: 5px 5px 5px 5px;
333 padding: 5px 5px 5px 5px;
328 }
334 }
329
335
330 div.text_cell_input {
336 div.text_cell_input {
331 color: @fontBaseColor;
337 color: @fontBaseColor;
332 border: 1px solid @border_color;
338 border: 1px solid @border_color;
333 .corner-all;
339 .corner-all;
334 background: @cell_background;
340 background: @cell_background;
335 }
341 }
336
342
337 div.text_cell_render {
343 div.text_cell_render {
338 /*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/
344 /*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/
339 outline: none;
345 outline: none;
340 resize: none;
346 resize: none;
341 width: inherit;
347 width: inherit;
342 border-style: none;
348 border-style: none;
343 padding: 5px;
349 padding: 5px;
344 color: @fontBaseColor;
350 color: @fontBaseColor;
345 }
351 }
346
352
347 /* The following gets added to the <head> if it is detected that the user has a
353 /* The following gets added to the <head> if it is detected that the user has a
348 * monospace font with inconsistent normal/bold/italic height. See
354 * monospace font with inconsistent normal/bold/italic height. See
349 * notebookmain.js. Such fonts will have keywords vertically offset with
355 * notebookmain.js. Such fonts will have keywords vertically offset with
350 * respect to the rest of the text. The user should select a better font.
356 * respect to the rest of the text. The user should select a better font.
351 * See: https://github.com/ipython/ipython/issues/1503
357 * See: https://github.com/ipython/ipython/issues/1503
352 *
358 *
353 * .CodeMirror span {
359 * .CodeMirror span {
354 * vertical-align: bottom;
360 * vertical-align: bottom;
355 * }
361 * }
356 */
362 */
357
363
358 .CodeMirror {
364 .CodeMirror {
359 line-height: 1.231; /* Changed from 1em to our global default */
365 line-height: 1.231; /* Changed from 1em to our global default */
360 }
366 }
361
367
362 .CodeMirror-scroll {
368 .CodeMirror-scroll {
363 height: auto; /* Changed to auto to autogrow */
369 height: auto; /* Changed to auto to autogrow */
364 /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/
370 /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/
365 /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/
371 /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/
366 overflow-y: hidden;
372 overflow-y: hidden;
367 overflow-x: auto; /* Changed from auto to remove scrollbar */
373 overflow-x: auto; /* Changed from auto to remove scrollbar */
368 }
374 }
369
375
370 /* CSS font colors for translated ANSI colors. */
376 /* CSS font colors for translated ANSI colors. */
371
377
372
378
373 .ansiblack {color: @fontBaseColor;}
379 .ansiblack {color: @fontBaseColor;}
374 .ansired {color: darkred;}
380 .ansired {color: darkred;}
375 .ansigreen {color: darkgreen;}
381 .ansigreen {color: darkgreen;}
376 .ansiyellow {color: brown;}
382 .ansiyellow {color: brown;}
377 .ansiblue {color: darkblue;}
383 .ansiblue {color: darkblue;}
378 .ansipurple {color: darkviolet;}
384 .ansipurple {color: darkviolet;}
379 .ansicyan {color: steelblue;}
385 .ansicyan {color: steelblue;}
380 .ansigrey {color: grey;}
386 .ansigrey {color: grey;}
381 .ansibold {font-weight: bold;}
387 .ansibold {font-weight: bold;}
382
388
383 .completions {
389 .completions {
384 position: absolute;
390 position: absolute;
385 z-index: 10;
391 z-index: 10;
386 overflow: hidden;
392 overflow: hidden;
387 border: 1px solid @border_color;
393 border: 1px solid @border_color;
388 }
394 }
389
395
390 .completions select {
396 .completions select {
391 background: white;
397 background: white;
392 outline: none;
398 outline: none;
393 border: none;
399 border: none;
394 padding: 0px;
400 padding: 0px;
395 margin: 0px;
401 margin: 0px;
396 overflow: auto;
402 overflow: auto;
397 font-family: monospace;
403 font-family: monospace;
398 }
404 }
399
405
400 option.context {
406 option.context {
401 background-color: #DEF7FF;
407 background-color: #DEF7FF;
402 }
408 }
403 option.introspection {
409 option.introspection {
404 background-color: #EBF4EB;
410 background-color: #EBF4EB;
405 }
411 }
406
412
407 /*fixed part of the completion*/
413 /*fixed part of the completion*/
408 .completions p b {
414 .completions p b {
409 font-weight:bold;
415 font-weight:bold;
410 }
416 }
411
417
412 .completions p {
418 .completions p {
413 background: #DDF;
419 background: #DDF;
414 /*outline: none;
420 /*outline: none;
415 padding: 0px;*/
421 padding: 0px;*/
416 border-bottom: black solid 1px;
422 border-bottom: black solid 1px;
417 padding: 1px;
423 padding: 1px;
418 font-family: monospace;
424 font-family: monospace;
419 }
425 }
420
426
421 pre.dialog {
427 pre.dialog {
422 background-color: @cell_background;
428 background-color: @cell_background;
423 border: 1px solid #ddd;
429 border: 1px solid #ddd;
424 .corner-all;
430 .corner-all;
425 padding: 0.4em;
431 padding: 0.4em;
426 padding-left: 2em;
432 padding-left: 2em;
427 }
433 }
428
434
429 p.dialog {
435 p.dialog {
430 padding : 0.2em;
436 padding : 0.2em;
431 }
437 }
432
438
433 .shortcut_key {
439 .shortcut_key {
434 display: inline-block;
440 display: inline-block;
435 width: 15ex;
441 width: 15ex;
436 text-align: right;
442 text-align: right;
437 font-family: monospace;
443 font-family: monospace;
438 }
444 }
439
445
440 .shortcut_descr {
446 .shortcut_descr {
441 }
447 }
442
448
443 /* Word-wrap output correctly. This is the CSS3 spelling, though Firefox seems
449 /* Word-wrap output correctly. This is the CSS3 spelling, though Firefox seems
444 to not honor it correctly. Webkit browsers (Chrome, rekonq, Safari) do.
450 to not honor it correctly. Webkit browsers (Chrome, rekonq, Safari) do.
445 */
451 */
446 pre, code, kbd, samp { white-space: pre-wrap; }
452 pre, code, kbd, samp { white-space: pre-wrap; }
447
453
448 #fonttest {
454 #fonttest {
449 font-family: monospace;
455 font-family: monospace;
450 }
456 }
451
457
452 .js-error {
458 .js-error {
453 color: darkred;
459 color: darkred;
454 }
460 }
455
461
456 a {
462 a {
457 text-decoration: underline;
463 text-decoration: underline;
458 }
464 }
459
465
460 p {
466 p {
461
467
462 margin-bottom:0;
468 margin-bottom:0;
463
469
464 }
470 }
@@ -1,18 +1,18 b''
1 @corner_radius: 3px;
1 @corner_radius: 4px;
2 @notebook_background : white;
2 @notebook_background : white;
3 @cell_selected_background: darken(@notebook_background, 2%);
3 @cell_selected_background: darken(@notebook_background, 2%);
4 @cell_background: darken(@notebook_background, 3.2%);
4 @cell_background: darken(@notebook_background, 3.2%);
5 @border_color: darken(@cell_selected_background, 31%);
5 @border_color: darken(@cell_selected_background, 31%);
6 @light_border_color: darken(@cell_selected_background, 17%);
6 @light_border_color: darken(@cell_selected_background, 17%);
7 @borderwidth : 1px;
7 @borderwidth : 1px;
8 @fontBaseColor : black;
8 @fontBaseColor : black;
9
9
10
10
11
11
12
12
13
13
14 // utilities mixins
14 // utilities mixins
15
15
16 .corner-all {
16 .corner-all {
17 border-radius:@corner_radius;
17 border-radius:@corner_radius;
18 }
18 }
General Comments 0
You need to be logged in to leave comments. Login now