notebook.less
79 lines
| 1.4 KiB
| text/x-less
|
LessCssLexer
Matthias BUSSONNIER
|
r9367 | |||
Brian Granger
|
r4292 | body { | ||
Jonathan Frederic
|
r16912 | background-color: @body-bg; | ||
Brian Granger
|
r4311 | } | ||
Brian E. Granger
|
r13778 | |||
MinRK
|
r15966 | @media (max-width: 767px) { | ||
// remove bootstrap-responsive's body padding on small screens | ||||
body.notebook_app { | ||||
padding-left: 0px; | ||||
padding-right: 0px; | ||||
} | ||||
} | ||||
Matthias BUSSONNIER
|
r17423 | #ipython-main-app { | ||
.border-box-sizing(); | ||||
} | ||||
Brian E. Granger
|
r4360 | div#notebook_panel { | ||
Brian E. Granger
|
r4363 | margin: 0px 0px 0px 0px; | ||
Brian E. Granger
|
r4360 | padding: 0px; | ||
Matthias BUSSONNIER
|
r17424 | .border-box-sizing(); | ||
Brian E. Granger
|
r4355 | } | ||
div#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%; | ||
Brian E. Granger
|
r4525 | /* This spaces the cell away from the edge of the notebook area */ | ||
Jonathan Frederic
|
r19179 | padding: 2em 0 2em 0; | ||
MinRK
|
r7362 | margin: 0px; | ||
Brian E. Granger
|
r14018 | outline: none; | ||
Brian E. Granger
|
r14019 | .border-box-sizing(); | ||
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 { | ||
Brian E. Granger
|
r13778 | height: 200px; | ||
MinRK
|
r10938 | } | ||
Jonathan Frederic
|
r19179 | |||
.lower-header-bar { | ||||
width: 100%; | ||||
height: 0px; | ||||
border-bottom: 1px solid @navbar-default-border; | ||||
margin-bottom: -1px; | ||||
} | ||||
.notebook_app #header { | ||||
.box-shadow(@notebook-shadow); | ||||
} | ||||