-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontentstyle.css
More file actions
203 lines (196 loc) · 4.36 KB
/
contentstyle.css
File metadata and controls
203 lines (196 loc) · 4.36 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
#cp-extension-box {
position: fixed;
top: 20px;
right: 20px;
z-index: 10000;
background: white;
box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
border-radius: 12px;
width: 300px;
font-family: "Segoe UI", "Arial", sans-serif;
transition: all 0.3s ease;
border: 1px solid #2563eb;
}
#cp-extension-box.collapsed .content {
display: none !important;
}
#cp-extension-box .clock-row {
/* Always keep clock visible */
display: flex !important;
}
#cp-extension-box header {
display: flex;
justify-content: center;
align-items: center;
padding: 6px 10px;
background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
color: #fff;
cursor: move;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
font-size: 1rem;
font-weight: 700;
letter-spacing: 0.2px;
box-shadow: 0 1px 4px rgba(37, 99, 235, 0.1);
min-height: 38px;
position: relative;
}
#cp-extension-box header .toggle-btn {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
}
#cp-extension-box header span {
flex: 1;
text-align: center;
}
#cp-extension-box.collapsed .clock-row {
display: flex !important;
justify-content: center;
align-items: center;
margin: 6px 0 6px 0;
}
#cp-extension-box.collapsed .content {
display: none !important;
}
#cp-extension-box .clock-row {
display: flex;
justify-content: center;
align-items: center;
margin: 6px 0 2px 0;
}
#cp-extension-box button.toggle-btn {
background: transparent;
border: none;
color: #fff;
font-size: 16px;
cursor: pointer;
transition: color 0.2s;
}
#cp-extension-box button.toggle-btn:hover {
color: #dbeafe;
transform: translateY(-40%);
}
#cp-extension-box .content {
padding: 8px 10px 10px 10px;
display: flex;
flex-direction: column;
gap: 3px;
}
#cp-extension-box button,
#cp-extension-box select {
background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
color: #fff;
border: none;
border-radius: 7px;
padding: 5px 10px;
margin: 2px 0 2px 0;
font-size: 0.93rem;
font-family: inherit;
cursor: pointer;
transition: background 0.2s, box-shadow 0.2s;
box-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
font-weight: 600;
}
#cp-extension-box button:not(:disabled):hover {
opacity: 0.9;
transform: translateY(-1px);
transition: all 0.2s ease;
}
#cp-extension-box button:disabled {
background: #cbd5e1;
color: #64748b;
cursor: not-allowed;
opacity: 0.7;
}
#cp-extension-box button:hover:not(:disabled),
#cp-extension-box select:hover {
background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
}
#cp-extension-box .content {
display: flex;
flex-direction: column;
gap: 10px;
}
#cp-extension-box textarea {
width: 100%;
min-height: 24px;
max-height: 48px;
box-sizing: border-box;
border-radius: 7px;
border: 1px solid #2563eb;
padding: 4px;
font-size: 0.93rem;
background: #f1f5f9;
color: #2563eb;
resize: vertical;
margin-bottom: 2px;
transition: border 0.2s, background 0.2s;
font-weight: 500;
}
#cp-extension-box textarea:focus {
border: 1.5px solid #60a5fa;
outline: none;
background: #e0e7ef;
}
#cp-extension-box input[type="number"] {
border: 1px solid #cfd7e6;
border-radius: 4px;
}
#cp-extension-box input[type="number"]:focus {
outline: none;
border-color: #2563eb;
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}
#cp-extension-box select {
background: #f1f5f9;
color: #2563eb;
border: 1px solid #2563eb;
border-radius: 7px;
padding: 4px 8px;
font-size: 0.93rem;
margin-bottom: 2px;
transition: border 0.2s, background 0.2s;
font-weight: 500;
}
#cp-extension-box select:focus {
border: 1.5px solid #60a5fa;
outline: none;
background: #e0e7ef;
}
#cp-stopwatch-display {
font-size: 1rem;
font-weight: 700;
color: #2563eb;
margin: 4px 0 2px 0;
letter-spacing: 1px;
text-shadow: 0 1px 2px #e0e7ef;
}
/* Add more styles */
#cp-extension-box * {
transition: all 0.2s ease-out;
}
/* Make header more grabbable */
#cp-extension-box header {
cursor: grab;
}
#cp-extension-box header:active {
cursor: grabbing;
}
/* Add scrollbar styling */
#cp-bookmarks-section {
scrollbar-width: thin;
scrollbar-color: #2563eb #f1f5f9;
}
#cp-bookmarks-section::-webkit-scrollbar {
width: 8px;
}
#cp-bookmarks-section::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 4px;
}
#cp-bookmarks-section::-webkit-scrollbar-thumb {
background-color: #2563eb;
border-radius: 4px;
}