Skip to content

Commit 378b051

Browse files
committed
fix parsing autoplay delay
rename arrows to "next" and "prev" re-add init function optionally autohide footer
1 parent ddde0e6 commit 378b051

12 files changed

+162
-146
lines changed

README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ __Get Latest Stable Build (Recommended):__
9595
</tr>
9696
<tr>
9797
<td>spotlight.bundle.js</td>
98-
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.2/dist/spotlight.bundle.js" target="_blank">Download</a></td>
99-
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.2/dist/spotlight.bundle.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.2/dist/spotlight.bundle.js</a></td>
98+
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.3/dist/spotlight.bundle.js" target="_blank">Download</a></td>
99+
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.3/dist/spotlight.bundle.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.3/dist/spotlight.bundle.js</a></td>
100100
</tr>
101101
<tr>
102102
<td colspan=3">
@@ -105,14 +105,14 @@ __Get Latest Stable Build (Recommended):__
105105
</tr>
106106
<tr>
107107
<td>spotlight.min.js</td>
108-
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.2/dist/js/spotlight.min.js" target="_blank">Download</a></td>
109-
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.2/dist/js/spotlight.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.2/dist/js/spotlight.min.js</a></td>
108+
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.3/dist/js/spotlight.min.js" target="_blank">Download</a></td>
109+
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.3/dist/js/spotlight.min.js" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.3/dist/js/spotlight.min.js</a></td>
110110
</tr>
111111
<tr></tr>
112112
<tr>
113113
<td>spotlight.min.css</td>
114-
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.2/dist/css/spotlight.min.css" target="_blank">Download</a></td>
115-
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.2/dist/css/spotlight.min.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.2/dist/css/spotlight.min.css</a></td>
114+
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.3/dist/css/spotlight.min.css" target="_blank">Download</a></td>
115+
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.3/dist/css/spotlight.min.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.3/dist/css/spotlight.min.css</a></td>
116116
</tr>
117117
<tr>
118118
<td colspan=3">
@@ -121,25 +121,25 @@ __Get Latest Stable Build (Recommended):__
121121
</tr>
122122
<tr>
123123
<td>ES6 Modules</td>
124-
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.2/src/js" target="_blank">Download</a></td>
124+
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.3/src/js" target="_blank">Download</a></td>
125125
<td>The <i>/src/js</i> folder of this Github repository</td>
126126
</tr>
127127
<tr></tr>
128128
<tr>
129129
<td>LESS Files (source)</td>
130-
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.2/src/css" target="_blank">Download</a></td>
130+
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.3/src/css" target="_blank">Download</a></td>
131131
<td>The <i>/src/css</i> folder of this Github repository</td>
132132
</tr>
133133
<tr></tr>
134134
<tr>
135135
<td>spotlight.css (compiled)</td>
136-
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.2/src/css/spotlight.css" target="_blank">Download</a></td>
137-
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.2/src/css/spotlight.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.2/src/css/spotlight.css</a></td>
136+
<td><a href="https://github.com/nextapps-de/spotlight/raw/0.7.3/src/css/spotlight.css" target="_blank">Download</a></td>
137+
<td><a href="https://rawcdn.githack.com/nextapps-de/spotlight/0.7.3/src/css/spotlight.css" target="_blank">https://rawcdn.githack.com/nextapps-de/spotlight/0.7.3/src/css/spotlight.css</a></td>
138138
</tr>
139139
<tr></tr>
140140
<tr>
141141
<td>src.zip</td>
142-
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.2/dist" target="_blank">Download</a></td>
142+
<td><a href="https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nextapps-de/spotlight/tree/0.7.3/dist" target="_blank">Download</a></td>
143143
<td>Download all source files including image original resources.</td>
144144
</tr>
145145
</table>
@@ -152,7 +152,7 @@ npm install spotlight.js
152152

153153
__Get Latest Nightly (Do not use for production!):__
154154

155-
Just exchange the version number from the URLs above with "master", e.g.: "/spotlight/__0.7.2__/dist/" into "/spotlight/__master__/dist".
155+
Just exchange the version number from the URLs above with "master", e.g.: "/spotlight/__0.7.3__/dist/" into "/spotlight/__master__/dist".
156156

157157
### Use Bundled Version
158158

@@ -229,7 +229,7 @@ You can also load modules via CDN, e.g.:
229229

230230
```html
231231
<script type="module">
232-
import Spotlight from "https://unpkg.com/[email protected].2/src/js/spotlight.js";
232+
import Spotlight from "https://unpkg.com/[email protected].3/src/js/spotlight.js";
233233
</script>
234234
```
235235

@@ -953,8 +953,8 @@ To add custom styling just override CSS classes accordingly:
953953
.spl-player { /* button autoplay (toolbar) */ }
954954
.spl-download { /* button download (toolbar) */ }
955955
.spl-close { /* button close (toolbar) */ }
956-
.spl-arrow-left { /* button page previous */ }
957-
.spl-arrow-right { /* button page next */ }
956+
.spl-prev { /* button page prev */ }
957+
.spl-next { /* button page next */ }
958958
.spl-spinner { /* preloading spinner */ }
959959
.spl-title { /* image title */ }
960960
.spl-description { /* image description */ }

demo/style.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ label, button{
7575
button{
7676
border:0;
7777
outline: 0;
78-
padding: 10px 15px;
79-
font-weight: 500;
78+
padding: 7px 15px;
79+
font-weight: 400;
80+
font-size: 15px;
8081
background-color: #6c757d;
8182
color: #fff;
8283
}

dist/css/spotlight.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)