-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathquote.component.scss
More file actions
97 lines (82 loc) · 1.99 KB
/
quote.component.scss
File metadata and controls
97 lines (82 loc) · 1.99 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
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
@import "variables";
@import "commons";
.quote {
border: 1px solid $quote-border-color;
border-radius: 3px;
padding: 3px;
margin: 15px 2px 0 $avatar-column-space;
position: relative;
&__unaccepted {
color: $quote-unaccepted-color;
text-align: center;
font-size: 12px;
padding: 5px 10px;
}
&__open-quote-btn {
position: absolute;
top: 0px;
right: 1px;
color: $status-secondary-color;
text-decoration: none;
padding: 7px 7px;
font-size: 7px;
z-index: 10;
&:hover {
color: var(--status-secondary-color-lighten-20);
}
}
&__profile-link {
display: flex;
align-items: center;
text-decoration: none;
margin-bottom: 5px;
padding-right: 18px;
color: $status-secondary-color;
overflow: hidden;
&:hover {
color: var(--status-secondary-color-lighten-20);
}
}
&__avatar {
width: 30px;
height: 30px;
border-radius: 2px;
margin-right: 4px;
flex-shrink: 0;
}
&__name {
display: flex;
flex-direction: column;
align-items: flex-start;
overflow: hidden;
white-space: nowrap;
&--displayname {
line-height: 1;
color: $status-primary-color;
text-overflow: ellipsis;
overflow: hidden;
max-width: 100%;
}
&--username {
line-height: 1;
text-overflow: ellipsis;
overflow: hidden;
max-width: 100%;
}
}
&__attachments {
display: block;
margin-top: 5px;
}
&__sub-quote {
margin: 5px 0 0 0;
padding: 2px 0 2px 5px;
color: $quote-sub-quote-color;
background-color: $quote-sub-quote-background;
border-radius: 3px;
}
&__poll {
display: block;
margin-top: 5px;
}
}