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

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

Issue 2420583003: [MD History] Disable clicks in the date header of cards. (Closed)
Patch Set: pointer-events: none Created 4 years, 2 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/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/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/cr/ui/focus_row.html"> 2 <link rel="import" href="chrome://resources/html/cr/ui/focus_row.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
6 <link rel="import" href="chrome://resources/html/icon.html"> 6 <link rel="import" href="chrome://resources/html/icon.html">
7 <link rel="import" href="chrome://resources/html/util.html"> 7 <link rel="import" href="chrome://resources/html/util.html">
8 <link rel="import" href="chrome://history/browser_service.html"> 8 <link rel="import" href="chrome://history/browser_service.html">
9 <link rel="import" href="chrome://history/constants.html"> 9 <link rel="import" href="chrome://history/constants.html">
10 <link rel="import" href="chrome://history/searched_label.html"> 10 <link rel="import" href="chrome://history/searched_label.html">
11 <link rel="import" href="chrome://history/shared_style.html"> 11 <link rel="import" href="chrome://history/shared_style.html">
12 12
13 <!-- Lazy loaded: paper-icon-button-light. --> 13 <!-- Lazy loaded: paper-icon-button-light. -->
14 14
15 <dom-module id="history-item"> 15 <dom-module id="history-item">
16 <template> 16 <template>
17 <style include="shared-style"> 17 <style include="shared-style">
18 :host { 18 :host {
19 --checked-color: rgb(68, 136, 255); 19 --checked-color: rgb(68, 136, 255);
20 display: block; 20 display: block;
21 outline: none; 21 outline: none;
22 pointer-events: none;
tsergeant 2016/10/20 15:40:01 Is it possible to apply pointer-events: none to #d
22 } 23 }
23 24
24 /** Unresolved paper-icon-button-light styles. */ 25 /** Unresolved paper-icon-button-light styles. */
25 button { 26 button {
26 background: none; 27 background: none;
27 border: none; 28 border: none;
28 outline: none; 29 outline: none;
29 padding: 0; 30 padding: 0;
30 } 31 }
31 32
(...skipping 14 matching lines...) Expand all
46 } 47 }
47 48
48 :host([is-card-start]) #date-accessed { 49 :host([is-card-start]) #date-accessed {
49 display: block; 50 display: block;
50 } 51 }
51 52
52 #item-container { 53 #item-container {
53 align-items: center; 54 align-items: center;
54 display: flex; 55 display: flex;
55 min-height: var(--item-height); 56 min-height: var(--item-height);
57 pointer-events: auto;
56 } 58 }
57 59
58 :host([is-card-start]) #item-container { 60 :host([is-card-start]) #item-container {
59 padding-top: var(--card-first-last-item-padding); 61 padding-top: var(--card-first-last-item-padding);
60 } 62 }
61 63
62 :host([is-card-end]) #item-container { 64 :host([is-card-end]) #item-container {
63 padding-bottom: var(--card-first-last-item-padding); 65 padding-bottom: var(--card-first-last-item-padding);
64 } 66 }
65 67
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 <div></div> 247 <div></div>
246 <div></div> 248 <div></div>
247 <div></div> 249 <div></div>
248 </button> 250 </button>
249 </div> 251 </div>
250 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div> 252 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div>
251 </div> 253 </div>
252 </template> 254 </template>
253 <script src="chrome://history/history_item.js"></script> 255 <script src="chrome://history/history_item.js"></script>
254 </dom-module> 256 </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