1
0
mirror of https://github.com/mwalbeck/nextcloud-breeze-dark.git synced 2024-11-09 01:46:51 +00:00
nextcloud-breeze-dark/css/apps/thirdparty/_files-markdown.scss
Magnus Walbeck a58dc593c2
Rewrite core styling #133 (#163)
Complete rewrite of core styling to realign with current Nextcloud, and rely more on CSS4 variable for theming.
2020-10-06 19:12:45 +02:00

48 lines
1.4 KiB
SCSS

/***
* @copyright Copyright (c) 2018, Magnus Walbeck <mw@mwalbeck.org>
*
* @license GNU AGPL version 3 or any later version, see COPYING file for more.
*/
/* Markdown editor -----------------------------------------------------------*/
#app-content-texteditor #editor_container {
#editor_controls #preview_editor_controls button:hover {
background-color: var(--color-background-hover);
}
#editor_wrap #preview_wrap #preview {
background-color: var(--color-main-background);
border-left: 1px solid var(--color-border);
color: var(--color-main-text);
&.text-markdown {
blockquote {
border-left-color: var(--color-primary-element);
color: var(--color-text-maxcontrast);
}
tt {
background-color: var(--color-main-background);
border-color: var(--color-border);
}
code,
pre {
background-color: var(--color-background-darker);
border-color: var(--color-border);
}
table tr {
background-color: var(--color-main-background);
border-top-color: var(--color-border);
th {
border-bottom-color: var(--color-border);
color: var(--color-text-maxcontrast);
}
}
}
}
}