@chrryai/chrry 1.1.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/About.module.scss +112 -0
- package/Account.module.scss +159 -0
- package/AddToHomeScreen.module.scss +126 -0
- package/Affiliate.module.scss +245 -0
- package/AffiliateDashboard.module.scss +269 -0
- package/Agent.module.scss +197 -0
- package/AnimatedWrapper.module.scss +0 -0
- package/App.module.scss +283 -0
- package/Bookmark.module.scss +15 -0
- package/Calendar.module.scss +824 -0
- package/CharacterProfiles.module.scss +29 -0
- package/Chat.module.scss +932 -0
- package/Checkbox.module.scss +67 -0
- package/Chrry.module.scss +69 -0
- package/Collaborate.module.scss +22 -0
- package/CollaborationStatus.module.scss +17 -0
- package/CollaborationTooltip.module.scss +257 -0
- package/ColorScheme.module.scss +24 -0
- package/EditThread.module.scss +51 -0
- package/EmptyStateTips.module.scss +52 -0
- package/EnableNotifications.module.scss +20 -0
- package/EventModal.module.scss +277 -0
- package/Img.module.scss +48 -0
- package/Instructions.module.scss +333 -0
- package/LICENSE +664 -0
- package/LanguageSwitcher.module.scss +21 -0
- package/Loading.module.scss +32 -0
- package/MarkdownContent.module.scss +161 -0
- package/MemoryConsent.module.scss +41 -0
- package/Menu.module.scss +272 -0
- package/Message.module.scss +470 -0
- package/Messages.module.scss +86 -0
- package/Modal.module.scss +118 -0
- package/README.md +112 -0
- package/Search.module.scss +26 -0
- package/Select.module.scss +32 -0
- package/Share.module.scss +84 -0
- package/Sidebar.module.scss +69 -0
- package/SignIn.module.scss +129 -0
- package/Skeleton.module.scss +232 -0
- package/SplashScreen.module.scss +189 -0
- package/Star.module.scss +15 -0
- package/Store.module.scss +240 -0
- package/Subscribe.module.scss +219 -0
- package/Testimonials.module.scss +33 -0
- package/Thread.module.scss +111 -0
- package/Threads.module.scss +105 -0
- package/TypingIndicator.module.scss +93 -0
- package/Users.module.scss +98 -0
- package/Version.module.scss +22 -0
- package/Weather.module.scss +31 -0
- package/Why.module.scss +79 -0
- package/__tests__/README.md +126 -0
- package/__tests__/TestComponent.module.scss +236 -0
- package/animations.scss +163 -0
- package/breakpoints.scss +8 -0
- package/context/AppContext.module.scss +22 -0
- package/context/providers/README.md +329 -0
- package/dist/About.module-RPTFOKG6.scss +112 -0
- package/dist/Account.module-AA2NOD5S.scss +159 -0
- package/dist/AddToHomeScreen.module-P6HAQ4QD.scss +126 -0
- package/dist/Affiliate.module-YM7MG54E.scss +245 -0
- package/dist/AffiliateDashboard.module-SZQJJBME.scss +269 -0
- package/dist/Agent.module-66YIBDMM.scss +197 -0
- package/dist/App.module-TOWYJFPB.scss +283 -0
- package/dist/Bookmark.module-UVMQ4TED.scss +15 -0
- package/dist/Calendar.module-HHEIXJEA.scss +824 -0
- package/dist/CharacterProfiles.module-KABR34TV.scss +29 -0
- package/dist/Chat.module-Y4TGJLBQ.scss +932 -0
- package/dist/Checkbox.module-RNW2YOC5.scss +67 -0
- package/dist/Chrry.module-SLPTRY52.scss +69 -0
- package/dist/Collaborate.module-MLRE23FZ.scss +22 -0
- package/dist/CollaborationStatus.module-CRGOOW56.scss +17 -0
- package/dist/ColorScheme.module-N7SJ5N52.scss +24 -0
- package/dist/EditThread.module-L3HOEGS3.scss +51 -0
- package/dist/EmptyStateTips.module-JLNPQ4OO.scss +52 -0
- package/dist/EnableNotifications.module-C4MYQTUA.scss +20 -0
- package/dist/EventModal.module-K7VNKTCE.scss +277 -0
- package/dist/Instructions.module-JMFWEXAP.scss +333 -0
- package/dist/LanguageSwitcher.module-MT2SIZ4L.scss +21 -0
- package/dist/Loading.module-OU42QILE.scss +32 -0
- package/dist/MarkdownContent.module-64GHE3YP.scss +161 -0
- package/dist/MemoryConsent.module-FZL3REH4.scss +41 -0
- package/dist/Menu.module-RVXPXILR.scss +272 -0
- package/dist/Message.module-5UUYCVY2.scss +470 -0
- package/dist/Messages.module-GBPUAPAI.scss +86 -0
- package/dist/Modal.module-TOU4YLFQ.scss +118 -0
- package/dist/Search.module-GU3BRADG.scss +26 -0
- package/dist/Select.module-R7QM256C.scss +32 -0
- package/dist/Share.module-VQBCBSA5.scss +84 -0
- package/dist/Sidebar.module-AUSDVTCY.scss +69 -0
- package/dist/SignIn.module-53SOSG63.scss +129 -0
- package/dist/Skeleton.module-REMEBLDY.scss +232 -0
- package/dist/Store.module-NP6776GY.scss +240 -0
- package/dist/Subscribe.module-NVGQ57RA.scss +219 -0
- package/dist/Thread.module-QAJI6KOQ.scss +111 -0
- package/dist/Threads.module-J54DFQQZ.scss +105 -0
- package/dist/Users.module-ZRHCY63D.scss +98 -0
- package/dist/Version.module-MLMD7GW5.scss +22 -0
- package/dist/Weather.module-NT6XFKA7.scss +31 -0
- package/dist/Why.module-UVZJCJF7.scss +79 -0
- package/dist/index.d.mts +1408 -0
- package/dist/index.d.ts +1408 -0
- package/dist/index.js +44600 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +44575 -0
- package/dist/index.mjs.map +1 -0
- package/dist/react-tooltip.min-LLVNRY3Z.css +1 -0
- package/globals.css +91 -0
- package/globals.scss +585 -0
- package/icons/README.md +150 -0
- package/package.json +118 -0
- package/styles/view-transitions.css +207 -0
- package/toRem.scss +6 -0
- package/utils.module.scss +116 -0
- package/utils.scss +88 -0
|
@@ -0,0 +1,824 @@
|
|
|
1
|
+
// Calendar container
|
|
2
|
+
|
|
3
|
+
@use "./breakpoints.scss";
|
|
4
|
+
@use "./toRem.scss";
|
|
5
|
+
|
|
6
|
+
// React Big Calendar styles are imported in the component
|
|
7
|
+
// This allows us to override them with our custom styles
|
|
8
|
+
|
|
9
|
+
.calendar {
|
|
10
|
+
height: 100% !important;
|
|
11
|
+
width: 100% !important;
|
|
12
|
+
font-size: toRem.toRem(14);
|
|
13
|
+
font-family: var(--font-family);
|
|
14
|
+
max-width: breakpoints.$breakpoint-desktop;
|
|
15
|
+
margin: 0 auto;
|
|
16
|
+
margin-top: toRem.toRem(15);
|
|
17
|
+
|
|
18
|
+
:global(.rbc-day-bg) {
|
|
19
|
+
border: 1px solid var(--shade-2) !important;
|
|
20
|
+
border-bottom: none !important;
|
|
21
|
+
|
|
22
|
+
&:not(:last-child) {
|
|
23
|
+
border-right: none !important;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.loadingContainer {
|
|
28
|
+
display: flex;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
align-items: center;
|
|
31
|
+
height: 100dvh;
|
|
32
|
+
|
|
33
|
+
.loading {
|
|
34
|
+
position: relative;
|
|
35
|
+
bottom: toRem.toRem(100);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:global(.rbc-month-row) {
|
|
40
|
+
// border-bottom: 1px solid var(--shade-2);
|
|
41
|
+
// min-height: 120px;
|
|
42
|
+
|
|
43
|
+
&:last-child {
|
|
44
|
+
border-bottom: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:global(.rbc-today) {
|
|
48
|
+
background-color: var(--foreground) !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:global(.rbc-agenda-view table.rbc-agenda-table tbody > tr > td + td),
|
|
53
|
+
:global(.rbc-agenda-view table.rbc-agenda-table thead > tr > th) {
|
|
54
|
+
border-left: 1px solid var(--shade-2) !important;
|
|
55
|
+
border-bottom: 1px solid var(--shade-2) !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:global(.rbc-agenda-view table) {
|
|
59
|
+
border: 1px solid var(--shade-2) !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Base calendar container
|
|
63
|
+
:global(.rbc-calendar) {
|
|
64
|
+
background: var(--background) !important;
|
|
65
|
+
border: 1px solid var(--border);
|
|
66
|
+
border-radius: 8px;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
height: 100%;
|
|
69
|
+
font-family: inherit;
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:global(.rbc-agenda-table) {
|
|
75
|
+
tr {
|
|
76
|
+
background: var(--background) !important;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// Force proper calendar structure
|
|
81
|
+
:global(.rbc-month-view) {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
height: 100%;
|
|
85
|
+
|
|
86
|
+
// Header row with day names
|
|
87
|
+
:global(.rbc-month-header) {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-wrap: wrap;
|
|
90
|
+
gap: toRem.toRem(5);
|
|
91
|
+
background: var(--background-secondary);
|
|
92
|
+
padding-bottom: 10px;
|
|
93
|
+
|
|
94
|
+
:global(.rbc-header) {
|
|
95
|
+
flex: 1;
|
|
96
|
+
background: var(--shade-2);
|
|
97
|
+
border-radius: var(--radius);
|
|
98
|
+
|
|
99
|
+
font-weight: 600;
|
|
100
|
+
padding: toRem.toRem(10) toRem.toRem(12);
|
|
101
|
+
border: none !important;
|
|
102
|
+
border-bottom: 1px solid var(--shade-4) !important;
|
|
103
|
+
text-align: center;
|
|
104
|
+
|
|
105
|
+
&:last-child {
|
|
106
|
+
border-right: none;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Calendar body
|
|
112
|
+
:global(.rbc-month-body) {
|
|
113
|
+
flex: 1;
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.addEventButton {
|
|
120
|
+
&:hover {
|
|
121
|
+
svg {
|
|
122
|
+
color: var(--accent-6);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// flex: 1;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.dateButton {
|
|
130
|
+
padding: toRem.toRem(2);
|
|
131
|
+
align-items: center;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
border-radius: 50%;
|
|
134
|
+
width: toRem.toRem(24);
|
|
135
|
+
height: toRem.toRem(24);
|
|
136
|
+
border: none;
|
|
137
|
+
font-size: toRem.toRem(14);
|
|
138
|
+
font-family: var(--font-mono);
|
|
139
|
+
font-weight: 500;
|
|
140
|
+
|
|
141
|
+
&:hover {
|
|
142
|
+
background-color: var(--accent-6);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.dateHeader {
|
|
147
|
+
display: flex;
|
|
148
|
+
flex-direction: column;
|
|
149
|
+
gap: toRem.toRem(5);
|
|
150
|
+
align-items: space-between;
|
|
151
|
+
justify-content: space-between;
|
|
152
|
+
padding: 0 0 0 toRem.toRem(5);
|
|
153
|
+
|
|
154
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
155
|
+
flex-direction: row;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:global(.rbc-addons-dnd-row-body) {
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:global(.rbc-off-range-bg) {
|
|
163
|
+
background: var(--shade-1) !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// Ensure proper layout
|
|
167
|
+
:global(.rbc-month-view),
|
|
168
|
+
:global(.rbc-time-view),
|
|
169
|
+
:global(.rbc-agenda-view) {
|
|
170
|
+
background: var(--background);
|
|
171
|
+
border: none;
|
|
172
|
+
border-radius: var(--radius);
|
|
173
|
+
margin-top: toRem.toRem(10);
|
|
174
|
+
margin-bottom: toRem.toRem(20);
|
|
175
|
+
border: 1px solid var(--shade-2) !important;
|
|
176
|
+
padding: 10px;
|
|
177
|
+
height: inherit !important;
|
|
178
|
+
max-width: 100% !important;
|
|
179
|
+
border-bottom-left-radius: toRem.toRem(10);
|
|
180
|
+
border-bottom-right-radius: toRem.toRem(10);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// Basic row styling
|
|
184
|
+
:global(.rbc-month-row) {
|
|
185
|
+
border: 0px solid var(--shade-2) !important;
|
|
186
|
+
// min-height: 120px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:global(.rbc-month-row:last-child) {
|
|
190
|
+
border-bottom: 1px solid var(--shade-2) !important;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:global(.rbc-row-bg) {
|
|
194
|
+
// right: 0px !important;
|
|
195
|
+
// left: 0px !important;
|
|
196
|
+
// margin-right: 0px !important;
|
|
197
|
+
// margin-left: 0px !important;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Basic cell styling
|
|
201
|
+
:global(.rbc-date-cell) {
|
|
202
|
+
// border-right: 1px solid var(--shade-2);
|
|
203
|
+
padding-top: toRem.toRem(5);
|
|
204
|
+
padding-bottom: toRem.toRem(5);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// Today highlighting
|
|
208
|
+
|
|
209
|
+
:global(.rbc-off-range) {
|
|
210
|
+
// background: var(--shade-1);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
:global(.rbc-now) {
|
|
214
|
+
// background-color: var(--foreground) !important;
|
|
215
|
+
// color: var(--background) !important;
|
|
216
|
+
|
|
217
|
+
:global(.rbc-row) {
|
|
218
|
+
// border-right: 10px solid var(--foreground) !important;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
:global(.rbc-now .rbc-button-link) {
|
|
223
|
+
background-color: var(--background) !important;
|
|
224
|
+
color: var(--foreground) !important;
|
|
225
|
+
box-shadow: var(--shadow);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// Date numbers
|
|
229
|
+
:global(.rbc-date-cell > a) {
|
|
230
|
+
color: var(--text-primary);
|
|
231
|
+
text-decoration: none;
|
|
232
|
+
font-weight: 600;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// Event styling
|
|
236
|
+
:global(.rbc-event) {
|
|
237
|
+
background: var(--shade-4);
|
|
238
|
+
color: white;
|
|
239
|
+
border: none;
|
|
240
|
+
border-radius: 4px;
|
|
241
|
+
padding: toRem.toRem(7.5) toRem.toRem(12);
|
|
242
|
+
font-size: 12px;
|
|
243
|
+
margin: 1px 0;
|
|
244
|
+
text-align: center;
|
|
245
|
+
cursor: pointer;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
:global(.rbc-day-slot .rbc-event) {
|
|
249
|
+
&.red,
|
|
250
|
+
&.orange,
|
|
251
|
+
&.blue,
|
|
252
|
+
&.green,
|
|
253
|
+
&.violet,
|
|
254
|
+
&.purple {
|
|
255
|
+
// background: var(--shade-2) !important;
|
|
256
|
+
// border-bottom: 3px solid var(--shade-1) !important;
|
|
257
|
+
// color: white !important;
|
|
258
|
+
|
|
259
|
+
&:active {
|
|
260
|
+
border-bottom: none;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// Event content
|
|
266
|
+
:global(.rbc-event-content) {
|
|
267
|
+
font-weight: 500;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
// Show more link
|
|
271
|
+
:global(.rbc-show-more) {
|
|
272
|
+
color: var(--primary);
|
|
273
|
+
font-size: 11px;
|
|
274
|
+
font-weight: 500;
|
|
275
|
+
cursor: pointer;
|
|
276
|
+
margin-top: toRem.toRem(2);
|
|
277
|
+
|
|
278
|
+
&:hover {
|
|
279
|
+
color: var(--primary-dark);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
:global(.rbc-button-link) {
|
|
284
|
+
padding: toRem.toRem(5);
|
|
285
|
+
flex: 1;
|
|
286
|
+
align-items: center;
|
|
287
|
+
justify-content: center;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// Toolbar styles - Essential for navigation
|
|
291
|
+
:global(.rbc-toolbar) {
|
|
292
|
+
background: var(--background);
|
|
293
|
+
padding: 16px;
|
|
294
|
+
// border-bottom: 1px solid var(--border);
|
|
295
|
+
display: flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
justify-content: space-between;
|
|
298
|
+
flex-wrap: wrap;
|
|
299
|
+
gap: 12px;
|
|
300
|
+
|
|
301
|
+
// Navigation buttons
|
|
302
|
+
:global(.rbc-btn-group) {
|
|
303
|
+
display: flex;
|
|
304
|
+
gap: 4px;
|
|
305
|
+
|
|
306
|
+
button {
|
|
307
|
+
background: var(--background-secondary);
|
|
308
|
+
border: 1px solid var(--border);
|
|
309
|
+
color: var(--text-primary);
|
|
310
|
+
padding: 8px 16px;
|
|
311
|
+
border-radius: 6px;
|
|
312
|
+
font-size: 14px;
|
|
313
|
+
font-weight: 500;
|
|
314
|
+
cursor: pointer;
|
|
315
|
+
transition: all 0.2s ease;
|
|
316
|
+
|
|
317
|
+
&:hover {
|
|
318
|
+
background: var(--background-tertiary);
|
|
319
|
+
border-color: var(--border-hover);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
&:active {
|
|
323
|
+
background: var(--primary);
|
|
324
|
+
color: white;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// Toolbar label (month/year display)
|
|
330
|
+
:global(.rbc-toolbar-label) {
|
|
331
|
+
font-size: 18px;
|
|
332
|
+
font-weight: 600;
|
|
333
|
+
color: var(--text-primary);
|
|
334
|
+
margin: 0 16px;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.toolbar {
|
|
339
|
+
display: flex;
|
|
340
|
+
align-items: center;
|
|
341
|
+
justify-content: space-between;
|
|
342
|
+
flex-wrap: wrap;
|
|
343
|
+
gap: 12px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
// Custom toolbar sections
|
|
347
|
+
.toolbarSection {
|
|
348
|
+
display: flex;
|
|
349
|
+
align-items: center;
|
|
350
|
+
gap: toRem.toRem(5);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.toolbarLabel {
|
|
354
|
+
font-size: toRem.toRem(18);
|
|
355
|
+
font-weight: bold;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// :global(.rbc-label.rbc-time-header-gutter) {
|
|
359
|
+
// min-width: 48.9062px;
|
|
360
|
+
// }
|
|
361
|
+
|
|
362
|
+
:global(.rbc-event-content) {
|
|
363
|
+
padding: toRem.toRem(0) toRem.toRem(3) !important;
|
|
364
|
+
}
|
|
365
|
+
// Event styles
|
|
366
|
+
:global(.rbc-event) {
|
|
367
|
+
background: var(--primary);
|
|
368
|
+
border: none;
|
|
369
|
+
border-radius: toRem.toRem(14) !important;
|
|
370
|
+
color: white;
|
|
371
|
+
font-size: toRem.toRem(12);
|
|
372
|
+
overflow: hidden !important;
|
|
373
|
+
text-overflow: ellipsis !important;
|
|
374
|
+
white-space: nowrap !important;
|
|
375
|
+
max-width: 100% !important;
|
|
376
|
+
min-width: 0 !important;
|
|
377
|
+
display: block !important;
|
|
378
|
+
|
|
379
|
+
&.red {
|
|
380
|
+
background: #dd2f2f;
|
|
381
|
+
}
|
|
382
|
+
&.orange {
|
|
383
|
+
background: #f5a623;
|
|
384
|
+
}
|
|
385
|
+
&.blue {
|
|
386
|
+
background: #197ef4;
|
|
387
|
+
}
|
|
388
|
+
&.green {
|
|
389
|
+
background: #58aa11;
|
|
390
|
+
}
|
|
391
|
+
&.violet {
|
|
392
|
+
background: #f832e7;
|
|
393
|
+
}
|
|
394
|
+
&.purple {
|
|
395
|
+
background: #863dcf;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
// Ensure strong tags inside also truncate
|
|
399
|
+
strong {
|
|
400
|
+
overflow: hidden !important;
|
|
401
|
+
text-overflow: ellipsis !important;
|
|
402
|
+
white-space: nowrap !important;
|
|
403
|
+
max-width: 100% !important;
|
|
404
|
+
min-width: 0 !important;
|
|
405
|
+
display: block !important;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// Selected event
|
|
410
|
+
:global(.rbc-event.rbc-selected) {
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// Time slots
|
|
414
|
+
:global(.rbc-time-slot) {
|
|
415
|
+
border-top: 1px solid var(--shade-2);
|
|
416
|
+
|
|
417
|
+
&:hover {
|
|
418
|
+
background: var(--background-hover);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
// Selected time slots
|
|
423
|
+
:global(.rbc-slot-selected) {
|
|
424
|
+
background: var(--primary-light) !important;
|
|
425
|
+
border: 2px solid var(--primary) !important;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
:global(.rbc-time-content > * + * > *) {
|
|
429
|
+
border-left: none !important;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
// Day/Week view styles - Essential for time views
|
|
433
|
+
:global(.rbc-time-view) {
|
|
434
|
+
background: var(--background);
|
|
435
|
+
border: 1px solid var(--border);
|
|
436
|
+
|
|
437
|
+
// Time header (days of week)
|
|
438
|
+
:global(.rbc-time-header) {
|
|
439
|
+
display: flex;
|
|
440
|
+
flex-wrap: wrap;
|
|
441
|
+
gap: toRem.toRem(5);
|
|
442
|
+
padding-bottom: 10px;
|
|
443
|
+
|
|
444
|
+
:global(.rbc-header) {
|
|
445
|
+
button {
|
|
446
|
+
box-shadow: none !important;
|
|
447
|
+
|
|
448
|
+
&:hover {
|
|
449
|
+
border: none !important;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
:global(.rbc-header.rbc-today) {
|
|
455
|
+
button {
|
|
456
|
+
background-color: var(--accent-6) !important;
|
|
457
|
+
|
|
458
|
+
color: white !important;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
:global(.rbc-header) {
|
|
463
|
+
flex: 1;
|
|
464
|
+
display: flex;
|
|
465
|
+
align-items: center;
|
|
466
|
+
justify-content: center;
|
|
467
|
+
border-radius: var(--radius);
|
|
468
|
+
|
|
469
|
+
font-weight: 600;
|
|
470
|
+
border: none !important;
|
|
471
|
+
text-align: center;
|
|
472
|
+
|
|
473
|
+
&:last-child {
|
|
474
|
+
border-right: none;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// Time content area
|
|
480
|
+
:global(.rbc-time-content) {
|
|
481
|
+
border-top: none;
|
|
482
|
+
background: var(--background);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
// Time gutter (hour labels)
|
|
486
|
+
:global(.rbc-time-gutter) {
|
|
487
|
+
background: var(--background-secondary);
|
|
488
|
+
border-right: 1px solid var(--border);
|
|
489
|
+
|
|
490
|
+
:global(.rbc-label) {
|
|
491
|
+
color: var(--text-secondary);
|
|
492
|
+
font-size: 12px;
|
|
493
|
+
text-align: right;
|
|
494
|
+
|
|
495
|
+
border-radius: toRem.toRem(5);
|
|
496
|
+
margin-right: toRem.toRem(5);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
// Time slot groups
|
|
501
|
+
:global(.rbc-timeslot-group) {
|
|
502
|
+
border-bottom: 1px solid var(--shade-3);
|
|
503
|
+
min-height: 40px;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
// Individual time slots
|
|
507
|
+
:global(.rbc-time-slot) {
|
|
508
|
+
border-top: 1px solid var(--shade-2);
|
|
509
|
+
|
|
510
|
+
&:hover {
|
|
511
|
+
background: var(--background-hover);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
// Day columns
|
|
516
|
+
:global(.rbc-day-slot) {
|
|
517
|
+
border-left: 1px solid var(--shade-2);
|
|
518
|
+
background: var(--background);
|
|
519
|
+
|
|
520
|
+
&:first-child {
|
|
521
|
+
border-left: none;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
// Current time indicator
|
|
526
|
+
:global(.rbc-current-time-indicator) {
|
|
527
|
+
background-color: var(--primary);
|
|
528
|
+
height: 2px;
|
|
529
|
+
z-index: 3;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
// Month rows - Essential for grid layout
|
|
534
|
+
|
|
535
|
+
// Date cells - Essential for grid columns
|
|
536
|
+
:global(.rbc-date-cell) {
|
|
537
|
+
// border-right: 1px solid var(--shade-2);
|
|
538
|
+
position: relative;
|
|
539
|
+
box-sizing: border-box;
|
|
540
|
+
|
|
541
|
+
&:last-child {
|
|
542
|
+
border-right: none;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
&.rbc-off-range {
|
|
546
|
+
background: var(--background-disabled);
|
|
547
|
+
color: var(--text-disabled);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
// Date number
|
|
551
|
+
> a {
|
|
552
|
+
color: var(--text-primary);
|
|
553
|
+
font-weight: 600;
|
|
554
|
+
text-decoration: none;
|
|
555
|
+
display: block;
|
|
556
|
+
margin-bottom: 4px;
|
|
557
|
+
position: relative;
|
|
558
|
+
z-index: 2;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
:global(.rbc-time-view .rbc-row) {
|
|
563
|
+
min-height: initial;
|
|
564
|
+
display: flex;
|
|
565
|
+
flex-direction: column;
|
|
566
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
567
|
+
gap: toRem.toRem(15);
|
|
568
|
+
flex-direction: row;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
:global(.rbc-time-header-cell) {
|
|
573
|
+
gap: toRem.toRem(10);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
:global(.rbc-time-header-content) {
|
|
577
|
+
border: none !important;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
// Event container within date cell
|
|
581
|
+
:global(.rbc-row-content) {
|
|
582
|
+
// border-left: 1px solid var(--shade-2);
|
|
583
|
+
// border-right: 1px solid var(--shade-2);
|
|
584
|
+
position: relative;
|
|
585
|
+
overflow: hidden;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
// Row segment (each day cell)
|
|
589
|
+
:global(.rbc-row-segment) {
|
|
590
|
+
overflow: hidden !important;
|
|
591
|
+
min-width: 0 !important;
|
|
592
|
+
container-type: inline-size;
|
|
593
|
+
|
|
594
|
+
// Handle the wrapper div that DnD addon adds
|
|
595
|
+
> div {
|
|
596
|
+
overflow: hidden !important;
|
|
597
|
+
width: 100% !important;
|
|
598
|
+
max-width: 100% !important;
|
|
599
|
+
min-width: 0 !important;
|
|
600
|
+
|
|
601
|
+
> div {
|
|
602
|
+
overflow: hidden !important;
|
|
603
|
+
width: 100% !important;
|
|
604
|
+
max-width: 100% !important;
|
|
605
|
+
min-width: 0 !important;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
// Events in month view
|
|
611
|
+
:global(.rbc-event) {
|
|
612
|
+
border-radius: 3px;
|
|
613
|
+
padding: 2px 6px;
|
|
614
|
+
font-size: 11px;
|
|
615
|
+
margin: 1px 2px;
|
|
616
|
+
cursor: pointer;
|
|
617
|
+
display: block !important;
|
|
618
|
+
overflow: hidden !important;
|
|
619
|
+
text-overflow: ellipsis !important;
|
|
620
|
+
white-space: nowrap !important;
|
|
621
|
+
max-width: calc(100% - 4px) !important;
|
|
622
|
+
min-width: 0 !important;
|
|
623
|
+
box-sizing: border-box !important;
|
|
624
|
+
position: relative;
|
|
625
|
+
z-index: 1;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
// DnD resizable wrapper
|
|
629
|
+
:global(.rbc-addons-dnd-resizable) {
|
|
630
|
+
overflow: hidden !important;
|
|
631
|
+
max-width: 100% !important;
|
|
632
|
+
min-width: 0 !important;
|
|
633
|
+
display: block !important;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
// Event content
|
|
637
|
+
:global(.rbc-event-content) {
|
|
638
|
+
overflow: hidden !important;
|
|
639
|
+
text-overflow: ellipsis !important;
|
|
640
|
+
white-space: nowrap !important;
|
|
641
|
+
max-width: 100% !important;
|
|
642
|
+
min-width: 0 !important;
|
|
643
|
+
display: block !important;
|
|
644
|
+
|
|
645
|
+
// The inner div with the actual text
|
|
646
|
+
> div {
|
|
647
|
+
overflow: hidden !important;
|
|
648
|
+
text-overflow: ellipsis !important;
|
|
649
|
+
white-space: nowrap !important;
|
|
650
|
+
max-width: 100% !important;
|
|
651
|
+
min-width: 0 !important;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
// Custom "show more" link styling
|
|
656
|
+
:global(.show-more-link) {
|
|
657
|
+
display: flex;
|
|
658
|
+
background-color: var(--background) !important;
|
|
659
|
+
color: var(--foreground) !important;
|
|
660
|
+
box-shadow: var(--shadow);
|
|
661
|
+
padding: toRem.toRem(5) !important;
|
|
662
|
+
align-items: center;
|
|
663
|
+
justify-content: center;
|
|
664
|
+
cursor: pointer;
|
|
665
|
+
margin: toRem.toRem(2) !important;
|
|
666
|
+
font-size: toRem.toRem(10) !important;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
// // Fix for month view events specifically
|
|
670
|
+
// :global(.rbc-month-view .rbc-event) {
|
|
671
|
+
// position: relative !important;
|
|
672
|
+
// left: 0 !important;
|
|
673
|
+
// right: 0 !important;
|
|
674
|
+
// width: auto !important;
|
|
675
|
+
// max-width: calc(100% - 8px) !important;
|
|
676
|
+
// margin: 1px 4px !important;
|
|
677
|
+
// box-sizing: border-box !important;
|
|
678
|
+
// }
|
|
679
|
+
|
|
680
|
+
// Ensure events don't overflow their containers
|
|
681
|
+
:global(.rbc-row-segment) {
|
|
682
|
+
position: relative;
|
|
683
|
+
overflow: hidden;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
:global(.rbc-event-content) {
|
|
687
|
+
overflow: hidden;
|
|
688
|
+
text-overflow: ellipsis;
|
|
689
|
+
white-space: nowrap;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
// Show more link
|
|
693
|
+
:global(.rbc-show-more) {
|
|
694
|
+
color: var(--primary);
|
|
695
|
+
font-size: 10px;
|
|
696
|
+
cursor: pointer;
|
|
697
|
+
text-align: center;
|
|
698
|
+
padding: 2px;
|
|
699
|
+
|
|
700
|
+
&:hover {
|
|
701
|
+
color: var(--primary-dark);
|
|
702
|
+
background: var(--primary-light);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
// Agenda view styles
|
|
707
|
+
:global(.rbc-agenda-view) {
|
|
708
|
+
table {
|
|
709
|
+
background: var(--background);
|
|
710
|
+
border: 1px solid var(--border);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.rbc-agenda-date-cell {
|
|
714
|
+
background: var(--background-secondary);
|
|
715
|
+
border-right: 1px solid var(--border);
|
|
716
|
+
padding: 12px;
|
|
717
|
+
font-weight: 600;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.rbc-agenda-time-cell {
|
|
721
|
+
background: var(--background-secondary);
|
|
722
|
+
border-right: 1px solid var(--border);
|
|
723
|
+
padding: 12px;
|
|
724
|
+
font-size: 12px;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.rbc-agenda-event-cell {
|
|
728
|
+
padding: 12px;
|
|
729
|
+
border-bottom: 1px solid var(--shade-2);
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
// Today button
|
|
734
|
+
:global(.rbc-btn-group) {
|
|
735
|
+
button {
|
|
736
|
+
&:first-child {
|
|
737
|
+
border-top-right-radius: 0;
|
|
738
|
+
border-bottom-right-radius: 0;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
&:last-child {
|
|
742
|
+
border-top-left-radius: 0;
|
|
743
|
+
border-bottom-left-radius: 0;
|
|
744
|
+
border-left: none;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
&:not(:first-child):not(:last-child) {
|
|
748
|
+
border-radius: 0;
|
|
749
|
+
border-left: none;
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
// Loading state
|
|
755
|
+
&.loading {
|
|
756
|
+
opacity: 0.6;
|
|
757
|
+
pointer-events: none;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
// Drag and Drop styles
|
|
761
|
+
:global(.rbc-addons-dnd) {
|
|
762
|
+
.rbc-addons-dnd-drag-preview {
|
|
763
|
+
background: var(--primary);
|
|
764
|
+
border: 2px solid var(--primary-dark);
|
|
765
|
+
border-radius: 4px;
|
|
766
|
+
opacity: 0.8;
|
|
767
|
+
transform: rotate(5deg);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.rbc-addons-dnd-over {
|
|
771
|
+
background: var(--primary-light) !important;
|
|
772
|
+
border: 2px dashed var(--primary) !important;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.rbc-addons-dnd-drag-row {
|
|
776
|
+
border-left: 4px solid var(--primary);
|
|
777
|
+
background: var(--primary-light);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.rbc-addons-dnd-resize-ns-anchor {
|
|
781
|
+
background: var(--primary);
|
|
782
|
+
border: 1px solid var(--primary-dark);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.rbc-addons-dnd-resize-ew-anchor {
|
|
786
|
+
background: var(--primary);
|
|
787
|
+
border: 1px solid var(--primary-dark);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
// Enhanced selection styles for area selection
|
|
792
|
+
:global(.rbc-slot-selecting) {
|
|
793
|
+
background: var(--primary-light) !important;
|
|
794
|
+
border: 2px solid var(--primary) !important;
|
|
795
|
+
opacity: 0.7;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
// Visual feedback during drag operations
|
|
799
|
+
:global(.rbc-event-dragging) {
|
|
800
|
+
opacity: 0.5;
|
|
801
|
+
transform: scale(0.95);
|
|
802
|
+
transition: all 0.2s ease;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
// Hover states for better UX
|
|
806
|
+
:global(.rbc-event:hover) {
|
|
807
|
+
transform: scale(1.02);
|
|
808
|
+
transition: transform 0.2s ease;
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
// Custom view buttons
|
|
813
|
+
.viewButtons {
|
|
814
|
+
display: flex;
|
|
815
|
+
gap: 4px;
|
|
816
|
+
|
|
817
|
+
button {
|
|
818
|
+
&.active {
|
|
819
|
+
background: var(--primary);
|
|
820
|
+
color: white;
|
|
821
|
+
border-color: var(--primary);
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|