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

Side by Side Diff: chrome/browser/resources/settings/on_startup_page/startup_urls_page.html

Issue 2918953002: [MD settings] layout of buttons inside toggles and iron-lists (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_shared_css.html » ('j') | 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 2
3 <link rel="import" href="chrome://resources/html/action_link.html"> 3 <link rel="import" href="chrome://resources/html/action_link.html">
4 <link rel="import" href="chrome://resources/html/action_link_css.html"> 4 <link rel="import" href="chrome://resources/html/action_link_css.html">
5 <link rel="import" href="chrome://resources/html/assert.html"> 5 <link rel="import" href="chrome://resources/html/assert.html">
6 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> 6 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
9 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 9 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
10 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> 10 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml">
11 <link rel="import" href="../controls/extension_controlled_indicator.html"> 11 <link rel="import" href="../controls/extension_controlled_indicator.html">
12 <link rel="import" href="../settings_shared_css.html"> 12 <link rel="import" href="../settings_shared_css.html">
13 <link rel="import" href="startup_url_dialog.html"> 13 <link rel="import" href="startup_url_dialog.html">
14 <link rel="import" href="startup_url_entry.html"> 14 <link rel="import" href="startup_url_entry.html">
15 <link rel="import" href="startup_urls_page_browser_proxy.html"> 15 <link rel="import" href="startup_urls_page_browser_proxy.html">
16 16
17 <dom-module id="settings-startup-urls-page"> 17 <dom-module id="settings-startup-urls-page">
18 <template> 18 <template>
19 <style include="settings-shared action-link iron-flex"> 19 <style include="settings-shared action-link iron-flex">
20 #outer { 20 #outer {
21 @apply(--settings-list-frame-padding); 21 @apply(--settings-list-frame-padding);
22 max-height: 395px; /** Enough height to show six entries. */ 22 max-height: 395px; /** Enough height to show six entries. */
23 } 23 }
24 24
25 #container {
26 overflow: visible; /* Allow ripple to go outside of the row. */
27 }
28
29 #container iron-list > settings-startup-url-entry:not(:first-of-type) { 25 #container iron-list > settings-startup-url-entry:not(:first-of-type) {
30 border-top: var(--settings-separator-line); 26 border-top: var(--settings-separator-line);
31 } 27 }
32 28
33 #container settings-startup-url-entry { 29 #container settings-startup-url-entry {
34 cursor: default; 30 cursor: default;
35 } 31 }
36 </style> 32 </style>
37 <div id="outer" class="layout vertical flex vertical-list"> 33 <div id="outer" class="layout vertical flex vertical-list">
38 <div id="container" class="scroll-container" scrollable> 34 <div id="container" class="scroll-container" scrollable>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 </template> 67 </template>
72 </div> 68 </div>
73 <template is="dom-if" if="[[showStartupUrlDialog_]]" restamp> 69 <template is="dom-if" if="[[showStartupUrlDialog_]]" restamp>
74 <settings-startup-url-dialog model="[[startupUrlDialogModel_]]" 70 <settings-startup-url-dialog model="[[startupUrlDialogModel_]]"
75 on-close="destroyUrlDialog_"> 71 on-close="destroyUrlDialog_">
76 </settings-startup-url-dialog> 72 </settings-startup-url-dialog>
77 </template> 73 </template>
78 </template> 74 </template>
79 <script src="startup_urls_page.js"></script> 75 <script src="startup_urls_page.js"></script>
80 </dom-module> 76 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_shared_css.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698