22@import ' ../../common/mixins' ;
33@import ' ../../common/color.controls' ;
44
5- $calendar-column-width : 10 * $grid-size ;
6- $calendar-width : 52 * $grid-size ;
5+ $calendar-column-width : 8 * $grid-size ;
6+ $calendar-chevron-width : 10 * $grid-size ;
7+ $calendar-width : 40 * $grid-size ;
78
89$line-height-chevron : 4 * $grid-size ;
910$line-height-header : 4 * $grid-size ;
1011$line-height-row : $calendar-column-width ;
1112
12-
1313.calendar {
1414 @include md-box (block , relative );
1515 font-family : $font-family-default ;
@@ -20,8 +20,11 @@ $line-height-row: $calendar-column-width;
2020 }
2121 .calendar-header {
2222 @include md-box (block , relative );
23- margin-left : 4 * $grid-size ;
23+ margin-left : 2 * $grid-size ;
2424 font-family : $font-family-light ;
25+ display : flex ;
26+ align-items : center ;
27+ justify-content : space-between ;
2528
2629 & button {
2730 text-decoration : none ;
@@ -37,6 +40,12 @@ $line-height-row: $calendar-column-width;
3740 }
3841 }
3942
43+ .action-bar {
44+ display : flex ;
45+ align-items : center ;
46+ justify-content : flex-end ;
47+ }
48+
4049 .calendar-month {
4150 @include md-box (inline-block , relative );
4251 margin-top : 4 * $grid-size ;
@@ -46,18 +55,17 @@ $line-height-row: $calendar-column-width;
4655 font-size : $font-size-h5 ;
4756 line-height : $line-height-header ;
4857 text-align : left ;
49- width : $calendar-width ;
5058 vertical-align : top ;
59+ width : 100%
5160 }
5261
5362 .calendar-chevron {
5463 @include md-box (inline-block , relative );
5564 text-align : center ;
5665 vertical-align : bottom ;
5766 line-height : $line-height-chevron ;
58- margin-left : $grid-size ;
5967 padding-top : 2 * $grid-size ;
60- width : $calendar-column -width ;
68+ width : $calendar-chevron -width ;
6169 text-decoration : none ;
6270
6371 & :visited {
@@ -78,7 +86,7 @@ $line-height-row: $calendar-column-width;
7886 @include md-box (block , relative );
7987 width : 100% ;
8088 margin : 2 * $grid-size 0px ;
81- padding-left : 2 * $grid-size ;
89+ padding-left : $grid-size ;
8290 padding-bottom : 1.5 * $grid-size ;
8391 @include themify {
8492 border-bottom : 1px solid themed (' color-border-rest' );
@@ -96,7 +104,7 @@ $line-height-row: $calendar-column-width;
96104 }
97105
98106 .calendar-row {
99- margin-left : 2 * $grid-size ;
107+ margin-left : $grid-size ;
100108
101109 & > button .selected {
102110 @include themify {
0 commit comments