mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
no shadow on print media
Also hide celltoolbars
This commit is contained in:
parent
6e9ef7abeb
commit
2b0147c21a
@ -12,7 +12,11 @@
|
||||
padding-right: 4px;
|
||||
.hbox();
|
||||
.end();
|
||||
@media print{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.ctb_hideshow {
|
||||
display:none;
|
||||
|
@ -36,12 +36,14 @@ div#notebook {
|
||||
}
|
||||
|
||||
#notebook-container{
|
||||
@media not print{
|
||||
padding-right:80px;
|
||||
padding-top:10px;
|
||||
border-color: @body-bg;
|
||||
background-color : @body-bg;
|
||||
box-shadow: 0px 0px 12px 1px rgba(87,87,87,0.2);
|
||||
}
|
||||
}
|
||||
|
||||
div.ui-widget-content {
|
||||
border: 1px solid @border_color;
|
||||
|
7
IPython/html/static/style/style.min.css
vendored
7
IPython/html/static/style/style.min.css
vendored
@ -9494,6 +9494,7 @@ div#notebook {
|
||||
-webkit-box-sizing: border-box;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
@media not print {
|
||||
#notebook-container {
|
||||
padding-right: 80px;
|
||||
padding-top: 10px;
|
||||
@ -9501,6 +9502,7 @@ div#notebook {
|
||||
background-color: #ffffff;
|
||||
box-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2);
|
||||
}
|
||||
}
|
||||
div.ui-widget-content {
|
||||
border: 1px solid #ababab;
|
||||
outline: none;
|
||||
@ -9573,6 +9575,11 @@ p {
|
||||
/* Modern browsers */
|
||||
justify-content: flex-end;
|
||||
}
|
||||
@media print {
|
||||
.celltoolbar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.ctb_hideshow {
|
||||
display: none;
|
||||
vertical-align: bottom;
|
||||
|
Loading…
Reference in New Issue
Block a user