summaryrefslogtreecommitdiff
path: root/lib/viewers/odf/editor/dijit/themes/claro/Editor.less
diff options
context:
space:
mode:
Diffstat (limited to 'lib/viewers/odf/editor/dijit/themes/claro/Editor.less')
-rw-r--r--lib/viewers/odf/editor/dijit/themes/claro/Editor.less57
1 files changed, 57 insertions, 0 deletions
diff --git a/lib/viewers/odf/editor/dijit/themes/claro/Editor.less b/lib/viewers/odf/editor/dijit/themes/claro/Editor.less
new file mode 100644
index 0000000..ddc59cc
--- /dev/null
+++ b/lib/viewers/odf/editor/dijit/themes/claro/Editor.less
@@ -0,0 +1,57 @@
+/* Editor
+ *
+ * Styling Editor means styling the Editor inside iframe container (dijitEditorIFrameContainer)
+ *
+ * 1. Editor iframe container (default styling):
+ * .dijitEditorIFrameContainer - normal state styles: background-color, border, padding
+ *
+ * 2. hovered Editor iframe container (ie, mouse hover on editor)
+ * .dijitEditorHover .dijitEditorIFrameContainer/dijitEditorIFrame - styles when mouse hover on the container
+ *
+ * 3. focused Editor iframe container (ie, mouse focus on the editor pane)
+ * .dijitEditorFocused .dijitEditorIFrameContainer/dijitEditorIFrame - styles when container focused
+ *
+ * 3. disabled Editor iframe container
+ * .dijitEditorDisabled - editor's inner iframe container disable status styles: background, border
+ */
+
+@import "variables";
+
+.claro .dijitEditorIFrameContainer{
+ padding:3px 3px 1px 10px;
+}
+.claro .dijitEditorIFrame {
+ background-color: @textbox-background-color;
+}
+.claro .dijitEditor {
+ border: 1px solid @border-color;
+}
+.claro .dijitEditor .dijitEditorIFrameContainer{
+ background-color: @textbox-background-color;
+ background-repeat:repeat-x;
+}
+.claro .dijitEditorHover .dijitEditorIFrameContainer,
+.claro .dijitEditorHover .dijitEditorIFrameContainer .dijitEditorIFrame{
+ background-color: @textbox-hovered-background-color;
+}
+.claro .dijitEditorFocused .dijitEditorIFrameContainer,
+.claro .dijitEditorFocused .dijitEditorIFrameContainer .dijitEditorIFrame{
+ background-color: @textbox-focused-background-color;
+}
+.claro .dijitEditorHover .dijitEditorIFrameContainer,
+.claro .dijitEditorFocused .dijitEditorIFrameContainer {
+ .textbox-background-image;
+}
+
+/* Disabled */
+.claro .dijitEditorDisabled {
+ border: 1px solid @disabled-border-color;
+ color: @disabled-text-color;
+}
+
+.claro .dijitDisabled .dijitEditorIFrame,
+.claro .dijitDisabled .dijitEditorIFrameContainer,
+.claro .dijitDisabled .dijitEditorIFrameContainer .dijitEditorIFrame {
+ background-color: @textbox-disabled-background-color;
+ background-image: none;
+}