cryptpad/customize.dist/src/less2/include/app-print.less

85 lines
2.6 KiB
Plaintext
Raw Normal View History

2018-07-14 13:15:23 +00:00
.app-print_main() {
--LessLoader_require: LessLoader_currentFile();
}
& {
.cp-app-print {
// Current scope is <html>
@media print {
height: auto;
max-height: none;
overflow: visible;
2017-09-07 16:56:58 +00:00
display: block;
2018-07-14 13:15:23 +00:00
// Slide app
body.cp-app-slide {
2017-09-07 16:56:58 +00:00
display: block;
2018-07-14 13:15:23 +00:00
.CodeMirror, #cme_toolbox {
display: none;
}
2017-09-07 16:56:58 +00:00
* {
2018-07-14 13:15:23 +00:00
visibility: hidden;
max-height: none;
}
.cp-app-slide-viewer #cp-app-slide-print {
display: block;
2017-09-07 16:56:58 +00:00
visibility: visible;
2018-07-14 13:15:23 +00:00
* {
visibility: visible;
}
}
.cp-app-slide-viewer #cp-app-slide-modal {
display: none !important;
}
.cp-app-slide-viewer {
flex: 1 !important;
overflow: visible !important;
}
.cp-toolbar-userlist-drawer {
display: none !important;
}
#cp-app-slide-editor {
height: auto;
display: block;
2017-09-07 16:56:58 +00:00
}
}
2018-12-06 15:43:48 +00:00
// Code app
body.cp-app-code {
display: block;
2020-10-26 13:57:54 +00:00
height: auto;
2018-12-06 15:43:48 +00:00
* {
visibility: hidden;
height: auto;
max-height: none;
}
2020-10-26 13:57:54 +00:00
.cp-toolbar-userlist-drawer {
display: none;
}
2018-12-06 15:43:48 +00:00
#cme_toolbox {
display: none;
}
#cp-app-code-editor {
display: block;
#cp-app-code-container {
display: none;
}
#cp-app-code-preview {
display: block;
#cp-app-code-print {
2020-10-26 13:57:54 +00:00
font-size: 20px;
2018-12-06 15:43:48 +00:00
display: block;
overflow: visible !important;
width: 100%;
visibility: visible;
* { visibility: visible; }
pre { border: none; }
}
#cp-app-code-preview-content {
display: none !important;
}
}
}
}
2017-09-07 16:56:58 +00:00
}
}
2018-07-18 12:31:01 +00:00
}