commit 62e4f39477042c32ffb388f0305fc18b383ffed3
parent 9f2d24ec8bade6e64a23af4a6e84475af4dc9eed
Author: Jan Dankert <devnull@localhost>
Date: Tue, 7 Nov 2017 01:05:17 +0100
Einzelne Javascripte und CSS auf die Komponenten aufgeteilt.
Diffstat:
3 files changed, 53 insertions(+), 8 deletions(-)
diff --git a/themes/default/css/openrat.css.php b/themes/default/css/openrat.css.php
@@ -1912,12 +1912,4 @@ div#workbench div.panel li.action.dirty
}
-div.line.filedropzone > div.input
-{
- width: 100%;
- height: 100px;
-
- background-color:<?php echo $_GET['title_text_color']; ?>;
- border:1px dotted <?php echo $_GET['text_color']; ?>;
-}
diff --git a/themes/default/include/html/editor/editor.css b/themes/default/include/html/editor/editor.css
@@ -0,0 +1,45 @@
+
+.editor__text-editor {
+ width:100%;
+ height:300px;
+}
+
+/* ACE-Editor */
+textarea.editor__code-editor {
+ display:none; /* Textarea nicht anzeigen, da durch Editor im DIV ersetzt */
+}
+
+
+div.editor__code-editor
+{
+ position: absolute;
+ height: 500px;
+ width: 100%;
+ font-size:14px;
+ z-index: 256;
+}
+
+
+
+textarea.editor__text-editor,
+textarea.editor__wiki-editor,
+textarea.editor__html-editor,
+{
+ width:100%;
+}
+
+
+a.editorlink:active,
+a.editorlink:hover
+{
+ font-weight:normal;
+ text-decoration:none;
+}
+
+a.editorlink:link,
+a.editorlink:visited
+{
+ font-weight:normal;
+ text-decoration:none;
+}
+
diff --git a/themes/default/include/html/upload/upload.css b/themes/default/include/html/upload/upload.css
@@ -0,0 +1,8 @@
+div.line.filedropzone > div.input
+{
+ width: 100%;
+ height: 100px;
+
+ background-color:<?php echo $_GET['title_text_color']; ?>;
+ border:1px dotted <?php echo $_GET['text_color']; ?>;
+}