aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LinkMenu.scss
diff options
context:
space:
mode:
authorSam Wilkins <abdullah_ahmed@brown.edu>2019-06-06 17:45:26 -0400
committerSam Wilkins <abdullah_ahmed@brown.edu>2019-06-06 17:45:26 -0400
commit972f76a34e3c1a1aa5f0be59639fbd5763c9c16f (patch)
tree686b83e841b9530e923de72ba4526123bd1d7732 /src/client/views/nodes/LinkMenu.scss
parent7d3ef1c914cc1cc0b6c05b14773a8b83e1b95c96 (diff)
links get saved to global table
Diffstat (limited to 'src/client/views/nodes/LinkMenu.scss')
-rw-r--r--src/client/views/nodes/LinkMenu.scss65
1 files changed, 64 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkMenu.scss b/src/client/views/nodes/LinkMenu.scss
index dedcce6ef..860f31d8a 100644
--- a/src/client/views/nodes/LinkMenu.scss
+++ b/src/client/views/nodes/LinkMenu.scss
@@ -1,3 +1,5 @@
+@import "../globalCssVariables";
+
#linkMenu-container {
width: 100%;
height: auto;
@@ -18,4 +20,65 @@
width: 100%;
height: 100px;
overflow-y: scroll;
-} \ No newline at end of file
+}
+
+.link-menu-group {
+ .link-menu-item {
+ border-top: 0.5px solid $light-color-secondary;
+ padding: 6px;
+ position: relative;
+ display: flex;
+
+ .link-menu-item-content {
+ width: 100%;
+ }
+
+ &:last-child {
+ border-bottom: 0.5px solid $light-color-secondary;
+ }
+ &:hover .link-menu-item-buttons {
+ display: flex;
+ }
+ &:hover .link-menu-item-content {
+ width: calc(100% - 72px);
+ }
+ }
+ .link-menu-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;
+ }
+ }
+ }
+}
+