Blame view

bower_components/paper-date-picker/paper-date-picker-dialog-style.html 1.03 KB
12e73bf0   Luigi Serra   cocreation updates
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
  <style is="custom-style">
  /* mixin definitions */
  :root {
    --paper-date-picker-dialog: {
      margin: 0;
      max-height: 520px !important;
    };
    --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: -56px;
    };
  }
  </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>