2020-02-23 20:17:48 +01:00
|
|
|
/***
|
|
|
|
* @copyright Copyright (c) 2019, Magnus Walbeck <mw@mwalbeck.org>
|
|
|
|
*
|
2020-04-19 10:42:50 +02:00
|
|
|
* @license GNU AGPL version 3 or any later version, see COPYING file for more.
|
|
|
|
*/
|
2020-02-23 20:17:48 +01:00
|
|
|
|
|
|
|
/* Text --------------------------------------------------------------------- */
|
|
|
|
|
2020-10-06 19:12:45 +02:00
|
|
|
#editor-wrapper div.ProseMirror[contenteditable="true"] {
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-23 15:46:31 +02:00
|
|
|
#editor-wrapper .ProseMirror pre,
|
2021-07-23 22:51:53 +02:00
|
|
|
#editor-wrapper .ProseMirror code,
|
|
|
|
#text-wrapper .ProseMirror pre,
|
|
|
|
#text-wrapper .ProseMirror code {
|
2020-10-06 19:12:45 +02:00
|
|
|
background-color: var(--color-background-darker) !important;
|
2020-02-05 19:49:31 +01:00
|
|
|
}
|
|
|
|
|
2021-07-23 15:46:31 +02:00
|
|
|
#editor-wrapper .ProseMirror a,
|
2021-07-23 22:51:53 +02:00
|
|
|
#text-wrapper .ProseMirror a,
|
2021-07-23 15:46:31 +02:00
|
|
|
#editor-wrapper:not(.show-color-annotations) .ProseMirror a {
|
|
|
|
color: var(--color-text-link) !important;
|
|
|
|
|
|
|
|
span.author-annotation {
|
|
|
|
color: var(--color-text-link) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-03 11:04:22 +01:00
|
|
|
#editor-wrapper .menububble {
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
|
|
|
|
.menububble__form {
|
|
|
|
.menububble__input,
|
|
|
|
.menububble__button {
|
|
|
|
height: 44px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-14 14:06:10 +02:00
|
|
|
#editor-wrapper div.ProseMirror table th {
|
2023-02-04 21:33:56 +01:00
|
|
|
border-bottom-width: 2px;
|
2022-05-14 14:06:10 +02:00
|
|
|
}
|
|
|
|
|
2022-05-14 13:42:40 +02:00
|
|
|
#editor-wrapper .menubar {
|
|
|
|
button {
|
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button.icon-undo,
|
|
|
|
button.icon-redo {
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-list {
|
|
|
|
border: 1px solid var(--color-border);
|
2023-02-04 21:33:56 +01:00
|
|
|
box-shadow: unset !important;
|
2022-05-14 13:42:40 +02:00
|
|
|
|
|
|
|
.emoji-list__item {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
}
|
2023-09-17 12:52:48 +02:00
|
|
|
|
|
|
|
.text-menubar .entry-action.is-active:not(.entry-action-item) .material-design-icon > svg,
|
|
|
|
.text-menubar button.entry-action__button.is-active .material-design-icon > svg {
|
2024-04-12 11:42:58 +02:00
|
|
|
fill: var(--color-primary-text) !important;
|
2023-09-17 12:52:48 +02:00
|
|
|
}
|