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

Side by Side Diff: chrome/browser/resources/md_history/app.vulcanized.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
OLDNEW
1 <html><head><!-- 1 <html><head><!--
2 @license 2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 3023 matching lines...) Expand 10 before | Expand all | Expand 10 after
3034 border-radius: 2px; 3034 border-radius: 2px;
3035 margin: 1px 10px; 3035 margin: 1px 10px;
3036 pointer-events: none; 3036 pointer-events: none;
3037 transform: scale(0.8); 3037 transform: scale(0.8);
3038 } 3038 }
3039 3039
3040 :host { 3040 :host {
3041 --checked-color: rgb(68, 136, 255); 3041 --checked-color: rgb(68, 136, 255);
3042 display: block; 3042 display: block;
3043 outline: none; 3043 outline: none;
3044 pointer-events: none;
3044 } 3045 }
3045 3046
3046 button { 3047 button {
3047 background: none; 3048 background: none;
3048 border: none; 3049 border: none;
3049 outline: none; 3050 outline: none;
3050 padding: 0; 3051 padding: 0;
3051 } 3052 }
3052 3053
3053 :host(:not([embedded])) #main-container { 3054 :host(:not([embedded])) #main-container {
(...skipping 13 matching lines...) Expand all
3067 } 3068 }
3068 3069
3069 :host([is-card-start]) #date-accessed { 3070 :host([is-card-start]) #date-accessed {
3070 display: block; 3071 display: block;
3071 } 3072 }
3072 3073
3073 #item-container { 3074 #item-container {
3074 align-items: center; 3075 align-items: center;
3075 display: flex; 3076 display: flex;
3076 min-height: var(--item-height); 3077 min-height: var(--item-height);
3078 pointer-events: auto;
3077 } 3079 }
3078 3080
3079 :host([is-card-start]) #item-container { 3081 :host([is-card-start]) #item-container {
3080 padding-top: var(--card-first-last-item-padding); 3082 padding-top: var(--card-first-last-item-padding);
3081 } 3083 }
3082 3084
3083 :host([is-card-end]) #item-container { 3085 :host([is-card-end]) #item-container {
3084 padding-bottom: var(--card-first-last-item-padding); 3086 padding-bottom: var(--card-first-last-item-padding);
3085 } 3087 }
3086 3088
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
3943 <history-side-bar id="drawer-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" drawer=""> 3945 <history-side-bar id="drawer-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" drawer="">
3944 </history-side-bar> 3946 </history-side-bar>
3945 </app-drawer> 3947 </app-drawer>
3946 </template> 3948 </template>
3947 3949
3948 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 3950 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
3949 </iron-media-query> 3951 </iron-media-query>
3950 </template> 3952 </template>
3951 </dom-module> 3953 </dom-module>
3952 <script src="app.crisper.js"></script></body></html> 3954 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698