Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: third_party/polymer/v1_0/components/paper-scroll-header-panel/README.md

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 paper-scroll-header-panel 1 paper-scroll-header-panel
2 ======================== 2 ========================
3 3
4 `paper-scroll-header-panel` contains a header section and a content section. The header is initially on the top part of the view but it scrolls away with the re st of the scrollable content. Upon scrolling slightly up at any point, the heade r scrolls back into view. This saves screen space and allows users to access imp ortant controls by easily moving them back to the view. 4 `paper-scroll-header-panel` contains a header section and a content section. The header is initially on the top part of the view but it scrolls away with the re st of the scrollable content. Upon scrolling slightly up at any point, the heade r scrolls back into view. This saves screen space and allows users to access imp ortant controls by easily moving them back to the view.
5 5
6 Important: The `paper-scroll-header-panel` will not display if its parent does n ot have a height. Using layout classes, you can easily make the `paper-scroll-he ader-panel` fill the screen 6 Important: The `paper-scroll-header-panel` will not display if its parent does n ot have a height. Using layout classes, you can easily make the `paper-scroll-he ader-panel` fill the screen
7 7
8 ```html 8 ```html
9 <body class="fullbleed layout vertical"> 9 <body class="fullbleed layout vertical">
10 <paper-scroll-header-panel class="flex"> 10 <paper-scroll-header-panel class="flex">
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 To change the background for toolbar when it is condensed: 48 To change the background for toolbar when it is condensed:
49 49
50 ```css 50 ```css
51 paper-scroll-header-panel { 51 paper-scroll-header-panel {
52 --paper-scroll-header-panel-condensed-header: { 52 --paper-scroll-header-panel-condensed-header: {
53 background-color: #f4b400; 53 background-color: #f4b400;
54 }; 54 };
55 } 55 }
56 ``` 56 ```
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698