##// END OF EJS Templates
Merge pull request #8043 from takluyver/magic-inspect-src...
Merge pull request #8043 from takluyver/magic-inspect-src Allow inspection of source code for magics

File last commit:

r20251:c710e81a
r20701:263b743e merge
Show More
page.less
147 lines | 2.5 KiB | text/x-less | LessCssLexer
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 /**
* Primary styles
*
* Author: IPython Development Team
*/
body {
Jonathan Frederic
Improve edit app
r19660 background-color: @body-bg;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 /* This makes sure that the body covers the entire window and needs to
be in a different element than the display: box in wrapper below */
position: absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
Brian Granger
Refactoring templates and top level js/css organization.
r6192 overflow: visible;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Matthias Bussonnier
rework css media-query...
r19953 #header {
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 /* Initially hidden to prevent FLOUC */
display: none;
Jonathan Frederic
Kill the layout manager
r19179 background-color: @body-bg;
/* Display over codemirror */
Min RK
apply `position: relative` to header...
r20176 position: relative;
Jonathan Frederic
Kill the layout manager
r19179 z-index: 100;
#header-container {
padding-bottom: 5px;
Min RK
remove some custom css...
r19298 padding-top: 5px;
Jonathan Frederic
Kill the layout manager
r19179 .border-box-sizing();
}
.header-bar {
width: 100%;
Min RK
hide header-bar when header is hidden...
r19902 height: 1px;
background: @navbar-default-border;
Jonathan Frederic
Review comments
r20041 margin-bottom: -1px;
Jonathan Frederic
Kill the layout manager
r19179 }
Jonathan Frederic
Move header styles into base less
r19415
@media print {
display: none !important;
}
Jonathan Frederic
Kill the layout manager
r19179 }
#header-spacer {
width: 100%;
visibility: hidden;
Jonathan Frederic
Move header styles into base less
r19415
@media print {
display: none;
}
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
MinRK
tweak header styling...
r10906 #ipython_notebook {
Jonathan Frederic
Lots of small alignment tweaks to get Bootstrap3 looking better
r16937 padding-left: 0px;
Min RK
remove some custom css...
r19298 padding-top: (@navbar-height - @logo_height) / 2;
padding-bottom: (@navbar-height - @logo_height) / 2;
Matthias Bussonnier
rework css media-query...
r19953 @media (max-width: @screen-sm-max){
margin-left: 10px;
}
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Matthias Bussonnier
rework css media-query...
r19953
Paul Ivanov
use less.css for the style of the noscript message
r10988 #noscript {
width: auto;
padding-top: 16px;
padding-bottom: 16px;
text-align: center;
font-size: 22px;
color: red;
font-weight: bold;
}
MinRK
tweak header styling...
r10906 #ipython_notebook img {
Min RK
remove some custom css...
r19298 height: @logo_height;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Brian Granger
Refactoring templates and top level js/css organization.
r6192 #site {
Brian Granger
Major refactoring of notebook....
r6193 width: 100%;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 display: none;
Matthias BUSSONNIER
movestyling from js to css + deprecation warnign
r17428 .border-box-sizing();
Min RK
don't use fixed header...
r20050 overflow: auto;
Min RK
set height: auto on #site for print...
r20202 @media print {
// force auto-height on print (overrides manual resizing in live view)
height: auto !important;
}
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Brian Granger
More minor theme/styling changes.
r5871 /* Smaller buttons */
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 .ui-button .ui-button-text {
padding: 0.2em 0.8em;
font-size: 77%;
}
MinRK
add read-only view for notebooks...
r5200
Brian Granger
Refactoring templates and top level js/css organization.
r6192 input.ui-button {
padding: 0.3em 0.9em;
}
MinRK
add read-only view for notebooks...
r5200 span#login_widget {
float: right;
}
MinRK
disabile bootstrap's capitalized nav-header
r10905
Matthias BUSSONNIER
fix loginwidget css
r17554 span#login_widget > .button,
#logout
{
Matthias BUSSONNIER
move login widget style to css
r17438 .btn-default();
}
MinRK
disabile bootstrap's capitalized nav-header
r10905 .nav-header {
text-transform: none;
MinRK
tweak header styling...
r10906 }
#header > span {
margin-top: 10px;
MinRK
tweak quick-help...
r10939 }
MinRK
add modal_stretch class...
r16022 // class for stretching dialogs to fill the screen
jon
Fixed IPython dialog
r16933 .modal_stretch .modal-dialog {
MinRK
add modal_stretch class...
r16022 .vbox();
jon
Fixed IPython dialog
r16933 min-height: 80%;
MinRK
add modal_stretch class...
r16022 .modal-body {
max-height: none;
flex: 1;
}
MinRK
tweak quick-help...
r10939 }
MinRK
widen modal dialogs on wide displays...
r15900
Matthias Bussonnier
rework css media-query...
r19953 @media (min-width: @screen-sm-min) {
jon
Fixed IPython dialog
r16933 .modal .modal-dialog {
MinRK
add modal_stretch class...
r16022 width: 700px;
}
MinRK
widen modal dialogs on wide displays...
r15900 }
MinRK
add modal_stretch class...
r16022
Matthias BUSSONNIER
fix some font-awesoem 4 icons
r17414 // less mixin to be sure to add the right class to get icons with font awesome.
.icon(@ico){
.fa();
content: @ico;
}
Min RK
add some horizontal margin on select dropdown...
r20200
@media (min-width: @screen-sm-min) {
select.form-control {
margin-left: @padding-base-horizontal;
margin-right: @padding-base-horizontal;
}
}