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,8 +12,12 @@
|
||||
padding-right: 4px;
|
||||
.hbox();
|
||||
.end();
|
||||
@media print{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.ctb_hideshow {
|
||||
display:none;
|
||||
vertical-align:bottom;
|
||||
|
@ -36,11 +36,13 @@ div#notebook {
|
||||
}
|
||||
|
||||
#notebook-container{
|
||||
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);
|
||||
@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 {
|
||||
|
19
IPython/html/static/style/style.min.css
vendored
19
IPython/html/static/style/style.min.css
vendored
@ -9494,12 +9494,14 @@ div#notebook {
|
||||
-webkit-box-sizing: border-box;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
#notebook-container {
|
||||
padding-right: 80px;
|
||||
padding-top: 10px;
|
||||
border-color: #ffffff;
|
||||
background-color: #ffffff;
|
||||
box-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2);
|
||||
@media not print {
|
||||
#notebook-container {
|
||||
padding-right: 80px;
|
||||
padding-top: 10px;
|
||||
border-color: #ffffff;
|
||||
background-color: #ffffff;
|
||||
box-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2);
|
||||
}
|
||||
}
|
||||
div.ui-widget-content {
|
||||
border: 1px solid #ababab;
|
||||
@ -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