##// END OF EJS Templates
more semantic icons
Paul Ivanov -
Show More
@@ -14,4 +14,7 b''
14 // notebook
14 // notebook
15 @import "../notebook/less/style_noapp.less";
15 @import "../notebook/less/style_noapp.less";
16
16
17 // Font-Awesome
18 @import "../components/font-awesome/less/font-awesome.less";
19 @FontAwesomePath: "../components/font-awesome/font";
17
20
@@ -52,6 +52,8 b' input.nbname_input,input.engine_num_input{padding-top:3px;padding-bottom:3px;hei'
52 input.engine_num_input{width:60px}
52 input.engine_num_input{width:60px}
53 .highlight_text{color:#00f}
53 .highlight_text{color:#00f}
54 #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold}
54 #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold}
55 .folder_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f07c"}
56 .notebook_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f0f6"}
55 .ansibold{font-weight:bold}
57 .ansibold{font-weight:bold}
56 .ansiblack{color:#000}
58 .ansiblack{color:#000}
57 .ansired{color:#8b0000}
59 .ansired{color:#8b0000}
@@ -85,7 +87,7 b' div.input_area>div.highlight>pre{margin:0;border:0;padding:0;background-color:tr'
85 @-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden}}.CodeMirror-lines{padding:.4em}
87 @-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden}}.CodeMirror-lines{padding:.4em}
86 .CodeMirror-linenumber{padding:0 8px 0 4px}
88 .CodeMirror-linenumber{padding:0 8px 0 4px}
87 .CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px}
89 .CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px}
88 .CodeMirror pre{padding:0;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
90 .CodeMirror pre{padding:0;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
89 pre code{display:block;padding:.5em}
91 pre code{display:block;padding:.5em}
90 .highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000}
92 .highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000}
91 .highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121}
93 .highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121}
@@ -1329,6 +1329,8 b' input.nbname_input,input.engine_num_input{padding-top:3px;padding-bottom:3px;hei'
1329 input.engine_num_input{width:60px}
1329 input.engine_num_input{width:60px}
1330 .highlight_text{color:#00f}
1330 .highlight_text{color:#00f}
1331 #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold}
1331 #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold}
1332 .folder_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f07c"}
1333 .notebook_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f0f6"}
1332 .ansibold{font-weight:bold}
1334 .ansibold{font-weight:bold}
1333 .ansiblack{color:#000}
1335 .ansiblack{color:#000}
1334 .ansired{color:#8b0000}
1336 .ansired{color:#8b0000}
@@ -204,7 +204,7 b' var IPython = (function (IPython) {'
204 item.data('name', name);
204 item.data('name', name);
205 item.data('path', path);
205 item.data('path', path);
206 item.find(".item_name").text(name);
206 item.find(".item_name").text(name);
207 item.find(".item_icon").addClass('icon-folder-open');
207 item.find(".item_icon").addClass('folder_icon');
208 item.find("a.item_link")
208 item.find("a.item_link")
209 .attr('href',
209 .attr('href',
210 utils.url_join_encode(
210 utils.url_join_encode(
@@ -221,7 +221,7 b' var IPython = (function (IPython) {'
221 item.data('nbname', nbname);
221 item.data('nbname', nbname);
222 item.data('path', path);
222 item.data('path', path);
223 item.find(".item_name").text(nbname);
223 item.find(".item_name").text(nbname);
224 item.find(".item_icon").addClass('icon-book');
224 item.find(".item_icon").addClass('notebook_icon');
225 item.find("a.item_link")
225 item.find("a.item_link")
226 .attr('href',
226 .attr('href',
227 utils.url_join_encode(
227 utils.url_join_encode(
@@ -236,7 +236,7 b' var IPython = (function (IPython) {'
236
236
237 NotebookList.prototype.add_name_input = function (nbname, item) {
237 NotebookList.prototype.add_name_input = function (nbname, item) {
238 item.data('nbname', nbname);
238 item.data('nbname', nbname);
239 item.find(".item_icon").addClass('icon-book');
239 item.find(".item_icon").addClass('notebook_icon');
240 item.find(".item_name").empty().append(
240 item.find(".item_name").empty().append(
241 $('<input/>')
241 $('<input/>')
242 .addClass("nbname_input")
242 .addClass("nbname_input")
@@ -127,4 +127,10 b' input.engine_num_input {'
127
127
128 }
128 }
129
129
130 .folder_icon:before {
131 .icon(@folder-open)
132 }
130
133
134 .notebook_icon:before {
135 .icon(@file-text-alt)
136 }
General Comments 0
You need to be logged in to leave comments. Login now