forked from zluca/Sidebar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar-pocket.css
97 lines (96 loc) · 1.74 KB
/
sidebar-pocket.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
.logout #pocket-folder-0,
.logout #user,
.logout .bottom-bar,
#login,
.type .domain-view,
.domain .type-view {
display: none;
}
#user {
display: flex;
}
.logout #login {
display: block;
}
#user {
align-items: center;
cursor: default;
font-size: 1.2rem;
padding-left: 1.5rem;
position: relative;
margin-bottom: .8rem;
user-select: none;
moz-user-select: none;
}
#user::before,
.unfixed #login::before {
content: '';
display: inline-block;
position: absolute;
top: .2rem;
left: .2rem;
-webkit-mask-image: url(/icons/user.svg);
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: 100% 100%;
-webkit-mask-position: center;
-webkit-mask-mode: alpha;
mask-image: url(/icons/user.svg);
mask-repeat: no-repeat;
mask-size: 100% 100%;
mask-position: center;
mask-mode: alpha;
background-color: var(--font-color);
width: 1rem;
height: 1rem;
}
.hover #login::before,
.fixed #login::before {
display: none;
}
#login {
text-indent: 1.5rem;
margin-left: 0;
}
#pocket-logout {
display: inline-block;
margin-left: .4rem;
}
#pocket-edit,
#pocket-delete,
#pocket-fav,
#pocket-archive,
.type-archives #pocket-unarchive {
display: inline-block;
}
.domain-articles {
background-image: url(icons/article.svg);
}
.domain-pictures {
background-image: url(icons/picture.svg);
}
.domain-videos {
background-image: url(icons/video.svg);
}
.domain-other {
background-image: url(icons/default.svg);
}
.domain-archives {
background-image: url(icons/archive.svg);
}
.favorite {
background-color: var(--background-color-active);
}
.favorite #pocket-fav,
.type-archives #pocket-archive {
display: none;
}
.favorite #pocket-unfav {
display: inline-block;
}
.type-archives {
text-decoration: line-through;
}
.plain .type-archives,
.domain .type-archives {
display: none;
}