mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
fix celltoolbar css
This commit is contained in:
parent
0d68be801d
commit
45e4e0809a
@ -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] {
|
||||
|
@ -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{
|
||||
|
@ -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%);
|
||||
|
Loading…
Reference in New Issue
Block a user