-
Notifications
You must be signed in to change notification settings - Fork 132
/
paper-date-picker-dialog-style.html
46 lines (44 loc) · 1.18 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
43
44
45
46
<link rel="import" href="../polymer/lib/elements/custom-style.html">
<custom-style>
<style is="custom-style">
/* mixin definitions */
html {
--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>
</custom-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>