##// END OF EJS Templates
Creating override.css for each page....
Brian E. Granger -
Show More
@@ -0,0 +1,9 b''
1 /*This file contains any manual css for this page that needs to override the global styles.
2 This is only required when different pages style the same element differently. This is just
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 height: 100px;
7 width: 350px;
8 margin: 50px auto;
9 } No newline at end of file
@@ -0,0 +1,9 b''
1 /*This file contains any manual css for this page that needs to override the global styles.
2 This is only required when different pages style the same element differently. This is just
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 width: 100%;
7 position: relative;
8 font-size: 110%;
9 } No newline at end of file
@@ -0,0 +1,8 b''
1 /*This file contains any manual css for this page that needs to override the global styles.
2 This is only required when different pages style the same element differently. This is just
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 width: 920px;
7 margin: 30px auto 0px auto;
8 }
@@ -43,7 +43,7 b' class NamedNotebookHandler(IPythonHandler):'
43 nbm = self.notebook_manager
43 nbm = self.notebook_manager
44 if not nbm.notebook_exists(notebook_id):
44 if not nbm.notebook_exists(notebook_id):
45 raise web.HTTPError(404, u'Notebook does not exist: %s' % notebook_id)
45 raise web.HTTPError(404, u'Notebook does not exist: %s' % notebook_id)
46 self.write(self.render_template('notebooks.html',
46 self.write(self.render_template('notebook.html',
47 project=self.project,
47 project=self.project,
48 notebook_id=notebook_id,
48 notebook_id=notebook_id,
49 kill_kernel=False,
49 kill_kernel=False,
@@ -1,6 +1,1 b''
1
1 // Custom styles for login.html No newline at end of file
2 #ipython-main-app {
3 height: 100px;
4 width: 350px;
5 margin: 50px auto;
6 }
@@ -1,7 +1,2 b''
1
1 // Custom styles for logout.html
2 #ipython-main-app {
3 height: 100px;
4 width: 200px;
5 margin: 50px auto;
6 }
7
2
@@ -116,13 +116,6 b' span#notebook_name {'
116 width:auto;
116 width:auto;
117 }
117 }
118
118
119
120 #ipython-main-app {
121 width: 100%;
122 position: relative;
123 font-size: 110%;
124 }
125
126 span#quick_help_area {
119 span#quick_help_area {
127 position: static;
120 position: static;
128 padding: 5px 0px;
121 padding: 5px 0px;
@@ -1,5 +1,5 b''
1 @import "../notebooks/less/notebook.less";
1 @import "notebook.less";
2 @import "../notebooks/less/renderedhtml.less";
2 @import "renderedhtml.less";
3 @import "../notebooks/less/tooltip.less";
3 @import "tooltip.less";
4 @import "../notebooks/less/celltoolbar.less";
4 @import "celltoolbar.less";
5 @import "../notebooks/less/highlight.less";
5 @import "highlight.less";
@@ -881,12 +881,9 b' span#ipython_notebook img{font-family:Verdana,"Helvetica Neue",Arial,Helvetica,G'
881 .ui-button .ui-button-text{padding:0.2em 0.8em;font-size:77%;}
881 .ui-button .ui-button-text{padding:0.2em 0.8em;font-size:77%;}
882 input.ui-button{padding:0.3em 0.9em;}
882 input.ui-button{padding:0.3em 0.9em;}
883 span#login_widget{float:right;}
883 span#login_widget{float:right;}
884 #ipython-main-app{height:100px;width:350px;margin:50px auto;}
885 #ipython-main-app{height:100px;width:200px;margin:50px auto;}
886 .alternate_upload{background-color:none;display:inline;}
884 .alternate_upload{background-color:none;display:inline;}
887 .alternate_upload.form{padding:0;margin:0;}
885 .alternate_upload.form{padding:0;margin:0;}
888 .alternate_upload input.fileinput{background-color:red;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;}
886 .alternate_upload input.fileinput{background-color:red;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;}
889 #ipython-main-app{width:920px;margin:30px auto 0px auto;}
890 #tabs{border-style:none;}
887 #tabs{border-style:none;}
891 #tab1,#tab2{padding:1em 0em;}
888 #tab1,#tab2{padding:1em 0em;}
892 .list_toolbar{padding:5px;height:25px;line-height:25px;}
889 .list_toolbar{padding:5px;height:25px;line-height:25px;}
@@ -941,7 +938,6 b' span#notebook_name{height:1em;line-height:1em;padding:3px;border:none;font-size:'
941 .toolbar{padding:3px 15px;border-bottom:1px #ababab solid;}.toolbar button{margin-top:2px;margin-bottom:2px;}
938 .toolbar{padding:3px 15px;border-bottom:1px #ababab solid;}.toolbar button{margin-top:2px;margin-bottom:2px;}
942 .toolbar select,.toolbar label{height:19px;vertical-align:middle;margin-right:2px;margin-bottom:0;display:inline;font-size:92%;margin-left:0.3em;margin-right:0.3em;padding:0px;}
939 .toolbar select,.toolbar label{height:19px;vertical-align:middle;margin-right:2px;margin-bottom:0;display:inline;font-size:92%;margin-left:0.3em;margin-right:0.3em;padding:0px;}
943 .toolbar select{width:auto;}
940 .toolbar select{width:auto;}
944 #ipython-main-app{width:100%;position:relative;font-size:110%;}
945 span#quick_help_area{position:static;padding:5px 0px;margin:0px 0px 0px 0px;}
941 span#quick_help_area{position:static;padding:5px 0px;margin:0px 0px 0px 0px;}
946 .help_string{float:right;width:170px;padding:0px 5px;text-align:left;font-size:85%;}
942 .help_string{float:right;width:170px;padding:0px 5px;text-align:left;font-size:85%;}
947 .help_string_label{float:right;font-size:85%;}
943 .help_string_label{float:right;font-size:85%;}
@@ -5,11 +5,6 b''
5 * Author: IPython Development Team
5 * Author: IPython Development Team
6 */
6 */
7
7
8 #ipython-main-app {
9 width: 920px;
10 margin: 30px auto 0px auto;
11 }
12
13 #tabs {
8 #tabs {
14 border-style: none;
9 border-style: none;
15 }
10 }
@@ -1,9 +1,13 b''
1 {% extends "page.html" %}
1 {% extends "page.html" %}
2
2
3
3
4 {% block login_widget %}
4 {% block stylesheet %}
5 {{super()}}
6 <link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" />
5 {% endblock %}
7 {% endblock %}
6
8
9 {% block login_widget %}
10 {% endblock %}
7
11
8 {% block site %}
12 {% block site %}
9
13
@@ -1,5 +1,9 b''
1 {% extends "page.html" %}
1 {% extends "page.html" %}
2
2
3 {% block stylesheet %}
4 {{super()}}
5 <link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" />
6 {% endblock %}
3
7
4 {% block login_widget %}
8 {% block login_widget %}
5 {% endblock %}
9 {% endblock %}
@@ -15,6 +15,8 b' window.mathjax_url = "{{mathjax_url}}";'
15
15
16 {{super()}}
16 {{super()}}
17
17
18 <link rel="stylesheet" href="{{ static_url("notebook/css/override.css") }}" type="text/css" />
19
18 {% endblock %}
20 {% endblock %}
19
21
20 {% block params %}
22 {% block params %}
@@ -21,7 +21,7 b''
21 {% else %}
21 {% else %}
22 <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
22 <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
23 {% endif %}
23 {% endif %}
24 {% endblock lesscss%}
24 {% endblock %}
25 {% endblock %}
25 {% endblock %}
26 <link rel="stylesheet" href="{{ static_url("custom/css/custom.css") }}" type="text/css" />
26 <link rel="stylesheet" href="{{ static_url("custom/css/custom.css") }}" type="text/css" />
27
27
@@ -3,6 +3,11 b''
3 {% block title %}IPython Dashboard{% endblock %}
3 {% block title %}IPython Dashboard{% endblock %}
4
4
5
5
6 {% block stylesheet %}
7 {{super()}}
8 <link rel="stylesheet" href="{{ static_url("tree/css/override.css") }}" type="text/css" />
9 {% endblock %}
10
6 {% block params %}
11 {% block params %}
7
12
8 data-project={{project}}
13 data-project={{project}}
General Comments 0
You need to be logged in to leave comments. Login now