notebook.less
82 lines
| 1.5 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 | |||
Matthias BUSSONNIER
|
r9290 | body.notebook_app { | ||
overflow: hidden; | ||||
} | ||||
Brian Granger
|
r4311 | |||
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 Granger
|
r5859 | span#notebook_name { | ||
height: 1em; | ||||
line-height: 1em; | ||||
padding: 3px; | ||||
border: none; | ||||
font-size: 146.5%; | ||||
} | ||||
Brian E. Granger
|
r4360 | div#notebook_panel { | ||
Brian E. Granger
|
r4363 | margin: 0px 0px 0px 0px; | ||
Brian E. Granger
|
r4360 | padding: 0px; | ||
Jonathan Frederic
|
r16972 | .box-shadow(@notebook-shadow); | ||
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; | ||||
Brian E. Granger
|
r4355 | overflow-y: scroll; | ||
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
|
r16945 | padding: 1em 0 1em 0; | ||
MinRK
|
r7362 | margin: 0px; | ||
Jonathan Frederic
|
r16937 | border-top: 1px solid @navbar-default-border; | ||
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 | } | ||