Skip to content

Commit

Permalink
Merge feature branch 0.7.0/master
Browse files Browse the repository at this point in the history
  • Loading branch information
ts-thomas committed May 2, 2021
1 parent 6f98575 commit f17ee61
Show file tree
Hide file tree
Showing 52 changed files with 1,608 additions and 2,042 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src/css/spotlight.css -linguist-detectable
index.html -linguist-detectable
demo/** -linguist-detectable
dist/** -linguist-detectable
14 changes: 0 additions & 14 deletions .gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1><img src="https://cdn.jsdelivr.net/gh/nextapps-de/spotlight@master/readme/spotlight.svg" alt="Spotlight.js: Modern HTML5 Image Gallery" width="50%"></h1>
<h1><img src="https://cdn.jsdelivr.net/gh/nextapps-de/spotlight@master/demo/spotlight.svg" alt="Spotlight.js: Modern HTML5 Gallery for Images, Videos and Media" width="100%"></h1>
<h3>Web's most easy to integrate lightbox gallery library. Super-lightweight, outstanding performance, no dependencies.</h3>

<a target="_blank" href="https://www.npmjs.com/package/spotlight.js"><img src="https://img.shields.io/npm/v/spotlight.js.svg"></a>
Expand Down
1 change: 1 addition & 0 deletions demo/gallery/heart-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions demo/gallery/heart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/gallery/poster.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/spotlight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 40 additions & 4 deletions demo/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,27 @@ html, body{
border: 0;
font-family: Aral, Helvetica, sans-serif;
text-align: center;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
a{
a, b{
display: inline-block;
color: #6c757d;
text-decoration: none;
font-weight: 600;
}
b{
display: block;
padding: 10px;
}
button{
padding: 5px 10px;
}
img,
.image{
width: 30vw;
width: 29vw;
height: auto;
max-width: 300px;
margin: 1vh 1vw;
margin: 1vmin 1vmin;
content-visibility: auto;
}
.image{
display: inline-block;
Expand All @@ -31,6 +36,37 @@ img,
background-repeat: no-repeat;
background-size: cover;
}
/*
video{
object-fit: cover;
}
*/
.spotlight.image{
cursor: pointer;
}
hr{
border: 0;
border-bottom: 1px solid #ccc;
margin-bottom: 20px;
padding-top: 20px;
}
h1 img{
width: 400px;
max-width: 61.8vw;
}
label{
display: inline-block;
padding: 5px 10px;
margin-bottom: 5px;
border: 1px solid #ddd;
background: #f5f5f5;
font-size: 12px;
line-height: 20px;
vertical-align: middle;
cursor: pointer;
border-radius: 5px;
}
label input{
float: left;
margin-right: 10px;
}
2 changes: 1 addition & 1 deletion dist/css/spotlight.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/img/download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/img/heart-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/img/heart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f17ee61

Please sign in to comment.