blob: a4018bd2d255a181c76a7c12746ec28022ae0378 (
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
|
@import "../globalCssVariables";
.linkMenu {
width: 100%;
height: auto;
}
.linkMenu-list {
max-height: 200px;
overflow-y: scroll;
}
.linkMenu-group {
border-bottom: 0.5px solid lightgray;
padding: 5px 0;
&:last-child {
border-bottom: none;
}
.linkMenu-group-name {
display: flex;
&:hover {
p {
background-color: lightgray;
}
p.expand-one {
width: calc(100% - 26px);
}
.linkEditor-tableButton {
display: block;
}
}
p {
width: 100%;
padding: 4px 6px;
line-height: 12px;
border-radius: 5px;
font-weight: bold;
}
.linkEditor-tableButton {
display: none;
}
}
}
.linkMenu-item {
// border-top: 0.5px solid $main-accent;
position: relative;
display: flex;
font-size: 12px;
.link-name {
position: relative;
p {
padding: 4px 6px;
line-height: 12px;
border-radius: 5px;
overflow-wrap: break-word;
}
}
.linkMenu-item-content {
width: 100%;
}
.link-metadata {
padding: 0 10px 0 16px;
margin-bottom: 4px;
color: $main-accent;
font-style: italic;
font-size: 10.5px;
}
&:hover {
.linkMenu-item-buttons {
display: flex;
}
.linkMenu-item-content {
&.expand-two p {
width: calc(100% - 52px);
background-color: lightgray;
}
&.expand-three p {
width: calc(100% - 84px);
background-color: lightgray;
}
}
}
}
.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;
}
}
}
|