diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-02-11 16:43:46 -0500 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-02-11 16:43:46 -0500 |
| commit | 546540013de0a7cb647f30f1fcb513ce52048b72 (patch) | |
| tree | 12b78ea0e29fba23b8557864540984daf9680942 /src/client/views/nodes/LinkDocPreview.scss | |
| parent | 77b7c3927c454a829d7dbb2748ad322b146265a7 (diff) | |
| parent | 890337b525ea460f9986562c047135bc5ca203a6 (diff) | |
merging
Diffstat (limited to 'src/client/views/nodes/LinkDocPreview.scss')
| -rw-r--r-- | src/client/views/nodes/LinkDocPreview.scss | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/src/client/views/nodes/LinkDocPreview.scss b/src/client/views/nodes/LinkDocPreview.scss new file mode 100644 index 000000000..b7aeaa072 --- /dev/null +++ b/src/client/views/nodes/LinkDocPreview.scss @@ -0,0 +1,72 @@ + .linkDocPreview { + position: absolute; + pointer-events: all; + background-color: lightblue; + border: 8px solid white; + border-radius: 7px; + box-shadow: 3px 3px 1.5px grey; + border-bottom: 8px solid white; + border-right: 8px solid white; + z-index: 2004; + .linkDocPreview-inner { + background-color: white; + border: 8px solid white; + width: 100%; + height: 100%; + pointer-events: none; + + .linkDocPreview-info { + height: 37px; + white-space: pre; + + .linkDocPreview-buttonBar { + float: right; + } + .linkDocPreview-title { + padding-right: 4px; + float: left; + width: calc(100% - 48px); + overflow: hidden; + text-overflow: ellipsis; + height: 25px; + + .linkDocPreview-description { + text-decoration: none; + font-style: italic; + color: rgb(95, 97, 102); + font-size: 10px; + } + } + + .linkDocPreview-button { + display: inline-flex; + margin: 0; + margin-right: 3px; + border-radius: 50%; + pointer-events: auto; + background-color: black; + color: white; + transition: transform 0.2s; + text-align: center; + position: relative; + font-size: 12px; + width: 20px; + height: 20px; + align-items: center; + justify-content: center; + + &:hover { + background-color: rgb(77, 77, 77); + cursor: pointer; + } + } + + .linkDocPreview-preview-wrapper { + overflow: hidden; + align-content: center; + justify-content: center; + background-color: rgb(160, 160, 160); + } + } + } +}
\ No newline at end of file |
