Chromium Code Reviews| Index: chrome/browser/resources/downloads/downloads.css |
| diff --git a/chrome/browser/resources/downloads.html b/chrome/browser/resources/downloads/downloads.css |
| similarity index 50% |
| rename from chrome/browser/resources/downloads.html |
| rename to chrome/browser/resources/downloads/downloads.css |
| index fcfd7ca08365e93f5650ff0d0d9d30544654f232..2eef469fa432412e5f92622f6716a92c0ad531cc 100644 |
| --- a/chrome/browser/resources/downloads.html |
| +++ b/chrome/browser/resources/downloads/downloads.css |
| @@ -1,13 +1,7 @@ |
| -<!DOCTYPE HTML> |
| -<html i18n-values="dir:textdirection;"> |
| -<head> |
| -<meta charset="utf-8"> |
| -<title i18n-content="title"></title> |
| -<link rel="icon" href="../../app/theme/downloads_favicon.png"> |
| -<link rel="stylesheet" href="old_webui.css"> |
| -<link rel="stylesheet" href="shared/css/chrome_shared.css"> |
| -<link rel="stylesheet" href="shared/css/widgets.css"> |
| -<style> |
| +/* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
|
Dan Beam
2012/03/12 08:38:48
can you change to
* found in the LICENSE file. */
James Hawkins
2012/03/12 18:33:45
No. I don't know who added that style in the firs
Dan Beam
2012/03/12 20:11:18
I added it as it saved a line, a byte or two, and
|
| #downloads-summary { |
| background-color: rgb(235, 239, 249); |
| @@ -30,11 +24,11 @@ html[dir=rtl] #downloads-actions { |
| } |
| #downloads-actions > a { |
| - margin-left: 10px; |
| + -webkit-margin-start: 10px; |
| } |
| #downloads-actions > a:first-child { |
| - margin-left: 0; |
| + -webkit-margin-start: 0; |
| } |
| #downloads-display { |
| @@ -84,7 +78,8 @@ html[dir=rtl] .icon { |
| .download.otr > .safe, |
| .download.otr > .show-dangerous { |
| -webkit-transition: opacity 150ms; |
| - background: url('shared/images/otr_icon_standalone.png') no-repeat 100% 100%; |
| + background: url('../shared/images/otr_icon_standalone.png') |
| + no-repeat 100% 100%; |
| opacity: .66; |
| } |
| @@ -112,11 +107,11 @@ html[dir=rtl] .progress { |
| } |
| .progress.background { |
| - background: url('../../app/theme/download_progress_background32.png'); |
| + background: url('../../../app/theme/download_progress_background32.png'); |
|
csilv
2012/03/12 18:16:50
change to:
chrome://theme/IDR_DOWNLOAD_PROGRESS_
James Hawkins
2012/03/12 19:51:54
Done.
|
| } |
| .progress.foreground { |
| - background: url('../../app/theme/download_progress_foreground32.png'); |
| + background: url('../../../app/theme/download_progress_foreground32.png'); |
|
csilv
2012/03/12 18:16:50
chrome://theme/IDR_DOWNLOAD_PROGRESS_FOREGROUND_32
James Hawkins
2012/03/12 19:51:54
Done.
|
| } |
| .name { |
| @@ -127,7 +122,6 @@ html[dir=rtl] .progress { |
| } |
| .download .status { |
| - display: inline; |
| color: #999; |
| white-space: nowrap; |
| } |
| @@ -145,43 +139,11 @@ html[dir=rtl] .progress { |
| } |
| .controls a { |
| + -webkit-margin-end: 16px; |
| color: #777; |
| - margin-right: 16px; |
| } |
| #downloads-pagination { |
| + -webkit-margin-start: 18px; |
| padding-top: 24px; |
| - margin-left: 18px; |
| -} |
| - |
| -</style> |
|
Dan Beam
2012/03/12 08:38:48
wtf?
James Hawkins
2012/03/12 18:33:45
I'd assume you're wtf'ing how this css file's old
Dan Beam
2012/03/12 20:11:18
Yes, that's exactly what I meant, haha.
|
| -<script src="chrome://resources/js/local_strings.js"></script> |
| -</head> |
| -<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
| -<div class="header"> |
| - <a id="search-link" href=""> |
| - <img src="shared/images/downloads_section.png" |
| - width="67" height="67" class="logo" border="0" /></a> |
| - <form id="search-form" method="post" action="" class="form"> |
| - <input type="text" name="term" id="term" /> |
| - <input id="search-submit" |
| - type="submit" name="submit" i18n-values="value:searchbutton" /> |
| - </form> |
| -</div> |
| -<div class="main"> |
| - <div id="downloads-summary"> |
| - <span id="downloads-summary-text" i18n-content="downloads">Downloads</span> |
| - <span id="downloads-actions"> |
| - <a id="open-downloads-folder" href="" |
| - i18n-content="open_downloads_folder">Open downloads folder</a> |
| - <a id="clear-all" href="" i18n-content="clear_all">Clear All</a> |
| - </span> |
| - </div> |
| - <div id="downloads-display"></div> |
| -</div> |
| -<script src="chrome://downloads/downloads.js"></script> |
| -<script src="chrome://downloads/strings.js"></script> |
| -<script src="chrome://resources/js/i18n_template.js"></script> |
| -<script src="chrome://resources/js/i18n_process.js"></script> |
| -</body> |
| -</html> |
| +} |