##// END OF EJS Templates
use single WebSocket connection for all channels...
use single WebSocket connection for all channels multiplex on a 'channel' key in message, rather than separate websockets. Unlike zmq, there aren't different message patterns that require the channels to be separate. Reduces FD count by factor of 3 and connection complexity in js.

File last commit:

r19701:10bcecd7 merge
r19824:17ebfc54
Show More
tree.less
181 lines | 3.0 KiB | text/x-less | LessCssLexer
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488
/**
* Primary styles
*
* Author: IPython Development Team
*/
Brian E. Granger
Tighten spacing of dashboard.
r15077 @dashboard_tb_pad: 4px;
@dashboard_lr_pad: 7px;
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
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
Make maintoolbar select dropdowns look nice
r16948 @btn_small_height: 24px;
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 @btn_mini_height: 22px;
Jonathan Frederic
Review comments
r16957 @dark_dashboard_color: @breadcrumb-color;
Brian E. Granger
Tighten spacing of dashboard.
r15077
ul#tabs {
margin-bottom: @dashboard_tb_pad;
Brian Granger
Fixing tab design.
r6196 }
Brian E. Granger
Tighten spacing of dashboard.
r15077 ul#tabs a {
Jonathan Frederic
Review comments
r16957 padding-top: @dashboard_tb_pad + 2px;
Brian E. Granger
Tighten spacing of dashboard.
r15077 padding-bottom: @dashboard_tb_pad;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Brian E. Granger
Breadcrumb home icon.
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
Tighten spacing of dashboard.
r15077 .list_toolbar {
padding: @dashboard_tb_pad 0 @dashboard_tb_pad 0;
Jonathan Frederic
Lots of small alignment tweaks to get Bootstrap3 looking better
r16937 vertical-align: middle;
.tree-buttons {
padding-top: 2px;
}
Brian E. Granger
File upload/import working from notebook browser.
r4491 }
Brian E. Granger
Tighten spacing of dashboard.
r15077 .list_toolbar [class*="span"] {
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 min-height: @btn_small_height;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
MinRK
use row-fluid for cluster list
r10920 .list_header {
font-weight: bold;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
MinRK
use row-fluid for cluster list
r10920 .list_container {
Brian E. Granger
Tighten spacing of dashboard.
r15077 margin-top: @dashboard_tb_pad;
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 margin-bottom: 5*@dashboard_tb_pad;
MinRK
use IPython border color for tree view
r10954 border: 1px solid @border_color;
Jonathan Frederic
Address review comments
r19653 border-radius: @border-radius-base;
MinRK
use row-fluid for tree_list
r10919 }
MinRK
use row-fluid for cluster list
r10920 .list_container > div {
MinRK
use IPython border color for tree view
r10954 border-bottom: 1px solid @border_color;
MinRK
use row-fluid for tree_list
r10919 &:hover .list-item{
background-color: red;
};
}
MinRK
use row-fluid for cluster list
r10920 .list_container > div:last-child {
MinRK
use row-fluid for tree_list
r10919 border: none;
}
.list_item {
&:hover .list_item {
background-color: #ddd;
};
Brian E. Granger
Update styling of dashboard.
r15072 a {text-decoration: none;}
Brian E. Granger
Tighten spacing of dashboard.
r15077 }
Jonathan Frederic
Lots of small alignment tweaks to get Bootstrap3 looking better
r16937 .action_col {
text-align: right;
}
Brian E. Granger
Tighten spacing of dashboard.
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
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 line-height: @btn_mini_height;
MinRK
use row-fluid for tree_list
r10919 }
Brian E. Granger
Fixing line-height of list items in tree view.
r12802 .item_name {
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 line-height: @btn_mini_height;
height: @btn_small_height;
Brian E. Granger
Fixing line-height of list items in tree view.
r12802 }
Brian E. Granger
Update styling of dashboard.
r15072 .item_icon {
Brian E. Granger
Tighten spacing of dashboard.
r15077 font-size: 14px;
Brian E. Granger
Breadcrumb home icon.
r15101 color: @dark_dashboard_color;
Brian E. Granger
Tighten spacing of dashboard.
r15077 margin-right: @dashboard_lr_pad;
MinRK
use row-fluid for tree_list
r10919 }
Brian Granger
Cluster management is now working....
r6197
Brian E. Granger
Tighten spacing of dashboard.
r15077 .item_buttons {
line-height: 1em;
Min RK
set min-width on tree-list buttons...
r18929 .btn {
min-width: 13ex;
}
Matthias Bussonnier
ungroup button on dashboard...
r19687 .btn-toolbar();
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Brian E. Granger
Tighten spacing of dashboard.
r15077 .toolbar_info {
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 height: @btn_small_height;
line-height: @btn_small_height;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 input.nbname_input, input.engine_num_input {
// These settings give these inputs a height that matches @btn_mini_height = 22
Brian E. Granger
Tighten spacing of dashboard.
r15077 padding-top: 3px;
padding-bottom: 3px;
Jonathan Frederic
Fixes to make spinners in cluster list display correctly.
r16922 height: @btn_mini_height;
Brian E. Granger
Tighten spacing of dashboard.
r15077 line-height: 14px;
Brian E. Granger
Update styling of dashboard.
r15072 margin: 0px;
Brian E. Granger
File upload/import working from notebook browser.
r4491 }
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 input.engine_num_input {
width: 60px;
}
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 .highlight_text {
color: blue;
}
Brian Granger
Initial try at adding tabs to project dashboard.
r6194
Bussonnier Matthias
Fix project path url in dashbord...
r9275 #project_name > .breadcrumb {
MinRK
use row-fluid for tree_list
r10919 padding: 0px;
margin-bottom: 0px;
background-color: transparent;
font-weight: bold;
Bussonnier Matthias
Fix project path url in dashbord...
r9275 }
Matthias BUSSONNIER
change to cluster list...
r9288
Jonathan Frederic
Removed margin from row element
r16920 .tab-content .row {
margin-left: 0px;
margin-right: 0px;
}
Paul Ivanov
more semantic icons
r16253 .folder_icon:before {
Matthias BUSSONNIER
fix some font-awesoem 4 icons
r17414 .icon(@fa-var-folder-o)
Paul Ivanov
more semantic icons
r16253 }
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078
Paul Ivanov
more semantic icons
r16253 .notebook_icon:before {
Matthias BUSSONNIER
fix some font-awesoem 4 icons
r17414 .icon(@fa-var-book)
Paul Ivanov
more semantic icons
r16253 }
MinRK
teach tree view about non-notebook files
r17526
.file_icon:before {
.icon(@fa-var-file-o)
}
Min RK
Add kernel-select dropdown to new notebook button...
r19260
Jonathan Frederic
New new button
r19694 ul#new-menu {
Min RK
Add kernel-select dropdown to new notebook button...
r19260 // align right instead of left
left: auto;
right: 0;
Min RK
separate selecting default kernel from new notebook with specified kernel...
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
Make things consistent
r19655 content: @fa-var-check;
}
#tab_content {
padding-top: @page-header-padding;
Min RK
separate selecting default kernel from new notebook with specified kernel...
r19262 }