/
NewsFeedIcon.scss
59 lines (51 loc) · 977 Bytes
/
NewsFeedIcon.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
.component {
position: absolute;
right: 29px;
top: 20px;
&.notificationDot {
@extend .dot;
&:after {
background: var(--theme-news-feed-icon-red-dot-background-color) !important;
}
}
&.updateDot {
@extend .dot;
}
.icon {
border-radius: 50%;
cursor: pointer;
display: block;
height: 44px;
position: relative;
width: 44px;
svg {
height: 22px;
left: 11px;
position: absolute;
top: 10px;
width: 22px;
path {
stroke: var(--theme-news-feed-icon-color);
}
}
&:hover {
background-color: var(
--theme-news-feed-icon-toggle-hover-background-color
);
}
}
}
.dot {
&:after {
background: var(--theme-news-feed-icon-green-dot-background-color);
border-radius: 12.5px;
content: '';
display: block;
height: 8px;
pointer-events: none;
position: absolute;
right: 7px;
top: 7px;
width: 8px;
}
}