133 lines
2.7 KiB
CSS
133 lines
2.7 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--bg: #F8FAFC;
|
|
--surface: #FFFFFF;
|
|
--surface-elevated: #F1F5F9;
|
|
--border: #E2E8F0;
|
|
--border-hover: #CBD5E1;
|
|
--text-main: #0F172A;
|
|
--text-muted: #64748B;
|
|
--primary: #0284C7;
|
|
--primary-hover: #0369A1;
|
|
--primary-light: #F0F9FF;
|
|
--tg-blue: #229ED9;
|
|
--success: #10B981;
|
|
--warning: #F59E0B;
|
|
--danger: #EF4444;
|
|
--radius-sm: 8px;
|
|
--radius: 12px;
|
|
--radius-lg: 16px;
|
|
--shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
|
|
--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.03);
|
|
--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg);
|
|
color: var(--text-main);
|
|
direction: rtl;
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.tnum {
|
|
font-feature-settings: "tnum";
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* Tooltip standard */
|
|
.info-tooltip-wrap {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.info-icon-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
background-color: #E2E8F0;
|
|
color: #64748B;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.info-icon-btn:hover {
|
|
background-color: #0284C7;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.info-tooltip-content {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
position: absolute;
|
|
bottom: calc(100% + 8px);
|
|
right: 50%;
|
|
transform: translateX(50%);
|
|
background-color: #0F172A;
|
|
color: #F8FAFC;
|
|
text-align: right;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
white-space: normal;
|
|
width: 260px;
|
|
z-index: 100;
|
|
box-shadow: 0 10px 25px -5px rgba(0,0,0,0.25);
|
|
pointer-events: none;
|
|
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
}
|
|
|
|
.info-tooltip-content::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 50%;
|
|
transform: translateX(50%);
|
|
border-width: 5px;
|
|
border-style: solid;
|
|
border-color: #0F172A transparent transparent transparent;
|
|
}
|
|
|
|
.info-tooltip-wrap:hover .info-tooltip-content {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Custom Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #F1F5F9;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #CBD5E1;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #94A3B8;
|
|
}
|