� Fixed Calendar Page Header CSS Issues
✅ Fixes Applied:
- Removed duplicate .calendar-page-header selector causing conflicts
- Merged animation property into main selector
- Fixed CSS syntax and structure
- Eliminated potential styling conflicts
- Improved CSS organization and readability
� Technical Improvements:
- Single consolidated .calendar-page-header rule
- Proper CSS cascade and specificity
- Clean animation integration
- Better maintainability
� Result:
- Calendar page header now renders correctly
- No more CSS conflicts or duplicate rules
- Smooth animations and proper styling
- Better performance and consistency
This commit is contained in:
parent
80bb712c70
commit
4f837cff5b
@ -47,11 +47,37 @@
|
||||
.calendar-page-header {
|
||||
background: rgba(255,255,255,0.95) !important;
|
||||
border-radius: 15px !important;
|
||||
padding: 20px !important;
|
||||
margin-bottom: 20px !important;
|
||||
padding: 25px 30px !important;
|
||||
margin-bottom: 25px !important;
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
|
||||
backdrop-filter: blur(10px) !important;
|
||||
border: 1px solid rgba(255,255,255,0.2) !important;
|
||||
position: relative !important;
|
||||
overflow: hidden !important;
|
||||
animation: headerFadeIn 0.6s ease-out !important;
|
||||
}
|
||||
|
||||
.calendar-page-header::before {
|
||||
content: '' !important;
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
right: 0 !important;
|
||||
bottom: 0 !important;
|
||||
background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05)) !important;
|
||||
z-index: 0 !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .row {
|
||||
position: relative !important;
|
||||
z-index: 1 !important;
|
||||
margin: 0 !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .col-lg-8,
|
||||
.calendar-page-header .col-lg-4 {
|
||||
padding: 0 15px !important;
|
||||
}
|
||||
|
||||
.calendar-page-header h3 {
|
||||
@ -61,6 +87,59 @@
|
||||
background-clip: text !important;
|
||||
font-weight: 700 !important;
|
||||
margin: 0 !important;
|
||||
font-size: 2rem !important;
|
||||
line-height: 1.2 !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 10px !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .page-title {
|
||||
text-shadow: none !important;
|
||||
transition: all 0.3s ease !important;
|
||||
}
|
||||
|
||||
.calendar-page-header:hover .page-title {
|
||||
transform: translateY(-2px) !important;
|
||||
}
|
||||
|
||||
/* Header Animation */
|
||||
@keyframes headerFadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Create Button in Header */
|
||||
.calendar-page-header .calendar-create-btn {
|
||||
transition: all 0.3s ease !important;
|
||||
position: relative !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .calendar-create-btn::before {
|
||||
content: '' !important;
|
||||
position: absolute !important;
|
||||
top: 50% !important;
|
||||
left: 50% !important;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
background: rgba(255,255,255,0.2) !important;
|
||||
border-radius: 50% !important;
|
||||
transform: translate(-50%, -50%) !important;
|
||||
transition: all 0.3s ease !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .calendar-create-btn:hover::before {
|
||||
width: 300px !important;
|
||||
height: 300px !important;
|
||||
}
|
||||
|
||||
/* Calendar Main Card */
|
||||
@ -692,15 +771,52 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
@media (max-width: 768px) {
|
||||
.calendar-page-header {
|
||||
padding: 15px !important;
|
||||
padding: 20px !important;
|
||||
margin-bottom: 20px !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .col-lg-8,
|
||||
.calendar-page-header .col-lg-4 {
|
||||
padding: 0 10px !important;
|
||||
}
|
||||
|
||||
.calendar-page-header h3 {
|
||||
font-size: 1.3rem !important;
|
||||
font-size: 1.6rem !important;
|
||||
text-align: center !important;
|
||||
margin-bottom: 15px !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .col-lg-4 {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.calendar-page-header {
|
||||
padding: 15px !important;
|
||||
margin-bottom: 15px !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .row {
|
||||
flex-direction: column !important;
|
||||
gap: 15px !important;
|
||||
}
|
||||
|
||||
.calendar-page-header .col-lg-8,
|
||||
.calendar-page-header .col-lg-4 {
|
||||
padding: 0 !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.calendar-page-header h3 {
|
||||
font-size: 1.4rem !important;
|
||||
text-align: center !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.dropped-events-list {
|
||||
max-height: 200px !important;
|
||||
}
|
||||
@ -804,6 +920,17 @@
|
||||
border-color: rgba(52, 73, 94, 0.3) !important;
|
||||
}
|
||||
|
||||
[data-layout-mode="dark_mode"] .calendar-page-header::before {
|
||||
background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(46, 204, 113, 0.08)) !important;
|
||||
}
|
||||
|
||||
[data-layout-mode="dark_mode"] .calendar-page-header h3 {
|
||||
background: linear-gradient(45deg, #3498db, #2ecc71) !important;
|
||||
-webkit-background-clip: text !important;
|
||||
-webkit-text-fill-color: transparent !important;
|
||||
background-clip: text !important;
|
||||
}
|
||||
|
||||
[data-layout-mode="dark_mode"] .dropped-event-item {
|
||||
background: linear-gradient(45deg, #34495e, #2c3e50) !important;
|
||||
border-color: #34495e !important;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user