/**
* This file provides styles for the edit view (?do=edit), preview
* and section edit buttons.
*/
/* edit view
********************************************************************/
.dokuwiki div.editBox {
}
/*____________ toolbar ____________*/
.dokuwiki div.toolbar {
display: inline-block;
margin-bottom: .5em;
}
#draft__status {
float: right;
color: var(--color-dark-1);
background-color: inherit;
font-style: italic;
font-size: 90%;
padding-top: 0.4rem;
}
[dir=rtl] #draft__status {
float: left;
}
#tool__bar {
float: left;
}
[dir=rtl] #tool__bar {
float: right;
}
/* buttons inside of toolbar */
.dokuwiki div.toolbar button.toolbutton {
}
/* picker popups (outside of .dokuwiki) */
div.picker {
width: 300px;
border: 1px solid @ini_border;
background-color: @ini_background_alt;
color: inherit;
}
/* picker for headlines */
div.picker.pk_hl {
width: auto;
}
/* buttons inside of picker */
div.picker button.pickerbutton,
div.picker button.toolbutton {
padding: .1em .35em;
border: solid 1px @ini_border;
background-color: var(--color-dark-6);
}
div.picker {
background-color: var(--color-dark-7);
padding: 0.25rem;
border-radius: 0.25rem;
}
div.picker button.pickerbutton:hover,
div.picker button.toolbutton:hover {
background-color: var(--color-dark-5);
}
/*____________ edit textarea ____________*/
.dokuwiki textarea.edit {
width: 100%;
margin-bottom: .5em;
resize: vertical;
}
.dokuwiki textarea.edit:focus,
.dokuwiki textarea.edit:active {
outline: none;
}
/*____________ below the textarea ____________*/
.dokuwiki div.editBar {
overflow: hidden;
margin-bottom: .5em;
}
#edbtn__save {
margin: 0;
margin-right: 0.5rem;
}
#edbtn__preview {
color: var(--color-blue-4);
background-color: transparent;
border: solid 1px var(--color-blue-4);
margin-right: 0.5rem;
}
#edbtn__preview:hover {
background-color: rgba(77,171,247,.05);
}
button[name="do[cancel]"] {
color: var(--color-gray-4);
background-color: transparent;
border-color: transparent;
}
button[name="do[cancel]"]:hover {
background-color: hsla(210,7%,56%,.2);
}
/* size and wrap controls */
#size__ctl {
float: right;
}
[dir=rtl] #size__ctl {
float: left;
}
#size__ctl img {
cursor: pointer;
margin-left: 0.25rem;
}
#size__ctl img[src="/lib/images/larger.gif"],
#size__ctl img[src="/lib/images/smaller.gif"],
#size__ctl img[src="/lib/images/wrap.gif"] {
border: solid 1px transparent;
border-radius: 0.25rem;
padding: .25rem .35rem;
width: 1rem;
}
#size__ctl img[src="/lib/images/larger.gif"]:hover,
#size__ctl img[src="/lib/images/smaller.gif"]:hover,
#size__ctl img[src="/lib/images/wrap.gif"]:hover {
background-color: var(--color-dark-6);
}
/* edit buttons */
.dokuwiki .editBar .editButtons {
display: inline;
margin-right: 1rem;
}
[dir=rtl] .dokuwiki .editBar .editButtons {
margin-right: 0;
margin-left: 1em;
}
.dokuwiki .editBar .editButtons button {
}
/* summary input and minor changes checkbox */
.dokuwiki .editBar .summary {
display: inline;
}
.dokuwiki .editBar .summary label {
vertical-align: middle;
white-space: nowrap;
}
.dokuwiki .editBar .summary label span {
vertical-align: middle;
}
.dokuwiki .editBar .summary input {
padding: 0.3125rem 0.5rem;
}
.dokuwiki .editBar .summary input:focus {
outline: none;
}
/* change background colour if summary is missing */
.dokuwiki .editBar .summary input.missing {
color: @ini_text;
border-color: var(--color-red-8);
}
/* preview
********************************************************************/
.dokuwiki div.preview {
border: solid 0px @ini_border;
border-top-width: 1px;
padding: 1.4em 0;
margin-bottom: 1.4em;
}
.dokuwiki.hasSidebar div.preview {
border: 0px !important;
border-top: solid 1px @ini_border !important;
}
/* section edit buttons
********************************************************************/
.dokuwiki .secedit {
float: right;
margin-top: -1.5em;
}
[dir=rtl] .dokuwiki .secedit {
float: left;
}
.dokuwiki .secedit button {
font-size: 75%;
padding: 0.25rem;
border-top-right-radius: 0;
border-top-left-radius: 0;
background-color: var(--color-gray-8);
border-color: var(--color-gray-8);
font-weight: bold;
}
.dokuwiki .secedit button:hover {
background-color: var(--color-gray-7);
border-color: var(--color-gray-7);
}
/* style for section highlighting */
.dokuwiki div.section_highlight {
margin: 0 -1em; /* negative side margin = side padding + side border */
padding: 0 .5em;
border: solid @ini_background_alt;
border-width: 0 .5em;
background-color: @ini_background_alt;
}
/* Toolbar icons */
#picker2 button {
color: var(--color-dark-1);
}
button[title="Level 1 Headline [1]"],
button[title="Level 2 Headline [2]"],
button[title="Level 3 Headline [3]"],
button[title="Level 4 Headline [4]"],
button[title="Level 5 Headline [5]"],
#picker2 button,
#picker3 button {
min-height: 1.625rem;
min-width: 1.625rem;
}
button[title="Bold Text [B]"],
button[title="Italic Text [I]"],
button[title="Underlined Text [U]"],
button[title="Monospaced Text [M]"],
button[title="Strike-through Text [D]"],
button[title="Same Level Headline [8]"],
button[title="Lower Headline [9]"],
button[title="Higher Headline [0]"],
button[title="Select Headline"],
button[title="Internal Link [L]"],
button[title="External Link"],
button[title="Ordered List Item [-]"],
button[title="Unordered List Item [.]"],
button[title="Horizontal Rule"],
button[title="Add Images and other files (opens in a new window)"],
button[title="Smileys"],
button[title="Special Chars"],
button[title="Insert Signature [Y]"],
button[title="Insert a new table"],
button[title="Wrap Plugin"],
button[title="Level 1 Headline [1]"],
button[title="Level 2 Headline [2]"],
button[title="Level 3 Headline [3]"],
button[title="Level 4 Headline [4]"],
button[title="Level 5 Headline [5]"],
button[title="columns"],
button[title="simple centered box"],
button[title="info box"],
button[title="tip box"],
button[title="important box"],
button[title="alert box"],
button[title="help box"],
button[title="download box"],
button[title="todo box"],
button[title="clear floats"],
button[title="especially emphasised"],
button[title="highlighted"],
button[title="less significant"] {
position: relative;
}
button[title="Bold Text [B]"] img,
button[title="Italic Text [I]"] img,
button[title="Underlined Text [U]"] img,
button[title="Monospaced Text [M]"] img,
button[title="Strike-through Text [D]"] img,
button[title="Same Level Headline [8]"] img,
button[title="Lower Headline [9]"] img,
button[title="Higher Headline [0]"] img,
button[title="Select Headline"] img,
button[title="Internal Link [L]"] img,
button[title="External Link"] img,
button[title="Ordered List Item [-]"] img,
button[title="Unordered List Item [.]"] img,
button[title="Horizontal Rule"] img,
button[title="Add Images and other files (opens in a new window)"] img,
button[title="Smileys"] img,
button[title="Special Chars"] img,
button[title="Insert Signature [Y]"] img,
button[title="Insert a new table"] img,
button[title="Wrap Plugin"] img,
button[title="Level 1 Headline [1]"] img,
button[title="Level 2 Headline [2]"] img,
button[title="Level 3 Headline [3]"] img,
button[title="Level 4 Headline [4]"] img,
button[title="Level 5 Headline [5]"] img,
button[title="columns"] img,
button[title="simple centered box"] img,
button[title="info box"] img,
button[title="tip box"] img,
button[title="important box"] img,
button[title="alert box"] img,
button[title="help box"] img,
button[title="download box"] img,
button[title="todo box"] img,
button[title="clear floats"] img,
button[title="especially emphasised"] img,
button[title="highlighted"] img,
button[title="less significant"] img {
display: none;
}
button[title="Bold Text [B]"]::before,
button[title="Italic Text [I]"]::before,
button[title="Underlined Text [U]"]::before,
button[title="Monospaced Text [M]"]::before,
button[title="Strike-through Text [D]"]::before,
button[title="Same Level Headline [8]"]::before,
button[title="Lower Headline [9]"]::before,
button[title="Higher Headline [0]"]::before,
button[title="Select Headline"]::before,
button[title="Internal Link [L]"]::before,
button[title="External Link"]::before,
button[title="Ordered List Item [-]"]::before,
button[title="Unordered List Item [.]"]::before,
button[title="Horizontal Rule"]::before,
button[title="Add Images and other files (opens in a new window)"]::before,
button[title="Smileys"]::before,
button[title="Special Chars"]::before,
button[title="Insert Signature [Y]"]::before,
button[title="Insert a new table"]::before,
button[title="Wrap Plugin"]::before,
button[title="Level 1 Headline [1]"]::before,
button[title="Level 2 Headline [2]"]::before,
button[title="Level 3 Headline [3]"]::before,
button[title="Level 4 Headline [4]"]::before,
button[title="Level 5 Headline [5]"]::before,
button[title="columns"]::before,
button[title="simple centered box"]::before,
button[title="info box"]::before,
button[title="tip box"]::before,
button[title="important box"]::before,
button[title="alert box"]::before,
button[title="help box"]::before,
button[title="download box"]::before,
button[title="todo box"]::before,
button[title="clear floats"]::before,
button[title="especially emphasised"]::before,
button[title="highlighted"]::before,
button[title="less significant"]::before {
position: absolute;
top: 0.1875rem;
left: 0.1875rem;
}
button[title="Bold Text [B]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Italic Text [I]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Underlined Text [U]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Monospaced Text [M]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Strike-through Text [D]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Same Level Headline [8]"]::before {
content: url('data:image/svg+xml,');
top: 0.3125rem;
left: 0.4rem;
}
button[title="Same Level Headline [8]"]::after {
position: absolute;
top: 0.1875rem;
left: -0.25rem;
content: url('data:image/svg+xml,');
}
button[title="Lower Headline [9]"]::before {
content: url('data:image/svg+xml,');
top: 0.3125rem;
left: -0.125rem;
}
button[title="Lower Headline [9]"]::after {
position: absolute;
content: url('data:image/svg+xml,');
top: 0.3125rem;
left: 0.5rem;
}
button[title="Higher Headline [0]"]::before {
content: url('data:image/svg+xml,');
top: 0.3125rem;
right: -0.5rem;
}
button[title="Higher Headline [0]"]::after {
position: absolute;
content: url('data:image/svg+xml,');
top: 0.3125rem;
right: 0.5rem;
}
button[title="Select Headline"]::before {
content: url('data:image/svg+xml,');
}
button[title="Internal Link [L]"]::before {
content: url('data:image/svg+xml,');
}
button[title="External Link"]::before {
content: url('data:image/svg+xml,');
}
button[title="Ordered List Item [-]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Unordered List Item [.]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Horizontal Rule"]::before {
content: url('data:image/svg+xml,');
}
button[title="Add Images and other files (opens in a new window)"]::before {
content: url('data:image/svg+xml,');
}
button[title="Smileys"]::before {
content: url('data:image/svg+xml,');
}
button[title="Special Chars"]::before {
content: url('data:image/svg+xml,');
}
button[title="Insert Signature [Y]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Insert a new table"]::before {
content: url('data:image/svg+xml,');
}
button[title="Wrap Plugin"]::before {
content: url('data:image/svg+xml,');
}
button[title="Level 1 Headline [1]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Level 2 Headline [2]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Level 3 Headline [3]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Level 4 Headline [4]"]::before {
content: url('data:image/svg+xml,');
}
button[title="Level 5 Headline [5]"]::before {
content: url('data:image/svg+xml,');
}
button[title="columns"]::before {
content: url('data:image/svg+xml,');
}
button[title="simple centered box"]::before {
content: url('data:image/svg+xml,');
}
button[title="info box"]::before {
content: url('data:image/svg+xml,');
}
button[title="tip box"]::before {
content: url('data:image/svg+xml,');
}
button[title="important box"]::before {
content: url('data:image/svg+xml,');
}
button[title="alert box"]::before {
content: url('data:image/svg+xml,');
}
button[title="help box"]::before {
content: url('data:image/svg+xml,');
}
button[title="download box"]::before {
content: url('data:image/svg+xml,');
}
button[title="todo box"]::before {
content: url('data:image/svg+xml,');
}
button[title="clear floats"]::before {
content: url('data:image/svg+xml,');
}
button[title="especially emphasised"]::before {
content: url('data:image/svg+xml,');
}
button[title="highlighted"]::before {
content: url('data:image/svg+xml,');
}
button[title="less significant"]::before {
content: url('data:image/svg+xml,');
}