Skip to content

Commit 088a2f2

Browse files
committed
chore: use in all KS common app.css from core demo
1 parent 81321f7 commit 088a2f2

25 files changed

+52
-2000
lines changed

kitchen-sink/core/css/app.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,3 +628,52 @@ code {
628628
.block .chip {
629629
margin: 2px 4px 2px 0;
630630
}
631+
632+
/* Calendar Page */
633+
#calendar,
634+
#calendar-events {
635+
height: 50%;
636+
box-sizing: border-box;
637+
}
638+
639+
#calendar .calendar {
640+
height: 100%;
641+
}
642+
643+
#calendar-events ul {
644+
height: 100%;
645+
overflow: auto;
646+
}
647+
648+
#calendar-events .event-color {
649+
position: absolute;
650+
left: 0;
651+
top: 0;
652+
width: 8px;
653+
height: 100%;
654+
}
655+
656+
@media (orientation: landscape) {
657+
#calendar {
658+
float: left;
659+
}
660+
661+
#calendar,
662+
#calendar-events {
663+
height: 100%;
664+
}
665+
666+
#calendar,
667+
#calendar-events {
668+
width: 50%;
669+
}
670+
671+
#calendar-events {
672+
margin-left: 50% !important;
673+
border-left: 1px solid #eee;
674+
}
675+
676+
.dark #calendar-events {
677+
border-left-color: #282828;
678+
}
679+
}

kitchen-sink/react/src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Framework7React from 'framework7-react';
77
import App from './app.jsx';
88

99
import 'framework7/css/bundle';
10-
import './css/app.css';
10+
import '../../core/css/app.css';
1111

1212
// Demo
1313
if (document.location.href.includes('safe-areas')) {

0 commit comments

Comments
 (0)