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

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

Issue 2508043002: MD WebUI: Fix appearance of toolbar title in certain languages (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
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) 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 3055 matching lines...) Expand 10 before | Expand all | Expand 10 after
3066 <style scope="cr-toolbar">:host { 3066 <style scope="cr-toolbar">:host {
3067 --cr-toolbar-field-width: 580px; 3067 --cr-toolbar-field-width: 580px;
3068 --cr-toolbar-height: 56px; 3068 --cr-toolbar-height: 56px;
3069 color: #fff; 3069 color: #fff;
3070 display: flex; 3070 display: flex;
3071 height: var(--cr-toolbar-height); 3071 height: var(--cr-toolbar-height);
3072 } 3072 }
3073 3073
3074 h1 { 3074 h1 {
3075 -webkit-margin-start: 6px; 3075 -webkit-margin-start: 6px;
3076 -webkit-padding-end: 2px;
3076 flex: 1; 3077 flex: 1;
3077 font-size: 123%; 3078 font-size: 123%;
3078 font-weight: 400; 3079 font-weight: 400;
3079 text-overflow: ellipsis; 3080 text-overflow: ellipsis;
3080 overflow: hidden; 3081 overflow: hidden;
3081 white-space: nowrap; 3082 white-space: nowrap;
3082 } 3083 }
3083 3084
3084 #leftContent { 3085 #leftContent {
3085 -webkit-margin-start: 18px; 3086 -webkit-margin-start: 18px;
(...skipping 21 matching lines...) Expand all
3107 3108
3108 :host([narrow_]) #centeredContent { 3109 :host([narrow_]) #centeredContent {
3109 -webkit-padding-end: var(--cr-toolbar-field-end-padding, 12px); 3110 -webkit-padding-end: var(--cr-toolbar-field-end-padding, 12px);
3110 } 3111 }
3111 3112
3112 :host(:not([narrow_])) h1 { 3113 :host(:not([narrow_])) h1 {
3113 -webkit-margin-start: var(--cr-toolbar-header-wide_-_-webkit-margin-start); -w ebkit-margin-end: var(--cr-toolbar-header-wide_-_-webkit-margin-end); 3114 -webkit-margin-start: var(--cr-toolbar-header-wide_-_-webkit-margin-start); -w ebkit-margin-end: var(--cr-toolbar-header-wide_-_-webkit-margin-end);
3114 } 3115 }
3115 3116
3116 :host(:not([narrow_])) #leftContent { 3117 :host(:not([narrow_])) #leftContent {
3117 max-width: calc((100% - var(--cr-toolbar-field-width) - 18px) / 2); 3118 max-width: calc((100% - var(--cr-toolbar-field-width)) / 2 - 18px);
3118 -webkit-margin-start: var(--cr-toolbar-left-content-wide_-_-webkit-margi n-start); flex: var(--cr-toolbar-left-content-wide_-_flex); max-width: var(--cr- toolbar-left-content-wide_-_max-width, calc((100% - var(--cr-toolbar-field-width ) - 18px) / 2)); position: var(--cr-toolbar-left-content-wide_-_position); 3119 -webkit-margin-start: var(--cr-toolbar-left-content-wide_-_-webkit-margi n-start); flex: var(--cr-toolbar-left-content-wide_-_flex); max-width: var(--cr- toolbar-left-content-wide_-_max-width, calc((100% - var(--cr-toolbar-field-width )) / 2 - 18px)); position: var(--cr-toolbar-left-content-wide_-_position);
3119 } 3120 }
3120 3121
3121 :host(:not([narrow_])) #rightContent { 3122 :host(:not([narrow_])) #rightContent {
3122 flex: var(--cr-toolbar-right-content-wide_-_flex); position: var(--cr-toolbar- right-content-wide_-_position); 3123 flex: var(--cr-toolbar-right-content-wide_-_flex); position: var(--cr-toolbar- right-content-wide_-_position);
3123 } 3124 }
3124 3125
3125 :host([narrow_]) #centeredContent { 3126 :host([narrow_]) #centeredContent {
3126 justify-content: flex-end; 3127 justify-content: flex-end;
3127 } 3128 }
3128 3129
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
3393 <command id="undo-command" shortcut="Meta|z"></command> 3394 <command id="undo-command" shortcut="Meta|z"></command>
3394 <command id="find-command" shortcut="Meta|f"></command> 3395 <command id="find-command" shortcut="Meta|f"></command>
3395 </if> 3396 </if>
3396 <if expr="not is_macosx"> 3397 <if expr="not is_macosx">
3397 <command id="clear-all-command" shortcut="Alt|c"></command> 3398 <command id="clear-all-command" shortcut="Alt|c"></command>
3398 <command id="undo-command" shortcut="Ctrl|z"></command> 3399 <command id="undo-command" shortcut="Ctrl|z"></command>
3399 <command id="find-command" shortcut="Ctrl|f"></command> 3400 <command id="find-command" shortcut="Ctrl|f"></command>
3400 </if> 3401 </if>
3401 <link rel="import" href="chrome://resources/html/polymer.html"> 3402 <link rel="import" href="chrome://resources/html/polymer.html">
3402 <script src="crisper.js"></script></body></html> 3403 <script src="crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698