fix celltoolbar css

This commit is contained in:
Matthias BUSSONNIER 2013-01-30 14:43:08 +01:00
parent 0d68be801d
commit 45e4e0809a
3 changed files with 35 additions and 12 deletions

View File

@ -5,11 +5,20 @@
border: thin solid #CFCFCF;
margin-left: 0px;
border-bottom: none;
margin:0;
padding:0;
background : #EEE;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
.celltoolbar div{
line-height: 0;
margin:0;
padding:0;
}
.no_input_radius {
border-top-right-radius: 0px;
border-top-left-radius: 0px;
@ -27,6 +36,13 @@
display: none;
}
.ctb_area {
margin:0;
padding:0;
}
/*ctb_show is added to either body or the ctb_hideshow div to show
all or one cell's toolbars.
*/
@ -67,10 +83,11 @@ all or one cell's toolbars.
.celltoolbar label{
display:inline;
line-height:13px;
}
.celltoolbar label span {
font-size: 87%;
font-size: 85%;
}
.celltoolbar input[type=checkbox] {

View File

@ -86,17 +86,23 @@ span#notebook_name {
.toolbar {
padding: 3px 15px;
border-bottom: @borderwidth @border_color solid;
}
.toolbar select, .toolbar label {
height : 19px;
vertical-align: top;
margin-right:2px;
margin-bottom:0;
display: inline;
font-size: 92%;
margin-left:0.3em;
margin-right:0.3em;
button {
margin-top:2px;
margin-bottom:2px;
}
select, label {
height : 19px;
vertical-align:middle;
margin-right:2px;
margin-bottom:0;
display: inline;
font-size: 92%;
margin-left:0.3em;
margin-right:0.3em;
}
}
.toolbar select{

View File

@ -1,4 +1,4 @@
@corner_radius: 3px;
@corner_radius: 4px;
@notebook_background : white;
@cell_selected_background: darken(@notebook_background, 2%);
@cell_background: darken(@notebook_background, 3.2%);