-
Notifications
You must be signed in to change notification settings - Fork 26
/
question-answer.scss
86 lines (68 loc) · 1.21 KB
/
question-answer.scss
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
.qa-post {
float: left;
.btn {
background: white;
&:hover {
background: dark-light-diff($primary, $secondary, 65%, -75%);
color: $secondary;
}
}
.count {
text-align: center;
}
}
.qa-button .d-icon {
margin: 0;
}
.time-gap+.topic-post.answer .topic-body, .time-gap+.topic-post.comment .topic-body {
border-top: 1px solid $primary-low;
}
.topic-post.answer+.time-gap, .topic-post.comment+.time-gap {
display: none;
}
nav.post-controls button.comment {
font-size: 1em;
}
.topic-post.comment {
display: none;
&.show {
display: block;
}
.avatar-flair {
width: 12px;
height: 12px;
right: 16px;
i {
font-size: 8px;
}
}
}
.show-comments {
margin-bottom: 10px;
display: inline-block;
}
.answer .show-comments {
padding-left: 105px;
}
.qa-topic-tip {
position: relative;
margin-top: 5px;
.tip-details {
background-color: dark-light-diff($primary, $secondary, 95%, -85%);
box-shadow: shadow('dropdown');
padding: 10px 15px;
position: absolute;
top: 32px;
z-index: 9999;
width: 300px;
p {
margin: 0;
}
ul {
margin-bottom: 0;
}
li {
margin: 2px 0;
}
}
}