antosdk-apps/OpenPage/css/main.css

87 lines
2.3 KiB
CSS
Raw Permalink Normal View History

@namespace office url(urn:oasis:names:tc:opendocument:xmlns:office:1.0);
2018-09-13 00:41:06 +02:00
afx-app-window[data-id="OpenPage"] div[data-id="container"]
{
overflow: auto;
2018-09-13 20:21:07 +02:00
margin:0px;
padding:0px;
padding-top: 10px;
padding-bottom: 10px;
text-align: center;
2020-06-25 18:23:33 +02:00
/*background-color: #f2f1f0;*/
/*position: relative;*/
2018-09-13 20:21:07 +02:00
}
2020-06-25 18:23:33 +02:00
afx-app-window[data-id="OpenPage"] office|body, office|document {
background-color: white;
color: black;
background-image: none;
user-select: text;
overflow: visible;
}
/*
@media screen, print, handheld, projection
{
office|body{
display: inline !important;
}
}*/
/*
Fix annotation problem not showing
*/
/*
afx-app-window[data-id="OpenPage"] document, afx-app-window[data-id="OpenPage"] office:body{
display: inline !important;
}
afx-app-window[data-id="OpenPage"] .annotationsPane{
right: 0 !important;
top: 0 !important;
position: absolute !important;
}*/
2018-09-13 20:21:07 +02:00
afx-app-window[data-id="OpenPage"] div[data-id="odfcanvas"]
{
cursor: text;
margin:auto;
2020-06-25 18:23:33 +02:00
/*box-shadow: 1px 1px 3px 3px #9f9F9F;*/
border: 1px solid #2c2c2c;
/*added*/
transform-origin: top center;
-webkit-transform-origin: top center;
-moz-transform-origin: top center;
-o-transform-origin: top center;
overflow: hidden;
2018-09-13 20:21:07 +02:00
}
afx-app-window[data-id="OpenPage"] afx-hbox[data-id="toolbox"]
{
2020-06-25 18:23:33 +02:00
/*background-color: #f5f5f5;
2018-09-13 20:21:07 +02:00
border: 1px solid #eaeaea;
2020-06-25 18:23:33 +02:00
box-shadow: 3px 3px 3px #9f9F9F;*/
2018-09-13 20:21:07 +02:00
}
2018-09-14 19:35:01 +02:00
afx-app-window[data-id="OpenPage"] afx-hbox[data-id="status-bar"]
2018-09-13 20:21:07 +02:00
{
2020-06-25 18:23:33 +02:00
/*background-color: #f5f5f5;
2018-09-14 19:35:01 +02:00
border: 1px solid #eaeaea;
2020-06-25 18:23:33 +02:00
box-shadow: -3px -3px 3px #9f9F9F;*/
2018-09-13 20:21:07 +02:00
}
2018-09-14 19:35:01 +02:00
afx-app-window[data-id="OpenPage"] afx-hbox[data-id="toolbox"] afx-button button, afx-app-window[data-id="OpenPage"] afx-button[data-id="btzoomfix"] button
{
2020-06-25 18:23:33 +02:00
/*border: 1px solid #f5f5f5;
background-color: transparent;*/
2018-09-13 20:21:07 +02:00
width:100%;
height: 100%;
}
2020-06-25 18:23:33 +02:00
afx-app-window[data-id="OpenPage"] button.selected {
color:chocolate;
}
2018-09-14 19:35:01 +02:00
afx-app-window[data-id="OpenPage"] afx-hbox[data-id="toolbox"] afx-button button:hover, afx-app-window[data-id="OpenPage"] afx-hbox[data-id="toolbox"] afx-button button.btactive, afx-app-window[data-id="OpenPage"] afx-button[data-id="btzoomfix"] button:hover
2018-09-13 20:21:07 +02:00
{
border: 1px solid #759DC0;
background-color: transparent;
border-radius:5px;
color:#759DC0;
}