nextcloud-breeze-dark/css/apps/core/_text.scss

81 lines
1.7 KiB
SCSS

/***
* @copyright Copyright (c) 2019, Magnus Walbeck <mw@mwalbeck.org>
*
* @license GNU AGPL version 3 or any later version, see COPYING file for more.
*/
/* Text --------------------------------------------------------------------- */
#editor-wrapper div.ProseMirror[contenteditable="true"] {
&:hover,
&:focus,
&:active {
background-color: transparent !important;
}
}
#editor-wrapper .ProseMirror pre,
#editor-wrapper .ProseMirror code,
#text-wrapper .ProseMirror pre,
#text-wrapper .ProseMirror code {
background-color: var(--color-background-darker) !important;
}
#editor-wrapper .ProseMirror a,
#text-wrapper .ProseMirror a,
#editor-wrapper:not(.show-color-annotations) .ProseMirror a {
color: var(--color-text-link) !important;
span.author-annotation {
color: var(--color-text-link) !important;
}
}
#editor-wrapper .menububble {
border: 1px solid var(--color-border);
.menububble__form {
.menububble__input,
.menububble__button {
height: 44px;
}
}
}
#editor-wrapper div.ProseMirror table th {
border-bottom-width: 2px;
}
#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);
box-shadow: unset !important;
.emoji-list__item {
opacity: 1 !important;
}
}
.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 {
fill: var(--color-primary-text) !important;
}