summaryrefslogtreecommitdiffstats
path: root/plugins/55/edittable/less
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/55/edittable/less')
-rw-r--r--plugins/55/edittable/less/contextmenu.less77
-rw-r--r--plugins/55/edittable/less/editbutton.less36
-rw-r--r--plugins/55/edittable/less/editor.less43
3 files changed, 156 insertions, 0 deletions
diff --git a/plugins/55/edittable/less/contextmenu.less b/plugins/55/edittable/less/contextmenu.less
new file mode 100644
index 0000000..bbe7cff
--- /dev/null
+++ b/plugins/55/edittable/less/contextmenu.less
@@ -0,0 +1,77 @@
+.htContextMenu table tbody {
+
+ tr td {
+ padding-left: 0;
+ padding-right: 0;
+
+ div.htItemWrapper {
+ margin-left: 4px;
+ padding-left: 20px;
+ background-position: center left;
+ background-repeat: no-repeat;
+
+ &.toggle_header {
+ background-image: url('../plugins/edittable/images/text_heading.png');
+ }
+
+ &.align_left {
+ background-image: url('../plugins/edittable/images/a_left.png');
+ }
+
+ &.align_center {
+ background-image: url('../plugins/edittable/images/a_center.png');
+ }
+
+ &.align_right {
+ background-image: url('../plugins/edittable/images/a_right.png');
+ }
+
+ &.row_above {
+ background-image: url('../plugins/edittable/images/row_above.png');
+ }
+
+ &.remove_row {
+ background-image: url('../plugins/edittable/images/remove_row.png');
+ }
+
+ &.row_below {
+ background-image: url('../plugins/edittable/images/row_below.png');
+ }
+
+ &.col_left {
+ background-image: url('../plugins/edittable/images/col_left.png');
+ }
+
+ &.remove_col {
+ background-image: url('../plugins/edittable/images/remove_col.png');
+ }
+
+ &.col_right {
+ background-image: url('../plugins/edittable/images/col_right.png');
+ }
+
+ &.mergeCells {
+ padding-left: 0px;
+
+ & div {
+ padding-left: 20px;
+ background-position: center left;
+ background-repeat: no-repeat;
+
+ &.merge {
+ background-image: url('../plugins/edittable/images/merge_cells.png');
+ }
+
+ &.unmerge {
+ background-image: url('../plugins/edittable/images/split_cells.png');
+ }
+ }
+ }
+ }
+ }
+
+ td.htSeparator div {
+ padding-left: 0;
+ }
+
+}
diff --git a/plugins/55/edittable/less/editbutton.less b/plugins/55/edittable/less/editbutton.less
new file mode 100644
index 0000000..815be15
--- /dev/null
+++ b/plugins/55/edittable/less/editbutton.less
@@ -0,0 +1,36 @@
+/* the section edit button */
+.dokuwiki div.editbutton_table {
+ margin-top: -1.7em; // this is correct for dokuwiki template, but we adjust it via JS later
+ float: none;
+ display: none; // we make it visible by JavaScript
+ margin-bottom: 1em;
+
+ form div.no button,
+ form div.no input.button {
+ margin-left: 0.6em;
+ padding: 0 0.3em;
+ background-image: none;
+ border-top: none;
+ float: none;
+
+ line-height: 1.8em;
+ height: 1.8em;
+
+
+ border-top-right-radius: 0;
+ -moz-border-radius-topright: 0;
+ -webkit-border-top-right-radius: 0;
+
+ border-top-left-radius: 0;
+ -moz-border-radius-topleft: 0;
+ -webkit-border-top-left-radius: 0;
+
+ border-bottom-right-radius: 0.5em;
+ -moz-border-radius-bottomright: 0.5em;
+ -webkit-border-bottom-right-radius: 0.5em;
+
+ border-bottom-left-radius: 0.5em;
+ -moz-border-radius-bottomleft: 0.5em;
+ -webkit-border-bottom-left-radius: 0.5em;
+ }
+}
diff --git a/plugins/55/edittable/less/editor.less b/plugins/55/edittable/less/editor.less
new file mode 100644
index 0000000..ddd3afd
--- /dev/null
+++ b/plugins/55/edittable/less/editor.less
@@ -0,0 +1,43 @@
+
+
+#edittable__editor {
+ margin-bottom: 1.4em;
+ height: 400px;
+ width: 100%;
+ display: block;
+ overflow: hidden;
+
+ table {
+
+ td.right {
+ text-align: right;
+ float: none; // fix incompatibility with some templates (like ICKE)
+ }
+
+ td.center {
+ text-align: center;
+ }
+
+ td.header {
+ font-weight: bold;
+ background-color: @ini_background_alt;
+ background-image: none;
+ }
+
+ }
+}
+
+.a() when (@ini_site_width) {
+ #edittable__editor {
+ width: @ini_site_width;
+ }
+}
+
+// add a z-index to DokuWiki's toolbar pickers
+div.picker {
+ z-index: 500;
+}
+
+#link__wiz {
+ z-index: 103; // the highest relevant z-index of edittable elements seems to be 103
+}