forked from evoko/zendesk-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_community_badge.scss
81 lines (68 loc) · 1.53 KB
/
_community_badge.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
/***** Community Badges *****/
/* Styles labels used next to the authors of article comments, community posts, and community comments */
.community-badge-title {
background-color: #04444d;
border-radius: $border-radius;
color: #fff;
font-size: 12px;
font-weight: $font-weight-semibold;
padding: 0px 8px;
vertical-align: top;
white-space: nowrap;
display: inline-flex;
line-height: 18px;
vertical-align: middle;
}
.profile-info .community-badge-title {
padding: 2px 8px;
line-height: 20px;
}
.community-badge-container-achievements {
display: flex;
}
.community-badge-container-achievements > .community-badge-titles {
margin-left: calc(28px - 0.5em);
}
[dir='rtl'] .community-badge-container-achievements > .community-badge-titles {
margin-right: calc(28px - 0.5em);
}
.community-name-and-title-badges {
display: flex;
flex-wrap: wrap;
}
.community-badge {
margin: 2px;
}
.community-badge-achievements {
display: block;
height: 16px;
white-space: nowrap;
width: 16px;
}
.profile-info .community-badge-achievements {
height: 40px;
width: 40px;
}
.community-title-badges {
flex-basis: 100%;
margin-top: 15px;
}
.community-badge-achievements-rest {
font-size: 12px;
font-weight: $font-weight-semibold;
line-height: 20px;
text-align: center;
vertical-align: top;
}
.community-badge-achievements img {
width: 100%;
height: 100%;
}
.community-badge-titles img {
width: 20px;
height: 20px;
}
.profile-info .community-badge-achievements-rest {
line-height: 40px;
font-size: 20px;
}