You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cryptpad/www/common/onlyoffice/app-oo.less

80 lines
1.6 KiB
Plaintext

@import (reference) "../../customize/src/less2/include/framework.less";
// body
body.cp-app-sheet, body.cp-app-oodoc, body.cp-app-ooslide {
display: flex;
flex-flow: column;
&.cp-app-sheet {
.framework_main(
@bg-color: @colortheme_apps[sheet],
);
}
&.cp-app-oodoc {
.framework_main(
@bg-color: @colortheme_apps[oodoc],
);
}
&.cp-app-ooslide {
.framework_main(
@bg-color: @colortheme_apps[ooslide],
);
}
.cp-oo-x2tXls {
display: flex;
align-items: center;
justify-content: center;
.fa {
font-size: 30px;
margin-right: 10px;
}
}
#cp-fileupload {
display: none !important;
}
#cp-toolbar {
display: flex; // We need this to remove a 3px border at the bottom of the toolbar
}
.cp-cryptpad-toolbar {
padding: 0px;
display: inline-block;
}
#cp-app-oo-container {
flex: 1;
height: 100%;
background-color: @cp_app-bg;
display: flex;
min-height: 0;
}
#cp-app-oo-editor {
flex: 1;
height: 100%;
background-color: @cp_app-bg;
display: flex;
flex-flow: column;
position: relative;
iframe {
flex: 1;
}
}
#cp-app-oo-offline {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-color: @cp_oo-offline-overlay;
}
#ooframe {
flex: 1;
border:none;
margin:0;
padding:0;
}
}