1 | .md-headline { |
2 | box-sizing: border-box; |
3 | margin: 0; |
4 | color: var(--md-sys-color-on-surface); |
5 | background-color: var(--md-sys-color-surface); |
6 | transition-property: color; |
7 | transition-duration: var(--md-sys-motion-duration-1000); |
8 | transition-timing-function: ease-in; |
9 | } |
10 | |
11 | .md-headline.scroll-adicional { |
12 | color: var(--md-sys-color-surface-container-low); |
13 | background-color: var(--md-sys-color-surface-container-low); |
14 | } |
15 | |
16 | .md-headline.scroll { |
17 | color: var(--md-sys-color-surface); |
18 | } |
19 | |
20 | .md-headline.headline-small { |
21 | padding: 0 1rem 1.5rem 1rem; |
22 | } |
23 | |
24 | .md-headline.headline-medium { |
25 | padding: 0 1rem 1.75rem 1rem; |
26 | } |
27 | |
28 | md-top-app-bar[headline] h1 { |
29 | opacity: 0; |
30 | transition-property: opacity; |
31 | transition-duration: var(--md-sys-motion-duration-1000); |
32 | } |
33 | |
34 | md-top-app-bar[headline].scroll h1 { |
35 | opacity: 1; |
36 | transition-timing-function: ease-in; |
37 | } |