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

Side by Side Diff: chrome/browser/resources/settings/settings_page/settings_section.html

Issue 2054013002: [MD settings] advanced toggle; add scrollWhenReady (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nits Created 4 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 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani mation-runner-behavior.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani mation-runner-behavior.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
4 4
5 <dom-module id="settings-section"> 5 <dom-module id="settings-section">
6 <template> 6 <template>
7 <style> 7 <style>
8 :host { 8 :host {
9 display: flex; 9 display: flex;
10 flex-direction: column; 10 flex-direction: column;
11 position: relative; 11 position: relative;
12 } 12 }
13 13
14 #header { 14 #header {
15 margin-bottom: 12px; 15 margin-bottom: 12px;
16 } 16 }
17 17
18 #header .title { 18 #header .title {
19 color: var(--paper-grey-600); 19 color: var(--paper-grey-600);
20 font-size: 13px; 20 font-size: 13px;
21 font-weight: 500; 21 font-weight: 500;
22 margin-top: var(--settings-page-vertical-margin);
22 } 23 }
23 24
24 #card { 25 #card {
25 @apply(--shadow-elevation-2dp); 26 @apply(--shadow-elevation-2dp);
26 background-color: white; 27 background-color: white;
27 flex: 1; 28 flex: 1;
28 overflow: hidden; 29 overflow: hidden;
29 } 30 }
30 31
31 :host(.expanded) { 32 :host(.expanded) {
(...skipping 15 matching lines...) Expand all
47 </style> 48 </style>
48 <div id="header"> 49 <div id="header">
49 <div class="title">{{pageTitle}}</div> 50 <div class="title">{{pageTitle}}</div>
50 </div> 51 </div>
51 <div id="card"> 52 <div id="card">
52 <content id="content"></content> 53 <content id="content"></content>
53 </div> 54 </div>
54 </template> 55 </template>
55 <script src="settings_section.js"></script> 56 <script src="settings_section.js"></script>
56 </dom-module> 57 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698