From 775ebc72e04a231b722bf7bbddb6f8b289ed2f3b Mon Sep 17 00:00:00 2001 From: "Brian E. Granger" Date: Sun, 2 Feb 2014 18:21:06 -0800 Subject: [PATCH] Update styling of dashboard. --- IPython/html/static/style/ipython.min.css | 8 +++++--- IPython/html/static/style/style.min.css | 8 +++++--- IPython/html/static/tree/less/tree.less | 15 ++++++++++----- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/IPython/html/static/style/ipython.min.css b/IPython/html/static/style/ipython.min.css index c1af57105..41347d95a 100644 --- a/IPython/html/static/style/ipython.min.css +++ b/IPython/html/static/style/ipython.min.css @@ -37,10 +37,12 @@ div.traceback-wrapper{text-align:left;max-width:800px;margin:auto} .list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00} .list_container>div:last-child{border:none} .list_item:hover .list_item{background-color:#ddd} -.item_name{line-height:24px} -.list_container>div>span,.list_container>div>div{padding:8px} .list_item a{text-decoration:none} -input.nbname_input{height:15px} +.list_item .span12{padding:5px} +.item_name{line-height:24px} +.item_icon{font-size:14px;color:#5e5e5e;margin-left:5px;margin-right:8px} +.list_container>div>span,.list_container>div>div{padding:8px} +input.nbname_input{height:15px;margin:0} .highlight_text{color:#00f} #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold} input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-bottom:0;width:60px} diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index f36939d94..dd92dc081 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -1314,10 +1314,12 @@ span#login_widget{float:right} .list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00} .list_container>div:last-child{border:none} .list_item:hover .list_item{background-color:#ddd} -.item_name{line-height:24px} -.list_container>div>span,.list_container>div>div{padding:8px} .list_item a{text-decoration:none} -input.nbname_input{height:15px} +.list_item .span12{padding:5px} +.item_name{line-height:24px} +.item_icon{font-size:14px;color:#5e5e5e;margin-left:5px;margin-right:8px} +.list_container>div>span,.list_container>div>div{padding:8px} +input.nbname_input{height:15px;margin:0} .highlight_text{color:#00f} #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold} input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-bottom:0;width:60px} diff --git a/IPython/html/static/tree/less/tree.less b/IPython/html/static/tree/less/tree.less index b5154b5c7..ddf2b3863 100644 --- a/IPython/html/static/tree/less/tree.less +++ b/IPython/html/static/tree/less/tree.less @@ -48,19 +48,23 @@ &:hover .list_item { background-color: #ddd; }; + a {text-decoration: none;} + .span12 {padding: 5px;} } .item_name { line-height: 24px; } -.list_container > div > span, .list_container > div > div { - padding: 8px; +.item_icon { + font-size: 14px; + color: darken(@border_color, 30%); + margin-left: 5px; + margin-right: 8px; } - -.list_item a { - text-decoration: none; +.list_container > div > span, .list_container > div > div { + padding: 8px; } .profile_col { @@ -77,6 +81,7 @@ input.nbname_input { height: 15px; + margin: 0px; } .highlight_text {