@@ -0,0 +1,3 @@ +.selectTransparent { + background-color: transparent; +} @@ -7,6 +7,8 @@ import { useAppDispatch, useAppSelector } from '#/app/store/store' import { baseColor } from '#/shared/lib/constants/colors' import TooltipModelTypes from '#/widgets/filters-gpt/ui/tooltip-model-types' +import styles from './select_filter.module.scss' + interface IProps { selects: { availables: string[]; default: any; end: number; start: number; step: number } name: string @@ -48,9 +50,7 @@ export const SelectFilter = ({ selects, filters, item_key, name, description, se }, }, }} - style={{ - backgroundColor: 'transparent', - }} + className={styles.selectTransparent} sx={{ boxShadow: 'none', borderRadius: '13px', @@ -0,0 +1,3 @@ +.selectTransparent { + background-color: transparent; +} @@ -6,6 +6,8 @@ import { IModelVersions } from '#/shared/api/models/models' import { baseColor } from '#/shared/lib/constants/colors' import TooltipModelTypes from '#/widgets/filters-gpt/ui/tooltip-model-types' +import styles from './chat_select.module.scss' + interface ISelect { value: string setValue: React.Dispatch> @@ -38,9 +40,7 @@ export const ChatSelect: React.FC = ({ value, setValue, list, setDefaul }, }, }} - style={{ - backgroundColor: 'transparent', - }} + className={styles.selectTransparent} sx={{ boxShadow: 'none', borderRadius: '13px', @@ -0,0 +1,3 @@ +.sectionSpacing { + margin-top: 15px; +} @@ -8,6 +8,8 @@ import { useRouter } from 'next/router' import { signOut } from 'next-auth/react' import styles from '#/app/layout/styles/styles.module.css' + +import infoBarStyles from './info-bar.module.scss' import { useAppSelector } from '#/app/store/store' import { TooltipCustom } from '#/shared' import { useFeatureFlag } from '#/shared/lib/hooks' @@ -190,7 +192,7 @@ const InfoBar: React.FC = ({ device }) => { - + router.push('/account?scope=business')}> {''} @@ -203,7 +205,7 @@ const InfoBar: React.FC = ({ device }) => { {account_type === 'regular' && ( - + router.push('/account?scope=referral')}> {''} @@ -73,6 +73,14 @@ justify-content: flex-start; height: 100%; + .chartColumn { + display: flex; + justify-content: flex-start; + width: 53%; + height: 100%; + margin-right: 15px; + } + .list { width: 100%; overflow-y: auto; @@ -1,3 +1,9 @@ +/* Yandex Metrika noscript pixel (off-screen) */ +.metrika-pixel-hidden { + position: absolute; + left: -9999px; +} + :root { --air-color: #8280ff; --background-color-main: #303030; @@ -34,7 +34,7 @@ export function AudioModelCard({ return ( -
+
{title}
@@ -181,3 +181,11 @@ letter-spacing: -1%; } } + +.card_blocked { + user-select: none; +} + +.card_selectable { + user-select: auto !important; +} @@ -179,3 +179,11 @@ letter-spacing: -1%; } } + +.card_blocked { + user-select: none; +} + +.card_selectable { + user-select: auto !important; +} @@ -25,8 +25,7 @@ export function ChatModelCard({ description, image, title, slug, accessed_models
{title} @@ -25,8 +25,7 @@ export function ImageModelCard({ description, image, title, slug, accessed_model
{title} @@ -23,7 +23,7 @@ export function VideoModelCard({ description, image, title, slug, accessed_model return ( -
+
{title}
@@ -77,7 +77,7 @@ export const LimitModal: React.FC = ({ }} > - Сотрудник {person?.email} + Сотрудник {person?.email} @@ -79,10 +79,10 @@ export const BusinessErrorReportPlate = () => { onChange={handleFileChange} type='file' accept='.jpg,.jpeg,.png' - style={{ display: 'none' }} + className={styles.fileInputHidden} id='business-error-report-file-input' /> -