##// END OF EJS Templates
Backport PR #5584: more semantic icons...
MinRK -
Show More
@@ -5,13 +5,5 b''
5 // base
5 // base
6 @import "../base/less/style.less";
6 @import "../base/less/style.less";
7
7
8 // auth
9 @import "../auth/less/style.less";
10
11 // tree
12 @import "../tree/less/style.less";
13
14 // notebook
8 // notebook
15 @import "../notebook/less/style_noapp.less";
9 @import "../notebook/less/style_noapp.less";
16
17
@@ -27,32 +27,6 b' div.error{margin:2em;text-align:center}'
27 div.error>h1{font-size:500%;line-height:normal}
27 div.error>h1{font-size:500%;line-height:normal}
28 div.error>p{font-size:200%;line-height:normal}
28 div.error>p{font-size:200%;line-height:normal}
29 div.traceback-wrapper{text-align:left;max-width:800px;margin:auto}
29 div.traceback-wrapper{text-align:left;max-width:800px;margin:auto}
30 .center-nav{display:inline-block;margin-bottom:-4px}
31 .alternate_upload{background-color:none;display:inline}
32 .alternate_upload.form{padding:0;margin:0}
33 .alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;height:26px}
34 ul#tabs{margin-bottom:4px}
35 ul#tabs a{padding-top:4px;padding-bottom:4px}
36 ul.breadcrumb a:focus,ul.breadcrumb a:hover{text-decoration:none}
37 ul.breadcrumb i.icon-home{font-size:16px;margin-right:4px}
38 ul.breadcrumb span{color:#5e5e5e}
39 .list_toolbar{padding:4px 0 4px 0}
40 .list_toolbar [class*="span"]{min-height:26px}
41 .list_header{font-weight:bold}
42 .list_container{margin-top:4px;margin-bottom:20px;border:1px solid #ababab;border-radius:4px}
43 .list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00}
44 .list_container>div:last-child{border:none}
45 .list_item:hover .list_item{background-color:#ddd}
46 .list_item a{text-decoration:none}
47 .list_header>div,.list_item>div{padding-top:4px;padding-bottom:4px;padding-left:7px;padding-right:7px;height:22px;line-height:22px}
48 .item_name{line-height:22px;height:26px}
49 .item_icon{font-size:14px;color:#5e5e5e;margin-right:7px}
50 .item_buttons{line-height:1em}
51 .toolbar_info{height:26px;line-height:26px}
52 input.nbname_input,input.engine_num_input{padding-top:3px;padding-bottom:3px;height:14px;line-height:14px;margin:0}
53 input.engine_num_input{width:60px}
54 .highlight_text{color:#00f}
55 #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold}
56 .ansibold{font-weight:bold}
30 .ansibold{font-weight:bold}
57 .ansiblack{color:#000}
31 .ansiblack{color:#000}
58 .ansired{color:#8b0000}
32 .ansired{color:#8b0000}
@@ -1330,6 +1330,8 b' input.nbname_input,input.engine_num_input{padding-top:3px;padding-bottom:3px;hei'
1330 input.engine_num_input{width:60px}
1330 input.engine_num_input{width:60px}
1331 .highlight_text{color:#00f}
1331 .highlight_text{color:#00f}
1332 #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold}
1332 #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold}
1333 .folder_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f114"}
1334 .notebook_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f02d"}
1333 .ansibold{font-weight:bold}
1335 .ansibold{font-weight:bold}
1334 .ansiblack{color:#000}
1336 .ansiblack{color:#000}
1335 .ansired{color:#8b0000}
1337 .ansired{color:#8b0000}
@@ -215,7 +215,7 b' var IPython = (function (IPython) {'
215 item.data('name', name);
215 item.data('name', name);
216 item.data('path', path);
216 item.data('path', path);
217 item.find(".item_name").text(name);
217 item.find(".item_name").text(name);
218 item.find(".item_icon").addClass('icon-folder-open');
218 item.find(".item_icon").addClass('folder_icon').addClass('icon-fixed-width');
219 item.find("a.item_link")
219 item.find("a.item_link")
220 .attr('href',
220 .attr('href',
221 utils.url_join_encode(
221 utils.url_join_encode(
@@ -232,7 +232,7 b' var IPython = (function (IPython) {'
232 item.data('nbname', nbname);
232 item.data('nbname', nbname);
233 item.data('path', path);
233 item.data('path', path);
234 item.find(".item_name").text(nbname);
234 item.find(".item_name").text(nbname);
235 item.find(".item_icon").addClass('icon-book');
235 item.find(".item_icon").addClass('notebook_icon').addClass('icon-fixed-width');
236 item.find("a.item_link")
236 item.find("a.item_link")
237 .attr('href',
237 .attr('href',
238 utils.url_join_encode(
238 utils.url_join_encode(
@@ -247,7 +247,7 b' var IPython = (function (IPython) {'
247
247
248 NotebookList.prototype.add_name_input = function (nbname, item) {
248 NotebookList.prototype.add_name_input = function (nbname, item) {
249 item.data('nbname', nbname);
249 item.data('nbname', nbname);
250 item.find(".item_icon").addClass('icon-book');
250 item.find(".item_icon").addClass('notebook_icon').addClass('icon-fixed-width');
251 item.find(".item_name").empty().append(
251 item.find(".item_name").empty().append(
252 $('<input/>')
252 $('<input/>')
253 .addClass("nbname_input")
253 .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-close-alt)
132 }
130
133
134 .notebook_icon:before {
135 .icon(@book)
136 }
General Comments 0
You need to be logged in to leave comments. Login now