@import "@/components/pages/product/embla.css"; @tailwind base; @tailwind components; @tailwind utilities; body { margin: 0; padding: 0; overflow-y: scroll; } @layer base { :root { --background: 0 0% 100%; --foreground: 0 4.615% 12.75%; --card: 0 0% 100%; --card-foreground: 20 14.3% 4.1%; --popover: 0 0% 100%; --popover-foreground: 20 14.3% 4.1%; --primary: 47.9 95.8% 53.1%; --primary-foreground: 26 83.3% 14.1%; --secondary: 60 4.8% 95.9%; --secondary-foreground: 24 9.8% 10%; --muted: 60 4.8% 95.9%; --muted-foreground: 25 5.3% 44.7%; --accent: 60 4.8% 95.9%; --accent-foreground: 24 9.8% 10%; --destructive: 0 84.2% 60.2%; --destructive-foreground: 60 9.1% 97.8%; --border: 20 5.9% 90%; --input: 20 5.9% 90%; --ring: 20 14.3% 4.1%; --radius: 0.5rem; --chart-1: 12 76% 61%; --chart-2: 173 58% 39%; --chart-3: 197 37% 24%; --chart-4: 43 74% 66%; --chart-5: 27 87% 67%; --sidebar-background: 0 0% 98%; --sidebar-foreground: 240 5.3% 26.1%; --sidebar-primary: 240 5.9% 10%; --sidebar-primary-foreground: 0 0% 98%; --sidebar-accent: 240 4.8% 95.9%; --sidebar-accent-foreground: 240 5.9% 10%; --sidebar-border: 220 13% 91%; --sidebar-ring: 217.2 91.2% 59.8%; } .dark { --background: 20 14.3% 4.1%; --foreground: 60 9.1% 97.8%; --card: 20 14.3% 4.1%; --card-foreground: 60 9.1% 97.8%; --popover: 20 14.3% 4.1%; --popover-foreground: 60 9.1% 97.8%; --primary: 47.9 95.8% 53.1%; --primary-foreground: 26 83.3% 14.1%; --secondary: 12 6.5% 15.1%; --secondary-foreground: 60 9.1% 97.8%; --muted: 12 6.5% 15.1%; --muted-foreground: 24 5.4% 63.9%; --accent: 12 6.5% 15.1%; --accent-foreground: 60 9.1% 97.8%; --destructive: 0 62.8% 30.6%; --destructive-foreground: 60 9.1% 97.8%; --border: 12 6.5% 15.1%; --input: 12 6.5% 15.1%; --ring: 35.5 91.7% 32.9%; --chart-1: 220 70% 50%; --chart-2: 160 60% 45%; --chart-3: 30 80% 55%; --chart-4: 280 65% 60%; --chart-5: 340 75% 55%; --sidebar-background: 240 5.9% 10%; --sidebar-foreground: 240 4.8% 95.9%; --sidebar-primary: 224.3 76.3% 48%; --sidebar-primary-foreground: 0 0% 100%; --sidebar-accent: 240 3.7% 15.9%; --sidebar-accent-foreground: 240 4.8% 95.9%; --sidebar-border: 240 3.7% 15.9%; --sidebar-ring: 217.2 91.2% 59.8%; } } @layer base { * { @apply border-border; } body { @apply bg-background text-foreground; } } @layer utilities { /* .no-scrollbar::-webkit-scrollbar { display: none; } .no-scrollbar { -ms-overflow-style: none; !* IE and Edge *! scrollbar-width: none; !* Firefox *! }*/ .bw-app-catalog-collapse { @apply absolute scale-0 z-20 } .header-button { @apply cursor-pointer p-1 border border-transparent rounded-[2px]; } .h1-bold { @apply font-bold text-2xl lg:text-3xl; } .bw-layout-col-left { @apply flex-1 sm:w-7/12 md:w-5/12 xl:w-4/12 lg:flex-col } .bw-layout-col-right { @apply sm:w-5/12 md:w-7/12 xl:w-8/12 flex-1 sm:flex-auto sm:pl-4 md:pl-7 xl:pl-9 } .bw-product-col-left{ @apply flex-1 sm:w-5/12 sm:flex-auto sm:pl-4 md:w-7/12 md:pl-7 xl:w-auto xl:pl-9 } .bw-product-col-right{ @apply flex-1 sm:w-7/12 md:w-5/12 lg:flex-col xl:w-[360px] xl:flex-none } .bw-header-col-left { @apply w-[9/12] flex-auto } .bw-header-col-right { @apply flex-grow-0 flex-shrink-0 md:basis-[272px] } .bw-border-color { @apply border-brand-violet-100; } .bw-separator-color { @apply bg-brand-violet-100; } } .bw-dd-menu { /* since nested groupes are not supported we have to use regular css for the nested dropdowns */ li>ul { transform: translatex(100%) scale(0) } li:hover>ul { transform: translatex(101%) scale(1) } li > button svg { transform: rotate(-90deg) } li:hover > button svg { transform: rotate(-270deg) } /* Below styles fake what can be achieved with the tailwind config you need to add the group-hover variant to scale and define your custom min width style. See https://codesandbox.io/s/tailwindcss-multilevel-dropdown-y91j7?file=/index.html for implementation with config file */ .group:hover .group-hover\:scale-100 { transform: scale(1) } .group:hover .group-hover\:-rotate-180 { transform: rotate(180deg) } } .jodit-wysiwyg > * { all: revert; color: #262626 !important; } .jodit-wysiwyg { padding: 0 16px !important; /*font-family: Consolas, Monaco, sans-serif;*/ /*p { font-size: 17px !important; }*/ } #admin-bw-panel form { input { @apply bg-white outline-0 text-[16px] leading-none; } [role="tablist"] { @apply bg-brand-violet ; [data-state=active] { @apply bg-brand-yellow text-brand-violet; } [data-state=inactive] { @apply text-brand-yellow bg-brand-violet; } /*@apply bg-brand-yellow-100;*/ /*[id$='trigger-uk' i][data-state=active] { @apply bg-brand-yellow-100; } [id$='trigger-ru' i][data-state=active] { @apply bg-brand-violet-100; }*/ } label{ @apply uppercase text-brand-violet-950 flex items-center justify-between leading-none ml-1 mt-4; } #form-tab-uk label { &:after { content: ' '; display: inline-block; width: 18px; height: 0; border-top: solid #0066cc 6px; border-bottom: solid #ffcc00 6px; margin-right: 4px; } } } .bw-product__text * { font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important; font-weight: 400 !important; font-size: 1rem !important; line-height: 1.45 !important; color: rgb(40, 26, 76) !important; background: transparent !important; text-align: left !important; } .bw-product__text { h2 * { font-weight: 700 !important; font-size: 1.375rem !important; } } .bw-cart-item-counter { input { @apply text-xl leading-none border-0 text-brand-violet font-bold; } } .bw-cart-btn.lucide { @apply text-brand-violet; width: 32px; height: 32px; &:hover { @apply drop-shadow-lg shadow-brand-violet-400; } } .bw-card-footer { background: #f2f5fa !important; } .bw-cart-wrapper { .col{ flex: 1; } }