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 { |