diff options
author | Max <max@nextcloud.com> | 2022-03-23 16:29:59 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-03-31 15:29:27 +0300 |
commit | 29d068ee2f81d841c74d192f9e78f7d826d65193 (patch) | |
tree | 7072887ff98c0eb971460ad7bb9dfa057398b89d /css | |
parent | 08a976438a88a117ebf8256ff8c3c18af7128b14 (diff) |
ui: use primary-light color for hovered table row
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'css')
-rw-r--r-- | css/icons.scss | 1 | ||||
-rw-r--r-- | css/prosemirror.scss | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/css/icons.scss b/css/icons.scss index db6b3c7b3..781871aae 100644 --- a/css/icons.scss +++ b/css/icons.scss @@ -30,3 +30,4 @@ @include icon-black-white('add_row_after', 'text', 1); @include icon-black-white('delete_col', 'text', 1); @include icon-black-white('delete_row', 'text', 1); +@include icon-black-white('table_settings', 'text', 1); diff --git a/css/prosemirror.scss b/css/prosemirror.scss index f43330e2f..c3190c520 100644 --- a/css/prosemirror.scss +++ b/css/prosemirror.scss @@ -255,7 +255,7 @@ div.ProseMirror { // TODO: create new css variables to improve the theming capability. table { border-spacing: 0; - width: 100%; + width: calc(100% - 50px); table-layout: fixed; white-space: normal; // force text to wrapping margin-bottom: 1em; @@ -287,7 +287,7 @@ div.ProseMirror { tr { background-color: var(--color-main-background); &:hover, &:active, &:focus { - background-color: var(--color-background-dark); + background-color: var(--color-primary-light); } } |