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

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

Issue 2106013002: Move settings-section animations into setting-section, make better (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Transitions
Patch Set: Reworked properties/rebase Created 4 years, 5 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 /* Margin so the box-shadow isn't clipped during animations. */
12 margin: 0 3px;
11 position: relative; 13 position: relative;
12 } 14 }
13 15
14 #header { 16 #header {
15 margin-bottom: 12px; 17 margin-bottom: 12px;
16 } 18 }
17 19
18 #header .title { 20 #header .title {
19 color: var(--paper-grey-600); 21 color: var(--paper-grey-600);
20 font-size: 13px; 22 font-size: 13px;
(...skipping 27 matching lines...) Expand all
48 </style> 50 </style>
49 <div id="header"> 51 <div id="header">
50 <div class="title">{{pageTitle}}</div> 52 <div class="title">{{pageTitle}}</div>
51 </div> 53 </div>
52 <div id="card"> 54 <div id="card">
53 <content id="content"></content> 55 <content id="content"></content>
54 </div> 56 </div>
55 </template> 57 </template>
56 <script src="settings_section.js"></script> 58 <script src="settings_section.js"></script>
57 </dom-module> 59 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698