cryptpad/www/common/onlyoffice/app-oo.less

59 lines
1.4 KiB
Text
Raw Normal View History

2018-09-03 08:39:34 +00:00
@import (reference) "../../customize/src/less2/include/framework.less";
// body
2019-01-25 16:13:55 +00:00
body.cp-app-sheet, body.cp-app-oodoc, body.cp-app-ooslide {
2018-09-03 08:39:34 +00:00
display: flex;
flex-flow: column;
2019-01-25 16:13:55 +00:00
&.cp-app-sheet {
2018-09-03 08:39:34 +00:00
.framework_main(
@bg-color: @colortheme_oocell-bg,
@warn-color: @colortheme_oocell-warn,
@color: @colortheme_oocell-color
);
}
&.cp-app-oodoc {
.framework_main(
@bg-color: @colortheme_oodoc-bg,
@warn-color: @colortheme_oodoc-warn,
@color: @colortheme_oodoc-color
);
}
&.cp-app-ooslide {
.framework_main(
@bg-color: @colortheme_ooslide-bg,
@warn-color: @colortheme_ooslide-warn,
@color: @colortheme_ooslide-color
);
}
#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: lightgrey;
display: flex;
}
2019-01-28 10:31:57 +00:00
#cp-app-oo-editor {
flex: 1;
height: 100%;
background-color: lightgrey;
display: flex;
flex-flow: column;
}
2018-09-03 08:39:34 +00:00
#ooframe {
flex: 1;
border:none;
margin:0;
padding:0;
}
}