Files
danak-website/src/app/globals.css
T
2025-05-29 11:39:10 +03:30

315 lines
4.6 KiB
CSS

@import "tailwindcss";
html {
direction: rtl;
max-width: 100%;
}
body {
font-family: irancell;
margin: 0;
padding: 0;
width: 100%;
direction: rtl;
background: #eceff6;
font-feature-settings: "lnum"; /* اطمینان از نمایش اعداد انگلیسی */
}
html,
body {
height: 100%;
margin: 0;
}
html,
body,
#root {
min-height: 100% !important;
height: 100%;
}
* {
outline: none;
}
input::placeholder,
textarea::placeholder {
color: #888888;
}
input.place-black::placeholder {
color: black;
}
textarea.place-black::placeholder {
color: black;
}
@theme {
--color-primary: black;
--color-description: #888888;
--spacing-maxWidth: 1100px;
}
tbody tr {
background-color: white;
}
.thead tr td:first-child {
border-top-right-radius: 23px;
/* border-bottom-right-radius: 23px; */
}
.thead tr td:last-child {
border-top-left-radius: 23px;
/* border-bottom-left-radius: 23px; */
}
.modalGlass2 {
background: rgba(0, 0, 0, 0.8);
background-blend-mode: multiply;
/* backdrop-filter: blur(5px); */
}
.modalGlass3 {
background: rgba(0, 0, 0, 0.4);
background-blend-mode: multiply;
backdrop-filter: blur(44px);
}
.dltr {
direction: ltr;
}
.instagram-gradient {
background: linear-gradient(
45deg,
#f09433 0%,
#e6683c 25%,
#dc2743 50%,
#cc2366 75%,
#bc1888 100%
);
}
.rowTwoInput {
@apply flex flex-col sm:flex-row sm:gap-5 gap-5;
}
.swiper-button-next {
color: white !important;
}
.swiper-button-prev {
color: white !important;
}
.Toastify__toast {
direction: rtl;
font-family: "irancell" !important;
}
.rc-rate-star {
margin-right: 3px !important; /* فاصله بین ستاره‌ها */
}
#blog-preview-content * {
color: white !important;
}
#blog-content a {
color: #ea063e !important;
}
.overflowX {
overflow-x: scroll;
scrollbar-width: none;
}
.overflowX::-webkit-scrollbar {
display: none;
}
@keyframes slideDown {
from {
transform: translateY(-100%);
}
to {
transform: translateY(0);
}
}
@keyframes slideUp {
from {
transform: translateY(100%);
}
to {
transform: translateY(0);
}
}
.animate-slide-down {
animation: slideDown 1s ease-out forwards;
}
.animate-slide-up {
animation: slideUp 1s ease-out forwards;
}
@keyframes fade-in {
0% {
opacity: 0;
transform: scale(0.9);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes pattern-fade-in {
0% {
opacity: 0;
}
50% {
opacity: 0.05;
}
100% {
opacity: 0.05;
}
}
@keyframes logo-float {
0% {
transform: scale(0.9);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
@keyframes logo-glow {
0% {
filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}
50% {
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
}
100% {
filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}
}
@keyframes progress-bar {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
.animate-fade-in {
animation: fade-in 0.8s ease-out forwards;
}
.animate-pattern-fade-in {
animation: pattern-fade-in 1.5s ease-out forwards;
}
.animate-logo-float {
animation: logo-float 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.animate-logo-glow {
animation: logo-glow 3s ease-in-out infinite;
}
.animate-progress-bar {
animation: progress-bar 2.5s ease-out forwards;
}
@keyframes circle-pulse {
0% {
transform: scale(0.8);
opacity: 0;
}
50% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(1.2);
opacity: 0;
}
}
@keyframes circle-pulse-delayed {
0% {
transform: scale(0.8);
opacity: 0;
}
25% {
transform: scale(0.9);
opacity: 0.5;
}
75% {
transform: scale(1.1);
opacity: 0.5;
}
100% {
transform: scale(1.3);
opacity: 0;
}
}
@keyframes wave {
0% {
transform: translateX(0) translateY(0);
}
50% {
transform: translateX(-25%) translateY(-10px);
}
100% {
transform: translateX(-50%) translateY(0);
}
}
.animate-circle-pulse {
animation: circle-pulse 3s ease-out infinite;
}
.animate-circle-pulse-delayed {
animation: circle-pulse-delayed 3s ease-out infinite;
}
.animate-wave {
background: linear-gradient(
90deg,
transparent,
rgba(0, 0, 0, 0.05),
transparent
);
animation: wave 10s linear infinite;
}
@media screen and (max-width: 768px) {
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
font-size: 30px;
}
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
font-size: 30px;
}
}
.swiper-button-next {
top: 55% !important;
}
.swiper-button-prev {
top: 55% !important;
}