-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
110 lines (102 loc) · 2.52 KB
/
Copy pathstyles.css
File metadata and controls
110 lines (102 loc) · 2.52 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/* Floating Master Sidebar Panel */
#jupyter-collector-panel {
position: fixed;
top: 20px;
right: 20px;
width: 280px;
height: 380px;
background: #f8f9fa;
border: 2px solid #cfd8dc;
border-radius: 8px;
z-index: 999999;
display: flex;
flex-direction: column;
box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
overflow: hidden;
transition: height 0.2s ease-in-out, opacity 0.15s ease;
}
/* Subtle fade when not active, full focus on hover */
#jupyter-collector-panel:not(:hover) {
opacity: 0.6;
}
/* New Grab/Drag Header Row */
.panel-header {
background: #cfd8dc;
padding: 6px 10px;
cursor: move; /* Shows the dragging crosshair */
display: flex;
justify-content: space-between;
align-items: center;
user-select: none;
}
.panel-header h3 {
margin: 0;
font-size: 13px;
color: #2c3e50;
font-weight: bold;
}
/* Minimize / Maximize Button */
#collapse-panel-btn {
background: #3182ce;
color: white;
border: none;
border-radius: 4px;
padding: 2px 8px;
font-size: 11px;
cursor: pointer;
font-weight: bold;
}
#collapse-panel-btn:hover { background: #2b6cb0; }
/* Wrapper wrapper for panel contents (hidden when collapsed) */
.panel-content {
display: flex;
flex-direction: column;
padding: 10px;
flex-grow: 1;
height: calc(100% - 32px);
}
/* Code Snippet Preview Window */
#collected-preview {
flex-grow: 1;
background: #2d3748;
color: #a0aec0;
border: 1px solid #1a202c;
border-radius: 4px;
padding: 8px;
overflow-y: auto;
font-family: "Fira Code", Consolas, Monaco, monospace;
font-size: 11px;
white-space: pre-wrap;
margin-bottom: 8px;
}
/* Control Buttons inside Panel */
.collector-btn {
padding: 6px 12px;
margin-top: 4px;
background: #3182ce;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
font-size: 12px;
}
.collector-btn:hover { background: #2b6cb0; }
#clear-panel-btn { background: #e53e3e; }
#clear-panel-btn:hover { background: #c53030; }
/* Injected Target Buttons inside Target Pages */
.jupyter-append-cell-btn {
background-color: #edf2f7;
color: #4a5568;
border: 1px solid #cbd5e0;
border-radius: 4px;
padding: 4px 8px;
font-size: 11px;
cursor: pointer;
font-weight: bold;
margin: 4px;
display: inline-block;
vertical-align: middle;
}
.jupyter-append-cell-btn:hover { background-color: #e2e8f0; }