1
0
mirror of https://github.com/mwalbeck/nextcloud-breeze-dark.git synced 2024-11-14 20:16:26 +00:00
nextcloud-breeze-dark/css/apps/core/_text.scss

118 lines
2.5 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;
}
}
}
/* Icons -------------------------------------------------------------------- */
.icon-undo {
background-image: var(--icon-text-undo-f2f2f2) !important;
}
.icon-redo {
background-image: var(--icon-text-redo-f2f2f2) !important;
}
.icon-bold {
background-image: var(--icon-text-bold-f2f2f2) !important;
}
.icon-italic {
background-image: var(--icon-text-italic-f2f2f2) !important;
}
.icon-strike {
background-image: var(--icon-text-strike-f2f2f2) !important;
}
.icon-paragraph {
background-image: var(--icon-text-paragraph-f2f2f2) !important;
}
.icon-h1 {
background-image: var(--icon-text-h1-f2f2f2) !important;
}
.icon-h2 {
background-image: var(--icon-text-h2-f2f2f2) !important;
}
.icon-h3 {
background-image: var(--icon-text-h3-f2f2f2) !important;
}
.icon-h4 {
background-image: var(--icon-text-h4-f2f2f2) !important;
}
.icon-h5 {
background-image: var(--icon-text-h5-f2f2f2) !important;
}
.icon-h6 {
background-image: var(--icon-text-h6-f2f2f2) !important;
}
.icon-ul {
background-image: var(--icon-text-ul-f2f2f2) !important;
}
.icon-ol {
background-image: var(--icon-text-ol-f2f2f2) !important;
}
.icon-checkmark {
background-image: var(--icon-checkmark-f2f2f2) !important;
}
.icon-quote {
background-image: var(--icon-text-quote-f2f2f2) !important;
}
.icon-code {
background-image: var(--icon-text-code-f2f2f2) !important;
}
.icon-image {
background-image: var(--icon-text-image-f2f2f2) !important;
}