mirror of
https://github.com/zadam/trilium.git
synced 2025-12-05 23:14:24 +01:00
Improve mathform.css styling for better visual integration
This commit is contained in:
parent
48a4b81fbe
commit
de80eb4806
@ -186,19 +186,12 @@
|
|||||||
border-radius: var(--ck-border-radius, 6px);
|
border-radius: var(--ck-border-radius, 6px);
|
||||||
font-size: var(--ck-font-size-base);
|
font-size: var(--ck-font-size-base);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: var(--input-background-color);
|
background: var(--ck-color-input-background,) !important;
|
||||||
color: var(--input-text-color);
|
color: var(--ck-color-input-text, inherit);
|
||||||
outline: 3px solid transparent;
|
outline: 3px solid transparent;
|
||||||
outline-offset: 6px;
|
outline-offset: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hover state */
|
|
||||||
.ck.ck-math-form math-field:hover,
|
|
||||||
.ck.ck-math-form textarea:hover {
|
|
||||||
background: var(--input-hover-background);
|
|
||||||
color: var(--input-hover-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Make the raw LaTeX textarea flat (no rounded corners or hover animation) */
|
/* Make the raw LaTeX textarea flat (no rounded corners or hover animation) */
|
||||||
.ck-math-view .ck-labeled-field-view textarea {
|
.ck-math-view .ck-labeled-field-view textarea {
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
@ -209,8 +202,8 @@
|
|||||||
|
|
||||||
.ck-math-view .ck-labeled-field-view textarea:hover,
|
.ck-math-view .ck-labeled-field-view textarea:hover,
|
||||||
.ck-math-view .ck-labeled-field-view textarea:focus {
|
.ck-math-view .ck-labeled-field-view textarea:focus {
|
||||||
background: var(--input-background-color);
|
background: var(--ck-color-input-background, ) !important;
|
||||||
color: var(--input-text-color);
|
color: var(--ck-color-input-text, inherit) !important;
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user