1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | @use '../../../../styles/theming' as *;
|
8 |
|
9 | @mixin nb-calendar-days-names-theme() {
|
10 | nb-calendar-days-names {
|
11 | background: nb-theme(calendar-weekday-background);
|
12 | $border: nb-theme(calendar-weekday-divider-width) solid nb-theme(calendar-weekday-divider-color);
|
13 | border-top: $border;
|
14 | border-bottom: $border;
|
15 |
|
16 | @include nb-ltr() {
|
17 | padding-left: nb-theme(calendar-picker-padding-start);
|
18 | padding-right: nb-theme(calendar-picker-padding-end);
|
19 | }
|
20 | @include nb-rtl() {
|
21 | padding-left: nb-theme(calendar-picker-padding-end);
|
22 | padding-right: nb-theme(calendar-picker-padding-start);
|
23 | }
|
24 |
|
25 | .day {
|
26 | width: nb-theme(calendar-weekday-width);
|
27 | height: nb-theme(calendar-weekday-height);
|
28 | color: nb-theme(calendar-weekday-text-color);
|
29 | font-size: nb-theme(calendar-weekday-text-font-size);
|
30 | font-weight: nb-theme(calendar-weekday-text-font-weight);
|
31 | line-height: nb-theme(calendar-weekday-text-line-height);
|
32 |
|
33 | &.holiday {
|
34 | color: nb-theme(calendar-weekday-holiday-text-color);
|
35 | }
|
36 | }
|
37 |
|
38 | &.size-large .day {
|
39 | width: nb-theme(calendar-weekday-large-width);
|
40 | height: nb-theme(calendar-weekday-large-height);
|
41 | }
|
42 | }
|
43 | }
|