##// END OF EJS Templates
Decoupling the celltoolbar select UI from CellToolbar....
Decoupling the celltoolbar select UI from CellToolbar. The select menu for celltoolbar presets should live entirely in the maintoolbar code - it was 1/2 in CellToolbar itself. This fixes this issue using events and an additional method on CellToolbar (list_presets).

File last commit:

r9145:3bf981a5
r9146:10bda596
Show More
celltoolbar.css
75 lines | 1.3 KiB | text/css | CssLexer
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 /* Css for the metadata edit area */
Matthias BUSSONNIER
Add a per cell toolbar....
r9055
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142
.celltoolbar {
border: thin solid #DDD;
margin-left: 0px;
border-bottom: none;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 background : #EEE;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 .no_input_radius {
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 border-top-right-radius: 0px;
border-top-left-radius: 0px;
}
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 .text_cell .ctb_prompt {
display: none;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 .code_cell .ctb_prompt {
display: block;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }
Brian Granger
Further cleanup for celltoolbars.
r9144 .ctb_hideshow {
Matthias BUSSONNIER
gshow
r9143 display: none;
}
Brian Granger
Minor tweaks to the css to enable single cell hide/show.
r9145 /*ctb_show is added to either body or the ctb_hideshow div to show
all or one cell's toolbars.
*/
.ctb_show.ctb_hideshow, .ctb_show .ctb_hideshow {
Matthias BUSSONNIER
gshow
r9143 display: block;
}
Brian Granger
Further cleanup for celltoolbars.
r9144 .ctb_show .ctb_hideshow + div > div.input_area,
.ctb_show .ctb_hideshow + div.text_cell_input {
Matthias BUSSONNIER
gshow
r9143 border-top-right-radius: 0px;
border-top-left-radius: 0px;
}
Brian Granger
Further cleanup for celltoolbars.
r9144 .ctb_show > .celltoolbar {
Matthias BUSSONNIER
gshow
r9143 border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
}
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 .button_container {
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 float: right;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }
.button_container .ui-state-default, .button_container .ui-state-hover, .button_container .ui-state-hover span{
border-radius : 0 0 0 0;
border : none;
}
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 .celltoolbar .button_container select {
margin: 10px;
margin-top: 0px;
margin-bottom: 0px;
font-size: 77%;
}
.celltoolbar label span {
font-size: 77%;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }
Matthias BUSSONNIER
rename metaui -> celltoolbar
r9064 .celltoolbar input[type=checkbox] {
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 margin-bottom: 1px;
}
Matthias BUSSONNIER
Add a per cell toolbar....
r9055
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 .celltoolbar ui-button {
border: none;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }