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

Unified Diff: ui/file_manager/gallery/css/gallery.css

Issue 2299493002: Add an ability for resize in gallery. (Closed)
Patch Set: Change UI design. 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: ui/file_manager/gallery/css/gallery.css
diff --git a/ui/file_manager/gallery/css/gallery.css b/ui/file_manager/gallery/css/gallery.css
index 1db0ed047f1a7c7a647e29880c68a9863fe873fd..feee797a4c7bf3bb94a3e914cb95c9334bf7298e 100644
--- a/ui/file_manager/gallery/css/gallery.css
+++ b/ui/file_manager/gallery/css/gallery.css
@@ -746,6 +746,12 @@ button[disabled] {
url(../images/200/crop.png) 2x);
}
+.edit-main button.resize .icon {
+ background-image: -webkit-image-set(
+ url(../images/100/resize.png) 1x,
+ url(../images/200/resize.png) 2x);
+}
+
.edit-main button.exposure .icon {
background-image: -webkit-image-set(
url(../images/100/brightness.png) 1x,
@@ -782,7 +788,7 @@ button[disabled] {
-webkit-box-pack: center;
bottom: 48px;
display: block;
- height: 48px;
+ height: 56px;
fukino 2016/09/16 02:24:49 Should not affect edit modals other than "Resize"
harukam 2016/09/16 05:21:58 Acknowledged.
pointer-events: none;
position: absolute;
width: 100%;
@@ -1004,6 +1010,44 @@ paper-slider {
bottom: -6px;
}
+/* Input UI */
+.edit-modal .input {
+ align-items: flex-end;
+ display: flex;
+ width: 90px;
+}
+
+.edit-modal .input > .unit_label {
+ color: rgba(255, 255, 255, 0.54);
+ margin-bottom: 10px;
+}
+
+.edit-modal .lockicon {
+ background-repeat: no-repeat;
+ background-size: contain;
+ height: 16px;
+ margin: 16px;
+ margin-top: auto;
+ width: 16px;
+}
+
+.edit-modal .lockicon:focus {
+ outline: none;
+}
+
+.edit-modal .lockicon[locked] {
+ background-image: -webkit-image-set(
+ url(../images/100/ratio_locked.png) 1x,
+ url(../images/200/ratio_locked.png) 2x);
+}
+
+.edit-modal .lockicon:not([locked]) {
+ opacity: 0.54;
+ background-image: -webkit-image-set(
+ url(../images/100/ratio_unlocked.png) 1x,
+ url(../images/200/ratio_unlocked.png) 2x);
+}
+
/* Prompt/notification panel */
.gallery .prompt-wrapper {

Powered by Google App Engine
This is Rietveld 408576698