qcal/frcal/src/Calendar.scss

119 lines
1.9 KiB
SCSS
Raw Normal View History

2022-02-12 14:55:46 -05:00
@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'bootstrap/scss/mixins';
2022-02-12 17:46:33 -05:00
@import 'bootstrap/scss/forms';
2022-02-12 15:40:45 -05:00
@import 'bootstrap/scss/grid';
@import 'bootstrap/scss/buttons';
2022-02-12 23:15:15 -05:00
@import './consts';
2023-07-15 17:26:51 -04:00
@import '@common/ui/MonthBasedCalendar.scss';
2022-02-12 14:55:46 -05:00
2022-02-12 15:40:45 -05:00
.Calendar {
2022-02-12 14:55:46 -05:00
@include make-container();
}
.Month-decadeHead {
display: none;
}
2022-02-13 15:00:20 -05:00
.Month-decade {
@include make-row($gutter: 0);
2022-02-12 14:55:46 -05:00
2022-02-13 15:00:20 -05:00
> * {
@include make-col-ready();
2022-02-12 14:55:46 -05:00
}
}
2022-02-13 15:00:20 -05:00
.Month-decadeSplitter-small, .Month-decadeSplitter-medium {
2022-02-12 14:55:46 -05:00
width: 100%;
}
2022-02-13 15:00:20 -05:00
.Month-decadeSplitter-medium {
display: none;
}
@include media-breakpoint-up(md) {
.Month-decadeSplitter-small {
display: none;
}
.Month-decadeSplitter-medium {
display: block;
}
}
2022-02-12 14:55:46 -05:00
@include media-breakpoint-up(xl) {
2022-02-13 15:00:20 -05:00
.Month-decadeSplitter-medium {
2022-02-12 14:55:46 -05:00
display: none;
}
.Month-decadeHead {
display: block;
2022-02-12 23:15:15 -05:00
@include make-row($gutter: 0);
2022-02-12 14:55:46 -05:00
}
2022-02-12 15:09:24 -05:00
.Day-decade {
display: none;
}
2022-02-12 14:55:46 -05:00
}
2022-02-12 23:15:15 -05:00
.Day, .DecadeName, .ComplementaryDay-fake {
margin: $calendar-gutter;
@include make-col($columns: 10);
}
@include media-breakpoint-up(lg) {
.ComplementaryDays {
2022-02-12 23:15:15 -05:00
@include make-row($gutter: 0);
> * {
@include make-col-ready();
}
}
2022-02-12 23:15:15 -05:00
.ComplementaryDay, .ComplementaryDay-fake {
@include make-col();
}
.ComplementaryDays-splitter {
width: 100%;
}
}
2022-02-12 23:15:15 -05:00
.Month, .ComplementaryDays {
margin-left: -$calendar-gutter;
margin-right: -$calendar-gutter;
}
.ComplementaryDay {
margin-top: $calendar-gutter;
}
.ComplementaryDay-fake {
padding: 0.5em;
2022-02-12 14:55:46 -05:00
}
.Day {
padding: 0.5em;
border: 1px solid black;
border-radius: $border-radius;
}
.DecadeName {
text-align: center;
font-weight: 600;
font-size: 1.2em;
}
.Day-name {
font-size: 2em;
font-weight: 600;
}
2022-02-12 15:09:24 -05:00
.Day-decade {
font-weight: 600;
}
.Day-today {
background: $gray-300;
}