From dd1565d1b8b1340483765320dcd20a2678e80ea2 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 12 Sep 2023 15:59:40 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- css/grid-n-view.css | 25 +++++++++++++++---------- grid-n-view.html | 42 +++++++++++++++++++++--------------------- 2 files changed, 36 insertions(+), 31 deletions(-) diff --git a/css/grid-n-view.css b/css/grid-n-view.css index f65b532..052b0ed 100644 --- a/css/grid-n-view.css +++ b/css/grid-n-view.css @@ -438,6 +438,7 @@ button:active { background var(--color-transition) ease, color var(--color-transition) ease; } +.gallery .toolbar button.collapse:after, .gallery .toolbar button sec { display: inline-block; position: relative; @@ -464,6 +465,20 @@ button:active { background var(--color-transition) ease, color var(--color-transition) ease; } +/* collapse indicator... */ +.gallery .toolbar button.collapse:after { + content: "keyboard_double_arrow_left"; +} +.gallery .toolbar button.collapse:after { + transition: + rotate 0.2s, + text-shadow var(--color-transition) ease, + background var(--color-transition) ease, + color var(--color-transition) ease; +} +.gallery .toolbar:not(.shown) button.collapse:after { + rotate: 180deg; +} .gallery .toolbar button:hover { border-radius: calc(var(--toolbar-button-size) / 5); @@ -481,16 +496,6 @@ button:active { opacity: 0.4; } -.gallery .toolbar button.collapse sec { - transition: - rotate 0.2s, - text-shadow var(--color-transition) ease, - background var(--color-transition) ease, - color var(--color-transition) ease; -} -.gallery .toolbar:not(.shown) button.collapse sec { - rotate: 180deg; -} .gallery .toolbar button.collapse:hover { opacity: 1; border-color: transparent; diff --git a/grid-n-view.html b/grid-n-view.html index 049aeb0..d22367d 100644 --- a/grid-n-view.html +++ b/grid-n-view.html @@ -85,50 +85,50 @@ For more info see: README.md
- +
- - + +
- +
- - - - - + + + + +
- - - + + +
- - - + + +
- +