##// END OF EJS Templates
Bootstrap Tour related fixes
Jonathan Frederic -
Show More
@@ -24,8 +24,6 b' div#header {'
24 24 padding-left: 30px;
25 25 padding-bottom: 5px;
26 26 border-bottom: 1px solid @navbar-default-border;
27
28 .box-shadow(0 1px 10px rgba(0,0,0,.05));
29 27 }
30 28
31 29 #ipython_notebook {
@@ -11,22 +11,21 b''
11 11
12 12 var tour_steps = [
13 13 {
14 element: $("#ipython_notebook"),
15 14 title: "Welcome to the Notebook Tour",
16 15 placement: 'bottom',
16 orphan: true,
17 17 content: "This tour will take 2 minutes.",
18 backdrop: true,
19 18 }, {
20 19 element: "#notebook_name",
21 20 title: "Filename",
22 21 placement: 'bottom',
23 22 content: "Click here to change the filename for this notebook."
24 }, {
23 }, /*{
25 24 element: "#checkpoint_status",
26 25 title: "Checkpoint Status",
27 26 placement: 'bottom',
28 27 content: "Information about the last time this notebook was saved."
29 }, {
28 },*/ {
30 29 element: $("#menus").parent(),
31 30 placement: 'bottom',
32 31 backdrop: true,
@@ -101,15 +100,14 b' var tour_steps = ['
101 100 title: "Notification Area",
102 101 content: "Messages in response to user actions (Save, Interrupt, etc) appear here."
103 102 }, {
104 element: "#ipython_notebook",
105 103 title: "Fin.",
106 104 placement: 'bottom',
107 backdrop: true,
105 orphan: true,
108 106 content: "This concludes the IPython Notebook User Interface Tour. Happy hacking!",
109 107 }
110 108 ];
111 109
112 var tour_style = "<div class='popover tour' style='position:relative'>\
110 var tour_style = "<div class='popover tour'>\
113 111 <div class='arrow'></div>\
114 112 <div style='position:absolute; top:7px; right:7px'>\
115 113 <button class='btn btn-default btn-sm icon-remove' data-role='end'></button></div>\
@@ -153,7 +151,8 b' IPython = (function (IPython) {'
153 151 onPause: toggle_pause_play,
154 152 onResume: toggle_pause_play,
155 153 steps: this.tour_steps,
156 template: tour_style
154 template: tour_style,
155 orphan: true
157 156 });
158 157
159 158 };
@@ -2,8 +2,6 b''
2 2 margin-top: 0px;
3 3 margin-bottom: -19px;
4 4 position: relative;
5 z-index: 1000; /* Make the menubar higher than the header so the header's
6 shadow doesn't affect the menubar. */
7 5
8 6 .navbar {
9 7 border-top: 1px;
@@ -26,7 +26,7 b' span#notebook_name {'
26 26 div#notebook_panel {
27 27 margin: 0px 0px 0px 0px;
28 28 padding: 0px;
29 .box-shadow(0 -1px 10px rgba(0,0,0,.05));
29 .box-shadow(@notebook-shadow);
30 30 }
31 31 div#notebook {
32 32 font-size: @notebook_font_size;
@@ -10,4 +10,5 b''
10 10 @notebook_line_height: 20px;
11 11 @code_line_height: 1.21429em; // changed from 1.231 to get 17px even
12 12 @code_padding: 0.4em; // 5.6 px
13 @notebook-shadow: inset 1px 4px 9px -6px rgba(0,0,0,.25);
13 14
@@ -1269,7 +1269,7 b' div.error>h1{font-size:500%;line-height:normal}'
1269 1269 div.error>p{font-size:200%;line-height:normal}
1270 1270 div.traceback-wrapper{text-align:left;max-width:800px;margin:auto}
1271 1271 body{background-color:#fff;position:absolute;left:0;right:0;top:0;bottom:0;overflow:visible}
1272 div#header{display:none;margin-bottom:0;padding-left:30px;padding-bottom:5px;border-bottom:1px solid #e7e7e7;-webkit-box-shadow:0 1px 10px rgba(0,0,0,0.05);box-shadow:0 1px 10px rgba(0,0,0,0.05)}
1272 div#header{display:none;margin-bottom:0;padding-left:30px;padding-bottom:5px;border-bottom:1px solid #e7e7e7}
1273 1273 #ipython_notebook{padding-left:0}
1274 1274 #noscript{width:auto;padding-top:16px;padding-bottom:16px;text-align:center;font-size:22px;color:#f00;font-weight:bold}
1275 1275 #ipython_notebook img{font-family:Verdana,"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;height:24px;text-decoration:none;color:#000}
@@ -1460,7 +1460,7 b' div.cell.text_cell.rendered{padding:0}'
1460 1460 body{background-color:#fff}
1461 1461 body.notebook_app{overflow:hidden}
1462 1462 @media (max-width:767px){body.notebook_app{padding-left:0;padding-right:0}}span#notebook_name{height:1em;line-height:1em;padding:3px;border:none;font-size:146.5%}
1463 div#notebook_panel{margin:0 0 0 0;padding:0;-webkit-box-shadow:0 -1px 10px rgba(0,0,0,0.05);box-shadow:0 -1px 10px rgba(0,0,0,0.05)}
1463 div#notebook_panel{margin:0 0 0 0;padding:0;-webkit-box-shadow:inset 1px 4px 9px -6px rgba(0,0,0,0.25);box-shadow:inset 1px 4px 9px -6px rgba(0,0,0,0.25)}
1464 1464 div#notebook{font-size:14px;line-height:20px;overflow-y:scroll;overflow-x:auto;width:100%;padding:1em 0 1em 0;margin:0;border-top:1px solid #e7e7e7;outline:none;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}
1465 1465 div.ui-widget-content{border:1px solid #ababab;outline:none}
1466 1466 pre.dialog{background-color:#f7f7f7;border:1px solid #ddd;border-radius:4px;padding:.4em;padding-left:2em}
@@ -1479,7 +1479,7 b' p{margin-bottom:0}'
1479 1479 .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 1480 .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 1481 .completions select option.context{color:#3071a9}
1482 #menubar{margin-top:0;margin-bottom:-19px;position:relative;z-index:1000;}#menubar .navbar{border-top:1px;border-radius:0 0 4px 4px}
1482 #menubar{margin-top:0;margin-bottom:-19px;position:relative}#menubar .navbar{border-top:1px;border-radius:0 0 4px 4px}
1483 1483 #menubar li.dropdown{line-height:12px}#menubar li.dropdown a{padding-top:6px;padding-bottom:5px}
1484 1484 #menubar ul.navbar-right{padding-top:2px}
1485 1485 .nav-wrapper{border-bottom:1px solid #e7e7e7}
General Comments 0
You need to be logged in to leave comments. Login now