tweaks (not done)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1d8de8b1ba
commit
ad2d9455e7
@ -76,6 +76,8 @@ body {
|
|||||||
|
|
||||||
/* XXX need to account for scrollbar popping in and out */
|
/* XXX need to account for scrollbar popping in and out */
|
||||||
.gallery {
|
.gallery {
|
||||||
|
--base-layer: 10;
|
||||||
|
|
||||||
padding-top: var(--gallery-padding-top);
|
padding-top: var(--gallery-padding-top);
|
||||||
padding-bottom: var(--gallery-padding-bottom);
|
padding-bottom: var(--gallery-padding-bottom);
|
||||||
padding-left: calc(
|
padding-left: calc(
|
||||||
@ -109,21 +111,38 @@ body {
|
|||||||
|
|
||||||
/* selection marker... */
|
/* selection marker... */
|
||||||
.gallery .images img.current {
|
.gallery .images img.current {
|
||||||
z-index: 1;
|
z-index: 10;
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0px 0px 0px var(--gallery-current-image-border) rgba(255,255,255,1),
|
0px 0px 0px var(--gallery-current-image-border) rgba(255,255,255,1),
|
||||||
0.4em 0.4em 3em 0em rgba(0,0,0,0.8);
|
0.4em 0.4em 3em 0em rgba(0,0,0,0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* hover... */
|
||||||
|
/* XXX Problems:
|
||||||
|
- this hides marks...
|
||||||
|
- shown over lightbox...
|
||||||
|
*/
|
||||||
|
.gallery .images img:not(.current):hover {
|
||||||
|
z-index: 20;
|
||||||
|
box-shadow: 0.2em 0.2em 1em 0em rgba(0,0,0,0.8);
|
||||||
|
}
|
||||||
|
.gallery .images img.current:hover {
|
||||||
|
z-index: 20;
|
||||||
|
box-shadow:
|
||||||
|
0px 0px 0px var(--gallery-current-image-border) rgba(255,255,255,1),
|
||||||
|
0.6em 0.6em 4em 0em rgba(0,0,0,0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*************************************************** Image markers ***/
|
/*************************************************** Image markers ***/
|
||||||
|
|
||||||
.gallery .images img+.mark {
|
.gallery .images img+.mark {
|
||||||
z-index: 1;
|
z-index: var(--base-layer);
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.gallery.lightboxed .images img.current+.mark {
|
.gallery.lightboxed .images img.current+.mark {
|
||||||
z-index: 2;
|
z-index: calc(var(--base-layer) + 10);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
@ -152,13 +171,15 @@ body {
|
|||||||
/******************************************************* Lightbox ****/
|
/******************************************************* Lightbox ****/
|
||||||
|
|
||||||
.gallery .lightbox {
|
.gallery .lightbox {
|
||||||
|
--base-layer: 100;
|
||||||
|
|
||||||
display: none;
|
display: none;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
z-index: 1;
|
z-index: var(--base-layer);
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
|||||||
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
<h3>ToDo</h3>
|
<h3>ToDo</h3>
|
||||||
<pre>
|
<pre>
|
||||||
|
- <b>ASAP: CSS: z-index needs fixing...</b>
|
||||||
- Views:
|
- Views:
|
||||||
- <s>Gallery</s>
|
- <s>Gallery</s>
|
||||||
- <b>Details</b>
|
- <b>Details</b>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user