aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LinkEditor.scss
diff options
context:
space:
mode:
authorFawn <fangrui_tong@brown.edu>2019-06-12 16:20:46 -0400
committerFawn <fangrui_tong@brown.edu>2019-06-12 16:20:46 -0400
commite1fd270f1806ffd51174c835b335ceb4ebb2fe56 (patch)
treeb1882eca27303e7160a31c66e3752bed3710f85d /src/client/views/nodes/LinkEditor.scss
parent2c3b54d6e07c37a4f5fd52a49d6d60e7a8e5d2d2 (diff)
created remove handlers for link metadata and groups
Diffstat (limited to 'src/client/views/nodes/LinkEditor.scss')
-rw-r--r--src/client/views/nodes/LinkEditor.scss32
1 files changed, 31 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkEditor.scss b/src/client/views/nodes/LinkEditor.scss
index d3ac8cf19..b56f3046a 100644
--- a/src/client/views/nodes/LinkEditor.scss
+++ b/src/client/views/nodes/LinkEditor.scss
@@ -74,6 +74,7 @@
}
.linkEditor-group-row {
display: flex;
+ margin-bottom: 6px;
.linkEditor-group-row-label {
margin-right: 6px;
}
@@ -81,8 +82,17 @@
.linkEditor-metadata-row {
display: flex;
justify-content: space-between;
+ margin-bottom: 6px;
input {
- width: calc(50% - 2px);
+ width: calc(50% - 18px);
+ height: 20px;
+ }
+ button {
+ width: 20px;
+ height: 20px;
+ margin-left: 6px;
+ padding: 0;
+ font-size: 14px;
}
}
}
@@ -90,6 +100,7 @@
.linkEditor-dropdown {
width: 100%;
position: relative;
+ z-index: 999;
.linkEditor-options-wrapper {
width: 100%;
position: absolute;
@@ -107,4 +118,23 @@
background-color: $light-color-secondary;
}
}
+}
+
+.linkEditor-group-buttons {
+ height: 20px;
+ display: flex;
+ justify-content: space-between;
+ button {
+ width: 31%;
+ height: 20px;
+ margin-left: 6px;
+ padding: 0;
+ font-size: 10px;
+ &:first-child { // delete
+ font-size: 14px;
+ }
+ &:disabled { // delete
+ background-color: gray;
+ }
+ }
} \ No newline at end of file