Show More
@@ -128,7 +128,7 b' IPython.dialog = (function (IPython) {' | |||
|
128 | 128 | autoIndent: true, |
|
129 | 129 | mode: 'application/json', |
|
130 | 130 | }); |
|
131 | IPython.dialog.modal({ | |
|
131 | var modal = IPython.dialog.modal({ | |
|
132 | 132 | title: "Edit " + name + " Metadata", |
|
133 | 133 | body: dialogform, |
|
134 | 134 | buttons: { |
@@ -149,7 +149,8 b' IPython.dialog = (function (IPython) {' | |||
|
149 | 149 | Cancel: {} |
|
150 | 150 | } |
|
151 | 151 | }); |
|
152 | editor.refresh(); | |
|
152 | ||
|
153 | modal.on('shown.bs.modal', function(){ editor.refresh(); }); | |
|
153 | 154 | }; |
|
154 | 155 | |
|
155 | 156 | return { |
@@ -1,15 +1,31 b'' | |||
|
1 | 1 | // Our customizations to bootstrap go here. |
|
2 | 2 | |
|
3 | @black: @gray-darker; | |
|
3 | @black: #000; | |
|
4 | 4 | @text-color: @black; |
|
5 | 5 | @font-size-base: 13px; |
|
6 | 6 | @font-family-monospace: monospace; // to allow user to customize their fonts |
|
7 | 7 | @navbar-height: 36px; |
|
8 | @breadcrumb-color: darken(@border_color, 30%); | |
|
9 | @blockquote-font-size: inherit; | |
|
8 | 10 | |
|
11 | // Override the modal footer padding that BS3 uses. | |
|
12 | .modal-footer { | |
|
13 | padding: 7px; | |
|
14 | } | |
|
15 | ||
|
16 | // Disable modal slide-in from top animation. | |
|
17 | .modal { | |
|
18 | &.fade .modal-dialog { | |
|
19 | .translate(0, 0); | |
|
20 | } | |
|
21 | } | |
|
22 | ||
|
23 | // Set the default code color. | |
|
9 | 24 | code { |
|
10 | 25 | color: @black; // default code color in bootstrap is #d14 (crimson / amaranth) |
|
11 | 26 | } |
|
12 | 27 | |
|
28 | // Override bootstrap pre element styling. | |
|
13 | 29 | pre { |
|
14 | 30 | // bootstrap has pre defaults that we don't want to inherit. |
|
15 | 31 | // start pre tag defaults based on the surrounding context instead. |
@@ -17,5 +33,10 b' pre {' | |||
|
17 | 33 | line-height: inherit; |
|
18 | 34 | } |
|
19 | 35 | |
|
36 | // Disable bold labels in BS3 | |
|
37 | label { | |
|
38 | font-weight: normal; | |
|
39 | } | |
|
40 | ||
|
20 | 41 | // Our own global variables for all pages go here |
|
21 | 42 |
@@ -77,7 +77,7 b' var IPython = (function (IPython) {' | |||
|
77 | 77 | var element = $('<div/>'); |
|
78 | 78 | |
|
79 | 79 | // The documentation |
|
80 | var doc = $('<div/>').addClass('alert'); | |
|
80 | var doc = $('<div/>').addClass('alert alert-warning'); | |
|
81 | 81 | doc.append( |
|
82 | 82 | $('<button/>').addClass('close').attr('data-dismiss','alert').html('×') |
|
83 | 83 | ).append( |
@@ -75,7 +75,7 b' var IPython = (function (IPython) {' | |||
|
75 | 75 | ).append( |
|
76 | 76 | $("<br/>") |
|
77 | 77 | ).append( |
|
78 | $('<input/>').attr('type','text').attr('size','25') | |
|
78 | $('<input/>').attr('type','text').attr('size','25').addClass('form-control') | |
|
79 | 79 | .val(IPython.notebook.get_notebook_name()) |
|
80 | 80 | ); |
|
81 | 81 | IPython.dialog.modal({ |
@@ -23,7 +23,7 b' div.cell {' | |||
|
23 | 23 | |
|
24 | 24 | div.prompt { |
|
25 | 25 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
26 |
min-width: 1 |
|
|
26 | min-width: 15ex; | |
|
27 | 27 | /* This padding is tuned to match the padding on the CodeMirror editor. */ |
|
28 | 28 | padding: @code_padding; |
|
29 | 29 | margin: 0px; |
@@ -1,4 +1,5 b'' | |||
|
1 | 1 | /* CSS for the cell toolbar */ |
|
2 | @celltoolbar-height: 29px; | |
|
2 | 3 | |
|
3 | 4 | .celltoolbar { |
|
4 | 5 | border: thin solid #CFCFCF; |
@@ -7,7 +8,7 b'' | |||
|
7 | 8 | border-radius : 3px 3px 0px 0px; |
|
8 | 9 | width:100%; |
|
9 | 10 | -webkit-box-pack: end; |
|
10 | height:31px; | |
|
11 | height: @celltoolbar-height; | |
|
11 | 12 | padding-right: 4px; |
|
12 | 13 | .hbox(); |
|
13 | 14 | .reverse(); |
@@ -18,11 +19,6 b'' | |||
|
18 | 19 | vertical-align:bottom; |
|
19 | 20 | } |
|
20 | 21 | |
|
21 | .celltoolbar > div { | |
|
22 | padding-top: 4px; | |
|
23 | } | |
|
24 | ||
|
25 | ||
|
26 | 22 | /* ctb_show is added to the ctb_hideshow div to show the cell toolbar. |
|
27 | 23 | Cell toolbars are only shown when the ctb_global_show class is also set. |
|
28 | 24 | */ |
@@ -37,40 +33,12 b'' | |||
|
37 | 33 | border-top-left-radius: 0px; |
|
38 | 34 | } |
|
39 | 35 | |
|
40 | .celltoolbar .button_container select { | |
|
41 | margin: 10px; | |
|
42 | margin-top: 1px; | |
|
43 | margin-bottom: 0px; | |
|
44 | padding:0; | |
|
36 | .celltoolbar { | |
|
45 | 37 | font-size: 87%; |
|
46 | width:auto; | |
|
47 | display:inline-block; | |
|
48 | height:18px; | |
|
49 | line-height:18px; | |
|
50 | vertical-align:top; | |
|
51 | } | |
|
52 | ||
|
53 | .celltoolbar label{ | |
|
54 | display:inline-block; | |
|
55 | height:15px; | |
|
56 | line-height:15px; | |
|
57 | vertical-align:top; | |
|
38 | padding-top: 3px; | |
|
58 | 39 | } |
|
59 | 40 | |
|
60 |
.celltoolbar label |
|
|
61 | font-size: 85%; | |
|
62 | } | |
|
63 | ||
|
64 | .celltoolbar input[type=checkbox] { | |
|
65 | margin: 0px; | |
|
66 | margin-left: 4px; | |
|
67 | margin-right: 4px; | |
|
68 | } | |
|
69 | ||
|
70 | ||
|
71 | .celltoolbar .ui-button { | |
|
72 | border: none; | |
|
73 | vertical-align:top; | |
|
74 | height:20px; | |
|
75 | min-width:30px; | |
|
41 | .celltoolbar label { | |
|
42 | margin-left: 5px; | |
|
43 | margin-right: 5px; | |
|
76 | 44 | } |
@@ -25,10 +25,10 b'' | |||
|
25 | 25 | h5:first-child {margin-top: 1em;} |
|
26 | 26 | h6:first-child {margin-top: 1em;} |
|
27 | 27 | |
|
28 | ul {list-style:disc; margin: 0em 2em;} | |
|
28 | ul {list-style:disc; margin: 0em 2em; padding-left: 0px;} | |
|
29 | 29 | ul ul {list-style:square; margin: 0em 2em;} |
|
30 | 30 | ul ul ul {list-style:circle; margin: 0em 2em;} |
|
31 | ol {list-style:decimal; margin: 0em 2em;} | |
|
31 | ol {list-style:decimal; margin: 0em 2em; padding-left: 0px;} | |
|
32 | 32 | ol ol {list-style:upper-alpha; margin: 0em 2em;} |
|
33 | 33 | ol ol ol {list-style:lower-alpha; margin: 0em 2em;} |
|
34 | 34 | ol ol ol ol {list-style:lower-roman; margin: 0em 2em;} |
@@ -1,6 +1,9 b'' | |||
|
1 | 1 | |
|
2 | code{color:#222} | |
|
2 | .modal-footer{padding:7px} | |
|
3 | .modal.fade .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)} | |
|
4 | code{color:#000} | |
|
3 | 5 | pre{font-size:inherit;line-height:inherit} |
|
6 | label{font-weight:normal} | |
|
4 | 7 | .border-box-sizing{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box} |
|
5 | 8 | .corner-all{border-radius:4px} |
|
6 | 9 | .no-padding{padding:0} |
@@ -45,7 +48,7 b' div.traceback-wrapper{text-align:left;max-width:800px;margin:auto}' | |||
|
45 | 48 | div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}div.cell.selected{border-radius:4px;border:thin #ababab solid} |
|
46 | 49 | div.cell.edit_mode{border-radius:4px;border:thin #008000 solid} |
|
47 | 50 | div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none} |
|
48 |
div.prompt{min-width:1 |
|
|
51 | div.prompt{min-width:15ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em} | |
|
49 | 52 | @media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} |
|
50 | 53 | div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;line-height:1.21429em} |
|
51 | 54 | div.prompt:empty{padding-top:0;padding-bottom:0} |
@@ -92,7 +95,7 b' div.output_area .rendered_html img{margin-left:0;margin-right:0}' | |||
|
92 | 95 | .output{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} |
|
93 | 96 | @media (max-width:480px){div.output_area{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}}div.output_area pre{margin:0;padding:0;border:0;vertical-align:baseline;color:#000;background-color:transparent;border-radius:0} |
|
94 | 97 | div.output_subarea{padding:.4em .4em 0 .4em;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} |
|
95 |
div.output_text{text-align:left;color:# |
|
|
98 | div.output_text{text-align:left;color:#000;line-height:1.21429em} | |
|
96 | 99 | div.output_stderr{background:#fdd;} |
|
97 | 100 | div.output_latex{text-align:left} |
|
98 | 101 | div.output_javascript:empty{padding:0} |
@@ -102,7 +105,7 b' span.raw_input_prompt{}' | |||
|
102 | 105 | input.raw_input{font-family:inherit;font-size:inherit;color:inherit;width:auto;vertical-align:baseline;padding:0 .25em;margin:0 .25em} |
|
103 | 106 | input.raw_input:focus{box-shadow:none} |
|
104 | 107 | p.p-space{margin-bottom:10px} |
|
105 |
.rendered_html{color:# |
|
|
108 | .rendered_html{color:#000;}.rendered_html em{font-style:italic} | |
|
106 | 109 | .rendered_html strong{font-weight:bold} |
|
107 | 110 | .rendered_html u{text-decoration:underline} |
|
108 | 111 | .rendered_html :link{text-decoration:underline} |
@@ -119,10 +122,10 b' p.p-space{margin-bottom:10px}' | |||
|
119 | 122 | .rendered_html h4:first-child{margin-top:1em} |
|
120 | 123 | .rendered_html h5:first-child{margin-top:1em} |
|
121 | 124 | .rendered_html h6:first-child{margin-top:1em} |
|
122 | .rendered_html ul{list-style:disc;margin:0 2em} | |
|
125 | .rendered_html ul{list-style:disc;margin:0 2em;padding-left:0} | |
|
123 | 126 | .rendered_html ul ul{list-style:square;margin:0 2em} |
|
124 | 127 | .rendered_html ul ul ul{list-style:circle;margin:0 2em} |
|
125 | .rendered_html ol{list-style:decimal;margin:0 2em} | |
|
128 | .rendered_html ol{list-style:decimal;margin:0 2em;padding-left:0} | |
|
126 | 129 | .rendered_html ol ol{list-style:upper-alpha;margin:0 2em} |
|
127 | 130 | .rendered_html ol ol ol{list-style:lower-alpha;margin:0 2em} |
|
128 | 131 | .rendered_html ol ol ol ol{list-style:lower-roman;margin:0 2em} |
@@ -131,7 +134,7 b' p.p-space{margin-bottom:10px}' | |||
|
131 | 134 | .rendered_html *+ol{margin-top:1em} |
|
132 | 135 | .rendered_html hr{color:#000;background-color:#000} |
|
133 | 136 | .rendered_html pre{margin:1em 2em} |
|
134 |
.rendered_html pre,.rendered_html code{border:0;background-color:#fff;color:# |
|
|
137 | .rendered_html pre,.rendered_html code{border:0;background-color:#fff;color:#000;font-size:100%;padding:0} | |
|
135 | 138 | .rendered_html blockquote{margin:1em 2em} |
|
136 | 139 | .rendered_html table{margin-left:auto;margin-right:auto;border:1px solid #000;border-collapse:collapse} |
|
137 | 140 | .rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid #000;border-collapse:collapse;margin:1em 2em} |
@@ -143,7 +146,7 b' p.p-space{margin-bottom:10px}' | |||
|
143 | 146 | .rendered_html img{display:block;margin-left:auto;margin-right:auto} |
|
144 | 147 | .rendered_html *+img{margin-top:1em} |
|
145 | 148 | div.text_cell{padding:5px 5px 5px 0;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} |
|
146 |
@media (max-width:480px){div.text_cell>div.prompt{display:none}}div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:.5em .5em .5em .4em;color:# |
|
|
149 | @media (max-width:480px){div.text_cell>div.prompt{display:none}}div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:.5em .5em .5em .4em;color:#000} | |
|
147 | 150 | a.anchor-link:link{text-decoration:none;padding:0 20px;visibility:hidden} |
|
148 | 151 | h1:hover .anchor-link,h2:hover .anchor-link,h3:hover .anchor-link,h4:hover .anchor-link,h5:hover .anchor-link,h6:hover .anchor-link{visibility:visible} |
|
149 | 152 | div.cell.text_cell.rendered{padding:0} |
@@ -42,7 +42,7 b' td,th{padding:0}' | |||
|
42 | 42 | @media print{*{text-shadow:none !important;color:#000 !important;background:transparent !important;box-shadow:none !important} a,a:visited{text-decoration:underline} a[href]:after{content:" (" attr(href) ")"} abbr[title]:after{content:" (" attr(title) ")"} a[href^="javascript:"]:after,a[href^="#"]:after{content:""} pre,blockquote{border:1px solid #999;page-break-inside:avoid} thead{display:table-header-group} tr,img{page-break-inside:avoid} img{max-width:100% !important} p,h2,h3{orphans:3;widows:3} h2,h3{page-break-after:avoid} select{background:#fff !important} .navbar{display:none} .table td,.table th{background-color:#fff !important} .btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important} .label{border:1px solid #000} .table{border-collapse:collapse !important} .table-bordered th,.table-bordered td{border:1px solid #ddd !important}}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} |
|
43 | 43 | *:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} |
|
44 | 44 | html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)} |
|
45 |
body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:1.428571429;color:# |
|
|
45 | body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:1.428571429;color:#000;background-color:#fff} | |
|
46 | 46 | input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit} |
|
47 | 47 | a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline} |
|
48 | 48 | a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px} |
@@ -92,7 +92,7 b' dt{font-weight:bold}' | |||
|
92 | 92 | dd{margin-left:0} |
|
93 | 93 | @media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999} |
|
94 | 94 | .initialism{font-size:90%;text-transform:uppercase} |
|
95 |
blockquote{padding:9px 18px;margin:0 0 18px;font-size: |
|
|
95 | blockquote{padding:9px 18px;margin:0 0 18px;font-size:inherit;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0} | |
|
96 | 96 | blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.428571429;color:#999}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'} |
|
97 | 97 | .blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''} |
|
98 | 98 | .blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'} |
@@ -227,7 +227,7 b' textarea.input-lg,select[multiple].input-lg{height:auto}' | |||
|
227 | 227 | .has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede} |
|
228 | 228 | .has-error .form-control-feedback{color:#a94442} |
|
229 | 229 | .form-control-static{margin-bottom:0} |
|
230 |
.help-block{display:block;margin-top:5px;margin-bottom:10px;color:# |
|
|
230 | .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#404040} | |
|
231 | 231 | @media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle} .form-inline .form-control{display:inline-block;width:auto;vertical-align:middle} .form-inline .input-group>.form-control{width:100%} .form-inline .control-label{margin-bottom:0;vertical-align:middle} .form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle} .form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0} .form-inline .has-feedback .form-control-feedback{top:0}} |
|
232 | 232 | .form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px} |
|
233 | 233 | .form-horizontal .radio,.form-horizontal .checkbox{min-height:25px} |
@@ -616,7 +616,7 b' textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon' | |||
|
616 | 616 | .navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#080808;color:#fff} |
|
617 | 617 | @media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808} .navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808} .navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent} .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808} .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}} |
|
618 | 618 | .navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff} |
|
619 |
.breadcrumb{padding:8px 15px;margin-bottom:18px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:# |
|
|
619 | .breadcrumb{padding:8px 15px;margin-bottom:18px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#5e5e5e} | |
|
620 | 620 | .breadcrumb>.active{color:#999} |
|
621 | 621 | .pagination{display:inline-block;padding-left:0;margin:18px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.428571429;text-decoration:none;color:#428bca;background-color:#fff;border:1px solid #ddd;margin-left:-1px} |
|
622 | 622 | .pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px} |
@@ -657,7 +657,7 b' a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;backgr' | |||
|
657 | 657 | @media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-left:60px;padding-right:60px} .jumbotron h1,.jumbotron .h1{font-size:58.5px}} |
|
658 | 658 | .thumbnail{display:block;padding:4px;margin-bottom:18px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto} |
|
659 | 659 | a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca} |
|
660 |
.thumbnail .caption{padding:9px;color:# |
|
|
660 | .thumbnail .caption{padding:9px;color:#000} | |
|
661 | 661 | .alert{padding:15px;margin-bottom:18px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit} |
|
662 | 662 | .alert .alert-link{font-weight:bold} |
|
663 | 663 | .alert>p,.alert>ul{margin-bottom:0} |
@@ -1240,8 +1240,11 b' a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .' | |||
|
1240 | 1240 | .icon-vk:before{content:"\f189"} |
|
1241 | 1241 | .icon-weibo:before{content:"\f18a"} |
|
1242 | 1242 | .icon-renren:before{content:"\f18b"} |
|
1243 | code{color:#222} | |
|
1243 | .modal-footer{padding:7px} | |
|
1244 | .modal.fade .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)} | |
|
1245 | code{color:#000} | |
|
1244 | 1246 | pre{font-size:inherit;line-height:inherit} |
|
1247 | label{font-weight:normal} | |
|
1245 | 1248 | .border-box-sizing{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box} |
|
1246 | 1249 | .corner-all{border-radius:4px} |
|
1247 | 1250 | .no-padding{padding:0} |
@@ -1284,7 +1287,7 b' span#login_widget{float:right}' | |||
|
1284 | 1287 | .alternate_upload.form{padding:0;margin:0} |
|
1285 | 1288 | .alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;height:26px} |
|
1286 | 1289 | ul#tabs{margin-bottom:4px} |
|
1287 |
ul#tabs a{padding-top: |
|
|
1290 | ul#tabs a{padding-top:6px;padding-bottom:4px} | |
|
1288 | 1291 | ul.breadcrumb a:focus,ul.breadcrumb a:hover{text-decoration:none} |
|
1289 | 1292 | ul.breadcrumb i.icon-home{font-size:16px;margin-right:4px} |
|
1290 | 1293 | ul.breadcrumb span{color:#5e5e5e} |
@@ -1329,7 +1332,7 b' input.engine_num_input{width:60px}' | |||
|
1329 | 1332 | div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}div.cell.selected{border-radius:4px;border:thin #ababab solid} |
|
1330 | 1333 | div.cell.edit_mode{border-radius:4px;border:thin #008000 solid} |
|
1331 | 1334 | div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none} |
|
1332 |
div.prompt{min-width:1 |
|
|
1335 | div.prompt{min-width:15ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em} | |
|
1333 | 1336 | @media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} |
|
1334 | 1337 | div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;line-height:1.21429em} |
|
1335 | 1338 | div.prompt:empty{padding-top:0;padding-bottom:0} |
@@ -1376,7 +1379,7 b' div.output_area .rendered_html img{margin-left:0;margin-right:0}' | |||
|
1376 | 1379 | .output{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} |
|
1377 | 1380 | @media (max-width:480px){div.output_area{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}}div.output_area pre{margin:0;padding:0;border:0;vertical-align:baseline;color:#000;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-radius:0} |
|
1378 | 1381 | div.output_subarea{padding:.4em .4em 0 .4em;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} |
|
1379 |
div.output_text{text-align:left;color:# |
|
|
1382 | div.output_text{text-align:left;color:#000;line-height:1.21429em} | |
|
1380 | 1383 | div.output_stderr{background:#fdd;} |
|
1381 | 1384 | div.output_latex{text-align:left} |
|
1382 | 1385 | div.output_javascript:empty{padding:0} |
@@ -1386,7 +1389,7 b' span.raw_input_prompt{}' | |||
|
1386 | 1389 | input.raw_input{font-family:inherit;font-size:inherit;color:inherit;width:auto;vertical-align:baseline;padding:0 .25em;margin:0 .25em} |
|
1387 | 1390 | input.raw_input:focus{box-shadow:none} |
|
1388 | 1391 | p.p-space{margin-bottom:10px} |
|
1389 |
.rendered_html{color:# |
|
|
1392 | .rendered_html{color:#000;}.rendered_html em{font-style:italic} | |
|
1390 | 1393 | .rendered_html strong{font-weight:bold} |
|
1391 | 1394 | .rendered_html u{text-decoration:underline} |
|
1392 | 1395 | .rendered_html :link{text-decoration:underline} |
@@ -1403,10 +1406,10 b' p.p-space{margin-bottom:10px}' | |||
|
1403 | 1406 | .rendered_html h4:first-child{margin-top:1em} |
|
1404 | 1407 | .rendered_html h5:first-child{margin-top:1em} |
|
1405 | 1408 | .rendered_html h6:first-child{margin-top:1em} |
|
1406 | .rendered_html ul{list-style:disc;margin:0 2em} | |
|
1409 | .rendered_html ul{list-style:disc;margin:0 2em;padding-left:0} | |
|
1407 | 1410 | .rendered_html ul ul{list-style:square;margin:0 2em} |
|
1408 | 1411 | .rendered_html ul ul ul{list-style:circle;margin:0 2em} |
|
1409 | .rendered_html ol{list-style:decimal;margin:0 2em} | |
|
1412 | .rendered_html ol{list-style:decimal;margin:0 2em;padding-left:0} | |
|
1410 | 1413 | .rendered_html ol ol{list-style:upper-alpha;margin:0 2em} |
|
1411 | 1414 | .rendered_html ol ol ol{list-style:lower-alpha;margin:0 2em} |
|
1412 | 1415 | .rendered_html ol ol ol ol{list-style:lower-roman;margin:0 2em} |
@@ -1415,7 +1418,7 b' p.p-space{margin-bottom:10px}' | |||
|
1415 | 1418 | .rendered_html *+ol{margin-top:1em} |
|
1416 | 1419 | .rendered_html hr{color:#000;background-color:#000} |
|
1417 | 1420 | .rendered_html pre{margin:1em 2em} |
|
1418 |
.rendered_html pre,.rendered_html code{border:0;background-color:#fff;color:# |
|
|
1421 | .rendered_html pre,.rendered_html code{border:0;background-color:#fff;color:#000;font-size:100%;padding:0} | |
|
1419 | 1422 | .rendered_html blockquote{margin:1em 2em} |
|
1420 | 1423 | .rendered_html table{margin-left:auto;margin-right:auto;border:1px solid #000;border-collapse:collapse} |
|
1421 | 1424 | .rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid #000;border-collapse:collapse;margin:1em 2em} |
@@ -1427,7 +1430,7 b' p.p-space{margin-bottom:10px}' | |||
|
1427 | 1430 | .rendered_html img{display:block;margin-left:auto;margin-right:auto} |
|
1428 | 1431 | .rendered_html *+img{margin-top:1em} |
|
1429 | 1432 | div.text_cell{padding:5px 5px 5px 0;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} |
|
1430 |
@media (max-width:480px){div.text_cell>div.prompt{display:none}}div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:.5em .5em .5em .4em;color:# |
|
|
1433 | @media (max-width:480px){div.text_cell>div.prompt{display:none}}div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:.5em .5em .5em .4em;color:#000} | |
|
1431 | 1434 | a.anchor-link:link{text-decoration:none;padding:0 20px;visibility:hidden} |
|
1432 | 1435 | h1:hover .anchor-link,h2:hover .anchor-link,h3:hover .anchor-link,h4:hover .anchor-link,h5:hover .anchor-link,h6:hover .anchor-link{visibility:visible} |
|
1433 | 1436 | div.cell.text_cell.rendered{padding:0} |
@@ -1466,18 +1469,14 b' pre,code,kbd,samp{white-space:pre-wrap}' | |||
|
1466 | 1469 | #fonttest{font-family:monospace} |
|
1467 | 1470 | p{margin-bottom:0} |
|
1468 | 1471 | .end_space{height:200px} |
|
1469 |
.celltoolbar{border:thin solid #cfcfcf;border-bottom:none;background:#eee;border-radius:3px 3px 0 0;width:100%;-webkit-box-pack:end;height: |
|
|
1472 | .celltoolbar{border:thin solid #cfcfcf;border-bottom:none;background:#eee;border-radius:3px 3px 0 0;width:100%;-webkit-box-pack:end;height:29px;padding-right:4px;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch;-webkit-box-direction:reverse;-moz-box-direction:reverse;box-direction:reverse;flex-direction:row-reverse} | |
|
1470 | 1473 | .ctb_hideshow{display:none;vertical-align:bottom} |
|
1471 | .celltoolbar>div{padding-top:4px} | |
|
1472 | 1474 | .ctb_global_show .ctb_show.ctb_hideshow{display:block} |
|
1473 | 1475 | .ctb_global_show .ctb_show+.input_area,.ctb_global_show .ctb_show+div.text_cell_input{border-top-right-radius:0;border-top-left-radius:0} |
|
1474 | .celltoolbar .button_container select{margin:10px;margin-top:1px;margin-bottom:0;padding:0;font-size:87%;width:auto;display:inline-block;height:18px;line-height:18px;vertical-align:top} | |
|
1475 | .celltoolbar label{display:inline-block;height:15px;line-height:15px;vertical-align:top} | |
|
1476 | .celltoolbar label span{font-size:85%} | |
|
1477 | .celltoolbar input[type=checkbox]{margin:0;margin-left:4px;margin-right:4px} | |
|
1478 | .celltoolbar .ui-button{border:none;vertical-align:top;height:20px;min-width:30px} | |
|
1476 | .celltoolbar{font-size:87%;padding-top:3px} | |
|
1477 | .celltoolbar label{margin-left:5px;margin-right:5px} | |
|
1479 | 1478 | .completions{position:absolute;z-index:10;overflow:hidden;border:1px solid #ababab;border-radius:4px;-webkit-box-shadow:0 6px 10px -1px #adadad;box-shadow:0 6px 10px -1px #adadad} |
|
1480 |
.completions select{background:#fff;outline:none;border:none;padding:0;margin:0;overflow:auto;font-family:monospace;font-size:110%;color:# |
|
|
1479 | .completions select{background:#fff;outline:none;border:none;padding:0;margin:0;overflow:auto;font-family:monospace;font-size:110%;color:#000;width:auto} | |
|
1481 | 1480 | .completions select option.context{color:#3071a9} |
|
1482 | 1481 | #menubar{margin-top:0;margin-bottom:-19px;position:relative;z-index:1000;}#menubar .navbar{border-top:1px;border-radius:0 0 4px 4px} |
|
1483 | 1482 | #menubar li.dropdown{line-height:12px}#menubar li.dropdown a{padding-top:6px;padding-bottom:5px} |
@@ -1504,7 +1503,7 b' ul#help_menu li a{overflow:hidden;padding-right:2.2em}ul#help_menu li a i{margin' | |||
|
1504 | 1503 | .notification_widget{color:#777;padding:1px 12px;margin:2px 4px;z-index:10;border:1px solid #ccc;border-radius:4px;background:rgba(240,240,240,0.5)}.notification_widget.span{padding-right:2px} |
|
1505 | 1504 | div#pager_splitter{height:8px} |
|
1506 | 1505 | #pager-container{position:relative;padding:15px 0} |
|
1507 |
div#pager{font-size:14px;line-height:20px;overflow:auto;display:none}div#pager pre{line-height:1.21429em;color:# |
|
|
1506 | div#pager{font-size:14px;line-height:20px;overflow:auto;display:none}div#pager pre{line-height:1.21429em;color:#000;background-color:#f7f7f7;padding:.4em} | |
|
1508 | 1507 | .quickhelp{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} |
|
1509 | 1508 | .shortcut_key{display:inline-block;width:20ex;text-align:right;font-family:monospace} |
|
1510 | 1509 | .shortcut_descr{display:inline-block;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} |
@@ -3,5 +3,5 b' This is only required when different pages style the same element differently. T' | |||
|
3 | 3 | a hack to deal with our current css styles and no new styling should be added in this file.*/ |
|
4 | 4 | |
|
5 | 5 | #ipython-main-app { |
|
6 |
margin: |
|
|
6 | margin: 28px auto 0px auto; | |
|
7 | 7 | } |
@@ -11,14 +11,14 b'' | |||
|
11 | 11 | // are not less variables so we have to track them statically. |
|
12 | 12 | @btn_small_height: 24px; |
|
13 | 13 | @btn_mini_height: 22px; |
|
14 |
@dark_dashboard_color: |
|
|
14 | @dark_dashboard_color: @breadcrumb-color; | |
|
15 | 15 | |
|
16 | 16 | ul#tabs { |
|
17 | 17 | margin-bottom: @dashboard_tb_pad; |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | ul#tabs a { |
|
21 | padding-top: @dashboard_tb_pad; | |
|
21 | padding-top: @dashboard_tb_pad + 2px; | |
|
22 | 22 | padding-bottom: @dashboard_tb_pad; |
|
23 | 23 | } |
|
24 | 24 |
General Comments 0
You need to be logged in to leave comments.
Login now