##// END OF EJS Templates
Merge pull request #3450 from ipython/flatten...
Merge pull request #3450 from ipython/flatten Flatten IPython.frontend, moving all its components to the top-level of IPython. This includes a shim module that allows older projects to maintain backwards compatibility while warning them loudly about the change, so they can adapt to the new API.

File last commit:

r11033:fa36e98f
r11042:0c0c1a16 merge
Show More
celltoolbar.less
109 lines | 1.7 KiB | text/x-less | LessCssLexer
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 {
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;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 width:100%;
-webkit-box-pack: end;
MinRK
fix cell toolbar
r10935 height:22px;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }
Matthias BUSSONNIER
fix celltoolbar css
r9378
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
fix celltoolbar layout on FF
r9422 display:none;
vertical-align:bottom;
padding-right: 2px;
}
.celltoolbar > div {
padding-top: 0px;
Matthias BUSSONNIER
gshow
r9143 }
Matthias BUSSONNIER
fix celltoolbar css
r9378 .ctb_area {
margin:0;
padding:0;
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 width:100%;
Matthias BUSSONNIER
fix celltoolbar css
r9378
}
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
fix celltoolbar layout on FF
r9422 display:block;
Matthias BUSSONNIER
gshow
r9143 }
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 .ctb_show .input_area,
Brian Granger
Further cleanup for celltoolbars.
r9144 .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 {
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 margin-top:0;
margin-bottom:0;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }
Matthias BUSSONNIER
fix button css
r9461 .ui-button {
min-width:30px;
}
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 .celltoolbar .button_container select {
margin: 10px;
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 margin-top: 1px;
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 margin-bottom: 0px;
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 padding:0;
Matthias BUSSONNIER
some css fixes
r9377 font-size: 87%;
width:auto;
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 display:inline-block;
height:18px;
line-height:18px;
vertical-align:top;
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 }
Matthias BUSSONNIER
fix a few css rules...
r9285 .celltoolbar label{
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 display:inline-block;
height:15px;
line-height:15px;
vertical-align:top;
Matthias BUSSONNIER
fix a few css rules...
r9285 }
Matthias BUSSONNIER
some css fixes
r9377
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 .celltoolbar label span {
Matthias BUSSONNIER
fix celltoolbar css
r9378 font-size: 85%;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }
Matthias BUSSONNIER
rename metaui -> celltoolbar
r9064 .celltoolbar input[type=checkbox] {
Matthias BUSSONNIER
fix a few css rules...
r9285 margin: 0px;
margin-left: 4px;
margin-right: 4px;
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 }
Matthias BUSSONNIER
Add a per cell toolbar....
r9055
Matthias BUSSONNIER
fix a few css rules...
r9285
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 .celltoolbar .ui-button {
Brian E. Granger
Fixing styling issues with CellToolbar....
r9142 border: none;
Matthias BUSSONNIER
fix celltoolbar layout on FF
r9422 vertical-align:top;
height:20px;
Matthias BUSSONNIER
Add a per cell toolbar....
r9055 }