##// 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:

r16970:5020129d
r17420:69911d59
Show More
celltoolbar.less
49 lines | 956 B | text/x-less | LessCssLexer
MinRK
tweak global hide/show...
r13667 /* CSS for the cell toolbar */
Jonathan Frederic
Review comments
r16957 @celltoolbar-height: 29px;
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142
.celltoolbar {
Matthias BUSSONNIER
some css fixes
r9377 border: thin solid #CFCFCF;
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 border-bottom: none;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 background : #EEE;
MinRK
tweak global hide/show...
r13667 border-radius : 3px 3px 0px 0px;
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 width:100%;
-webkit-box-pack: end;
Jonathan Frederic
Review comments
r16957 height: @celltoolbar-height;
jon
Fix cell toolbar
r16935 padding-right: 4px;
Matthias BUSSONNIER
remove more hard coded layout
r13332 .hbox();
.reverse();
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }
Brian Granger
Further cleanup for celltoolbars.
r9144 .ctb_hideshow {
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 display:none;
vertical-align:bottom;
}
MinRK
tweak global hide/show...
r13667 /* ctb_show is added to the ctb_hideshow div to show the cell toolbar.
Cell toolbars are only shown when the ctb_global_show class is also set.
Brian Granger
Minor tweaks to the css to enable single cell hide/show.
r9145 */
MinRK
tweak global hide/show...
r13667 .ctb_global_show .ctb_show.ctb_hideshow {
display: block;
Matthias BUSSONNIER
gshow
r9143 }
MinRK
tweak global hide/show...
r13667 .ctb_global_show .ctb_show + .input_area,
.ctb_global_show .ctb_show + div.text_cell_input
{
Matthias BUSSONNIER
gshow
r9143 border-top-right-radius: 0px;
border-top-left-radius: 0px;
}
Jonathan Frederic
Review comments
r16957 .celltoolbar {
Matthias BUSSONNIER
some css fixes
r9377 font-size: 87%;
Jonathan Frederic
Review comments
r16957 padding-top: 3px;
Matthias BUSSONNIER
fix a few css rules...
r9285 }
Matthias BUSSONNIER
some css fixes
r9377
Jonathan Frederic
Fixed cell toolbar select font size
r16959 .celltoolbar select {
font-size: 87%;
Jonathan Frederic
Review #2
r16970 height: 22px;
Jonathan Frederic
Fixed cell toolbar select font size
r16959 }
Jonathan Frederic
Review comments
r16957 .celltoolbar label {
margin-left: 5px;
margin-right: 5px;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }