##// END OF EJS Templates
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el...
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el This seems to make it easiest to select the top-level element. An alternative is to use special syntax for top-level elements, like in https://github.com/ipython/ipython/pull/6185 This will be followed up by other fixes that let the user set specific common properties of different elements. This change also adds the .addBack() call, which means that nonempty selectors now apply to this.$el and its descendants, rather than just the descendants of this.$el.

File last commit:

r16972:70452358
r17420:69911d59
Show More
notebook.less
77 lines | 1.4 KiB | text/x-less | LessCssLexer
Matthias BUSSONNIER
fix tooltip
r9367
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 body {
Jonathan Frederic
Get notebook running with Bootstrap3
r16912 background-color: @body-bg;
Brian Granger
Fixes to notebook scrolling and layout....
r4311 }
Brian E. Granger
Cleaning up indentation and spacing of less files touched.
r13778
Matthias BUSSONNIER
fix body overflow on dashboard
r9290 body.notebook_app {
overflow: hidden;
}
Brian Granger
Fixes to notebook scrolling and layout....
r4311
MinRK
move prompts from margin to main column on small screens...
r15966 @media (max-width: 767px) {
// remove bootstrap-responsive's body padding on small screens
body.notebook_app {
padding-left: 0px;
padding-right: 0px;
}
}
Brian Granger
Improved notebook renaming....
r5859 span#notebook_name {
height: 1em;
line-height: 1em;
padding: 3px;
border: none;
font-size: 146.5%;
}
Brian E. Granger
More work updating the notebook to use dynamics resizing.
r4360 div#notebook_panel {
Brian E. Granger
Left panel is now working.
r4363 margin: 0px 0px 0px 0px;
Brian E. Granger
More work updating the notebook to use dynamics resizing.
r4360 padding: 0px;
Jonathan Frederic
Bootstrap Tour related fixes
r16972 .box-shadow(@notebook-shadow);
Brian E. Granger
Starting to refactor the notebook layout
r4355 }
div#notebook {
Brian E. Granger
Lots of CSS tweaks to get nbconvert output looking right.
r15733 font-size: @notebook_font_size;
line-height: @notebook_line_height;
Brian E. Granger
Starting to refactor the notebook layout
r4355 overflow-y: scroll;
overflow-x: auto;
Brian E. Granger
More work updating the notebook to use dynamics resizing.
r4360 width: 100%;
Brian E. Granger
Reducing/adjusting the padding of cells to make the notebook more...
r4525 /* This spaces the cell away from the edge of the notebook area */
Jonathan Frederic
Revert 2em notebook header space
r16945 padding: 1em 0 1em 0;
MinRK
third attempt at scrolled long output...
r7362 margin: 0px;
Jonathan Frederic
Lots of small alignment tweaks to get Bootstrap3 looking better
r16937 border-top: 1px solid @navbar-default-border;
Brian E. Granger
Binding to notebook div not document.
r14018 outline: none;
Brian E. Granger
Removing manual focusing of notebook div.
r14019 .border-box-sizing();
Brian Granger
General CSS cleanup....
r4331 }
Brian Granger
Fixes to notebook scrolling and layout....
r4311
mcelrath
Fix 1px jumping of cells and menus in Notebook.
r7300 div.ui-widget-content {
Matthias BUSSONNIER
start to migrate to variables
r9260 border: 1px solid @border_color;
mcelrath
Fix 1px jumping of cells and menus in Notebook.
r7300 outline: none;
}
MinRK
allow the notebook to run without MathJax...
r5547 pre.dialog {
Matthias BUSSONNIER
start to migrate to variables
r9260 background-color: @cell_background;
MinRK
allow the notebook to run without MathJax...
r5547 border: 1px solid #ddd;
Matthias BUSSONNIER
start mixins
r9261 .corner-all;
MinRK
allow the notebook to run without MathJax...
r5547 padding: 0.4em;
padding-left: 2em;
}
Brian Granger
Implemented menu based UI using Wijmo.
r5857 p.dialog {
MinRK
allow the notebook to run without MathJax...
r5547 padding : 0.2em;
}
Fernando Perez
Word-wrap output correctly in the notebook; prevents excessive scrolling....
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
Add bad font detection, and a dialog informing the user.
r7394
#fonttest {
Jonathan Frederic
Get notebook running with Bootstrap3
r16912 font-family: @font-family-monospace;
mcelrath
Add bad font detection, and a dialog informing the user.
r7394 }
MinRK
catch js errors when rendering markdown cells
r8052
Matthias BUSSONNIER
fix alignemtn
r9369 p {
Brian E. Granger
More tabs to spaces on less files.
r13696 margin-bottom:0;
Matthias BUSSONNIER
fix alignemtn
r9369 }
MinRK
add anchor and link to heading cells
r10005
MinRK
specify end-space height in less
r10938 .end_space {
Brian E. Granger
Cleaning up indentation and spacing of less files touched.
r13778 height: 200px;
MinRK
specify end-space height in less
r10938 }