notebook.less
84 lines
| 1.6 KiB
| text/x-less
|
LessCssLexer
Matthias Bussonnier
|
r19953 | @media (max-width: @screen-xs-max) { | ||
MinRK
|
r15966 | // remove bootstrap-responsive's body padding on small screens | ||
Matthias Bussonnier
|
r19872 | .notebook_app { | ||
MinRK
|
r15966 | padding-left: 0px; | ||
padding-right: 0px; | ||||
} | ||||
} | ||||
Matthias BUSSONNIER
|
r17423 | #ipython-main-app { | ||
.border-box-sizing(); | ||||
} | ||||
Brian E. Granger
|
r4360 | div#notebook_panel { | ||
Jonathan Frederic
|
r19655 | margin: 0px; | ||
Brian E. Granger
|
r4360 | padding: 0px; | ||
Matthias BUSSONNIER
|
r17424 | .border-box-sizing(); | ||
Brian E. Granger
|
r4355 | } | ||
Matthias Bussonnier
|
r19872 | |||
#notebook { | ||||
Brian E. Granger
|
r15733 | font-size: @notebook_font_size; | ||
line-height: @notebook_line_height; | ||||
Jonathan Frederic
|
r19179 | overflow-y: hidden; | ||
Brian E. Granger
|
r4355 | overflow-x: auto; | ||
Brian E. Granger
|
r4360 | width: 100%; | ||
Jonathan Frederic
|
r19655 | /* This spaces the page away from the edge of the notebook area */ | ||
padding-top: @page-header-padding; | ||||
MinRK
|
r7362 | margin: 0px; | ||
Brian E. Granger
|
r14018 | outline: none; | ||
Brian E. Granger
|
r14019 | .border-box-sizing(); | ||
Matthias Bussonnier
|
r19651 | } | ||
#notebook-container{ | ||||
Bussonnier Matthias
|
r19652 | @media not print{ | ||
Jonathan Frederic
|
r19660 | padding: @page-padding; | ||
background-color : @page-color; | ||||
min-height: @page-min-height; | ||||
Jonathan Frederic
|
r19655 | .box-shadow(@global-shadow); | ||
Bussonnier Matthias
|
r19652 | } | ||
Brian Granger
|
r4331 | } | ||
Brian Granger
|
r4311 | |||
mcelrath
|
r7300 | div.ui-widget-content { | ||
Matthias BUSSONNIER
|
r9260 | border: 1px solid @border_color; | ||
mcelrath
|
r7300 | outline: none; | ||
} | ||||
MinRK
|
r5547 | pre.dialog { | ||
Matthias BUSSONNIER
|
r9260 | background-color: @cell_background; | ||
MinRK
|
r5547 | border: 1px solid #ddd; | ||
Matthias BUSSONNIER
|
r9261 | .corner-all; | ||
MinRK
|
r5547 | padding: 0.4em; | ||
padding-left: 2em; | ||||
} | ||||
Brian Granger
|
r5857 | p.dialog { | ||
MinRK
|
r5547 | padding : 0.2em; | ||
} | ||||
Fernando Perez
|
r5256 | /* Word-wrap output correctly. This is the CSS3 spelling, though Firefox seems | ||
to not honor it correctly. Webkit browsers (Chrome, rekonq, Safari) do. | ||||
*/ | ||||
pre, code, kbd, samp { white-space: pre-wrap; } | ||||
mcelrath
|
r7394 | |||
#fonttest { | ||||
Jonathan Frederic
|
r16912 | font-family: @font-family-monospace; | ||
mcelrath
|
r7394 | } | ||
MinRK
|
r8052 | |||
Matthias BUSSONNIER
|
r9369 | p { | ||
Brian E. Granger
|
r13696 | margin-bottom:0; | ||
Matthias BUSSONNIER
|
r9369 | } | ||
MinRK
|
r10005 | |||
MinRK
|
r10938 | .end_space { | ||
Matthias Bussonnier
|
r19872 | min-height: 100px; | ||
Matthias Bussonnier
|
r19944 | transition: height .2s ease; | ||
MinRK
|
r10938 | } | ||
Jonathan Frederic
|
r19179 | |||
.notebook_app #header { | ||||
Jonathan Frederic
|
r19655 | .box-shadow(@global-shadow); | ||
Jonathan Frederic
|
r19179 | } | ||
Matthias Bussonnier
|
r19872 | |||
.notebook_app{ | ||||
@media not print { | ||||
background-color: @page-backdrop-color; | ||||
} | ||||
} | ||||