Updating ad-hominem to version 2024-10-07+20250317 (9ede6bc).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b79431e56e
commit
2dec6c784b
63 changed files with 2318 additions and 1765 deletions
|
@ -10,30 +10,30 @@
|
|||
}
|
||||
|
||||
.mode_edit div.editBox button {
|
||||
border: #666 solid 1px;
|
||||
border-radius: 1px;
|
||||
padding: 3pt 6pt;
|
||||
margin: 0 2px;
|
||||
cursor: pointer;
|
||||
border: #666 solid 1px;
|
||||
border-radius: 1px;
|
||||
padding: 3pt 6pt;
|
||||
margin: 0 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mode_edit div.editButtons button:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.mode_edit div.editBox button:focus {
|
||||
outline: @ini_focus_color solid 2px;
|
||||
background-color: @ini_background;
|
||||
outline: @ini_focus_color solid 2px;
|
||||
background-color: @ini_background;
|
||||
}
|
||||
|
||||
/*____________ toolbar ____________*/
|
||||
|
||||
.mode_edit .editBox > .toolbar,
|
||||
.mode_preview .editBox > .toolbar {
|
||||
display: block;
|
||||
display: block;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background-color: @ini_background;
|
||||
background-color: fadeout(@ini_background, 20%);
|
||||
padding-bottom: 2px;
|
||||
z-index: 9;
|
||||
}
|
||||
|
@ -41,33 +41,32 @@
|
|||
|
||||
.mode_edit div.toolbar,
|
||||
.mode_preview div.toolbar {
|
||||
display: inline-block;
|
||||
display: inline-block;
|
||||
}
|
||||
#draft__status {
|
||||
font-size: small;
|
||||
color: @ini_text_alt;
|
||||
background-color: inherit;
|
||||
font-size: small;
|
||||
color: @ini_text_alt;
|
||||
background-color: inherit;
|
||||
}
|
||||
[dir=rtl] #draft__status {
|
||||
/* float: left; */
|
||||
/* float: left; */
|
||||
}
|
||||
#tool__bar {
|
||||
float: left;
|
||||
float: left;
|
||||
}
|
||||
[dir=rtl] #tool__bar {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* hide the hard-coded button images */
|
||||
#tool__bar button>img {
|
||||
visibility: hidden;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#tool__bar button {
|
||||
background: #E9E9ED url('images/editor/default.svg') center no-repeat;
|
||||
background: @ini_background_alt none center no-repeat;
|
||||
background-size: 20px;
|
||||
padding: 3pt 6pt;
|
||||
padding: 3pt 5pt 1pt 5pt;
|
||||
border: @ini_border solid 1px;
|
||||
margin-right: 2pt;
|
||||
}
|
||||
#tool__bar button:hover {
|
||||
background-color: @ini_background_neu;
|
||||
}
|
||||
#tool__bar button[aria-haspopup=true]:after,
|
||||
#tool__bar button:nth-child(10):after,
|
||||
|
@ -83,67 +82,42 @@
|
|||
background-size: 13px;
|
||||
}
|
||||
|
||||
#tool__bar button[aria-haspopup=true]:after {
|
||||
background-image: url('images/editor/overlay-menu.svg');
|
||||
}
|
||||
#tool__bar button:nth-child(10):after,
|
||||
#tool__bar button:nth-child(15):after {
|
||||
background-image: url('images/editor/overlay-popup.svg');
|
||||
}
|
||||
|
||||
/* import the new icons */
|
||||
#tool__bar button[accesskey="b"] { background-image: url('images/editor/format-bold.svg'); margin-left: 1.5pt; }
|
||||
#tool__bar button[accesskey="i"] { background-image: url('images/editor/format-italic.svg'); }
|
||||
#tool__bar button[accesskey="u"] { background-image: url('images/editor/format-underline.svg'); }
|
||||
#tool__bar button[accesskey="m"] { background-image: url('images/editor/format-monospace.svg'); }
|
||||
#tool__bar button[accesskey="d"] { background-image: url('images/editor/format-strikethrough.svg'); }
|
||||
#tool__bar button[accesskey="8"] { background-image: url('images/editor/format-header-equal.svg'); margin-left: 4pt; }
|
||||
#tool__bar button[accesskey="9"] { background-image: url('images/editor/format-header-decrease.svg'); }
|
||||
#tool__bar button[accesskey="0"] { background-image: url('images/editor/format-header-increase.svg'); }
|
||||
#tool__bar button:nth-child(9) { background-image: url('images/editor/format-header-menu.svg'); }
|
||||
#tool__bar button[accesskey="l"] { background-image: url('images/editor/insert-link.svg');margin-left:4pt; }
|
||||
#tool__bar button:nth-child(11) { background-image: url('images/editor/insert-external-link.svg'); }
|
||||
#tool__bar button[accesskey="-"] { background-image: url('images/editor/format-list-numbered.svg'); margin-left:4pt;}
|
||||
#tool__bar button[accesskey="."] { background-image: url('images/editor/format-list-bulleted.svg'); }
|
||||
#tool__bar button:nth-child(14) { background-image: url('images/editor/insert-hr.svg');margin-left:4pt;}
|
||||
#tool__bar button:nth-child(15) { background-image: url('images/editor/insert-media.svg');margin-left:4pt; }
|
||||
#tool__bar button:nth-child(16) { background-image: url('images/editor/insert-emoticon.svg');margin-left:4pt; }
|
||||
#tool__bar button:nth-child(17) { background-image: url('images/editor/insert-symbol.svg'); }
|
||||
#tool__bar button[accesskey="y"] { background-image: url('images/editor/insert-signature.svg');margin-left:4pt; }
|
||||
|
||||
/* set icons for known plugins: */
|
||||
#tool__bar #tbbtn_adhoctagsInline { background-image: url('../../plugins/adhoctags/images/code-tags.svg');margin-left:4pt; }
|
||||
#tool__bar #tbbtn_adhoctagsBlocks { background-image: url('../../plugins/adhoctags/images/code-brackets.svg'); }
|
||||
|
||||
/* buttons inside of toolbar */
|
||||
.mode_edit div.toolbar button.toolbutton {
|
||||
margin: 0;
|
||||
}
|
||||
/* picker popups (outside of .dokuwiki) */
|
||||
div.picker {
|
||||
width: 300px;
|
||||
border: 1px solid #CCC;
|
||||
background-color: #EEE;
|
||||
color: inherit;
|
||||
width: 300px;
|
||||
border: 1px solid #CCC;
|
||||
background-color: #EEE;
|
||||
color: inherit;
|
||||
}
|
||||
/* picker for headlines */
|
||||
div.picker.pk_hl {
|
||||
width: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* buttons inside of picker */
|
||||
div.picker button.pickerbutton,
|
||||
div.picker button.toolbutton {
|
||||
padding: .1em .35em;
|
||||
border-width: 0;
|
||||
body.dokuwiki div.picker {
|
||||
button {
|
||||
&:hover {
|
||||
background-color: @ini_background_neu;
|
||||
}
|
||||
&.pickerbutton,
|
||||
&.toolbutton {
|
||||
padding: .1em .35em;
|
||||
border-width: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*____________ edit textarea ____________*/
|
||||
|
||||
.dokuwiki textarea.edit {
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
padding: 1px 0 0 2px;
|
||||
margin-bottom: .5em;
|
||||
margin-bottom: .5em;
|
||||
min-height: 52pt;
|
||||
background-color: #EEE;
|
||||
font-family: 'Source Code Pro',Menlo,Consolas,'Courier New',Courier,monospace;
|
||||
|
@ -175,20 +149,20 @@ div.picker button.toolbutton {
|
|||
/*____________ below the textarea ____________*/
|
||||
|
||||
.dokuwiki div.editBar {
|
||||
display: grid;
|
||||
display: grid;
|
||||
grid-template-columns: 320px minmax(500px, 1fr) auto;
|
||||
align-items: start;
|
||||
margin-bottom: .5em;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
||||
/* size and wrap controls */
|
||||
#size__ctl {
|
||||
grid-row: 1;
|
||||
grid-column: 3;
|
||||
grid-column: 3;
|
||||
min-width: 64px;
|
||||
}
|
||||
#size__ctl img {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* edit buttons */
|
||||
|
@ -199,8 +173,8 @@ div.picker button.toolbutton {
|
|||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
[dir=rtl] .dokuwiki .editBar .editButtons {
|
||||
margin-right: 0;
|
||||
margin-left: 1em;
|
||||
margin-right: 0;
|
||||
margin-left: 1em;
|
||||
}
|
||||
.dokuwiki .editBar .editButtons button {
|
||||
border: #CCC solid 1.5pt;
|
||||
|
@ -242,7 +216,7 @@ div.picker button.toolbutton {
|
|||
.dokuwiki .editBar .summary {
|
||||
grid-row: 1;
|
||||
grid-column: 2;
|
||||
display: grid;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
line-height: 1em;
|
||||
padding-top: 2pt;
|
||||
|
@ -259,7 +233,7 @@ div.picker button.toolbutton {
|
|||
}
|
||||
|
||||
.dokuwiki .editBar .summary label {
|
||||
white-space: nowrap;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.dokuwiki .editBar .summary label:last-child {
|
||||
padding: 2pt 0 2pt 4pt;
|
||||
|
@ -271,15 +245,15 @@ div.picker button.toolbutton {
|
|||
padding: 2pt 5pt 0 0;
|
||||
}
|
||||
.dokuwiki .editBar .summary label span {
|
||||
font-size: small;
|
||||
font-size: small;
|
||||
margin: 0 1pt 0 3pt;
|
||||
}
|
||||
.dokuwiki .editBar .summary input {
|
||||
}
|
||||
/* change background colour if summary is missing */
|
||||
.dokuwiki .editBar .summary input.missing {
|
||||
color: @ini_text;
|
||||
background-color: #ffcccc;
|
||||
color: @ini_text;
|
||||
background-color: #ffcccc;
|
||||
}
|
||||
|
||||
/* toolbar popups */
|
||||
|
@ -322,10 +296,10 @@ div.picker button.toolbutton {
|
|||
********************************************************************/
|
||||
|
||||
.dokuwiki div.preview {
|
||||
border: dotted #CCC;
|
||||
border-width: .2em 0;
|
||||
padding: 1.4em 0;
|
||||
margin-bottom: 1.4em;
|
||||
border: dotted #CCC;
|
||||
border-width: .2em 0;
|
||||
padding: 1.4em 0;
|
||||
margin-bottom: 1.4em;
|
||||
}
|
||||
|
||||
/* narrow screen overrides: */
|
||||
|
@ -370,7 +344,7 @@ div.picker button.toolbutton {
|
|||
@media (prefers-color-scheme: dark) {
|
||||
|
||||
body.darkmode .editBox > .toolbar {
|
||||
background-color: @ini_background_dark;
|
||||
background-color: fadeout(@ini_background_dark, 20%);
|
||||
}
|
||||
body.darkmode textarea.edit {
|
||||
background-color: @ini_background_alt_dark;
|
||||
|
@ -400,7 +374,7 @@ div.picker button.toolbutton {
|
|||
}
|
||||
body.mode_edit.darkmode .editBar .editButtons button::before,
|
||||
body.mode_preview.darkmode .editBar .editButtons button::before {
|
||||
filter: invert(.9);
|
||||
filter: invert(1) opacity(.67);
|
||||
}
|
||||
body.darkmode .editBar .editButtons button#edbtn__save {
|
||||
background-color: #334466;
|
||||
|
@ -417,13 +391,21 @@ div.picker button.toolbutton {
|
|||
|
||||
body.mode_edit.darkmode #tool__bar button,
|
||||
body.mode_preview.darkmode #tool__bar button {
|
||||
background-color: #8C8C8C;
|
||||
border-color: @ini_border_dark;
|
||||
filter: invert(.8);
|
||||
}
|
||||
body.mode_edit.darkmode #tool__bar button:hover,
|
||||
body.mode_preview.darkmode #tool__bar button:hover {
|
||||
background-color: @ini_text_dark;
|
||||
}
|
||||
body.mode_edit.darkmode .editBar .editButtons button,
|
||||
body.mode_preview.darkmode .editBar .editButtons button {
|
||||
border-color: @ini_border_dark;
|
||||
}
|
||||
body.mode_edit.darkmode #tool__bar button img,
|
||||
body.mode_preview.darkmode #tool__bar button img {
|
||||
filter: brightness(90%);
|
||||
}
|
||||
|
||||
body.mode_edit.darkmode .editBar .summary #edit__summary,
|
||||
body.mode_preview.darkmode .editBar .summary #edit__summary {
|
||||
|
@ -432,6 +414,11 @@ div.picker button.toolbutton {
|
|||
color: @ini_text_dark;
|
||||
}
|
||||
|
||||
body.darkmode #draft__status {
|
||||
color: @ini_text_alt_dark;
|
||||
}
|
||||
|
||||
|
||||
body.darkmode div.picker {
|
||||
& {
|
||||
background-color: @ini_background_dark;
|
||||
|
@ -439,8 +426,8 @@ div.picker button.toolbutton {
|
|||
}
|
||||
button {
|
||||
& {
|
||||
color: @ini_text_dark;
|
||||
background-color: @ini_background_alt_dark;
|
||||
color: @ini_text;
|
||||
background-color: #8C8C8C;
|
||||
border-color: @ini_border_dark;
|
||||
}
|
||||
&:hover {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue