-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathBookmarksPanel.css
More file actions
72 lines (63 loc) · 1.26 KB
/
BookmarksPanel.css
File metadata and controls
72 lines (63 loc) · 1.26 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
.bookmarksPanelContainer {
display: flex;
flex-direction: column;
z-index: 10;
pointer-events: auto;
}
.bookmarksPanelContainer.mobile {
position: fixed;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: min(300px, 60vh);
max-height: 80vh;
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
transform: translateY(100%);
transition: transform 0.3s ease-in-out;
}
.bookmarksPanelContainer.mobile.open {
transform: translateY(0);
}
.bookmarksPanelContainer.desktop {
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 280px;
box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
transform: translateX(100%);
transition: transform 0.3s ease-in-out;
}
.bookmarksPanelContainer.desktop.open {
transform: translateX(0%);
}
.emptyContainer {
display: flex;
align-items: center;
justify-content: center;
flex: 1;
padding: 20px;
}
.bookmarkItem {
display: flex;
align-items: center;
padding: 8px 4px 8px 5px;
gap: 4px;
border-radius: 4px;
cursor: pointer;
border-bottom: 1px solid;
transition: background-color 0.2s ease;
}
.bookmarkItem:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.bookmarkItemName {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.starIcon {
margin-right: 8px;
}