Files
WebODF/programs/editor/editor.css
T
Aditya Bhatt 6eb6762ce9 Make the container + canvas layout in programs/editor similar to the one
in programs/viewer, so now we don't have to deal with a hackish hidden
horizontal scrollbar, and both scrollbars follow the zoom level
perfectly.
2013-03-16 01:44:16 +05:30

243 lines
4.6 KiB
CSS

@import url('fonts/fonts.css');
@namespace text url(urn:oasis:names:tc:opendocument:xmlns:text:1.0);
html, body, #mainContainer {
width: 100%;
height: 100%;
margin: 0;
font-family: sans-serif;
font-size: 10pt;
padding-top: 0px;
}
#editor *:focus {
outline: none;
}
#editor {
border: none;
box-shadow: 0px 0px 3px #888;
overflow: hidden;
padding: 0px !important;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
#menubar {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border: none;
overflow: hidden;
background-color: #E6E6E7;
}
#toolbar {
overflow: hidden;
}
#container {
text-align: center;
background-color: #FAFAFA;
overflow: auto;
position: absolute;
top: 30px;
bottom: 0;
left: 0;
right: 0;
}
#canvas {
box-shadow: 0px 0px 20px #aaa;
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: hidden;
height: 100%;
}
#collaboration {
width: 20%;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
box-shadow: 0 0 3px #888;
border: none;
}
#collaboration > .dojoxExpandoTitle {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border: none;
background-color: rgb(243, 243, 243);
}
#collaboration > .dojoxExpandoWrapper {
width: 100%;
background-color: rgb(243, 243, 243);
border: 1px solid #769DC0;
border: none;
}
#people {
height: 30%;
padding: 0px;
text-align: center;
}
#people > #nameInfo {
padding-top: 3px;
padding-bottom: 3px;
width: 100%;
background-color: #eef;
}
#peopleList > div {
padding-top: 3px;
padding-bottom: 3px;
}
#chat {
padding: 0px;
text-align: center;
position: relative;
}
#chat > #inputArea {
padding-top: 3px;
padding-bottom: 3px;
width: 100%;
background-color: #eee;
position: absolute;
bottom: 0px;
}
#inputArea > #widget_chatInput {
width: 95%;
border-radius: 10px;
padding: 3px;
box-shadow: inset 0 0 1px #888;
}
.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;
overflow: hidden !important;
height: 510px !important;
width: 450px !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;
}
cursor > div {
padding: 3px;
box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.75);
border: none !important;
background-color: black !important;
border-radius: 5px;
opacity: 0.3;
}
cursor > div > img {
border-radius: 5px;
}
cursor > div.active {
opacity: 0.8;
}
cursor > div:after {
content: ' ';
position: absolute;
width: 0px;
height: 0px;
border-style: solid;
border-width: 8.7px 5px 0 5px;
border-color: black transparent transparent transparent;
top: 100%;
left: 43%;
}