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

Unified Diff: chrome/browser/resources/md_downloads/manager.css

Issue 2374473003: MD Downloads: remove most deprecated CSS imports (Closed)
Patch Set: 80 col wrap 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/manager.css
diff --git a/chrome/browser/resources/md_downloads/manager.css b/chrome/browser/resources/md_downloads/manager.css
deleted file mode 100644
index 39e49659d876dee9e8b641c1b1ec3b425ae70d7b..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/md_downloads/manager.css
+++ /dev/null
@@ -1,74 +0,0 @@
-/* Copyright 2015 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. */
-
-:host {
- display: flex;
- flex: 1 0;
- flex-direction: column;
- height: 100%;
- z-index: 0;
-}
-
-@media screen and (max-width: 1024px) {
- :host {
- flex-basis: 670px; /* 622 card width + 24 left margin + 24 right margin. */
- }
-}
-
-#toolbar {
- position: relative;
- z-index: 1;
-}
-
-#toolbar::after {
- box-shadow: inset 0 5px 6px -3px rgba(0, 0, 0, 0.4);
- content: '';
- display: block;
- height: 6px;
- opacity: 0;
- position: absolute;
- top: 100%;
- transition: opacity 500ms;
- width: 100%;
-}
-
-:host([has-shadow_]) #toolbar::after {
- opacity: 1;
-}
-
-#downloads-list {
- /* TODO(dbeam): we're not setting scrollTarget explicitly, yet
- * style="overflow: auto" is still being set by <iron-list>'s JS. Weird. */
- overflow-y: overlay !important;
-}
-
-#no-downloads,
-#downloads-list {
- flex: 1;
-}
-
-:host([loading]) #no-downloads,
-:host([loading]) #downloads-list {
- display: none;
-}
-
-#no-downloads {
- align-items: center;
- color: #b4b4b4;
- display: flex;
- font-size: 123.1%;
- font-weight: 500;
- justify-content: center;
- /* To avoid overlapping with the header, we need this min-height
- * until bug 596743 is fixed. */
- min-height: min-content;
-}
-
-#no-downloads .illustration {
- background: -webkit-image-set(
- url(chrome://downloads/1x/no_downloads.png) 1x,
- url(chrome://downloads/2x/no_downloads.png) 2x) no-repeat center center;
- height: 144px; /* Matches natural image height. */
- margin-bottom: 32px;
-}

Powered by Google App Engine
This is Rietveld 408576698