##// END OF EJS Templates
Merge pull request #7708 from SylvainCorlay/allow_none...
Merge pull request #7708 from SylvainCorlay/allow_none allow_none=False for all trait types but Instance and Type

File last commit:

r20713:82348de2
r20763:454aa2cb merge
Show More
tree.less
323 lines | 5.9 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
Jonathan Frederic
Add selector button to dashboard
r20313 // The left padding of the selector button's contents.
@dashboard-selectorbtn-lpad: 7px;
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 {
Jonathan Frederic
Review comments
r20041 padding-top: 1px;
Jonathan Frederic
Lots of small alignment tweaks to get Bootstrap3 looking better
r16937 }
Brian E. Granger
File upload/import working from notebook browser.
r4491 }
Jonathan Frederic
Use checkbox layout instead of actions dropdown
r20157 .dynamic-buttons {
display: inline-block;
}
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;
Mathieu
add zebra striping to the dashboard
r20246 background-color: @page-backdrop-color
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Peter Parente
Fix empty running table background...
r20447 .list_placeholder {
font-weight: bold;
padding-top: @dashboard_tb_pad;
padding-bottom: @dashboard_tb_pad;
padding-left: @dashboard_lr_pad;
padding-right: @dashboard_lr_pad;
}
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;
Jonathan Frederic
Adjust colors so they are the same
r20010 border: 1px solid @table-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 {
Jonathan Frederic
Adjust colors so they are the same
r20010 border-bottom: 1px solid @table-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 {
Jonathan Frederic
Use bootstrap variable for table color
r20007 background-color: @table-border-color;
MinRK
use row-fluid for tree_list
r10919 };
Brian E. Granger
Update styling of dashboard.
r15072 a {text-decoration: none;}
Mathieu
replace stripes with hover highlight
r20254 &:hover {
background-color: darken(white,2%);
Mathieu
add zebra striping to the dashboard
r20246 }
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;
Jonathan Frederic
Use checkbox layout instead of actions dropdown
r20157
input {
margin-right: @dashboard_lr_pad;
Jonathan Frederic
Add selector button to dashboard
r20313 margin-left: @dashboard_lr_pad + @dashboard-selectorbtn-lpad;
Jonathan Frederic
Attempt to fix alignment problems
r20331 vertical-align: baseline;
line-height: @btn_mini_height;
position: relative;
Matthias Bussonnier
fix css checkbox vertical align, closes #8065
r20713 top: -1px;
Jonathan Frederic
Add selector button to dashboard
r20313 }
.item_link {
Jonathan Frederic
Attempt to fix alignment problems
r20331 margin-left: -1px;
vertical-align: baseline;
line-height: @btn_mini_height;
Jonathan Frederic
Use checkbox layout instead of actions dropdown
r20157 }
MinRK
use row-fluid for tree_list
r10919 }
Jonathan Frederic
Make upload work with new UI
r20239 .new-file input[type=checkbox] {
visibility: hidden;
}
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;
Jonathan Frederic
Attempt to fix alignment problems
r20331 margin-left: @dashboard_lr_pad;
line-height: @btn_mini_height;
vertical-align: baseline;
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;
Jonathan Frederic
Use checkbox layout instead of actions dropdown
r20157 .btn-toolbar();
Min RK
set min-width on tree-list buttons...
r18929 .btn {
min-width: 13ex;
}
Jonathan Frederic
Use checkbox layout instead of actions dropdown
r20157 .running-indicator {
Jonathan Frederic
Only pad indicator text.
r20612 padding-top: @dashboard_tb_pad;
Jonathan Frederic
Use checkbox layout instead of actions dropdown
r20157 color: @brand-success;
}
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
Jonathan Frederic
Add selector button to dashboard
r20313 #project_name {
display: inline-block;
Jonathan Frederic
Attempt to fix alignment problems
r20331 padding-left: @dashboard_lr_pad;
margin-left: -2px;
Jonathan Frederic
Add selector button to dashboard
r20313
> .breadcrumb {
padding: 0px;
margin-bottom: 0px;
background-color: transparent;
font-weight: bold;
}
}
#tree-selector {
Jonathan Frederic
Attempt to fix alignment problems
r20331 padding-right: 0px;
Mathieu
clean up CSS and firefox clicks...
r20360 }
Jonathan Frederic
Attempt to fix alignment problems
r20331
Mathieu
clean up CSS and firefox clicks...
r20360 #button-select-all {
min-width: 50px;
Mathieu
add disabling, align badges and improve look...
r20345 }
Jonathan Frederic
Attempt to fix alignment problems
r20331
Mathieu
add disabling, align badges and improve look...
r20345 #select-all {
margin-left: @dashboard_lr_pad;
Mathieu
clean up CSS and firefox clicks...
r20360 margin-right: 2px;
Mathieu
add disabling, align badges and improve look...
r20345 }
Mathieu
keep only basic changes...
r20396 .menu_icon {
margin-right: 2px;
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 {
Jonathan Frederic
Attempt to fix alignment problems
r20331 .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 {
Jonathan Frederic
Attempt to fix alignment problems
r20331 .icon(@fa-var-book);
position: relative;
top: -1px;
Paul Ivanov
more semantic icons
r16253 }
MinRK
teach tree view about non-notebook files
r17526
Mathieu
add running indication for notebook icon in dashboard
r20235 .running_notebook_icon:before {
.icon(@fa-var-book);
Jonathan Frederic
Attempt to fix alignment problems
r20331 position: relative;
top: -1px;
color: @brand-success;
Mathieu
add running indication for notebook icon in dashboard
r20235 }
MinRK
teach tree view about non-notebook files
r17526 .file_icon:before {
Jonathan Frederic
Attempt to fix alignment problems
r20331 .icon(@fa-var-file-o);
position: relative;
top: -2px;
MinRK
teach tree view about non-notebook files
r17526 }
Min RK
Add kernel-select dropdown to new notebook button...
r19260
Jonathan Frederic
Typo fix
r20014 #notebook_toolbar .pull-right {
Jonathan Frederic
Review comments
r20041 padding-top: 0px;
Jonathan Frederic
Move new button group over one pixel
r20045 margin-right: -1px;
Jonathan Frederic
Correct the padding of the new button group on the files page
r20012 }
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 }
Jonathan Frederic
Improved styling
r19994
#running {
.panel-group{
.panel {
Jonathan Frederic
Fix margins
r20009 margin-top: 3px;
margin-bottom: 1em;
Jonathan Frederic
Improved styling
r19994
.panel-heading {
Jonathan Frederic
Use less variable for header bg color
r20005 background-color: @page-backdrop-color;
Jonathan Frederic
Use less for heading padding
r19996 padding-top: @dashboard_tb_pad;
padding-bottom: @dashboard_tb_pad;
padding-left: @dashboard_lr_pad;
padding-right: @dashboard_lr_pad;
Jonathan Frederic
Fix heading height
r19997 line-height: @btn_mini_height;
Jonathan Frederic
Remove underline header collapse links
r20001
a:focus, a:hover {
text-decoration: none;
}
Jonathan Frederic
Improved styling
r19994 }
.panel-body {
padding: 0px;
.list_container {
margin-top: 0px;
margin-bottom: 0px;
border: 0px;
border-radius: 0px;
.list_item {
Jonathan Frederic
Use bootstrap variable for table color
r20007 border-bottom: 1px solid @table-border-color;
Jonathan Frederic
Decrease 2px bottom border to 1px
r19998
&:last-child {
border-bottom: 0px;
}
Jonathan Frederic
Improved styling
r19994 }
}
}
}
}
}
Jonathan Frederic
Use checkbox layout instead of actions dropdown
r20157
.delete-button {
display: none;
}
.duplicate-button {
display: none;
}
.rename-button {
display: none;
}
.shutdown-button {
display: none;
}