forked from webpack/webpack-bundle-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSidebar.css
More file actions
94 lines (79 loc) · 1.35 KB
/
Sidebar.css
File metadata and controls
94 lines (79 loc) · 1.35 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
@value toggleTime: 200ms;
.container {
background: var(--bg-primary);
border: none;
border-right: 1px solid var(--border-color);
box-sizing: border-box;
max-width: calc(50% - 10px);
opacity: 0.95;
z-index: 1;
transition: background-color 0.3s ease, border-color 0.3s ease;
}
.container:not(.hidden) {
min-width: 200px;
}
.container:not(.pinned) {
bottom: 0;
position: absolute;
top: 0;
transition: transform toggleTime ease;
}
.container.pinned {
position: relative;
}
.container.left {
left: 0;
}
.container.left.hidden {
transform: translateX(calc(-100% + 7px));
}
.content {
box-sizing: border-box;
height: 100%;
overflow-y: auto;
padding: 25px 20px 20px;
width: 100%;
}
.empty.pinned .content {
padding: 0;
}
.container :global(.themeToggle) {
position: absolute;
top: 10px;
left: 15px;
z-index: 10;
height: 26px;
width: 27px;
padding: 0;
}
.pinButton,
.toggleButton {
cursor: pointer;
height: 26px;
line-height: 0;
position: absolute;
top: 10px;
width: 27px;
}
.pinButton {
right: 47px;
}
.toggleButton {
padding-left: 6px;
right: 15px;
}
.hidden .toggleButton {
right: -35px;
transition: transform .2s ease;
}
.hidden .toggleButton:hover {
transform: translateX(4px);
}
.resizer {
bottom: 0;
cursor: col-resize;
position: absolute;
right: 0;
top: 0;
width: 7px;
}