tree.less
181 lines
| 3.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. | ||||
Jonathan Frederic
|
r16948 | @btn_small_height: 24px; | ||
Brian E. Granger
|
r15078 | @btn_mini_height: 22px; | ||
Jonathan Frederic
|
r16957 | @dark_dashboard_color: @breadcrumb-color; | ||
Brian E. Granger
|
r15077 | |||
ul#tabs { | ||||
margin-bottom: @dashboard_tb_pad; | ||||
Brian Granger
|
r6196 | } | ||
Brian E. Granger
|
r15077 | ul#tabs a { | ||
Jonathan Frederic
|
r16957 | padding-top: @dashboard_tb_pad + 2px; | ||
Brian E. Granger
|
r15077 | padding-bottom: @dashboard_tb_pad; | ||
Brian E. Granger
|
r4488 | } | ||
Brian E. Granger
|
r15101 | ul.breadcrumb { | ||
a:focus, a:hover { | ||||
text-decoration: none; | ||||
} | ||||
i.icon-home { | ||||
font-size: 16px; | ||||
margin-right: 4px; | ||||
} | ||||
span { | ||||
color: @dark_dashboard_color; | ||||
} | ||||
} | ||||
Brian E. Granger
|
r15077 | .list_toolbar { | ||
padding: @dashboard_tb_pad 0 @dashboard_tb_pad 0; | ||||
Jonathan Frederic
|
r16937 | vertical-align: middle; | ||
.tree-buttons { | ||||
padding-top: 2px; | ||||
} | ||||
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; | ||
Jonathan Frederic
|
r19653 | border-radius: @border-radius-base; | ||
MinRK
|
r10919 | } | ||
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 | } | ||
Jonathan Frederic
|
r16937 | .action_col { | ||
text-align: right; | ||||
} | ||||
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 | 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
|
r15101 | color: @dark_dashboard_color; | ||
Brian E. Granger
|
r15077 | margin-right: @dashboard_lr_pad; | ||
MinRK
|
r10919 | } | ||
Brian Granger
|
r6197 | |||
Brian E. Granger
|
r15077 | .item_buttons { | ||
line-height: 1em; | ||||
Min RK
|
r18929 | .btn { | ||
min-width: 13ex; | ||||
} | ||||
Matthias Bussonnier
|
r19687 | .btn-toolbar(); | ||
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; | ||||
Jonathan Frederic
|
r16922 | height: @btn_mini_height; | ||
Brian E. Granger
|
r15077 | 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 | |||
Jonathan Frederic
|
r16920 | .tab-content .row { | ||
margin-left: 0px; | ||||
margin-right: 0px; | ||||
} | ||||
Paul Ivanov
|
r16253 | .folder_icon:before { | ||
Matthias BUSSONNIER
|
r17414 | .icon(@fa-var-folder-o) | ||
Paul Ivanov
|
r16253 | } | ||
Brian E. Granger
|
r15078 | |||
Paul Ivanov
|
r16253 | .notebook_icon:before { | ||
Matthias BUSSONNIER
|
r17414 | .icon(@fa-var-book) | ||
Paul Ivanov
|
r16253 | } | ||
MinRK
|
r17526 | |||
.file_icon:before { | ||||
.icon(@fa-var-file-o) | ||||
} | ||||
Min RK
|
r19260 | |||
Jonathan Frederic
|
r19694 | ul#new-menu { | ||
Min RK
|
r19260 | // align right instead of left | ||
left: auto; | ||||
right: 0; | ||||
Min RK
|
r19262 | } | ||
.kernel-menu-icon { | ||||
padding-right: 12px; | ||||
width: 24px; | ||||
content: @fa-var-square-o; | ||||
} | ||||
.kernel-menu-icon:before { | ||||
content: @fa-var-square-o; | ||||
} | ||||
.kernel-menu-icon-current:before { | ||||
Jonathan Frederic
|
r19655 | content: @fa-var-check; | ||
} | ||||
#tab_content { | ||||
padding-top: @page-header-padding; | ||||
Min RK
|
r19262 | } | ||