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

Side by Side Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 1978613002: Give no-downloads a min-height to avoid overlapping the header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_downloads/manager.css ('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 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- - 1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- -
2 @license 2 @license
3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2016 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 2656 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 display: none; 2667 display: none;
2668 } 2668 }
2669 2669
2670 #no-downloads { 2670 #no-downloads {
2671 align-items: center; 2671 align-items: center;
2672 color: #b4b4b4; 2672 color: #b4b4b4;
2673 display: flex; 2673 display: flex;
2674 font-size: 123.1%; 2674 font-size: 123.1%;
2675 font-weight: 500; 2675 font-weight: 500;
2676 justify-content: center; 2676 justify-content: center;
2677 /* To avoid overlapping with the header, we need this min-height
2678 * until bug 596743 is fixed. */
2679 min-height: min-content;
2677 } 2680 }
2678 2681
2679 #no-downloads .illustration { 2682 #no-downloads .illustration {
2680 background: -webkit-image-set( 2683 background: -webkit-image-set(
2681 url("chrome://downloads/1x/no_downloads.png") 1x, 2684 url("chrome://downloads/1x/no_downloads.png") 1x,
2682 url("chrome://downloads/2x/no_downloads.png") 2x) no-repeat center center; 2685 url("chrome://downloads/2x/no_downloads.png") 2x) no-repeat center center;
2683 height: 144px; /* Matches natural image height. */ 2686 height: 144px; /* Matches natural image height. */
2684 margin-bottom: 32px; 2687 margin-bottom: 32px;
2685 } 2688 }
2686 2689
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2732 <if expr="is_macosx"> 2735 <if expr="is_macosx">
2733 <command id="undo-command" shortcut="Meta-U+005A"></command> 2736 <command id="undo-command" shortcut="Meta-U+005A"></command>
2734 <command id="find-command" shortcut="Meta-U+0046"></command> 2737 <command id="find-command" shortcut="Meta-U+0046"></command>
2735 </if> 2738 </if>
2736 <if expr="not is_macosx"> 2739 <if expr="not is_macosx">
2737 <command id="undo-command" shortcut="Ctrl-U+005A"></command> 2740 <command id="undo-command" shortcut="Ctrl-U+005A"></command>
2738 <command id="find-command" shortcut="Ctrl-U+0046"></command> 2741 <command id="find-command" shortcut="Ctrl-U+0046"></command>
2739 </if> 2742 </if>
2740 <link rel="import" href="chrome://resources/html/polymer.html"> 2743 <link rel="import" href="chrome://resources/html/polymer.html">
2741 <script src="crisper.js"></script></body></html> 2744 <script src="crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/manager.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698