##// END OF EJS Templates
Reverse hscrollbar min-height hack on OS X...
Reverse hscrollbar min-height hack on OS X OS X has optional behavior to only draw scrollbars during scroll, which causes problems for CodeMirror's scrollbars. CodeMirror's solution is to set a minimum size for their scrollbars, which is always present. The trade is that the container overlays most of the last line, swallowing click events when there is scrolling to do, even when no scrollbar is visible. This reverses the trade, recovering the click events at the expense of never showing the horizontal scrollbar on OS X when this option is enabled.

File last commit:

r20124:e554eb6a
r20298:2907e856
Show More
textcell.less
63 lines | 1.2 KiB | text/x-less | LessCssLexer
Brian E. Granger
Splitting notebook.less into separate files.
r10730 div.text_cell {
Brian E. Granger
Adding prompt area to non-CodeCells to indent content....
r13776 .hbox();
Brian E. Granger
Splitting notebook.less into separate files.
r10730 }
Matthias Bussonnier
rework css media-query...
r19953 @media (max-width: @screen-xs-min) {
MinRK
move prompts from margin to main column on small screens...
r15966 // remove prompt indentation on small screens
div.text_cell > div.prompt {
display: none;
}
}
Brian E. Granger
Splitting notebook.less into separate files.
r10730
div.text_cell_render {
/*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/
outline: none;
resize: none;
width: inherit;
border-style: none;
Brian E. Granger
Using @code_padding variable.
r14875 padding: 0.5em 0.5em 0.5em @code_padding;
Jonathan Frederic
Get notebook running with Bootstrap3
r16912 color: @text-color;
Matthias BUSSONNIER
move styling from js to css
r17426 .border-box-sizing();
Brian E. Granger
Splitting notebook.less into separate files.
r10730 }
MinRK
move anchor-link off of heading text...
r10751 a.anchor-link:link {
text-decoration: none;
padding: 0px 20px;
MinRK
toggle heading-link visibility with CSS alone
r10819 visibility: hidden;
MinRK
move anchor-link off of heading text...
r10751 }
MinRK
toggle heading-link visibility with CSS alone
r10819
Matthias BUSSONNIER
restore anchore on h2-h6 links
r10845 h1,h2,h3,h4,h5,h6 {
&:hover .anchor-link {
visibility: visible;
}
}
Brian E. Granger
Adding prompt area to non-CodeCells to indent content....
r13776
Matthias BUSSONNIER
Move md-cell display logic to css
r17783 .text_cell.rendered .input_area {
display: none;
}
.text_cell.unrendered .text_cell_render {
display:none;
}
MinRK
make markdown heading input match output size
r18595 .cm-header-1,
.cm-header-2,
.cm-header-3,
.cm-header-4,
.cm-header-5,
.cm-header-6 {
Paul Ivanov
match font family when editing heading cells
r17476 font-weight: bold;
font-family: @font-family-sans-serif;
}
Paul Ivanov
proportional font-size when editing heading cells...
r17467
MinRK
make markdown heading input match output size
r18595 .cm-header-1 { font-size: 185.7%; }
.cm-header-2 { font-size: 157.1%; }
.cm-header-3 { font-size: 128.6%; }
.cm-header-4 { font-size: 110%; }
.cm-header-5 {
font-size: 100%;
Paul Ivanov
fix more style consistencies
r17477 font-style: italic;
}
MinRK
make markdown heading input match output size
r18595 .cm-header-6 {
font-size: 100%;
Paul Ivanov
fix more style consistencies
r17477 font-style: italic;
}