turkmentv_front/app/globals.css

387 lines
7.7 KiB
CSS
Raw Normal View History

2024-08-19 12:44:56 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;
--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%;
}
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 212.7 26.8% 83.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%;
}
}
/* @layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
} */
/* <<<<<<< HEAD * {
scroll-behavior: smooth;
}
=======>>>>>>>2c1eddb85d62e4709470605eb8df7458c2d6c37e body, */
* {
scroll-behavior: smooth;
}
html {
overflow-x: hidden;
2024-10-04 12:08:45 +00:00
2024-08-19 12:44:56 +00:00
/* min-height: 50vh; */
}
.container {
max-width: 1316px;
2024-12-09 13:35:43 +00:00
padding: 0 16px;
2024-08-19 12:44:56 +00:00
width: 100%;
margin: 0 auto;
/* overflow-x: hidden; */
}
.text-stroke {
2025-01-03 12:45:58 +00:00
text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
2024-08-19 12:44:56 +00:00
}
.big-swiper .swiper-pagination-bullet {
width: 14px;
height: 14px;
background: white;
border: none;
transition: 0.3 all ease;
}
.small-swiper .swiper-pagination-bullet {
width: 6px;
height: 6px;
background: white;
opacity: 0.7;
transition: 0.3 all ease;
}
.big-swiper .swiper-pagination-bullet-active,
.small-swiper .swiper-pagination-bullet-active {
opacity: 1;
background: #010431;
transition: 0.3 all ease;
}
.small-swiper .swiper-button-next:after {
color: white;
2025-01-03 12:45:58 +00:00
content: url('/arrow-right-small.svg');
2024-08-19 12:44:56 +00:00
}
.small-swiper .swiper-button-prev:after {
color: white;
2025-01-03 12:45:58 +00:00
content: url('/arrow-left-small.svg');
2024-08-19 12:44:56 +00:00
}
.big-swiper .swiper-button-next:after {
color: white;
2025-01-03 12:45:58 +00:00
content: url('/arrow-right-big.svg');
2024-08-19 12:44:56 +00:00
}
.big-swiper .swiper-button-prev:after {
color: white;
2025-01-03 12:45:58 +00:00
content: url('/arrow-left-big.svg');
2024-08-19 12:44:56 +00:00
}
video {
width: 100%;
height: 100%;
object-fit: cover;
}
main,
nav,
footer {
z-index: 10;
position: relative;
}
button:disabled {
transition: all 0.3s ease;
opacity: 0.7;
}
.MuiInputBase-root.MuiOutlinedInput-root {
font-family: var(--font-roboto);
border-radius: 0;
border: 2px solid rgba(139, 218, 255, 0.24);
font-size: 18px;
}
p a {
display: inline;
overflow-wrap: break-word;
}
big {
font-size: inherit !important;
}
.clamped {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
overflow: hidden;
text-overflow: ellipsis;
}
@layer utilities {
2024-10-04 12:08:45 +00:00
html {
@apply bg-lightBackground;
}
2024-08-19 12:44:56 +00:00
.input-style {
@apply bg-[#E6E6FA] rounded-xl py-3 px-4 placeholder:text-[#BCBCD6] outline-none;
}
2025-01-03 12:45:58 +00:00
.calendar [aria-label='Go to next month'] {
2024-08-19 12:44:56 +00:00
@apply shadow-sm transition-all;
}
2025-01-03 12:45:58 +00:00
.calendar [aria-label='Go to previous month'] {
2024-08-19 12:44:56 +00:00
@apply shadow-sm transition-all;
}
2025-01-03 12:45:58 +00:00
.day-styles [name='day'] {
2024-08-19 12:44:56 +00:00
@apply p-4 text-textDarkt leading-[140%] bg-purple-600 rounded-full;
}
.btn2 {
@apply text-textBlack leading-[140%] py-1 px-3 rounded-[8px] bg-white border border-[#E6E6FA] font-semibold shadow-sm;
}
.pagination-item {
@apply px-3 py-1 rounded-md border border-textBlack/20 text-textBlack/80 text-[12px] cursor-pointer hover:bg-textBlack transition-all hover:text-white;
}
.pagination-current {
@apply px-3 py-1 rounded-md border bg-fillButtonAccentDefault text-white text-[12px];
}
2024-11-13 12:46:08 +00:00
.font-display-1-regular {
@apply font-roboto text-[56px] leading-[64px] -tracking-[1%] font-normal;
}
2024-08-19 12:44:56 +00:00
}
2024-11-18 14:36:51 +00:00
.font-heading-1-regular {
@apply -tracking-[1%] text-[36px] leading-[44px];
}
.font-heading-3-regular {
@apply -tracking-[1%] text-[28px] leading-[36px];
}
.font-heading-5-regular {
@apply -tracking-[1%] text-[24px] leading-[32px];
}
2024-12-09 13:35:43 +00:00
.font-heading-5-medium {
@apply font-medium -tracking-[1%] text-[24px] leading-[32px];
}
2024-12-25 13:46:20 +00:00
.font-heading-6-regular {
@apply -tracking-[1%] text-[20px] leading-[28px];
}
2024-12-09 13:35:43 +00:00
.font-base-regular {
@apply font-normal -tracking-[1%] text-[16px] leading-[24px];
}
2024-11-18 14:36:51 +00:00
.font-base-medium {
@apply font-medium -tracking-[1%] text-[16px] leading-[24px];
}
2024-12-09 13:35:43 +00:00
2024-11-18 14:36:51 +00:00
.font-small-regular {
@apply -tracking-[1%] text-[14px] leading-[20px];
}
2024-11-20 12:26:54 +00:00
2024-12-11 13:14:49 +00:00
.font-xsmall-regular {
@apply -tracking-[1%] text-[12px] leading-[16px];
}
2024-11-20 12:26:54 +00:00
.text-countdown {
@apply font-roboto text-[60px] leading-[70px] -tracking-[1%];
}
2024-11-20 16:02:06 +00:00
2024-12-18 13:30:13 +00:00
.numeric-display-1 {
@apply text-[80px] leading-[88px] -tracking-[1%] text-center font-normal font-roboto;
}
2024-11-20 16:02:06 +00:00
.wheel-circle {
2025-01-03 12:45:58 +00:00
background: url('/wheel-circle.svg');
2024-11-20 16:02:06 +00:00
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
2024-11-21 13:06:02 +00:00
2024-12-25 13:46:20 +00:00
.index-module_slot__DpPgW {
/* overflow: visible !important; */
2024-12-25 13:46:20 +00:00
/* height: auto !important; */
}
2024-12-27 15:23:39 +00:00
.lottery-scrollbar {
&::-webkit-scrollbar {
width: 12px;
}
&::-webkit-scrollbar-track {
background: #c0c1ff;
border-radius: 8px;
}
&::-webkit-scrollbar-thumb {
background-color: #a0a3fb;
border-radius: 8px;
width: 8px;
border: 3px solid #c0c1ff;
}
}
2024-12-25 13:46:20 +00:00
/* .index-module_num__j6XH3 {
height: fit-content !important;
} */
.slot-seperator {
2025-01-03 12:45:58 +00:00
content: url('/dash.svg');
2024-12-25 13:46:20 +00:00
background-position: center;
background-size: cover;
background-repeat: no-repeat;
2024-12-29 18:02:23 +00:00
@apply md:mx-5;
}
.rolling-number {
@apply text-lightOnPrimary md:text-[80px] md:leading-[88px] -tracking-[1%] md:px-4;
}
@media (max-width: 1025px) {
.rolling-number {
@apply text-[48px] px-2;
}
}
2025-01-16 12:59:03 +00:00
@media (max-width: 1025px) {
.rolling-number {
@apply text-[48px] px-2;
}
2024-12-29 18:02:23 +00:00
.slot-seperator {
2025-01-03 12:45:58 +00:00
content: url('/dash-md.svg');
2024-12-29 18:02:23 +00:00
@apply mx-2;
}
2025-01-16 12:59:03 +00:00
.lottery-winner-list {
grid-template-columns: 2;
2024-12-29 18:02:23 +00:00
}
}
@media (max-width: 426px) {
.rolling-number {
@apply text-[24px] px-1;
}
2025-01-09 14:53:20 +00:00
.slot-seperator {
content: url('/dash-md.svg');
@apply !mx-1;
}
2024-12-29 18:02:23 +00:00
}
@media (max-width: 320px) {
.rolling-number {
@apply text-[16px] px-1;
}
}
@media (max-width: 426px) {
.slot-seperator {
2025-01-03 12:45:58 +00:00
content: url('/dash-sm.svg');
2024-12-29 18:02:23 +00:00
@apply mx-2;
}
2024-12-25 13:46:20 +00:00
}
2024-11-21 13:06:02 +00:00
.confetti-piece {
position: absolute;
/* border-radius: 50%; */
animation: confetti-move ease-in-out forwards;
opacity: 0.8; /* Slight transparency for shiny effect */
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Add depth */
}
2025-01-03 12:45:58 +00:00
.span.flash {
animation: flash 1s infinite;
}
@keyframes dots-flash {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
2024-11-21 13:06:02 +00:00
@keyframes confetti-move {
0% {
opacity: 1;
transform: translateX(0) translateY(0) rotate(0deg);
}
50% {
2025-01-03 12:45:58 +00:00
transform: translateX(calc(var(--end-x) / 2)) translateY(-30vh) rotate(180deg);
2024-11-21 13:06:02 +00:00
}
100% {
opacity: 0;
transform: translateX(var(--end-x)) translateY(100vh) rotate(360deg);
}
}