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

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

Issue 2074953002: Quick View: Initial implementation of "No preview availale" and UI update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 6 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
(Empty)
1 /* Copyright 2016 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
4
5 :host {
6 display: block;
7 }
8
9 paper-dialog {
10 background: black;
11 height: 70%;
12 width: 70%;
13 }
14
15 .content {
16 bottom: 0;
17 left: 0;
18 margin: auto;
19 max-height: 100%;
20 max-width: 100%;
21 position: absolute;
22 right: 0;
23 top: 0;
24 }
25
26 #audio-control {
27 bottom: 0;
28 left: 0;
29 margin: 0;
30 position: absolute;
31 width: 100%;
32 }
33
34 #toolbar {
35 --paper-toolbar-background: rgba(127, 127, 127, 0.5);
36 --paper-toolbar-height: 32px;
37 color: white;
38 margin: 0;
39 z-index: 1;
40 }
41
42 #buttons {
43 position: absolute;
44 right: 0px;
45 }
46
47 paper-button {
48 padding: 4px;
49 }
50
51 #metadata-box {
52 background: rgba(0, 0, 0, 0.5);
53 bottom: 0;
54 margin: 0;
55 position: absolute;
56 right: 0;
57 top: 32px;
58 z-index: 1;
59 }
60
61 #metadata-box[hidden] {
62 display: none;
63 }
64
65 /* Large generic thumbnails, used when a file does not have a thumbnail. */
66 [generic-thumbnail] {
67 background-image: -webkit-image-set(
68 url(../images/files/ui/filetype_placeholder_generic.png) 1x,
69 url(../images/files/ui/2x/filetype_placeholder_generic.png) 2x);
70 background-position: center 50px;
71 background-repeat: no-repeat;
72 }
73
74 [generic-thumbnail='audio'] {
75 background-image: -webkit-image-set(
76 url(../images/files/ui/filetype_placeholder_audio.png) 1x,
77 url(../images/files/ui/2x/filetype_placeholder_audio.png) 2x);
78 }
79
80 [generic-thumbnail='image'] {
81 background-image: -webkit-image-set(
82 url(../images/files/ui/filetype_placeholder_image.png) 1x,
83 url(../images/files/ui/2x/filetype_placeholder_image.png) 2x);
84 }
85
86 [generic-thumbnail='video'] {
87 background-image: -webkit-image-set(
88 url(../images/files/ui/filetype_placeholder_video.png) 1x,
89 url(../images/files/ui/2x/filetype_placeholder_video.png) 2x);
90 }
91
fukino 2016/06/18 03:27:08 unnecessary blank line.
oka 2016/06/18 03:32:42 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698