vernova/public/css/jalali-datepicker.css
2026-07-26 19:58:27 +03:30

136 lines
2.3 KiB
CSS

/* Vernova - Jalali Date Picker Styles */
.jalali-picker-dropdown {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0,0,0,0.12);
padding: 0;
z-index: 99999;
width: 280px;
font-family: 'Vazirmatn', sans-serif;
direction: rtl;
user-select: none;
}
.jp-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
background: #14b8a6;
color: #fff;
border-radius: 12px 12px 0 0;
}
.jp-title {
font-size: 14px;
font-weight: 600;
}
.jp-nav {
background: rgba(255,255,255,0.2);
border: none;
color: #fff;
width: 28px;
height: 28px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.15s;
}
.jp-nav:hover {
background: rgba(255,255,255,0.35);
}
.jp-weekdays {
display: grid;
grid-template-columns: repeat(7, 1fr);
padding: 8px 8px 2px;
gap: 2px;
}
.jp-wd {
text-align: center;
font-size: 11px;
color: #9ca3af;
font-weight: 500;
padding: 4px 0;
}
.jp-days {
display: grid;
grid-template-columns: repeat(7, 1fr);
padding: 2px 8px 8px;
gap: 2px;
}
.jp-day {
width: 34px;
height: 34px;
border: none;
background: transparent;
border-radius: 8px;
cursor: pointer;
font-size: 13px;
font-family: 'Vazirmatn', sans-serif;
color: #374151;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
margin: 0 auto;
}
.jp-day:hover {
background: #f0fdfa;
color: #0d9488;
}
.jp-day.jp-today {
background: #fef3c7;
color: #92400e;
font-weight: 600;
}
.jp-day.jp-selected {
background: #14b8a6;
color: #fff;
font-weight: 600;
}
.jp-day.jp-selected:hover {
background: #0d9488;
color: #fff;
}
.jp-empty {
width: 34px;
height: 34px;
}
.jp-footer {
border-top: 1px solid #f3f4f6;
padding: 6px 8px;
text-align: center;
}
.jp-today-btn {
background: #f0fdfa;
border: 1px solid #ccfbf1;
color: #0d9488;
padding: 4px 16px;
border-radius: 6px;
font-size: 12px;
font-family: 'Vazirmatn', sans-serif;
cursor: pointer;
transition: all 0.15s;
}
.jp-today-btn:hover {
background: #ccfbf1;
}