tree.less
115 lines
| 2.0 KiB
| text/x-less
|
LessCssLexer
Brian E. Granger
|
r4488 | |||
/** | ||||
* Primary styles | ||||
* | ||||
* Author: IPython Development Team | ||||
*/ | ||||
Brian E. Granger
|
r15077 | @dashboard_tb_pad: 4px; | ||
@dashboard_lr_pad: 7px; | ||||
Brian E. Granger
|
r15078 | // These are the total heights of the Bootstrap small and mini buttons. These values | ||
// are not less variables so we have to track them statically. | ||||
@btn_small_height: 26px; | ||||
@btn_mini_height: 22px; | ||||
Brian E. Granger
|
r15077 | |||
ul#tabs { | ||||
margin-bottom: @dashboard_tb_pad; | ||||
Brian Granger
|
r6196 | } | ||
Brian E. Granger
|
r15077 | ul#tabs a { | ||
padding-top: @dashboard_tb_pad; | ||||
padding-bottom: @dashboard_tb_pad; | ||||
Brian E. Granger
|
r4488 | } | ||
Brian E. Granger
|
r15077 | .list_toolbar { | ||
padding: @dashboard_tb_pad 0 @dashboard_tb_pad 0; | ||||
Brian E. Granger
|
r4491 | } | ||
Brian E. Granger
|
r15077 | .list_toolbar [class*="span"] { | ||
Brian E. Granger
|
r15078 | min-height: @btn_small_height; | ||
Brian E. Granger
|
r4488 | } | ||
MinRK
|
r10920 | .list_header { | ||
font-weight: bold; | ||||
Brian E. Granger
|
r4488 | } | ||
MinRK
|
r10920 | .list_container { | ||
Brian E. Granger
|
r15077 | margin-top: @dashboard_tb_pad; | ||
Brian E. Granger
|
r15078 | margin-bottom: 5*@dashboard_tb_pad; | ||
MinRK
|
r10954 | border: 1px solid @border_color; | ||
MinRK
|
r10919 | border-radius: 4px; | ||
} | ||||
MinRK
|
r10920 | .list_container > div { | ||
MinRK
|
r10954 | border-bottom: 1px solid @border_color; | ||
MinRK
|
r10919 | &:hover .list-item{ | ||
background-color: red; | ||||
}; | ||||
} | ||||
MinRK
|
r10920 | .list_container > div:last-child { | ||
MinRK
|
r10919 | border: none; | ||
} | ||||
.list_item { | ||||
&:hover .list_item { | ||||
background-color: #ddd; | ||||
}; | ||||
Brian E. Granger
|
r15072 | a {text-decoration: none;} | ||
Brian E. Granger
|
r15077 | } | ||
.list_header>div, .list_item>div { | ||||
padding-top: @dashboard_tb_pad; | ||||
padding-bottom: @dashboard_tb_pad; | ||||
padding-left: @dashboard_lr_pad; | ||||
padding-right: @dashboard_lr_pad; | ||||
Brian E. Granger
|
r15078 | height: @btn_mini_height; | ||
line-height: @btn_mini_height; | ||||
MinRK
|
r10919 | } | ||
Brian E. Granger
|
r12802 | .item_name { | ||
Brian E. Granger
|
r15078 | line-height: @btn_mini_height; | ||
height: @btn_small_height; | ||||
Brian E. Granger
|
r12802 | } | ||
Brian E. Granger
|
r15072 | .item_icon { | ||
Brian E. Granger
|
r15077 | font-size: 14px; | ||
Brian E. Granger
|
r15072 | color: darken(@border_color, 30%); | ||
Brian E. Granger
|
r15077 | margin-right: @dashboard_lr_pad; | ||
MinRK
|
r10919 | } | ||
Brian Granger
|
r6197 | |||
Brian E. Granger
|
r15077 | .item_buttons { | ||
line-height: 1em; | ||||
Brian E. Granger
|
r4488 | } | ||
Brian E. Granger
|
r15077 | .toolbar_info { | ||
Brian E. Granger
|
r15078 | height: @btn_small_height; | ||
line-height: @btn_small_height; | ||||
Brian E. Granger
|
r4488 | } | ||
Brian E. Granger
|
r15078 | input.nbname_input, input.engine_num_input { | ||
// These settings give these inputs a height that matches @btn_mini_height = 22 | ||||
Brian E. Granger
|
r15077 | padding-top: 3px; | ||
padding-bottom: 3px; | ||||
height: 14px; | ||||
line-height: 14px; | ||||
Brian E. Granger
|
r15072 | margin: 0px; | ||
Brian E. Granger
|
r4491 | } | ||
Brian E. Granger
|
r15078 | input.engine_num_input { | ||
width: 60px; | ||||
} | ||||
Brian E. Granger
|
r4488 | .highlight_text { | ||
color: blue; | ||||
} | ||||
Brian Granger
|
r6194 | |||
Bussonnier Matthias
|
r9275 | #project_name > .breadcrumb { | ||
MinRK
|
r10919 | padding: 0px; | ||
margin-bottom: 0px; | ||||
background-color: transparent; | ||||
font-weight: bold; | ||||
Bussonnier Matthias
|
r9275 | } | ||
Matthias BUSSONNIER
|
r9288 | |||
Brian E. Granger
|
r15078 | |||