mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
Each css file contained some of the rules required for the avatar display. There are enough stylistic elements in webodf.css the avatars look strange if the editor.css rules are not present. Clean up this problem by merging all the rules into webodf core.
190 lines
4.1 KiB
CSS
190 lines
4.1 KiB
CSS
html, html > body, #mainContainer {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
font-family: sans-serif;
|
|
font-size: 10pt;
|
|
padding: 0px;
|
|
}
|
|
|
|
.webodfeditor-editor *:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.webodfeditor-editor {
|
|
border: none;
|
|
box-shadow: 0px 0px 14px #555;
|
|
overflow: hidden;
|
|
padding: 0px !important;
|
|
z-index: 4;
|
|
}
|
|
|
|
.webodfeditor-toolbarcontainer {
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
position: absolute;
|
|
z-index: 5;
|
|
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.webodfeditor-canvascontainer {
|
|
text-align: center;
|
|
background-color: #ddd;
|
|
overflow: auto;
|
|
position: absolute;
|
|
top: 30px;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.webodfeditor-canvas {
|
|
margin-top: 30px;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
margin-bottom: 30px;
|
|
|
|
transform-origin: top center;
|
|
-webkit-transform-origin: top center;
|
|
-moz-transform-origin: top center;
|
|
-o-transform-origin: top center;
|
|
overflow: visible;
|
|
}
|
|
|
|
/* Add shadow to the sizer and not the canvas,
|
|
* so that it will follow the smooth zooming
|
|
* of the slider and not have to be updated
|
|
* every time a gesture ends
|
|
*/
|
|
.webodfeditor-canvas > div {
|
|
box-shadow: 0px 0px 20px #aaa;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
.webodfeditor-members {
|
|
width: 70px !important;
|
|
padding: 2px !important;
|
|
text-align: center !important;
|
|
background-color: gray !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.webodfeditor-memberList .webodfeditor-memberListButton {
|
|
margin-top: 5px;
|
|
padding-top: 3px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
width: 68px;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
background-color: black;
|
|
box-shadow: 0px 0px 5px rgb(90, 90, 90);
|
|
border: 1px solid black;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.webodfeditor-memberList .webodfeditor-memberListLabel {
|
|
color: white;
|
|
border-radius: 5px;
|
|
padding: 2px;
|
|
font-size: 8pt;
|
|
word-wrap: break-word;
|
|
text-align: center justify;
|
|
}
|
|
div.webodfeditor-memberListLabel[fullname]:before {
|
|
content: attr(fullname) "";
|
|
}
|
|
|
|
.webodfeditor-memberList img {
|
|
box-shadow: 0px 0px 5px rgb(90, 90, 90) inset;
|
|
background-color: rgb(200, 200, 200);
|
|
border-radius: 5px;
|
|
border: 2px solid;
|
|
height: 60px;
|
|
width: 60px;
|
|
display: block;
|
|
margin: auto;
|
|
}
|
|
|
|
.webodfeditor-memberList img:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.dijitDialog {
|
|
border: none !important;
|
|
box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
|
|
-moz-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
|
|
-o-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
|
|
-webkit-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
|
|
-ms-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
|
|
}
|
|
|
|
.dijitDialogTitle {
|
|
color: #333 !important;
|
|
font-size: 14pt !important;
|
|
}
|
|
|
|
.dijitDialogPaneContent {
|
|
border: none !important;
|
|
}
|
|
|
|
.dijitDialogPaneContent h3 {
|
|
font-weight: normal;
|
|
color: #333;
|
|
font-size: 12pt;
|
|
padding: 0px;
|
|
width: 80%;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.dijitTabPaneWrapper {
|
|
border: none !important;
|
|
}
|
|
.dijitDialogTitleBar {
|
|
border: none !important;
|
|
background-color: #fff !important;
|
|
}
|
|
|
|
.dijitDialogPaneActionBar {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.dijitDialogUnderlay {
|
|
background: radial-gradient(center, transparent, #333) !important;
|
|
background: -webkit-radial-gradient(center, transparent , #333) !important;
|
|
background: -moz-radial-gradient(center, transparent , #333) !important;
|
|
background: -o-radial-gradient(center, transparent , #333) !important;
|
|
background: -ms-radial-gradient(center, transparent , #333) !important;
|
|
}
|
|
|
|
.labeledSelect > table {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.dijitSpinner {
|
|
width: 50px !important;
|
|
}
|
|
|
|
.dijitRadio {
|
|
margin-top: 3px !important;
|
|
margin-bottom: 3px !important;
|
|
}
|
|
|
|
.dijitCheckBox {
|
|
margin-top: 3px !important;
|
|
margin-bottom: 7px !important;
|
|
}
|
|
.dojoxColorPicker {
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.dialogPreviewBox {
|
|
height: 100px;
|
|
width: 100%;
|
|
border: 1px solid gray;
|
|
background-color: white;
|
|
text-align: center;
|
|
}
|