Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Jonathan Frederic
- Thu, 18 Dec 2014 23:19:36
Show More
IPython/html/static/base/js/page.js
0
+4
-1
@@
-10,7
+10,10
define([
10
10
11
11
var Page = function () {
12
12
this . bind_events ();
13
this . _resize_header ();
13
14
// When the page is ready, resize the header.
15
var that = this ;
16
$ ( function () { that . _resize_header (); });
14
17
};
15
18
16
19
Page . prototype . bind_events = function () {
IPython/html/static/base/less/page.less
0
0
-1
@@
-26,7
+26,6
div#header {
26
26
z-index : 100 ;
27
27
28
28
#header-container {
29
padding-left : 30 px ;
30
29
padding-bottom : 5 px ;
31
30
padding-top : 5 px ;
32
31
.border-box-sizing() ;
IPython/html/static/base/less/variables.less
0
+4
0
@@
-11,6
+11,8
11
11
@grid -float-breakpoint : 540px ;
12
12
@logo_height : 28px ;
13
13
@border -radius-base : 2px ;
14
@border -radius-small : 2px ;
15
@grid -gutter-width : 0px ;
14
16
15
17
// Disable modal slide-in from top animation .
16
18
. modal {
@@
-38,4
+40,6
label {
38
40
}
39
41
40
42
// Our own global variables for all pages go here
43
@global -shadow : 0px 0px 12px 1px rgba ( 87 , 87 , 87 , 0 . 2 );
44
@page -header-padding : 20px ;
41
45
IPython/html/static/notebook/css/override.css
0
+1
-1
@@
-4,4
+4,4
a hack to deal with our current css styles and no new styling should be added in
4
4
5
5
# ipython-main-app {
6
6
position : relative ;
7
}
No newline at end of file
7
}
IPython/html/static/notebook/less/notebook.less
0
+12
-14
@@
-1,8
+1,3
1
2
body {
3
background-color : @ body-bg ;
4
}
5
6
1
@media ( max-width : 767px ) {
7
2
// remove bootstrap-responsive's body padding on small screens
8
3
body.notebook_app {
@@
-16,9
+11,12
body {
16
11
}
17
12
18
13
div # notebook_panel {
19
margin : 0 px 0px 0px 0px;
14
margin : 0 px ;
20
15
padding : 0 px ;
21
16
.border-box-sizing() ;
17
background-color : @ notebook_dark_background ;
18
/* Make the page background atleast 100% the height of the view port */
19
min-height : 100 vh ;
22
20
}
23
21
div # notebook {
24
22
font-size : @ notebook_font_size ;
@@
-26,22
+24,22
div#notebook {
26
24
overflow-y : hidden ;
27
25
overflow-x : auto ;
28
26
width : 100 % ;
29
/* This spaces the cell away from the edge of the notebook area */
30
padding : 2 em 0 2 em 0 ;
27
/* This spaces the page away from the edge of the notebook area */
28
padding-top : @ page - header-padding ;
29
padding-bottom : @ page - header-padding ;
31
30
margin : 0 px ;
32
31
outline : none ;
33
32
.border-box-sizing() ;
34
35
background-color : @ notebook_dark_background ;
36
33
}
37
34
38
35
# notebook-container {
39
36
@media not print {
40
padding-right : 80px ;
41
padding-top : 10 px ;
37
padding : 15 px ;
42
38
border-color : @ body-bg ;
43
39
background-color : @ body-bg ;
44
box-shadow : 0 px 0 px 12 px 1 px rgba ( 87 , 87 , 87 , 0.2 );
40
/* Make the page itself atleast 70% the height of the view port */
41
min-height : 70 vh ;
42
.box-shadow(@global-shadow) ;
45
43
}
46
44
}
47
45
@@
-87,5
+85,5
p {
87
85
}
88
86
89
87
. notebook_app # header {
90
.box-shadow(@notebook-shadow) ;
88
.box-shadow(@gl obal -shadow) ;
91
89
}
IPython/html/static/notebook/less/pager.less
0
+2
-5
IPython/html/static/notebook/less/toolbar.less
0
+1
-1
IPython/html/static/notebook/less/variables.less
0
0
-1
@@
-11,7
+11,6
11
11
@notebook_line_height : 20px ;
12
12
@code_line_height : 1 . 21429em ; // changed from 1 . 231 to get 17px even
13
13
@code_padding : 0 . 4em ; // 5 . 6 px
14
@notebook -shadow : 1px 4px 9px -6px rgba ( 0 , 0 , 0 , . 25 );
15
14
@rendered_html_border_color : black ;
16
15
@input_prompt_color : navy ;
17
16
@output_prompt_color : darkred ;
IPython/html/static/terminal/less/terminal.less
0
+1
-1
@@
-19,5
+19,5
19
19
}
20
20
21
21
# terminado-container {
22
padding-top : 20px;
22
padding-top : @ page - header-padding ;
23
23
}
IPython/html/static/tree/css/override.css
0
0
-4
@@
-1,7
+1,3
1
1
/*This file contains any manual css for this page that needs to override the global styles.
2
2
This is only required when different pages style the same element differently. This is just
3
3
a hack to deal with our current css styles and no new styling should be added in this file.*/
4
5
# ipython-main-app {
6
margin : 20 px auto 0 px auto ;
7
}
IPython/html/static/tree/less/tree.less
0
+5
-1
@@
-172,5
+172,9
ul#new-notebook-menu {
172
172
}
173
173
174
174
. kernel-menu-icon-current : before {
175
content : @ fa-var-check ;
175
content : @ fa-var-check ;
176
}
177
178
# tab_content {
179
padding-top : @ page - header-padding ;
176
180
}
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages