fix #58 (caret-color was being mistaken for color)

This commit is contained in:
dragonwocky 2020-08-28 12:48:23 +10:00
parent 438ad10522
commit 21a6cc2be5
3 changed files with 27 additions and 27 deletions

View File

@ -177,6 +177,9 @@
.dark [style*='fill: rgba(202, 204, 206,'] { .dark [style*='fill: rgba(202, 204, 206,'] {
fill: var(--theme--text_ui) !important; fill: var(--theme--text_ui) !important;
} }
.dark [style*='caret-color: rgba(255, 255, 255, 0.9)'] {
caret-color: var(--theme--text) !important;
}
.dark [style*='color:rgba(151,154,155,0.95)'] { .dark [style*='color:rgba(151,154,155,0.95)'] {
color: var(--theme--text_gray) !important; color: var(--theme--text_gray) !important;

View File

@ -198,6 +198,9 @@
.notion-body:not(.dark) [style*='fill: rgba(55, 53, 47, 0.8)'] { .notion-body:not(.dark) [style*='fill: rgba(55, 53, 47, 0.8)'] {
fill: var(--theme--text) !important; fill: var(--theme--text) !important;
} }
.notion-body:not(.dark) [style*='caret-color: rgb(55, 53, 47)'] {
caret-color: var(--theme--text) !important;
}
.notion-body:not(.dark) [style*='color:rgb(155,154,151)'] { .notion-body:not(.dark) [style*='color:rgb(155,154,151)'] {
color: var(--theme--text_gray) !important; color: var(--theme--text_gray) !important;

View File

@ -10,7 +10,7 @@
} }
.propertylayout-toggle { .propertylayout-toggle {
width: calc(100% - (2 * (96px + env(safe-area-inset-left)))); width: 100%;
text-align: left; text-align: left;
font-size: 0.85em; font-size: 0.85em;
padding: 0.25em; padding: 0.25em;
@ -23,12 +23,6 @@
.propertylayout-toggle[data-action='show'] { .propertylayout-toggle[data-action='show'] {
margin-bottom: 1em; margin-bottom: 1em;
} }
[style*='width: 900px'] + .propertylayout-toggle {
width: calc(900px - (2 * (96px + env(safe-area-inset-left))));
}
.notion-peek-renderer .propertylayout-toggle {
width: 100%;
}
.propertylayout-toggle:hover { .propertylayout-toggle:hover {
background: var(--theme--interactive_hover); background: var(--theme--interactive_hover);
} }