Files
Backend-Api/ServiceHost/wwwroot/AssetsAdmin/css/style.css
2024-08-31 21:01:56 +03:30

776 lines
17 KiB
CSS

/* @font-face {
font-family: 'YekanLight';
src: url('../fonts/iranyekanweblightfanum.eot') format('embedded-opentype'), url('../fonts/iranyekanweblightfanum.woff') format('woff'), url('../fonts/iranyekanweblightfanum.ttf') format('truetype'), url('../fonts/iranyekanweblightfanum.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'yekanBold';
src: url('../fonts/IRANYekanWebBold.eot') format('embedded-opentype'), url('../fonts/IRANYekanWebBold.woff') format('woff'), url('../fonts/IRANYekanWebBold.ttf') format('truetype'), url('../fonts/IRANYekanWebBold.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'IranSans';
src: url('../fonts/iranyekanwebboldfanum.eot') format('embedded-opentype'), url('../fonts/iranyekanwebboldfanum.woff') format('woff'), url('../fonts/iranyekanwebboldfanum.ttf') format('truetype'), url('../fonts/iranyekanwebboldfanum.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'IranYekanEXBold';
src: url('../fonts/IRANYekanWebExtraBold.eot') format('embedded-opentype'), url('../fonts/IRANYekanWebExtraBold.woff') format('woff'), url('../fonts/IRANYekanWebExtraBold.ttf') format('truetype'), url('../fonts/IRANYekanWebExtraBold.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'IranText';
src: url('../fonts/IRANYekanBoldMsn.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Estedad';
src: url('../fonts/Estedad/ttf/Estedad-Regular.ttf') format('truetype'), url('../fonts/Estedad/woff2/Estedad-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
} */
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 100;
src: url('../fonts/iranyekan/woff/IRANYekanX-Thin.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-Thin.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 200;
src: url('../fonts/iranyekan/woff/IRANYekanX-UltraLight.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-UltraLight.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 300;
src: url('../fonts/iranyekan/woff/IRANYekanX-Light.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-Light.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 500;
src: url('../fonts/iranyekan/woff/IRANYekanX-Medium.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-Medium.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 600;
src: url('../fonts/iranyekan/woff/IRANYekanX-DemiBold.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-DemiBold.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 800;
src: url('../fonts/iranyekan/woff/IRANYekanX-ExtraBold.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-ExtraBold.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 900;
src: url('../fonts/iranyekan/woff/IRANYekanX-Black.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-Black.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 950;
src: url('../fonts/iranyekan/woff/IRANYekanX-ExtraBlack.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-ExtraBlack.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: 1000;
src: url('../fonts/iranyekan/woff/IRANYekanX-Heavy.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-Heavy.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: bold;
src: url('../fonts/iranyekan/woff/IRANYekanX-Bold.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-Bold.woff2') format('woff2');
}
@font-face {
font-family: IRANYekanX;
font-style: normal;
font-weight: normal;
src: url('../fonts/iranyekan/woff/IRANYekanX-Regular.woff') format('woff'), url('../fonts/iranyekan/woff2/IRANYekanX-Regular.woff2') format('woff2');
}
:root {
--clr-light: #FFFFFF;
--clr-dark: #1C1C1C;
--clr-text: #161616;
--clr-primary: #4338CA;
--border-siderbar: rgba(255, 255, 255, 0.1);
--clr-bg-card: #F7F9FB;
--clr-bg-card-hover: #818CF8;
--clr-bg: #ffffff;
--clr-input: #ffffff;
--clr-bg-topmenu: #1A237E;
--clr-bg-menu: #ffffff;
--clr-card-title: #1F2937;
--clr-socail: #52525B;
--clr-mute: #6B7280;
--clr-input-bg: #F6F6F6;
--clr-placeholder: #64748B;
--clr-bg-bubbles: rgba(41, 69, 232, 0.42);
--d-moon: none;
--d-sun: inline-block;
--foreground: var(--clr-dark);
--background: var(--clr-light);
--c-gray-900: #000000;
--c-gray-800: #1f1f1f;
--c-gray-300: #bdbbb7;
--c-green-500: #45ffbc;
--c-olive-500: #e3ffa8;
}
.darkmode {
--clr-light: #FFFFFF;
--clr-dark: #1C1C1C;
--clr-text: #ffffff;
--clr-primary: #6366F1;
--border-siderbar: rgba(255, 255, 255, 0.1);
--clr-bg-card: #282828;
--clr-bg-card-hover: #232231;
--clr-bg: #182331;
--clr-input: #111827;
--clr-bg-topmenu: #0F172A;
--clr-bg-menu: #1E293B;
--clr-card-title: #ffffff;
--clr-socail: #cacad2;
--clr-mute: #D1D5DB;
--clr-input-bg: #334155;
--clr-placeholder: #64748B;
--clr-bg-bubbles: rgba(255, 255, 255, 0.15);
--d-moon: inline-block;
--d-sun: none;
--foreground: var(--clr-light);
--background: var(--clr-dark);
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background-color: #ebebeb;
-webkit-border-radius: 10px;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: #6d6d6d;
}
*,
html {
direction: rtl;
font-family: 'IRANYekanX', serif;
font-weight: 500;
}
body {
background: var(--background);
color: var(--clr-text);
margin: 0;
-webkit-text-size-adjust: 100%;
text-align: right;
-moz-font-feature-settings: "ss02";
-webkit-font-feature-settings: "ss02";
font-feature-settings: "ss02";
}
a {
text-decoration: none;
}
button {
background: transparent;
border: 0;
}
a:link, a:visited, a:hover, a:active {
text-decoration: none;
color: var(--clr-primary);
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
/********************* Start Grid *********************/
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-5 {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-cols-6 {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.grid-cols-7 {
grid-template-columns: repeat(7, minmax(0, 1fr));
}
.grid-cols-8 {
grid-template-columns: repeat(8, minmax(0, 1fr));
}
/********************* End Grid *********************/
.sidebar_right_section {
width: 15%;
height: 100vh;
border-left: 2px solid var(--border-siderbar);
position: fixed;
right: 0;
}
.main_section {
width: 70%;
margin-right: 15%;
}
.sidebar_left_section {
width: 15%;
height: 100vh;
border-right: 2px solid var(--border-siderbar);
position: fixed;
left: 0;
}
.main-header {
border-bottom: 2px solid var(--border-siderbar);
}
.avatar-img {
width: 40px;
height: 40px;
object-fit: cover;
border-radius: 100px;
}
.avatar-user-img {
width: 30px;
height: 30px;
object-fit: cover;
border-radius: 100px;
}
.menu-text-mute {
font-size: 12px;
color: #BEBEBE;
margin: 30px 14px 6px 0;
}
.menu-text-continue {
font-size: 10px;
color: #828282;
margin: 20px 14px 6px 0;
text-align: center;
}
.main-menu > li {
margin: 5px 0;
}
.main-menu > li > a {
display: block;
color: var(--clr-text);
font-size: 14px;
font-weight: 300;
border-radius: 10px;
padding: 6px 5px;
transition: all .3s ease;
}
.main-menu > li > a:hover {
background-color: #232231;
}
.main-menu > li > a.active {
position: relative;
background-color: #232231;
padding-right: 12px;
}
.main-menu > li > a.active::before {
content: "";
height: 20px;
width: 6px;
background-color: #6366F1;
display: block;
border-radius: 10px;
position: absolute;
right: 0;
top: 8px;
}
.logo {
display: flex;
align-items: center;
justify-content: center;
}
.logo svg {
margin-left: 8px;
}
.logo h4 {
font-size: 20px;
background: linear-gradient(269.23deg, #6366F1 0.31%, #4F46E5 95.25%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
}
.logo h6 {
font-size: 12px;
background: linear-gradient(269.23deg, #6366F1 0.31%, #4F46E5 95.25%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
}
.search input {
background-color: #272727;
color: var(--clr-text);
border-radius: 8px;
padding: 4px 8px;
outline: 1px solid #3D3D3D;
transition: all ease .3s;
}
.search-table input {
background-color: #262626;
color: var(--clr-text);
border-radius: 8px;
padding: 4px 8px;
outline: 1px solid #3D3D3D;
transition: all ease .3s;
}
.search-table input:focus,
.search input:focus {
outline: 1px solid #707070;
}
.card {
background-color: var(--clr-bg-card);
color: var(--clr-text);
border-radius: 12px;
padding: 10px;
width: 100%;
transition: all ease .3s;
overflow: hidden;
}
.card:hover.btn-card {
background-color: var(--clr-bg-card-hover);
border: 1px solid #818CF8;
}
.card.btn-card.active {
background-color: var(--clr-bg-card-hover);
border: 1px solid #818CF8;
}
.card.btn-card.deactive:hover {
background-color: var(--clr-bg-card-deactive);
}
.card span {
color: #939393;
font-size: 14px;
}
.card .title-name {
color: var(--clr-text);
font-size: 13px;
}
.card .card-body {
width: 100%;
}
.card .card-title {
color: var(--clr-text);
font-size: 16px;
margin: 0;
}
.card .bullet {
background-color: #FB923C;
width: 15px;
height: 15px;
}
.users-list {
height: 322px;
overflow-y: scroll;
overflow-x: hidden;
scrollbar-width: thin;
}
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 10px;
background-color: #F5F5F5;
}
/********************* Start Progress Bar *********************/
.progress {
border-radius: 50px;
height: 12px;
background-color: transparent;
}
.progress-bar-green {
background-color: #A3E635;
}
.progress-bar-orange {
background-color: #FB923C;
}
.progress-bar-red {
background-color: #F87171;
}
.progress-bar {
width: 0;
border-radius: 20px;
-webkit-animation: progress 1.5s ease-in-out forwards;
animation: progress 1.5s ease-in-out forwards;
}
.progress-bar .title {
opacity: 0;
color: #232422;
-webkit-animation: show 0.35s forwards ease-in-out 0.5s;
animation: show 0.35s forwards ease-in-out 0.5s;
}
@-webkit-keyframes progress {
from {
width: 0;
}
to {
width: 100%;
}
}
@keyframes progress {
from {
width: 0;
}
to {
width: 100%;
}
}
@-webkit-keyframes show {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes show {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/********************* End Progress Bar *********************/
/********************* Start Circle Chart *********************/
.circle-chart__circle {
animation: circle-chart-fill 2s reverse; /* 1 */
transform: rotate(-90deg); /* 2, 3 */
transform-origin: center; /* 4 */
}
.circle-chart__circle--negative {
transform: rotate(-90deg) scale(1,-1); /* 1, 2, 3 */
}
.circle-chart__info {
animation: circle-chart-appear 2s forwards;
opacity: 0;
transform: translateY(0.3em);
}
.circle-chart__percent {
fill: var(--clr-text);
}
@keyframes circle-chart-fill {
to { stroke-dasharray: 0 100; }
}
@keyframes circle-chart-appear {
to {
opacity: 1;
transform: translateY(0);
}
}
/* -------------- */
.circle-svg {
display: block;
margin: 10px auto;
max-height: 100px;
}
.circle-svg text {
text-align:center;
color: var(--clr-text);
fill: var(--clr-text);
font-size:10px
}
.circle-svg path.percent {
fill: none;
stroke-width: 4.3;
stroke-linecap: round;
animation: progressCircle 1s ease-out forwards;
}
.circle-svg path.around {
stroke: #616161;
fill: none;
stroke-width: 2;
}
@keyframes progressCircle {
0% {
stroke-dasharray: 0 100;
}
}
/********************* End Circle Chart *********************/
/********************* Start Table *********************/
.table-box,
.tbody {
height: 322px;
overflow-y: scroll;
overflow-x: hidden;
scrollbar-width: thin;
width: 100%;
}
.table-transparent {
--bs-table-color: var(--clr-text);
--bs-table-bg: transparent;
--bs-table-border-color: #333333;
--bs-table-striped-bg: #c5d7f2;
--bs-table-striped-color: var(--clr-text);
--bs-table-active-bg: #bacbe6;
--bs-table-active-color: var(--clr-text);
--bs-table-hover-bg: var(--clr-bg-card-hover);
--bs-table-hover-color: var(--clr-text);
color: var(--bs-table-color);
border-color: var(--bs-table-border-color);
font-size: 14px;
font-weight: 400;
}
.width1 {
width: 10%;
}
.width2 {
width: 30%;
}
.width3 {
width: 40%;
}
.width4 {
width: 20%;
}
/********************* End Table *********************/
/********************* Start Tile *********************/
.tiles {
display: grid;
grid-template-columns: repeat(3, 1fr);
-moz-column-gap: 1rem;
column-gap: 1rem;
row-gap: 1rem;
margin-top: 1.25rem;
}
@media (max-width: 700px) {
.tiles {
grid-template-columns: repeat(1, 1fr);
}
}
.tile {
padding: 1rem;
border-radius: 8px;
background-color: var(--c-olive-500);
color: var(--c-gray-900);
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
transition: 0.25s ease;
}
.tile:hover {
transform: translateY(-5px);
}
.tile:focus-within {
box-shadow: 0 0 0 2px var(--c-gray-800), 0 0 0 4px var(--c-olive-500);
}
.tile:nth-child(2) {
background-color: var(--c-green-500);
}
.tile:nth-child(2):focus-within {
box-shadow: 0 0 0 2px var(--c-gray-800), 0 0 0 4px var(--c-green-500);
}
.tile:nth-child(3) {
background-color: var(--c-gray-300);
}
.tile:nth-child(3):focus-within {
box-shadow: 0 0 0 2px var(--c-gray-800), 0 0 0 4px var(--c-gray-300);
}
.tile a {
text-decoration: none;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 600;
}
.tile a .icon-button {
color: inherit;
border-color: inherit;
}
.tile a .icon-button:hover, .tile a .icon-button:focus {
background-color: transparent;
}
.tile a .icon-button:hover i, .tile a .icon-button:focus i {
transform: none;
}
.tile a:focus {
box-shadow: none;
}
.tile a:after {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.tile-header {
display: flex;
align-items: center;
}
.tile-header svg {
width: 70px;
}
.tile-header h3 {
display: flex;
flex-direction: column;
line-height: 1.375;
margin-left: 0.5rem;
}
.tile-header h3 span:first-child {
font-weight: 600;
font-size: 25px;
color: #212121;
}
.tile-header h3 span:last-child {
font-size: 14px;
font-weight: 400;
color: #334155;
}
/********************* End Tile *********************/
/********************* Start List Card *********************/
.list-titles {
margin-top: 3px;
margin-right: 17px;
}
.list-main {
background: linear-gradient(270deg, rgba(255, 255, 255, 0.28), rgb(42, 46, 50) 52%);
padding: 1px;
border-radius: 18px;
margin-top: 17px;
width: 380px;
animation-name: Stocks;
}
.sub-list {
display: flex;
background: rgb(42, 46, 50);
border-radius: 18px;
padding: 16px;
color: white;
position: relative;
}
/********************* End List *********************/