Skip to content

Commit

Permalink
chore: use in all KS common app.css from core demo
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed May 3, 2023
1 parent 81321f7 commit 088a2f2
Show file tree
Hide file tree
Showing 25 changed files with 52 additions and 2,000 deletions.
49 changes: 49 additions & 0 deletions kitchen-sink/core/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -628,3 +628,52 @@ code {
.block .chip {
margin: 2px 4px 2px 0;
}

/* Calendar Page */
#calendar,
#calendar-events {
height: 50%;
box-sizing: border-box;
}

#calendar .calendar {
height: 100%;
}

#calendar-events ul {
height: 100%;
overflow: auto;
}

#calendar-events .event-color {
position: absolute;
left: 0;
top: 0;
width: 8px;
height: 100%;
}

@media (orientation: landscape) {
#calendar {
float: left;
}

#calendar,
#calendar-events {
height: 100%;
}

#calendar,
#calendar-events {
width: 50%;
}

#calendar-events {
margin-left: 50% !important;
border-left: 1px solid #eee;
}

.dark #calendar-events {
border-left-color: #282828;
}
}
2 changes: 1 addition & 1 deletion kitchen-sink/react/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Framework7React from 'framework7-react';
import App from './app.jsx';

import 'framework7/css/bundle';
import './css/app.css';
import '../../core/css/app.css';

// Demo
if (document.location.href.includes('safe-areas')) {
Expand Down
Loading

0 comments on commit 088a2f2

Please sign in to comment.