##// 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
/* Css for the metadata edit area */
.celltoolbar {
border: thin solid #DDD;
margin-left: 0px;
border-bottom: none;
background : #EEE;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
.no_input_radius {
border-top-right-radius: 0px;
border-top-left-radius: 0px;
}
.text_cell .ctb_prompt {
display: none;
}
.code_cell .ctb_prompt {
display: block;
}
.ctb_hideshow {
display: none;
}
/*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 {
display: block;
}
.ctb_show .ctb_hideshow + div > div.input_area,
.ctb_show .ctb_hideshow + div.text_cell_input {
border-top-right-radius: 0px;
border-top-left-radius: 0px;
}
.ctb_show > .celltoolbar {
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
}
.button_container {
float: right;
}
.button_container .ui-state-default, .button_container .ui-state-hover, .button_container .ui-state-hover span{
border-radius : 0 0 0 0;
border : none;
}
.celltoolbar .button_container select {
margin: 10px;
margin-top: 0px;
margin-bottom: 0px;
font-size: 77%;
}
.celltoolbar label span {
font-size: 77%;
}
.celltoolbar input[type=checkbox] {
margin-bottom: 1px;
}
.celltoolbar ui-button {
border: none;
}