wodotexteditor.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. .dijitDialog {
  70. border: none !important;
  71. box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  72. -moz-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  73. -o-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  74. -webkit-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  75. -ms-box-shadow: 0 1px 50px rgba(0, 0, 0, 0.25) !important;
  76. }
  77. .dijitDialogTitle {
  78. color: #333 !important;
  79. font-size: 14pt !important;
  80. }
  81. .dijitDialogPaneContent {
  82. border: none !important;
  83. }
  84. .dijitDialogPaneContent h3 {
  85. font-weight: normal;
  86. color: #333;
  87. font-size: 12pt;
  88. padding: 0px;
  89. width: 80%;
  90. border-bottom: 1px solid #eee;
  91. }
  92. .dijitTabPaneWrapper {
  93. border: none !important;
  94. }
  95. .dijitDialogTitleBar {
  96. border: none !important;
  97. background-color: #fff !important;
  98. }
  99. .dijitDialogPaneActionBar {
  100. margin: 0 !important;
  101. }
  102. .dijitDialogUnderlay {
  103. background: radial-gradient(center, transparent, #333) !important;
  104. background: -webkit-radial-gradient(center, transparent , #333) !important;
  105. background: -moz-radial-gradient(center, transparent , #333) !important;
  106. background: -o-radial-gradient(center, transparent , #333) !important;
  107. background: -ms-radial-gradient(center, transparent , #333) !important;
  108. }
  109. .labeledSelect > table {
  110. margin-left: 10px;
  111. }
  112. .dijitSpinner {
  113. width: 50px !important;
  114. }
  115. .dijitRadio {
  116. margin-top: 3px !important;
  117. margin-bottom: 3px !important;
  118. }
  119. .dijitCheckBox {
  120. margin-top: 3px !important;
  121. margin-bottom: 7px !important;
  122. }
  123. .dojoxColorPicker {
  124. background-color: transparent !important;
  125. border: none !important;
  126. }
  127. .dialogPreviewBox {
  128. height: 100px;
  129. width: 100%;
  130. border: 1px solid gray;
  131. background-color: white;
  132. text-align: center;
  133. }