diff options
| author | bobzel <zzzman@gmail.com> | 2024-04-14 16:32:50 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-04-14 16:32:50 -0400 |
| commit | 116b2d692e93a14d7ef68c859edf4b7f723a9f54 (patch) | |
| tree | dc9be8a9e36b6cc2a8a2d94bfd6b713f526bed37 /src/client/views/nodes/formattedText/DashFieldView.scss | |
| parent | d8e4ff91b55736608a02d1ac68cb5c165841d6bb (diff) | |
| parent | a6577f0c085d206db11e491bd4a1e4bae70e0ee6 (diff) | |
update to master
Diffstat (limited to 'src/client/views/nodes/formattedText/DashFieldView.scss')
| -rw-r--r-- | src/client/views/nodes/formattedText/DashFieldView.scss | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/src/client/views/nodes/formattedText/DashFieldView.scss b/src/client/views/nodes/formattedText/DashFieldView.scss index 7a0ff8776..d79df4272 100644 --- a/src/client/views/nodes/formattedText/DashFieldView.scss +++ b/src/client/views/nodes/formattedText/DashFieldView.scss @@ -1,20 +1,11 @@ @import '../../global/globalCssVariables.module.scss'; +.dashFieldView-active, .dashFieldView { position: relative; display: inline-flex; align-items: center; - select { - display: none; - } - - &:hover { - select { - display: unset; - } - } - .dashFieldView-enumerables { width: 10px; height: 10px; @@ -35,6 +26,7 @@ display: inline-block; font-weight: normal; background: rgba(0, 0, 0, 0.1); + cursor: default; } .dashFieldView-fieldSpan { min-width: 8px; @@ -50,6 +42,27 @@ } } } + +.dashFieldView, +.dashFieldView-active { + .dashFieldView-select { + height: 10p; + font-size: 12px; + background: transparent; + opacity: 0; + width: 5px; + } +} + +.dashFieldView { + &:hover { + .dashFieldView-select { + opacity: unset; + width: 15px !important; + } + } +} + .ProseMirror-selectedNode { outline: solid 1px $light-blue !important; } |
