aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorFlorian Horn <florianins@gmail.com>2022-10-27 16:20:01 +0200
committerFlorian Horn <florianins@gmail.com>2022-10-27 16:20:01 +0200
commit0995e879cea8ce871489ea8e393bb0eba6edc09c (patch)
treeaec2c731194ab9be9a402d123418b02418f11bca /style.css
parent737eb28faca8be2bb996ee0930ec77d1f7ebd939 (diff)
added save button and shortcut (s) to Modal View
Diffstat (limited to 'style.css')
-rw-r--r--style.css18
1 files changed, 16 insertions, 2 deletions
diff --git a/style.css b/style.css
index 13a9fb07..fa357a49 100644
--- a/style.css
+++ b/style.css
@@ -314,8 +314,8 @@ input[type="range"]{
.modalControls {
display: grid;
- grid-template-columns: 32px auto 1fr 32px;
- grid-template-areas: "zoom tile space close";
+ grid-template-columns: 32px auto 32px 1fr 32px;
+ grid-template-areas: "zoom tile save space close";
position: absolute;
top: 0;
left: 0;
@@ -333,6 +333,10 @@ input[type="range"]{
grid-area: zoom;
}
+.modalSave {
+ grid-area: save;
+}
+
.modalTileImage {
grid-area: tile;
}
@@ -346,8 +350,18 @@ input[type="range"]{
cursor: pointer;
}
+.modalSave {
+ color: white;
+ font-size: 30px;
+ margin-top: 6px;
+ font-weight: bold;
+ cursor: pointer;
+}
+
.modalClose:hover,
.modalClose:focus,
+.modalSave:hover,
+.modalSave:focus,
.modalZoom:hover,
.modalZoom:focus {
color: #999;