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

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

Issue 2813803002: [MD settings] vertical align left edge of icons and text (Closed)
Patch Set: Created 3 years, 8 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/iron-icon/iron-icon.htm l"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
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://resources/polymer/v1_0/paper-ripple/paper-ripp le.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp le.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html">
8 <link rel="import" href="../icons.html"> 8 <link rel="import" href="../icons.html">
9 <link rel="import" href="../route.html"> 9 <link rel="import" href="../route.html">
10 <link rel="import" href="settings_subpage_search.html"> 10 <link rel="import" href="settings_subpage_search.html">
11 <link rel="import" href="../settings_shared_css.html"> 11 <link rel="import" href="../settings_shared_css.html">
12 12
13 <dom-module id="settings-subpage"> 13 <dom-module id="settings-subpage">
14 <template> 14 <template>
15 <style include="settings-shared"> 15 <style include="settings-shared">
16 :host { 16 :host {
17 display: block; 17 display: block;
18 padding-bottom: 60px; 18 padding-bottom: 60px;
19 } 19 }
20 20
21 #headerLine { 21 #headerLine {
22 min-height: 40px; 22 min-height: 40px;
23 padding-bottom: 24px; 23 padding-bottom: 24px;
24 padding-top: 8px; 24 padding-top: 8px;
25 } 25 }
26 26
27 #headerLine > h1 {
28 -webkit-margin-start: 4px;
29 }
30
31 #learnMore { 27 #learnMore {
32 @apply(--cr-paper-icon-button-margin); 28 @apply(--cr-paper-icon-button-margin);
33 align-items: center; 29 align-items: center;
34 display: flex; 30 display: flex;
35 height: var(--cr-icon-ripple-size); 31 height: var(--cr-icon-ripple-size);
36 justify-content: center; 32 justify-content: center;
37 position: relative; /* Needed for paper-ripple. */ 33 position: relative; /* Needed for paper-ripple. */
38 width: var(--cr-icon-ripple-size); 34 width: var(--cr-icon-ripple-size);
39 } 35 }
40 36
41 paper-icon-button { 37 paper-icon-button {
42 /* Centers the ripple on the icon with appropriate margin on right. */ 38 /* Centers the ripple on the icon with appropriate margin on right. */
43 -webkit-margin-end: 8px; 39 -webkit-margin-end: 10px;
44 -webkit-margin-start: -8px; 40 -webkit-margin-start: -10px;
dschuyler 2017/04/11 01:11:18 I believe this is an oversight from a prior change
45 } 41 }
46 42
47 paper-spinner { 43 paper-spinner {
48 @apply(--cr-icon-height-width); 44 @apply(--cr-icon-height-width);
49 } 45 }
50 46
51 h1 { 47 h1 {
52 color: var(--settings-nav-grey); 48 color: var(--settings-nav-grey);
53 flex: 1; /* Push other items to the end. */ 49 flex: 1; /* Push other items to the end. */
54 font-size: 107.6923%; /* Go to 14px from 13px */ 50 font-size: 107.6923%; /* Go to 14px from 13px */
(...skipping 24 matching lines...) Expand all
79 </settings-subpage-search> 75 </settings-subpage-search>
80 </template> 76 </template>
81 <template is="dom-if" if="[[showSpinner]]"> 77 <template is="dom-if" if="[[showSpinner]]">
82 <paper-spinner active></paper-spinner> 78 <paper-spinner active></paper-spinner>
83 </template> 79 </template>
84 </div> 80 </div>
85 <content></content> 81 <content></content>
86 </template> 82 </template>
87 <script src="settings_subpage.js"></script> 83 <script src="settings_subpage.js"></script>
88 </dom-module> 84 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698