1
0
Fork 0

Adding edittable version 2023-01-14 (66785d9).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2024-12-01 20:32:06 +01:00
parent 51b386fcf7
commit 778f9ac0bf
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
101 changed files with 56770 additions and 0 deletions

View file

@ -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;
}
}

View file

@ -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;
}
}

View file

@ -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
}