first commit

This commit is contained in:
Mojtaba Khorshidkolah
2026-03-05 09:35:47 +03:30
commit 75779ff28e
22 changed files with 3965 additions and 0 deletions

244
src/index.css Normal file
View File

@@ -0,0 +1,244 @@
@font-face {
font-family: 'vazir';
src: url('/vazir/Vazirmatn-Regular.woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'vazir';
src: url('/vazir/Vazirmatn-Medium.woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'vazir';
src: url('/vazir/Vazirmatn-Bold.woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'vazir';
src: url('/vazir/Vazirmatn-SemiBold.woff2');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'vazir';
src: url('/vazir/Vazirmatn-Light.woff2');
font-weight: 300;
font-style: normal;
font-display: swap;
}
:root {
font-family: vazir,system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
background-color: #fff;
margin: 0;
min-height: 100vh;
}
.mainBox {
background-color: #373fd6;
color: #fff;
text-align: center;
height: 50px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 2rem;
padding: 0 24px;
}
.contentBox {
height: calc(100vh - 50px);
width: 100%;
display: grid;
grid-template-rows: repeat(4,minmax(0,1fr)) !important;
gap:5px;
}
.contentBoxRow {
background-color: #d9dbfc;
display: grid;
width: 100%;
grid-template-columns: repeat(12,1fr);
height: 100%;
overflow: hidden;
min-height: 0;
}
.statusBox{
height: 100%;
display: flex;
align-items: center;
justify-content: center;
grid-column: span 2;
}
.status{
border-radius: 50%;
background-color: #a2a6f7 ;
width: 200px;
aspect-ratio: 1/1;
text-align: center;
color: #373fd6;
font-size: 2rem;
font-weight: bold;
display: grid;
place-items: center;
padding: 0 8px;
}
.infoRow {
grid-column: span 10;
display: flex;
align-items: center;
position: relative;
padding:4px 0;
}
.infoBox {
background-color: white;
border:1px solid #ccc;
height: 100%;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.info-row-1{
display: flex;
align-items: center;
justify-content: center;
column-gap: 3px;
}
.info-row-1 span:first-child {
font-size: 16px;
color: #575656;
}
.info-row-1 span:nth-child(2){
font-size: 18px;
direction: ltr !important;
color:#000;
}
/* CLASSES */
.container {
width: 100%;
max-width: 1280px;
margin-inline: auto;
padding-inline: 1rem;
}
.grid {
display: grid;
grid-template-columns:repeat(12,1fr) ;
gap:1rem;
}
.col-1{grid-column: span 1;}
.col-2{grid-column: span 2;}
.col-3{grid-column: span 3;}
.col-4{grid-column: span 4;}
.col-5{grid-column: span 5;}
.col-6{grid-column: span 6;}
.col-7{grid-column: span 7;}
.col-8{grid-column: span 8;}
.col-9{grid-column: span 9;}
.col-10{grid-column: span 10;}
.col-11{grid-column: span 11;}
.col-12{grid-column: span 12;}
@media screen and (max-width :1024px){
.mainBox{font-size: 20px;}
.contentBox{
grid-template-rows: repeat(4,minmax(0,1fr)) !important;
gap:4px !important;
}
.status{
font-size: 1.2rem;
width: 90px;
}
.info-row-1 span:first-child {
font-size: 13px;
color: #575656;
}
.info-row-1 span:nth-child(2){
font-size: 14px;
direction: ltr !important;
color:#000;
}
}
.infoRow .swiper {
width: 90% !important;
height: 100% !important;
z-index: 40;
}
.swiper .swiper-button-prev svg {
color:#000;
width: 30px !important;
height: 30px !important;
}
.infoRow .infoSliderNavigation {
position:absolute;
width: 100%;
height: 100%;
z-index: 10;
display: flex;
align-items: center;
justify-content: space-between;
}
#infoSliderNavigationNext{
position: absolute;
right: 30px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
}
#infoSliderNavigationPrev{
position: absolute;
left: 30px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
}
#infoSliderNavigationPrev svg {
transform: rotate(-180deg) !important;
}