UNPKG

1.32 kBtext/lessView Raw
1.answered {
2 border: 1px solid @brand-success;
3 color: @brand-success;
4}
5
6.unanswered {
7 border: 1px solid @brand-warning;
8 color: @brand-warning;
9}
10
11.unanswered, .answered {
12 font-size: 10px;
13 padding: 4px 8px;
14 vertical-align: bottom;
15 font-weight: 700;
16}
17
18.breadcrumb {
19 .answered, .unanswered {
20 display: none;
21 }
22}
23
24html .topic {
25 .answered {
26 color: @brand-success;
27 }
28
29 .unanswered {
30 color: @brand-warning;
31 }
32}
33
34.posts [component="post"][data-index="-1"].isSolved {
35 &:before {
36 content: attr(data-label);
37 background: @brand-success;
38 border-radius: 0 4px 4px 0;
39 color: @label-color;
40 text-transform: uppercase;
41 font-size: 10px;
42 padding: 4px 8px;
43 font-weight: 600;
44 position: relative;
45 top: -1.25rem;
46 }
47
48 border-left: 8px solid @brand-success;
49 border-right: 1px solid @brand-success;
50 border-top: 1px solid @brand-success;
51 border-bottom: 1px solid @brand-success;
52
53 padding-top: 40px; // to make room for label (in :before pseudo-element)
54
55 .necro-post {
56 display: none;
57 }
58
59 @media (max-width: @screen-xs-max) {
60 margin-left: -15px;
61 }
62
63 > hr {
64 display: none;
65 }
66
67 .bookmarked:before {
68 color: @brand-success;
69 content: "\f00c";
70 }
71}
72
73.posts.timeline > [component="post"].isSolved {
74 margin-left: calc(2.5rem - 3.5px);
75
76 > div:not(.content) {
77 margin-left: calc(-2.5rem - 3.5px);
78 }
79}
\No newline at end of file