Files
2024-07-02 18:19:51 +03:30

96 lines
2.7 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: "Iransans";
src: url(~/public/fonts/IRANSansXFaNum-Medium.woff2) format("woff2");
}
@font-face {
font-family: "thinSans";
src: url(~/public/fonts/IRANSansXFaNum-Regular.woff2) format("woff2");
}
body {
font-family: "Iransans";
direction: rtl;
overflow-x: hidden !important;
}
@layer utilities {
.pinkShadow {
filter: drop-shadow(0px 0px 2px #a6228527);
}
.smallShadow{
box-shadow: 0px 0px 5px 0px #0000001A;
}
.thin{
font-family: "thinSans";
}
}
@layer components {
.loginInput{
@apply bg-white rounded-[2.564vw] md:rounded-[1.563vw] text-[3.59vw] md:text-[0.833vw] w-full h-[13.59vw] md:h-[2.917vw] ps-[3vw] md:ps-[1.2vw]
}
.flexBox{
@apply flex items-center justify-center
}
.greenButton{
@apply h-[2.917vw] rounded-[1.563vw] py-[0.833vw] px-[4.167vw] text-white bg-primaryGreen gap-[0.521vw] text-[0.833vw]
}
.categoriesOption{
@apply font-semibold py-[2.051vw] md:py-[0.625vw] w-[22.821vw] md:w-[8vw] mx-[0.5vw] md:ms-[0.01vw] gap-2 rounded-[2.051vw] md:rounded-[0.521vw] border-[1px] border-primaryGreen text-primaryGreen text-[3.59vw] md:text-[1.055vw]
}
.courses{
@apply w-[87.69%] md:w-[81.04%] flex flex-col justify-center mt-[18vw] md:mt-[4.688vw] px-[3.846vw] md:px-[1.563vw] bg-[#F8F8F8] rounded-[3.846vw] md:rounded-[0.781vw]
}
.custom-toast{
margin: 0 !important;
font-family: 'thinSans';
}
.emptyText{
@apply font-semibold text-[4vw] md:text-[1vw] my-[3vw] w-full text-center
}
.loadingText{
@apply min-h-[10vw] font-semibold text-[4vw] md:text-[1vw] my-[3vw] w-full text-center
}
.close{
max-height: 0;
overflow: hidden;
transition: max-height 0.7s ease-out;
}
}
.chat{
transition: max-height 0.7s ease-out;
}
@media (max-width: 768px) {
.tabs-component .tabs-component-tab .is-active::before{
height: 0vw !important;
}
.tabs-component .tabs-component-tab .is-active p{
background-color: #D3EDED;
}
.scrolBar{
padding: 0vw 1.5vw;
overflow: auto;
white-space: nowrap;
background-color: #FDFAFC;
box-shadow: 0px 0px 5px 0px #A6228626;
width: 87.692vw;
height: 13.077vw;
display: flex;
align-items: center;
border-radius: 3.846vw;
}
.scrolBar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.scrolBar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
}