blob: 3c49c221244a90b029b800ba86cdf49a3834aed9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
@import "../globalCssVariables";
.linkEditor {
width: 100%;
height: auto;
font-size: 12px; // TODO
}
.linkEditor-back {
margin-bottom: 6px;
}
.linkEditor-info {
border-bottom: 0.5px solid $light-color-secondary;
padding-bottom: 6px;
margin-bottom: 6px;
display: flex;
justify-content: space-between;
.linkEditor-linkedTo {
width: calc(100% - 26px);
}
}
.linkEditor-button {
width: 20px;
height: 20px;
margin-left: 6px;
padding: 0;
// font-size: 12px;
border-radius: 10px;
&:disabled {
background-color: gray;
}
}
.linkEditor-groupsLabel {
display: flex;
justify-content: space-between;
}
.linkEditor-group {
background-color: $light-color-secondary;
padding: 6px;
margin: 3px 0;
border-radius: 3px;
.linkEditor-group-row {
// display: flex;
margin-bottom: 3px;
.linkEditor-group-row-label {
margin-right: 6px;
}
}
.linkEditor-metadata-row {
display: flex;
justify-content: space-between;
margin-bottom: 6px;
.linkEditor-error {
border-color: red;
}
input {
width: calc(50% - 16px);
height: 20px;
}
button {
width: 20px;
height: 20px;
margin-left: 3px;
padding: 0;
font-size: 10px;
}
}
}
.linkEditor-dropdown {
width: 100%;
position: relative;
z-index: 999;
input {
width: 100%;
}
.linkEditor-options-wrapper {
width: 100%;
position: absolute;
top: 19px;
left: 0;
display: flex;
flex-direction: column;
}
.linkEditor-option {
background-color: $light-color-secondary;
border: 1px solid $intermediate-color;
border-top: 0;
padding: 3px;
cursor: pointer;
&:hover {
background-color: lightgray;
}
}
}
.linkEditor-group-buttons {
height: 20px;
display: flex;
justify-content: flex-end;
.linkEditor-button {
margin-left: 6px;
}
// .linkEditor-groupOpts {
// width: calc(20% - 3px);
// height: 20px;
// padding: 0;
// font-size: 10px;
// &:disabled {
// background-color: gray;
// }
// }
}
|