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

Side by Side Diff: chrome/browser/resources/md_history/side_bar.html

Issue 2502903002: MD History: Add margin to sidebar items so focus outline shows fully (Closed)
Patch Set: Created 4 years, 1 month 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/md_history/app.vulcanized.html ('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-a11y-keys-behavior /iron-a11y-keys-behavior.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior /iron-a11y-keys-behavior.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele ctor.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele ctor.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp le.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp le.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/typography .html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/typography .html">
7 <link rel="import" href="chrome://history/browser_service.html"> 7 <link rel="import" href="chrome://history/browser_service.html">
8 <link rel="import" href="chrome://history/shared_style.html"> 8 <link rel="import" href="chrome://history/shared_style.html">
9 9
10 <dom-module id="history-side-bar"> 10 <dom-module id="history-side-bar">
(...skipping 16 matching lines...) Expand all
27 flex-shrink: 0; 27 flex-shrink: 0;
28 height: 1px; 28 height: 1px;
29 margin: 8px 0; 29 margin: 8px 0;
30 } 30 }
31 31
32 #clear-browsing-data { 32 #clear-browsing-data {
33 justify-content: space-between; 33 justify-content: space-between;
34 } 34 }
35 35
36 #clear-browsing-data iron-icon { 36 #clear-browsing-data iron-icon {
37 -webkit-margin-end: 24px; 37 -webkit-margin-end: 20px;
38 color: var(--paper-grey-400); 38 color: var(--paper-grey-400);
39 height: 20px; 39 height: 20px;
40 margin-bottom: 10px; 40 margin-bottom: 10px;
41 margin-top: 10px; 41 margin-top: 10px;
42 width: 20px; 42 width: 20px;
43 } 43 }
44 44
45 iron-selector { 45 iron-selector {
46 -webkit-user-select: none; 46 -webkit-user-select: none;
47 background-color: transparent; 47 background-color: transparent;
48 color: #5a5a5a; 48 color: #5a5a5a;
49 display: flex; 49 display: flex;
50 flex: 1; 50 flex: 1;
51 flex-direction: column; 51 flex-direction: column;
52 padding-top: 8px; 52 padding-top: 8px;
53 } 53 }
54 54
55 iron-selector > a { 55 iron-selector > a {
56 @apply(--paper-font-subhead); 56 @apply(--paper-font-subhead);
57 /* Ensure the focus outline appears correctly (crbug.com/655503). */
58 -webkit-margin-end: 4px;
57 -webkit-padding-start: 24px; 59 -webkit-padding-start: 24px;
58 align-items: center; 60 align-items: center;
59 box-sizing: border-box; 61 box-sizing: border-box;
60 color: inherit; 62 color: inherit;
61 cursor: pointer; 63 cursor: pointer;
62 display: flex; 64 display: flex;
63 font-size: 14px; 65 font-size: 14px;
64 font-weight: 500; 66 font-weight: 500;
65 min-height: 48px; 67 min-height: 48px;
66 position: relative; 68 position: relative;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 </a> 117 </a>
116 <div id="spacer"></div> 118 <div id="spacer"></div>
117 <div id="footer" hidden="[[!showFooter]]"> 119 <div id="footer" hidden="[[!showFooter]]">
118 <div class="separator"></div> 120 <div class="separator"></div>
119 <div id="footer-text">$i18nRaw{sidebarFooter}</div> 121 <div id="footer-text">$i18nRaw{sidebarFooter}</div>
120 </div> 122 </div>
121 </iron-selector> 123 </iron-selector>
122 </template> 124 </template>
123 <script src="chrome://history/side_bar.js"></script> 125 <script src="chrome://history/side_bar.js"></script>
124 </dom-module> 126 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698