blob: df7bd60864e09ebc450d8454e71d47a88117e5d5 (
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
@import "../globalCssVariables";
.edit-container {
width: 100%;
height: auto;
display: flex;
flex-direction: column;
}
.name-input {
margin-bottom: 10px;
padding: 5px;
font-size: 12px;
border: 1px solid #bababa;
}
.description-input {
font-size: 11px;
padding: 5px;
margin-bottom: 10px;
border: 1px solid #bababa;
}
.save-button {
width: 50px;
height: 22px;
pointer-events: auto;
background-color: $dark-color;
color: $light-color;
text-transform: uppercase;
letter-spacing: 2px;
padding: 2px;
font-size: 10px;
margin: 0 auto;
transition: transform 0.2s;
text-align: center;
line-height: 20px;
}
.save-button:hover {
background: $main-accent;
cursor: pointer;
}
.linkEditor {
font-size: 12px; // TODO
.linkEditor-back {
// background-color: $dark-color;
// color: $light-color;
margin-bottom: 6px;
}
.linkEditor-groupsLabel {
display: flex;
justify-content: space-between;
button {
width: 20px;
height: 20px;
margin-left: 6px;
padding: 0;
font-size: 14px;
}
}
.linkEditor-linkedTo {
border-bottom: 0.5px solid $light-color-secondary;
padding-bottom: 6px;
margin-bottom: 6px;
}
.linkEditor-group {
background-color: $light-color-secondary;
padding: 6px;
margin: 3px 0;
border-radius: 3px;
}
.linkEditor-group-row {
display: flex;
margin-bottom: 6px;
.linkEditor-group-row-label {
margin-right: 6px;
}
}
.linkEditor-metadata-row {
display: flex;
justify-content: space-between;
margin-bottom: 6px;
input {
width: calc(50% - 18px);
height: 20px;
}
button {
width: 20px;
height: 20px;
margin-left: 6px;
padding: 0;
font-size: 14px;
}
}
}
.linkEditor-dropdown {
width: 100%;
position: relative;
z-index: 999;
.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: $intermediate-color;
font-weight: bold;
}
}
}
.linkEditor-group-buttons {
height: 20px;
display: flex;
justify-content: space-between;
.linkEditor-groupOpts {
width: calc(33% - 3px);
height: 20px;
// margin-left: 6px;
padding: 0;
font-size: 10px;
&:first-child { // delete
font-size: 14px;
}
&:disabled { // delete
background-color: gray;
}
}
.linkEditor-groupOpts button {
width: 100%;
height: 20px;
font-size: 10px;
padding: 0;
}
}
|