Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit 8aa5c86

Browse files
author
fritz-c
committed
Update example page
1 parent e097b0e commit 8aa5c86

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

example/src/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ <h3>Demo</h3>
3131

3232
<p>Features</p>
3333
<ul>
34-
<li>Few dependencies</li>
3534
<li>Keyboard shortcuts (with rate limiting)</li>
36-
<li>Image preloading for smoother viewing</li>
35+
<li>Image Zoom</li>
3736
<li>Flexible rendering using src values assigned on the fly</li>
37+
<li>Image preloading for smoother viewing</li>
38+
<li>Few dependencies</li>
39+
<li>No external CSS</li>
3840
</ul>
3941

4042
<a href="https://github.com/fritz-c/react-image-lightbox">Examples and Documentation on Github</a>

example/src/stylesheets/app.less

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@
77
border-radius: 5px;
88
background-color: #303030;
99
border: none;
10-
color: #FFFFFF;
10+
color: #FFF;
1111
outline: none;
1212
padding: 8px 15px;
1313

14+
&:hover {
15+
background-color: #000;
16+
text-shadow: 0 0 6px #FFF;
17+
}
18+
1419
&:active {
15-
background-color: #000000;
16-
text-shadow: 0 0 6px #FFFFFF, 0 0 6px #FFFFFF, 0 0 6px #FFFFFF;
20+
text-shadow: 0 0 6px #FFF, 0 0 6px #FFF, 0 0 6px #FFF;
1721
}
1822

1923
&:focus {
20-
box-shadow: 0 0 3px 2px #999999;
24+
box-shadow: 0 0 3px 2px #999;
2125
}
2226
}

0 commit comments

Comments
 (0)