##// END OF EJS Templates
Use once instead of on
Use once instead of on

File last commit:

r19298:d8390523
r19371:bc55f7fa
Show More
page.less
124 lines | 2.1 KiB | text/x-less | LessCssLexer
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 /**
* Primary styles
*
* Author: IPython Development Team
*/
body {
background-color: white;
/* 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 }
div#header {
/* Initially hidden to prevent FLOUC */
display: none;
Jonathan Frederic
Kill the layout manager
r19179 background-color: @body-bg;
/* Display over codemirror */
z-index: 100;
#header-container {
padding-left: 30px;
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%;
height: 0px;
border-bottom: 1px solid @navbar-default-border;
}
}
#header-spacer {
width: 100%;
visibility: hidden;
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;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
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 {
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
Min RK
remove some custom css...
r19298 height: @logo_height;
text-decoration: none;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 color: black;
}
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();
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
@media (min-width: 768px) {
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;
}