##// END OF EJS Templates
Parse Date with moment.js or Because Date(str) return Now()...
Parse Date with moment.js or Because Date(str) return Now() Also so relative date in confirmation dialog because It's easier to parse mentally. Closes #7535

File last commit:

r19953:21dc9b62
r20211:83781895
Show More
codecell.less
48 lines | 1.2 KiB | text/x-less | LessCssLexer
Jonathan Frederic
Avoid using important
r19413 div.code_cell {
/* avoid page breaking on code cells when printing */
@media print {
Jonathan Frederic
Add LESS that enables meta-p printing
r19393 page-break-inside: avoid;
}
Brian E. Granger
Splitting notebook.less into separate files.
r10730 }
/* any special styling for code cells that are currently running goes here */
div.code_cell.running {
}
div.input {
page-break-inside: avoid;
.hbox();
}
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 // move prompts above code on small screens
div.input {
.vbox();
}
}
Brian E. Granger
Splitting notebook.less into separate files.
r10730 /* input_area and input_prompt must match in top border and margin for alignment */
div.input_prompt {
Jason Grout
abstract hard-coded style values to be variables for different theming
r17292 color: @input_prompt_color;
Brian E. Granger
Splitting notebook.less into separate files.
r10730 border-top: 1px solid transparent;
}
Brian E. Granger
Lots of CSS tweaks to get nbconvert output looking right.
r15733 // The styles related to div.highlight are for nbconvert HTML output only. This works
// because the .highlight div isn't present in the live notebook. We could put this into
// nbconvert, but it easily falls out of sync, can't use our less variables and doesn't
// help the basic template when paired with our CSS.
div.input_area > div.highlight {
margin: @code_padding;
border: none;
padding: 0px;
background-color: transparent;
}
div.input_area > div.highlight > pre {
margin: 0px;
MinRK
cleanup some `pre` css inheritance...
r16205 border: none;
Brian E. Granger
Lots of CSS tweaks to get nbconvert output looking right.
r15733 padding: 0px;
background-color: transparent;
}