/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
packages/js/src/ui/index.css
355 строк
8 KB
Paweł Tymczuk
feat(js,react): inbox render props for avatar, default and custom actions fixes NV-6535 (#8977)
22 авг 2025, 12:13
Не верифицирован
22 авг 2025, 12:13
05ebfb0
Код
Авторство
О чём код?
.novu { :where(*), :where(*) ::before, :where(*) ::after, :where(*)::before, :where(*)::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; } :where(html, :host) { line-height: 1.5; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ -moz-tab-size: 4; /* 3 */ -o-tab-size: 4; tab-size: 4; /* 3 */ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ font-feature-settings: normal; /* 5 */ font-variation-settings: normal; /* 6 */ -webkit-tap-highlight-color: transparent; /* 7 */ } :where(body) { margin: 0; /* 1 */ line-height: inherit; /* 2 */ } :where(hr) { height: 0; /* 1 */ color: inherit; /* 2 */ border-top-width: 1px; /* 3 */ } :where(abbr:where([title])) { -webkit-text-decoration: underline dotted; text-decoration: underline dotted; } :where(h1, h2, h3, h4, h5, h6) { font-size: inherit; font-weight: inherit; } :where(a) { color: inherit; text-decoration: inherit; } :where(b, strong) { font-weight: bolder; } :where(code, kbd, samp, pre) { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ font-feature-settings: normal; /* 2 */ font-variation-settings: normal; /* 3 */ font-size: 1em; /* 4 */ } :where(small) { font-size: 80%; } :where(sub, sup) { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } :where(sub) { bottom: -0.25em; } :where(sup) { top: -0.5em; } :where(table) { text-indent: 0; /* 1 */ border-color: inherit; /* 2 */ border-collapse: collapse; /* 3 */ } :where(button, input, optgroup, select, textarea) { font-family: inherit; /* 1 */ font-feature-settings: inherit; /* 1 */ font-variation-settings: inherit; /* 1 */ font-size: 100%; /* 1 */ font-weight: inherit; /* 1 */ line-height: inherit; /* 1 */ letter-spacing: inherit; /* 1 */ color: inherit; /* 1 */ margin: 0; /* 2 */ padding: 0; /* 3 */ } :where(button, select) { text-transform: none; } :where(button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"])) { -webkit-appearance: button; /* 1 */ background-color: transparent; /* 2 */ background-image: none; /* 2 */ } :where(:-moz-focusring) { outline: auto; } :where(:-moz-ui-invalid) { box-shadow: none; } :where(progress) { vertical-align: baseline; } :where(*)::-webkit-inner-spin-button, :where(*)::-webkit-outer-spin-button { height: auto; } :where([type="search"]) { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } :where(*)::-webkit-search-decoration { -webkit-appearance: none; } :where(*)::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } :where(summary) { display: list-item; } :where(blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre) { margin: 0; } :where(fieldset) { margin: 0; padding: 0; } :where(legend) { padding: 0; } :where(ol, ul, menu) { list-style: none; margin: 0; padding: 0; } :where(dialog) { padding: 0; } :where(textarea) { resize: vertical; } :where(input)::-moz-placeholder, :where(textarea)::-moz-placeholder { opacity: 1; /* 1 */ color: #9ca3af; /* 2 */ } :where(input)::placeholder, :where(textarea)::placeholder { opacity: 1; /* 1 */ color: #9ca3af; /* 2 */ } :where(button, [role="button"]) { cursor: pointer; } :where(:disabled) { cursor: default; } :where(img, svg, video, canvas, audio, iframe, embed, object) { display: block; /* 1 */ vertical-align: middle; /* 2 */ } :where(img, video) { max-width: 100%; height: auto; } :where([hidden]) { display: none; } :where(*), :where(*) ::before, :where(*) ::after, :where(*)::before, :where(*)::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; } :where(*) ::backdrop { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; } /* Scrollbar */ scrollbar-color: var(--nv-color-secondary-foreground-alpha-300) transparent; /* Webkit Safari */ ::-webkit-scrollbar { width: 0.5rem; height: 0.5rem; } ::-webkit-scrollbar-thumb { background-color: var(--nv-color-secondary-foreground-alpha-300); border-radius: 0.25rem; background-clip: "padding-box"; } ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background-color: transparent; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } /* Hide spin buttons in Firefox */ input[type="number"] { -moz-appearance: textfield; } } /* biome-ignore lint/suspicious/noUnknownAtRules: tailwind */ @tailwind components; /* biome-ignore lint/suspicious/noUnknownAtRules: tailwind */ @tailwind utilities;