diff options
| author | Fawn <fangrui_tong@brown.edu> | 2019-06-19 22:27:21 -0400 |
|---|---|---|
| committer | Fawn <fangrui_tong@brown.edu> | 2019-06-19 22:27:21 -0400 |
| commit | c5e401cb0a7fec2279ceecbc8d1429dcdd2f04b9 (patch) | |
| tree | d7e3b77890c3c4f3be0dca1da9c4aae71ecaead7 /src/client/views/nodes/LinkBox.scss | |
| parent | f362dbfc237536c6c4a8c6d088c3dc818080f7c2 (diff) | |
buttons on cut links functional except for when dragged from link menu
Diffstat (limited to 'src/client/views/nodes/LinkBox.scss')
| -rw-r--r-- | src/client/views/nodes/LinkBox.scss | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/src/client/views/nodes/LinkBox.scss b/src/client/views/nodes/LinkBox.scss deleted file mode 100644 index 77462f611..000000000 --- a/src/client/views/nodes/LinkBox.scss +++ /dev/null @@ -1,76 +0,0 @@ -@import "../globalCssVariables"; -.linkMenu-item { - border-top: 0.5px solid $main-accent; - padding: 6px; - position: relative; - display: flex; - font-size: 12px; - - .linkMenu-item-content { - width: 100%; - } - - .link-metadata { - margin-top: 6px; - padding: 3px; - border-top: 0.5px solid $light-color-secondary; - .link-metadata-row { - margin-left: 6px; - } - } - - &:last-child { - border-bottom: 0.5px solid $main-accent; - } - &:hover { - .linkMenu-item-buttons { - display: flex; - } - .linkMenu-item-content { - &.expand-two { - width: calc(100% - 46px); - } - &.expand-three { - width: calc(100% - 78px); - } - } - } -} - -.linkMenu-item-buttons { - display: none; - position: absolute; - top: 50%; - right: 0; - transform: translateY(-50%); - - .button { - width: 20px; - height: 20px; - margin: 0; - margin-right: 6px; - border-radius: 50%; - cursor: pointer; - pointer-events: auto; - background-color: $dark-color; - color: $light-color; - font-size: 65%; - transition: transform 0.2s; - text-align: center; - position: relative; - - .fa-icon { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - } - - &:last-child { - margin-right: 0; - } - &:hover { - background: $main-accent; - } - } -}
\ No newline at end of file |
