-
Notifications
You must be signed in to change notification settings - Fork 14
/
ActionsListItem.css
163 lines (136 loc) · 2.64 KB
/
ActionsListItem.css
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/*
* @NOTE Unique values
*/
@value mainTextSize: 13px;
@value popoverWidth: 400px;
@value popoverDistance: 10px;
.main {
display: flex;
align-items: center;
margin-bottom: 1px;
padding: 26px 20px;
height: 89px;
border-radius: var(--radius-large);
background-color: var(--colony-white);
font-size: mainTextSize;
font-weight: var(--weight-bold);
color: var(--dark);
letter-spacing: var(--spacing-medium);
box-shadow: 0px 2px 11px var(--drop-shadow);
cursor: pointer;
outline: 0;
}
.main:hover {
background-color: var(--colony-light-blue);
}
.avatar {
margin-top: -2px;
padding-right: 15px;
cursor: pointer;
}
.avatar > div > figure {
height: 42px;
width: 42px;
border: 2px solid transparent;
border-radius: 100%;
}
.status::before {
display: block;
margin-left: -17px;
height: 82px;
width: 4px;
position: absolute;
border-radius: var(--radius-large);
content: '';
}
.stateNeedAction {
composes: status;
}
.stateNeedAction::before {
background-color: var(--pink);
}
.stateNeedAttention {
composes: status;
}
.stateNeedAttention::before {
background-color: var(--colony-blue);
}
.stateYellow {
composes: status;
}
.stateYellow::before {
background-color: var(--golden);
}
.content {
flex: 1 1 100%;
/*
* @NOTE Flex items won't shrink below their minimum content
* This forces flex to resize at the correct ration, while still applying our
* overflow -- which is all the reasoning why we did this in the first place,
* to add text ellipsis to overflowing elements
*/
min-width: 0;
}
.titleWrapper {
display: flex;
align-items: center;
width: 100%;
}
.title {
composes: inlineEllipsis from '~styles/text.css';
}
.meta {
margin-top: 3px;
font-size: var(--size-small);
font-weight: var(--weight-normal);
color: var(--grey-purple);
letter-spacing: var(--spacing-normal);
}
.separator::before {
display: inline-block;
margin: 0px 10px -2px;
height: 12px;
width: 1px;
background-color: var(--light-grey-beige);
content: '';
}
.day {
margin-right: 4px;
}
.domain {
composes: separator;
}
.commentCount {
composes: separator;
display: inline-block;
}
.commentCountIcon {
display: inline-block;
margin: 0 5px 2px 0;
height: 13px;
width: 13px;
vertical-align: bottom;
stroke: none;
}
.commentCountIcon svg {
fill: rgba(var(--dark-1), 0.7);
}
.userMention {
display: inline-block;
cursor: pointer;
}
.stateNoPointer {
cursor: default;
}
.titleDecoration {
color: var(--pink);
}
.motionTagWrapper {
display: inline-block;
margin: -1px 0 0 12px;
padding: 0;
vertical-align: middle;
}
.countdownTimerContainer {
margin-left: 30px;
}