allow-comment.scss
1.34 KB
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
$balloon-selected-color: #50BF68;
$balloon-color: #c4c4c4;
comment-paragraph-plugin-allow-comment {
.paragraph {
width: 100%;
&.active {
width: 80%;
}
.popover {
&.right > .arrow {
}
}
.paragraph-content {
width: 94%;
display: inline-block;
}
.paragraph-actions {
width: 3%;
display: inline-block;
vertical-align: top;
margin-left: 10px;
.popover {
width: 100%;
max-width: 330px;
}
.count {
font-size: 14px;
font-weight: bold;
color: white;
text-align: center;
width: 100%;
display: inline-block;
}
.arrow_box {
position: relative;
background: $balloon-color;
margin-top: 5px;
width: 25px;
border-radius: 2px;
&:after {
top: 100%;
left: 50%;
border: solid transparent;
content: " ";
position: absolute;
pointer-events: none;
border-color: rgba(196, 196, 196, 0);
border-top-color: $balloon-color;
border-width: 6px;
margin-left: -6px;
}
&:hover, &.active {
background: $balloon-selected-color;
&:after {
border-top-color: $balloon-selected-color;
}
}
}
}
}
}