forked from bendavis78/paper-date-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paper-date-picker-dialog-style.html
42 lines (41 loc) · 1.04 KB
/
paper-date-picker-dialog-style.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<style is="custom-style">
/* mixin definitions */
:root {
--paper-date-picker-dialog: {
margin: 0;
max-height: 520px !important;
overflow: hidden;
};
--paper-date-picker-dialog-picker: {
margin-top: 0 !important;
padding: 0;
};
--paper-date-picker-dialog-calendar: {
padding-bottom: 0;
};
--paper-date-picker-dialog-heading: {
margin-bottom: -62px;
};
}
</style>
<dom-module id="paper-date-picker-dialog-style">
<template>
<style>
/* Application of mixins to local .paper-date-picker-dialog elements */
.paper-date-picker-dialog {
@apply --paper-date-picker-dialog;
}
.paper-date-picker-dialog > paper-date-picker {
--paper-calendar: {
@apply --paper-date-picker-dialog-calendar;
};
@apply --paper-date-picker-dialog-picker;
}
.paper-date-picker-dialog > paper-date-picker:not([narrow]) {
--paper-date-picker-heading: {
@apply --paper-date-picker-dialog-heading;
};
}
</style>
</template>
</dom-module>