76fcbd3752
Due to causing content images to be rendered in unexpected ways. - Also removed CSS filters from other image usage. - Tweaked header CSS filtering to not be so aggressive. - Forced WYSIWYG editor to be on its own layer since that would allow massive larger performance increases in Safari, especially when using dark mode. Closes #2045. Closes #2154.
97 lines
1.9 KiB
SCSS
97 lines
1.9 KiB
SCSS
/**
|
|
* Background colors
|
|
*/
|
|
|
|
.primary-background {
|
|
background-color: var(--color-primary) !important;
|
|
}
|
|
.primary-background-light {
|
|
background-color: var(--color-primary-light);
|
|
@include whenDark {
|
|
background: #000;
|
|
.text-primary {
|
|
color: #AAA !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
/*
|
|
* Status text colors
|
|
*/
|
|
.text-pos, .text-pos:hover, .text-pos-hover:hover {
|
|
color: $positive !important;
|
|
fill: $positive !important;
|
|
}
|
|
|
|
.text-warn, .text-warn:hover, .text-warn-hover:hover {
|
|
color: $warning !important;
|
|
fill: $warning !important;
|
|
}
|
|
|
|
.text-neg, .text-neg:hover, .text-neg-hover:hover {
|
|
color: $negative !important;
|
|
fill: $negative !important;
|
|
}
|
|
|
|
/*
|
|
* Style text colors
|
|
*/
|
|
.text-primary, .text-primary:hover, .text-primary-hover:hover {
|
|
color: var(--color-primary) !important;
|
|
fill: var(--color-primary) !important;
|
|
}
|
|
|
|
.text-muted {
|
|
@include lightDark(color, #575757, #888888, true);
|
|
fill: currentColor !important;
|
|
}
|
|
|
|
.text-dark {
|
|
@include lightDark(color, #222, #ccc, true);
|
|
fill: currentColor !important;
|
|
}
|
|
|
|
.text-white {
|
|
color: #fff;
|
|
fill: currentColor !important;
|
|
}
|
|
|
|
/*
|
|
* Entity text colors
|
|
*/
|
|
.text-bookshelf, .text-bookshelf:hover {
|
|
color: var(--color-bookshelf);
|
|
fill: var(--color-bookshelf);
|
|
}
|
|
.text-book, .text-book:hover {
|
|
color: var(--color-book);
|
|
fill: var(--color-book);
|
|
}
|
|
.text-page, .text-page:hover {
|
|
color: var(--color-page);
|
|
fill: var(--color-page);
|
|
}
|
|
.text-page.draft, .text-page.draft:hover {
|
|
color: var(--color-page-draft);
|
|
fill: var(--color-page-draft);
|
|
}
|
|
.text-chapter, .text-chapter:hover {
|
|
color: var(--color-chapter);
|
|
fill: var(--color-chapter);
|
|
}
|
|
|
|
/*
|
|
* Standard & Entity background colors
|
|
*/
|
|
.bg-white {
|
|
background-color: #FFFFFF;
|
|
}
|
|
.bg-book {
|
|
background-color: var(--color-book);
|
|
}
|
|
.bg-chapter {
|
|
background-color: var(--color-chapter);
|
|
}
|
|
.bg-shelf {
|
|
background-color: var(--color-bookshelf);
|
|
}
|