wodotexteditor.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. /**
  2. * Copyright (C) 2012-2014 KO GmbH <copyright@kogmbh.com>
  3. *
  4. * @licstart
  5. * This file is part of WebODF.
  6. *
  7. * WebODF is free software: you can redistribute it and/or modify it
  8. * under the terms of the GNU Affero General Public License (GNU AGPL)
  9. * as published by the Free Software Foundation, either version 3 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * WebODF is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU Affero General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Affero General Public License
  18. * along with WebODF. If not, see <http://www.gnu.org/licenses/>.
  19. * @licend
  20. *
  21. * @source: http://www.webodf.org/
  22. * @source: https://github.com/kogmbh/WebODF/
  23. */
  24. .webodfeditor-editor *:focus {
  25. outline: none;
  26. }
  27. .webodfeditor-editor {
  28. border: none;
  29. box-shadow: 0px 0px 14px #555;
  30. overflow: hidden;
  31. padding: 0px !important;
  32. z-index: 4;
  33. }
  34. .webodfeditor-canvascontainer {
  35. text-align: center;
  36. background-color: #ddd;
  37. overflow: auto;
  38. position: absolute;
  39. top: 30px;
  40. bottom: 0;
  41. left: 0;
  42. right: 0;
  43. }
  44. .webodfeditor-canvas {
  45. margin-top: 30px;
  46. margin-left: 10px;
  47. margin-right: 10px;
  48. margin-bottom: 30px;
  49. transform-origin: top center;
  50. -webkit-transform-origin: top center;
  51. -moz-transform-origin: top center;
  52. -o-transform-origin: top center;
  53. box-shadow: 0px 0px 20px #aaa;
  54. border: 1px solid #ccc;
  55. /*
  56. * Hide the canvas overflow because otherwise the CSS-scaled 'sizer' child
  57. * of the canvas will still advertise the original size in Firefox, causing
  58. * strange scrollbar behavior.
  59. */
  60. overflow: hidden;
  61. }
  62. .webodfeditor-dijitWebODFIcon {
  63. background-image: url("images/webodf.png");
  64. background-repeat: no-repeat;
  65. width: 16px;
  66. height: 16px;
  67. text-align: center;
  68. }
  69. .webodfeditor-dijitSaveAsIcon {
  70. background-image: url("images/saveas.png");
  71. background-repeat: no-repeat;
  72. width: 18px;
  73. height: 18px;
  74. text-align: center;
  75. }
  76. /* Fix toolbar not adapting size to floating toolbar elements */
  77. .dijitToolbar:after {
  78. content: ".";
  79. visibility: hidden;
  80. display: block;
  81. height: 0;
  82. clear: both;
  83. }
  84. .dijitDialog {
  85. border: none !important;
  86. box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  87. -moz-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  88. -o-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  89. -webkit-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  90. -ms-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  91. }
  92. .dijitDialogTitle {
  93. color: #333 !important;
  94. font-size: 14pt !important;
  95. }
  96. .dijitDialogPaneContent {
  97. border: none !important;
  98. }
  99. .dijitDialogPaneContent h3 {
  100. font-weight: normal;
  101. color: #333;
  102. font-size: 12pt;
  103. padding: 0px;
  104. width: 80%;
  105. border-bottom: 1px solid #eee;
  106. }
  107. .dijitTabPaneWrapper {
  108. border: none !important;
  109. }
  110. .dijitDialogTitleBar {
  111. border: none !important;
  112. background-color: #fff !important;
  113. }
  114. .dijitDialogPaneActionBar {
  115. margin: 0 !important;
  116. }
  117. .dijitDialogUnderlay {
  118. background: radial-gradient(center, transparent, #333) !important;
  119. background: -webkit-radial-gradient(center, transparent , #333) !important;
  120. background: -moz-radial-gradient(center, transparent , #333) !important;
  121. background: -o-radial-gradient(center, transparent , #333) !important;
  122. background: -ms-radial-gradient(center, transparent , #333) !important;
  123. }
  124. .labeledSelect > table {
  125. margin-left: 10px;
  126. }
  127. .dijitSpinner {
  128. width: 50px !important;
  129. }
  130. .dijitRadio {
  131. margin-top: 3px !important;
  132. margin-bottom: 3px !important;
  133. }
  134. .dijitCheckBox {
  135. margin-top: 3px !important;
  136. margin-bottom: 7px !important;
  137. }
  138. .dojoxColorPicker {
  139. background-color: transparent !important;
  140. border: none !important;
  141. }
  142. .dialogPreviewBox {
  143. height: 100px;
  144. width: 100%;
  145. border: 1px solid gray;
  146. background-color: white;
  147. text-align: center;
  148. }