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

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

Issue 2299493002: Add an ability for resize in gallery. (Closed)
Patch Set: Make a change in GalleryJsTest.SlideModeTest 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
« no previous file with comments | « chrome/browser/chromeos/file_manager/gallery_browsertest.cc ('k') | ui/file_manager/gallery/gallery.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1863a16c99fae4b3daa5384cf2166b2856ed7a65 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,
@@ -788,6 +794,10 @@ button[disabled] {
width: 100%;
}
+.gallery[editor-mode="resize"] .edit-modal {
+ height: 56px;
+}
+
.edit-modal-wrapper[hidden] {
display: none;
}
@@ -1004,6 +1014,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 {
« no previous file with comments | « chrome/browser/chromeos/file_manager/gallery_browsertest.cc ('k') | ui/file_manager/gallery/gallery.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698