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

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

Issue 1962943002: MD Settings: Fix minor vertical jumps in animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@AnimationFixes
Patch Set: dpapad Created 4 years, 7 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
« no previous file with comments | « chrome/browser/resources/settings/settings_page/main_page_behavior.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/iron-icons/iron-icons.h tml"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-resizable-behavior /iron-resizable-behavior.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-resizable-behavior /iron-resizable-behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable-behavior.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable-behavior.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
6 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> 6 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
7 7
8 <dom-module id="settings-subpage"> 8 <dom-module id="settings-subpage">
9 <template> 9 <template>
10 <style include="settings-shared"> 10 <style include="settings-shared">
11 :host { 11 :host {
12 display: block; 12 display: block;
13 margin: 8px 0 16px 0; 13 }
14
15 .settings-box.first {
16 padding-bottom: 16px;
17 padding-top: 8px;
14 } 18 }
15 19
16 paper-icon-button { 20 paper-icon-button {
17 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */ 21 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */
18 height: 36px; 22 height: 36px;
19 /* Centers the ripple on the icon with appropriate margin on right. */ 23 /* Centers the ripple on the icon with appropriate margin on right. */
20 margin: 0 12px 0 -8px; 24 margin: 0 12px 0 -8px;
21 width: 36px; 25 width: 36px;
22 } 26 }
23 27
24 h2 { 28 h2 {
25 color: var(--settings-nav-grey); 29 color: var(--settings-nav-grey);
26 font-size: 107.6923%; /* go to 14px from 13px */ 30 font-size: 107.6923%; /* go to 14px from 13px */
27 } 31 }
28 </style> 32 </style>
29 <div class="settings-box first"> 33 <div class="settings-box first">
30 <paper-icon-button icon="arrow-back" on-tap="onTapBack_"> 34 <paper-icon-button icon="arrow-back" on-tap="onTapBack_">
31 </paper-icon-button> 35 </paper-icon-button>
32 <h2>[[pageTitle]]</h2> 36 <h2>[[pageTitle]]</h2>
33 </div> 37 </div>
34 <content></content> 38 <content></content>
35 </template> 39 </template>
36 <script src="settings_subpage.js"></script> 40 <script src="settings_subpage.js"></script>
37 </dom-module> 41 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_page/main_page_behavior.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698