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

Side by Side Diff: chrome/browser/resources/file_manager/js/image_editor/gallery.css

Issue 7828044: [filebrowser] First step to image editor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removed commented code. Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 body {
8 margin: 0;
9 }
10
11 .gallery {
12 background: black;
13 position: absolute;
14 width: 100%;
15 height: 100%;
16 overflow: hidden;
17 }
18
19 .gallery > .close {
20 position: absolute;
21 right: 10px;
22 top: 10px;
23 height: 20px;
24 color: white;
25 cursor: pointer;
26 }
27
28 .gallery > .image-container {
29 position: absolute;
30 top: 30px;
31 bottom: 80px;
32 width: 100%;
33 background-color: rgba(0,0,0,1);
34 }
35
36 .gallery > .toolbar {
37 position: absolute;
38 bottom: 0px;
39 width: 100%;
40 height: 80px;
41 padding: 3px;
42 display: -webkit-box;
43 -webkit-box-orient: horizontal;
44 -webkit-box-pack: start;
45 -webkit-box-align: stretch;
46 }
47
48 .gallery .ribbon {
49 -webkit-box-flex: 1;
50 border: solid 1px white;
51 overflow: hidden;
52 display: -webkit-box;
53 -webkit-box-orient: horizontal;
54 -webkit-box-pack: left;
55 }
56
57 .gallery .ribbon-left,
58 .gallery .ribbon-right {
59 width: 20px;
60 height: 100%;
61 background-color: red;
62 cursor: pointer;
63 }
64
65 .gallery .ribbon-image {
66 display: -webkit-box;
67 -webkit-box-orient: horizontal;
68 -webkit-box-pack: center;
69 -webkit-box-align: center;
70 overflow: hidden;
71 cursor: pointer;
72 width: 70px;
73 height: 70px;
74 margin: 4px;
75 border: 1px solid rgba(255,255,255,0); /* transparent white */
76 }
77
78 .gallery .ribbon-image[selected] {
79 border: 1px solid rgba(255,255,0,1);
80 }
81
82 .gallery .ribbon-image > img {
83 max-width: 70px;
84 max-height: 70px;
85 }
86
87 .gallery .ribbon-spacer {
88 -webkit-box-flex: 1;
89 height: 100%;
90 }
91
92 .gallery .edit-bar {
93 -webkit-box-flex: 0;
94 width: 60%;
95 color: white;
96 display: -webkit-box;
97 -webkit-box-orient: horizontal;
98 }
99
100 .gallery .edit-bar[hidden] {
101 display: none;
102 }
103
104 .gallery .toolbar > .button {
105 -webkit-box-flex: 0;
106 padding: 10px;
107 cursor: pointer;
108 margin: 8px 3px;
109 width: 80px;
110
111 display: -webkit-box;
112 -webkit-box-orient: horizontal;
113 -webkit-box-align: center;
114 }
115
116 .gallery .button {
117 background-color: rgba(0,0,0,1);
118 color: white;
119 }
120
121 .gallery .button:hover {
122 background-color: rgba(127,127,127,1);
123 color: white;
124 }
125
126 .gallery .button[pressed] {
127 background-color: rgba(255,255,255,1);
128 color: black;
129 }
130
131 .gallery .button[pressed]:hover {
132 background-color: rgba(127,127,127,1);
133 color: black;
134 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698