Skip to content

Commit 3905794

Browse files
NicolappsConvex, Inc.
authored andcommitted
Remove custom Kapa styling from the dashboard (#35653)
GitOrigin-RevId: 77c0040f161e3d7cd4c091ae50a4a7c072856380
1 parent f95e309 commit 3905794

File tree

1 file changed

+0
-72
lines changed

1 file changed

+0
-72
lines changed

npm-packages/dashboard-common/src/styles/globals.css

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -286,75 +286,3 @@ html [data-sonner-toaster][dir="ltr"] {
286286
@apply border-b;
287287
}
288288
}
289-
290-
/* Styles that cannot be applied to kapa via data attributes */
291-
#kapa-widget-portal {
292-
.mantine-Input-input {
293-
@apply bg-background-secondary border-border-transparent text-content-primary placeholder-content-secondary;
294-
@apply focus:border-border-selected;
295-
}
296-
.mantine-Input-wrapper button {
297-
@apply bg-util-accent border-none text-white rounded !important;
298-
@apply hover:bg-util-accent/80 !important;
299-
@apply disabled:cursor-not-allowed disabled:bg-neutral-1 disabled:text-neutral-4 disabled:dark:bg-neutral-11 disabled:dark:text-neutral-6 !important;
300-
}
301-
302-
.mantine-Overlay-root {
303-
@apply bg-black/50;
304-
}
305-
306-
.mantine-Modal-content {
307-
@apply bg-background-secondary/90 backdrop-blur-[2px] shadow-xl rounded-xl;
308-
}
309-
.mantine-Modal-header {
310-
@apply bg-background-secondary border-border-transparent;
311-
}
312-
.mantine-Modal-body {
313-
@apply bg-transparent;
314-
}
315-
.mantine-SegmentedControl-indicator {
316-
@apply bg-background-tertiary;
317-
}
318-
.mantine-Text-root,
319-
.mantine-List-itemWrapper,
320-
.mantine-SegmentedControl-label,
321-
.mantine-Checkbox-label {
322-
@apply text-content-primary !important;
323-
}
324-
325-
.mantine-SegmentedControl-root {
326-
@apply bg-background-secondary border;
327-
}
328-
329-
button.mantine-CloseButton-root {
330-
@apply text-content-tertiary border-0 hover:bg-background-tertiary !important;
331-
}
332-
333-
.mantine-Code-root {
334-
@apply bg-background-tertiary border border-border-transparent text-content-primary;
335-
}
336-
337-
a.mantine-Paper-root {
338-
@apply mt-2 rounded border bg-background-secondary focus:border-border-selected hover:bg-background-tertiary !important;
339-
}
340-
341-
.mantine-Badge-root {
342-
@apply bg-background-tertiary text-content-secondary !important;
343-
}
344-
345-
.mantine-Popover-dropdown {
346-
@apply bg-background-secondary border border-border-transparent shadow-sm;
347-
}
348-
.mantine-Popover-arrow {
349-
@apply border-border-transparent;
350-
}
351-
352-
.mantine-UnstyledButton-root {
353-
@apply text-content-primary bg-background-secondary border border-solid border-border-transparent hover:bg-background-tertiary !important;
354-
@apply focus-within:border focus-within:border-solid focus-within:border-border-selected focus-within:ring-0 focus-within:outline-none !important;
355-
}
356-
357-
.mantine-UnstyledButton-root .mantine-Button-icon {
358-
@apply size-4 text-content-primary !important;
359-
}
360-
}

0 commit comments

Comments
 (0)