forked from cyanheads/claude-sidebar-modifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar-disable.css
114 lines (98 loc) · 2.28 KB
/
sidebar-disable.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/* sidebar-disable.css */
.fixed.bottom-0.left-0.top-0.z-20 {
transition: transform 0.3s ease-in-out, width 0.3s ease-in-out !important;
overflow-x: hidden;
}
/* Ensure our modifications don't interfere with existing styles */
.fixed.bottom-0.left-0.top-0.z-20 > div {
width: 100% !important;
}
/* Styles for the settings icon */
#claudeSidebarSettingsIcon {
opacity: 0.7;
transition: opacity 0.2s ease-in-out;
}
#claudeSidebarSettingsIcon:hover {
opacity: 1;
}
/* Styles for the settings panel */
#sidebarSettingsPanel {
position: absolute;
top: 60px;
right: 10px;
background-color: #333;
color: #fff;
border: 1px solid #555;
padding: 15px;
border-radius: 5px;
display: none;
z-index: 1000;
width: 250px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#sidebarSettingsPanel h3 {
margin-top: 0;
margin-bottom: 15px;
font-size: 18px;
border-bottom: 1px solid #555;
padding-bottom: 10px;
}
.setting-group {
margin-bottom: 15px;
}
.setting-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
#sidebarWidthSlider {
width: 100%;
margin-bottom: 5px;
}
#sidebarWidthValue {
display: inline-block;
width: 50px;
text-align: right;
}
/* Styles for the save button */
#saveSettingsButton {
display: block;
width: 100%;
padding: 8px 12px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.2s ease-in-out;
}
#saveSettingsButton:hover {
background-color: #45a049;
}
/* Ensure the sidebar is visible when hovered or pinned */
.fixed.bottom-0.left-0.top-0.z-20:hover,
.fixed.bottom-0.left-0.top-0.z-20.pinned {
transform: translateX(0) !important;
}
/* Increase the visible edge when the sidebar is hidden */
.fixed.bottom-0.left-0.top-0.z-20:not(.pinned):not(.disabled) {
transform: translateX(calc(-100% + 40px));
}
/* Add hover effect for easier access */
.fixed.bottom-0.left-0.top-0.z-20:not(.pinned):not(.disabled):hover {
transform: translateX(calc(-100% + 80px));
}
/* Styles for the activation zone */
.sidebar-activation-zone {
position: fixed;
top: 0;
left: 0;
width: 10px;
height: 100%;
z-index: 1001;
background-color: transparent;
}
.sidebar-activation-zone:hover {
background-color: rgba(0, 0, 0, 0.1);
}