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

Side by Side Diff: ui/file_manager/file_manager/foreground/css/file_manager.css

Issue 1061483002: Show UI when a folder is empty. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change listen events. Created 5 years, 8 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
OLDNEW
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 /* Special attribute used in HTML to hide elements. */ 5 /* Special attribute used in HTML to hide elements. */
6 body[type='folder'] [invisibleif~='folder'], 6 body[type='folder'] [invisibleif~='folder'],
7 body[type='upload-folder'] [invisibleif~='upload-folder'], 7 body[type='upload-folder'] [invisibleif~='upload-folder'],
8 body[type='saveas-file'] [invisibleif~='saveas-file'], 8 body[type='saveas-file'] [invisibleif~='saveas-file'],
9 body[type='open-file'] [invisibleif~='open-file'], 9 body[type='open-file'] [invisibleif~='open-file'],
10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], 10 body[type='open-multi-file'] [invisibleif~='open-multi-file'],
(...skipping 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1681 padding: 10px; 1681 padding: 10px;
1682 position: absolute; 1682 position: absolute;
1683 right: 0; 1683 right: 0;
1684 top: 36px; /* Leave room for the file list header. */ 1684 top: 36px; /* Leave room for the file list header. */
1685 } 1685 }
1686 1686
1687 .dialog-container:not([drive-welcome='page']) #no-search-results[show] { 1687 .dialog-container:not([drive-welcome='page']) #no-search-results[show] {
1688 display: block; 1688 display: block;
1689 } 1689 }
1690 1690
1691 #empty-folder {
1692 display: flex;
1693 flex-direction: column;
1694 height: 100%;
1695 justify-content: center;
1696 left: 0;
1697 position: absolute;
1698 top: 0;
1699 width: 100%;
1700 }
1701
1702 #empty-folder > .image {
1703 background-image: -webkit-image-set(
1704 url(../images/files/ui/empty_folder.png) 1x,
1705 url(../images/files/ui/2x/empty_folder.png) 2x);
1706 height: 145px;
1707 margin: 50px auto 32px auto;
1708 width: 120px;
1709 }
1710
1711 #empty-folder > .label {
1712 color: rgb(180, 180, 180);
1713 font-size: 16px;
1714 font-weight: bold;
1715 text-align: center;
1716 }
1717
1691 #volume-space-info-contents { 1718 #volume-space-info-contents {
1692 align-items: center; 1719 align-items: center;
1693 display: flex; 1720 display: flex;
1694 } 1721 }
1695 1722
1696 #volume-space-info-contents > div { 1723 #volume-space-info-contents > div {
1697 -webkit-margin-start: 15px; 1724 -webkit-margin-start: 15px;
1698 display: flex; 1725 display: flex;
1699 flex: auto; 1726 flex: auto;
1700 } 1727 }
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
2095 padding: 20px 15px; 2122 padding: 20px 15px;
2096 } 2123 }
2097 2124
2098 .text-measure { 2125 .text-measure {
2099 pointer-events: none; 2126 pointer-events: none;
2100 position: absolute; 2127 position: absolute;
2101 top: 0; 2128 top: 0;
2102 visibility: hidden; 2129 visibility: hidden;
2103 z-index: -1; 2130 z-index: -1;
2104 } 2131 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698