diff --git a/css/grid-n-view.css b/css/grid-n-view.css index aa7f900..9645ce8 100644 --- a/css/grid-n-view.css +++ b/css/grid-n-view.css @@ -224,6 +224,31 @@ body { +/******************************************************** Toolbar ****/ + +/* XXX make the toolbar swirchable and contextual... */ +.gallery .toolbar { + display: inline-block; + position: sticky; + top: 1em; + padding: 0.5rem; + + z-index: calc(var(--base-layer) + 1); + + background: var(--gallery-background-color); +} +/* XXX need to hide parts of the toolbar and make it transparent... */ +.gallery.lightboxed .toolbar, +.gallery.detailed .toolbar { + display: none; +} + +/* XXX */ +.gallery .toolbar button { +} + + + /******************************************************* Overlays ****/ .gallery.lightboxed, diff --git a/grid-n-view.html b/grid-n-view.html index 9805dbb..9c90cd2 100644 --- a/grid-n-view.html +++ b/grid-n-view.html @@ -55,13 +55,14 @@ var restoreScroll = function(){ - Save current gallery (zip) - Views: Gallery / Details / Lightbox - Details: populate fields -- toolbar -- floating over gallery +- toolbar -- floating over gallery - lightbox (current) - info (current) - select / deselect (current / all) - delete / clear deleted (current / all) - crop - load + - styling and icons... - toolbar -- floating over image (gallery/lightbox/details/...) - lightbox - info @@ -102,7 +103,6 @@ var restoreScroll = function(){ - basic delete - delete marked - mark images for deletion + delete marked - - UI/toolbar - Gallery: serialize / deserialize - Lightbox: navigation (keyboard / mouse) - Lightbox: fullscreen mode @@ -138,26 +138,23 @@ For more info see: README.md
-Basic actions:
- - - - - -
-
- - - - - -
-
- - -
-