notebook.less
93 lines
| 1.8 KiB
| text/x-less
|
LessCssLexer
|
r9367 | |||
|
r4292 | body { | ||
|
r16912 | background-color: @body-bg; | ||
|
r4311 | } | ||
|
r13778 | |||
|
r15966 | @media (max-width: 767px) { | ||
// remove bootstrap-responsive's body padding on small screens | ||||
body.notebook_app { | ||||
padding-left: 0px; | ||||
padding-right: 0px; | ||||
} | ||||
} | ||||
|
r17423 | #ipython-main-app { | ||
.border-box-sizing(); | ||||
} | ||||
|
r5859 | span#notebook_name { | ||
height: 1em; | ||||
line-height: 1em; | ||||
padding: 3px; | ||||
border: none; | ||||
font-size: 146.5%; | ||||
|
r17759 | &:hover{ | ||
// ensure body is lighter on dark palette, | ||||
// and vice versa | ||||
background-color:contrast(@body-bg, lighten(@body-bg,30%), darken(@body-bg,10%)); | ||||
} | ||||
.corner-all; | ||||
|
r5859 | } | ||
|
r4360 | div#notebook_panel { | ||
|
r4363 | margin: 0px 0px 0px 0px; | ||
|
r4360 | padding: 0px; | ||
|
r17424 | .border-box-sizing(); | ||
|
r4355 | } | ||
div#notebook { | ||||
|
r15733 | font-size: @notebook_font_size; | ||
line-height: @notebook_line_height; | ||||
|
r19179 | overflow-y: hidden; | ||
|
r4355 | overflow-x: auto; | ||
|
r4360 | width: 100%; | ||
|
r4525 | /* This spaces the cell away from the edge of the notebook area */ | ||
|
r19179 | padding: 2em 0 2em 0; | ||
|
r7362 | margin: 0px; | ||
|
r14018 | outline: none; | ||
|
r14019 | .border-box-sizing(); | ||
|
r4331 | } | ||
|
r4311 | |||
|
r7300 | div.ui-widget-content { | ||
|
r9260 | border: 1px solid @border_color; | ||
|
r7300 | outline: none; | ||
} | ||||
|
r5547 | pre.dialog { | ||
|
r9260 | background-color: @cell_background; | ||
|
r5547 | border: 1px solid #ddd; | ||
|
r9261 | .corner-all; | ||
|
r5547 | padding: 0.4em; | ||
padding-left: 2em; | ||||
} | ||||
|
r5857 | p.dialog { | ||
|
r5547 | padding : 0.2em; | ||
} | ||||
|
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; } | ||||
|
r7394 | |||
#fonttest { | ||||
|
r16912 | font-family: @font-family-monospace; | ||
|
r7394 | } | ||
|
r8052 | |||
|
r9369 | p { | ||
|
r13696 | margin-bottom:0; | ||
|
r9369 | } | ||
|
r10005 | |||
|
r10938 | .end_space { | ||
|
r13778 | height: 200px; | ||
|
r10938 | } | ||
|
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); | ||||
} | ||||