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

Unified Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 2354193002: Revert "MD History: promote menu button to show clear browsing data in narrow mode" (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_downloads/vulcanized.html
diff --git a/chrome/browser/resources/md_downloads/vulcanized.html b/chrome/browser/resources/md_downloads/vulcanized.html
index 4ab35617de924657d48b270759d3335df2e66408..1c8a04457e22deff7f8a329d642c6bc726b30d25 100644
--- a/chrome/browser/resources/md_downloads/vulcanized.html
+++ b/chrome/browser/resources/md_downloads/vulcanized.html
@@ -3284,10 +3284,9 @@ input[type='search']::-webkit-search-decoration, input[type='search']::-webkit-s
<template>
<style scope="cr-toolbar">:host {
--cr-toolbar-field-width: 580px;
- --cr-toolbar-height: 56px;
color: #fff;
display: flex;
- height: var(--cr-toolbar-height);
+ height: 56px;
}
h1 {
@@ -3349,67 +3348,11 @@ h1 {
opacity: 0;
}
-#menuPromo {
- -webkit-padding-end: 12px;
- -webkit-padding-start: 8px;
- align-items: center;
- background: #616161;
- border-radius: 2px;
- color: white;
- display: flex;
- font-size: 92.3%;
- font-weight: 500;
- opacity: 0;
- padding-bottom: 6px;
- padding-top: 6px;
- position: absolute;
- top: var(--cr-toolbar-height);
- white-space: nowrap;
- z-index: 2;
-}
-
-#menuPromo::before {
- background: inherit;
-
- clip-path: polygon(0 105%, 100% 105%, 50% 0);
- content: '';
- display: block;
- left: 10px;
- height: 6px;
- position: absolute;
- top: -6px;
- width: 12px;
-}
-
-:host-context([dir=rtl]) #menuPromo::before {
- left: auto;
- right: 10px;
-}
-
-#closePromo {
- -webkit-appearance: none;
- -webkit-margin-start: 12px;
- background: none;
- border: none;
- color: inherit;
- font-size: 20px;
- line-height: 20px;
- padding: 0;
- width: 20px;
-}
-
</style>
<div id="leftContent">
-
- <template is="dom-if" if="[[showMenu]]" restamp="">
- <paper-icon-button id="menuButton" icon="cr:menu" on-tap="onMenuTap_" title="[[titleIfNotShowMenuPromo_(menuLabel, showMenuPromo)]]" aria-label$="[[menuLabel]]">
+ <template is="dom-if" if="[[showMenu]]">
+ <paper-icon-button id="menuButton" icon="cr:menu" on-tap="onMenuTap_" title="[[menuLabel]]">
</paper-icon-button>
- <template is="dom-if" if="[[showMenuPromo]]">
- <div id="menuPromo" role="tooltip">
- [[menuPromo]]
- <button id="closePromo" on-tap="onClosePromoTap_" aria-label$="[[closeMenuPromo]]">✕</button>
-
- </div></template>
</template>
<h1>[[pageName]]</h1>
</div>
« no previous file with comments | « chrome/browser/resources/md_downloads/crisper.js ('k') | chrome/browser/resources/md_history/app.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698