2014-06-03 12:25:12 +02:00
|
|
|
/**
|
|
|
|
|
* Copyright (C) 2012-2014 KO GmbH <copyright@kogmbh.com>
|
|
|
|
|
*
|
|
|
|
|
* @licstart
|
|
|
|
|
* This file is part of WebODF.
|
|
|
|
|
*
|
|
|
|
|
* WebODF is free software: you can redistribute it and/or modify it
|
|
|
|
|
* under the terms of the GNU Affero General Public License (GNU AGPL)
|
|
|
|
|
* as published by the Free Software Foundation, either version 3 of
|
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* WebODF is distributed in the hope that it will be useful, but
|
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
* along with WebODF. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
* @licend
|
|
|
|
|
*
|
|
|
|
|
* @source: http://www.webodf.org/
|
|
|
|
|
* @source: https://github.com/kogmbh/WebODF/
|
|
|
|
|
*/
|
|
|
|
|
|
2014-04-11 14:49:21 +02:00
|
|
|
html, html > body, #mainContainer {
|
2012-08-23 16:04:57 +05:30
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0;
|
2012-08-24 07:16:19 +05:30
|
|
|
font-family: sans-serif;
|
|
|
|
|
font-size: 10pt;
|
2013-03-16 07:43:19 +05:30
|
|
|
padding: 0px;
|
|
|
|
|
}
|
2012-08-24 07:16:19 +05:30
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-editor *:focus {
|
2013-02-19 12:33:36 +05:30
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-editor {
|
2012-08-24 05:03:26 +05:30
|
|
|
border: none;
|
2013-09-14 01:08:34 +02:00
|
|
|
box-shadow: 0px 0px 14px #555;
|
2012-08-23 16:44:33 +05:30
|
|
|
overflow: hidden;
|
2012-08-23 17:48:22 +05:30
|
|
|
padding: 0px !important;
|
2013-03-16 07:43:19 +05:30
|
|
|
z-index: 4;
|
2012-08-23 16:44:33 +05:30
|
|
|
}
|
|
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-toolbarcontainer {
|
2014-02-04 13:06:35 +01:00
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 5;
|
|
|
|
|
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
|
2012-08-23 16:04:57 +05:30
|
|
|
}
|
|
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-canvascontainer {
|
2012-08-23 16:04:57 +05:30
|
|
|
text-align: center;
|
2013-09-14 01:05:38 +02:00
|
|
|
background-color: #ddd;
|
2012-08-23 16:44:33 +05:30
|
|
|
overflow: auto;
|
2013-03-16 01:44:16 +05:30
|
|
|
position: absolute;
|
|
|
|
|
top: 30px;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
2012-08-23 16:04:57 +05:30
|
|
|
}
|
2012-08-23 16:44:33 +05:30
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-canvas {
|
2012-08-23 16:04:57 +05:30
|
|
|
margin-top: 30px;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
margin-bottom: 30px;
|
2012-08-24 07:16:19 +05:30
|
|
|
|
|
|
|
|
transform-origin: top center;
|
|
|
|
|
-webkit-transform-origin: top center;
|
|
|
|
|
-moz-transform-origin: top center;
|
|
|
|
|
-o-transform-origin: top center;
|
2013-07-22 16:21:06 +02:00
|
|
|
|
2014-02-25 19:31:08 +01:00
|
|
|
box-shadow: 0px 0px 20px #aaa;
|
2013-07-22 16:21:06 +02:00
|
|
|
border: 1px solid #ccc;
|
2014-05-14 15:06:29 +02:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Hide the canvas overflow because otherwise the CSS-scaled 'sizer' child
|
|
|
|
|
* of the canvas will still advertise the original size in Firefox, causing
|
|
|
|
|
* strange scrollbar behavior.
|
|
|
|
|
*/
|
|
|
|
|
overflow: hidden;
|
2012-08-23 16:04:57 +05:30
|
|
|
}
|
|
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-members {
|
|
|
|
|
width: 70px !important;
|
|
|
|
|
padding: 2px !important;
|
|
|
|
|
text-align: center !important;
|
|
|
|
|
background-color: gray !important;
|
|
|
|
|
border: none !important;
|
2012-08-24 05:03:26 +05:30
|
|
|
}
|
|
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-memberList .webodfeditor-memberListButton {
|
2013-03-16 07:43:19 +05:30
|
|
|
margin-top: 5px;
|
2012-10-04 17:59:44 +05:30
|
|
|
padding-top: 3px;
|
2013-03-16 07:43:19 +05:30
|
|
|
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);
|
2013-07-10 22:49:52 +02:00
|
|
|
border: 1px solid black;
|
2013-03-18 18:12:35 +05:30
|
|
|
cursor: pointer;
|
2013-03-16 07:43:19 +05:30
|
|
|
}
|
|
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-memberList .webodfeditor-memberListLabel {
|
2013-03-16 07:43:19 +05:30
|
|
|
color: white;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
padding: 2px;
|
|
|
|
|
font-size: 8pt;
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
text-align: center justify;
|
|
|
|
|
}
|
2014-03-11 01:11:37 +01:00
|
|
|
div.webodfeditor-memberListLabel[fullname]:before {
|
2013-03-16 08:03:31 +05:30
|
|
|
content: attr(fullname) "";
|
|
|
|
|
}
|
2013-03-16 07:43:19 +05:30
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-memberList img {
|
2013-03-16 07:43:19 +05:30
|
|
|
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;
|
2012-10-04 17:59:44 +05:30
|
|
|
}
|
|
|
|
|
|
2014-03-11 01:11:37 +01:00
|
|
|
.webodfeditor-memberList img:hover {
|
2013-03-16 08:03:31 +05:30
|
|
|
opacity: 0.9;
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-11 19:50:41 +01:00
|
|
|
.webodfeditor-dijitWebODFIcon {
|
|
|
|
|
background-image: url("images/webodf.png");
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
2012-09-07 18:07:21 +05:30
|
|
|
.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 {
|
2012-10-23 17:35:05 +02:00
|
|
|
width: 50px !important;
|
2012-09-07 18:07:21 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dijitRadio {
|
|
|
|
|
margin-top: 3px !important;
|
|
|
|
|
margin-bottom: 3px !important;
|
2012-09-12 22:09:53 +05:30
|
|
|
}
|
2012-10-04 20:22:00 +05:30
|
|
|
|
2012-11-02 16:13:29 +05:30
|
|
|
.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;
|
|
|
|
|
}
|