mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 05:53:09 +03:00
UBERF-4644 Text editor style fixes (#4197)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
48351893b1
commit
810ec9010b
@ -71,7 +71,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<NodeViewWrapper class="table-node-wrapper" data-drag-handle>
|
<NodeViewWrapper class="table-node-wrapper" data-drag-handle>
|
||||||
<div class="table-wrapper" class:table-selected={focused}>
|
<div class="table-wrapper" class:table-selected={editable && focused}>
|
||||||
<table class={className}>
|
<table class={className}>
|
||||||
<NodeViewContent as="tbody" />
|
<NodeViewContent as="tbody" />
|
||||||
</table>
|
</table>
|
||||||
@ -131,6 +131,7 @@
|
|||||||
right: -1.25rem;
|
right: -1.25rem;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
margin: 1.25rem 0;
|
||||||
|
|
||||||
.table-button {
|
.table-button {
|
||||||
width: 1.25rem;
|
width: 1.25rem;
|
||||||
|
@ -299,6 +299,7 @@
|
|||||||
--text-editor-toc-default-color: rgba(255, 255, 255, 0.1);
|
--text-editor-toc-default-color: rgba(255, 255, 255, 0.1);
|
||||||
--text-editor-toc-hovered-color: rgba(255, 255, 255, 0.4);
|
--text-editor-toc-hovered-color: rgba(255, 255, 255, 0.4);
|
||||||
--text-editor-drag-marker-bg-color: #444248;
|
--text-editor-drag-marker-bg-color: #444248;
|
||||||
|
--text-editor-table-header-color: rgba(255, 255, 255, 0.06);
|
||||||
|
|
||||||
--theme-clockface-back: radial-gradient(farthest-corner at 50% 0%, #bbb, #fff 100%);
|
--theme-clockface-back: radial-gradient(farthest-corner at 50% 0%, #bbb, #fff 100%);
|
||||||
--theme-clockface-shadow: inset 0 -3px 10px #aaa;
|
--theme-clockface-shadow: inset 0 -3px 10px #aaa;
|
||||||
@ -526,6 +527,7 @@
|
|||||||
--text-editor-toc-default-color: rgba(0, 0, 0, 0.1);
|
--text-editor-toc-default-color: rgba(0, 0, 0, 0.1);
|
||||||
--text-editor-toc-hovered-color: rgba(0, 0, 0, 0.4);
|
--text-editor-toc-hovered-color: rgba(0, 0, 0, 0.4);
|
||||||
--text-editor-drag-marker-bg-color: #444248;
|
--text-editor-drag-marker-bg-color: #444248;
|
||||||
|
--text-editor-table-header-color: rgba(0, 0, 0, 0.06);
|
||||||
|
|
||||||
--theme-clockface-back: radial-gradient(farthest-corner at 50% 0%, #606060, #000 100%);
|
--theme-clockface-back: radial-gradient(farthest-corner at 50% 0%, #606060, #000 100%);
|
||||||
--theme-clockface-shadow: inset 0 -3px 10px #000;
|
--theme-clockface-shadow: inset 0 -3px 10px #000;
|
||||||
|
@ -230,6 +230,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ProseMirror-gapcursor:after {
|
||||||
|
border-top: 1px solid var(--theme-text-primary-color) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.reference {
|
.reference {
|
||||||
&:hover,
|
&:hover,
|
||||||
&.ProseMirror-selectednode {
|
&.ProseMirror-selectednode {
|
||||||
|
@ -49,14 +49,15 @@ table.proseTable {
|
|||||||
|
|
||||||
th {
|
th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
background-color: var(--button-bg-color);
|
background-color: var(--text-editor-table-header-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td,
|
||||||
|
th {
|
||||||
// cell selection
|
// cell selection
|
||||||
|
|
||||||
&.table-cell-selected {
|
&.table-cell-selected {
|
||||||
|
Loading…
Reference in New Issue
Block a user