Compare commits
4 Commits
c8be679634
...
99265cc407
| Author | SHA1 | Date | |
|---|---|---|---|
| 99265cc407 | |||
| 7cf64b7f3d | |||
| 5ee75e2724 | |||
| 2517605e42 |
@@ -21,7 +21,6 @@
|
|||||||
4. Add a GPX file named <project_codename>.gpx to /geo/
|
4. Add a GPX file named <project_codename>.gpx to /geo/
|
||||||
## To Do List
|
## To Do List
|
||||||
* ECMA import/export
|
* ECMA import/export
|
||||||
* Reset zoom on image closing (lightbox)
|
|
||||||
* Add mail frequency slider
|
* Add mail frequency slider
|
||||||
* Use WMTS servers directly when not using Geo Caching Server
|
* Use WMTS servers directly when not using Geo Caching Server
|
||||||
* Allow HEIF picture format
|
* Allow HEIF picture format
|
||||||
|
|||||||
@@ -285,6 +285,7 @@
|
|||||||
fTransY = Math.max(Math.min(fTransY, fTransMaxY), fTransMaxY * -1);
|
fTransY = Math.max(Math.min(fTransY, fTransMaxY), fTransMaxY * -1);
|
||||||
|
|
||||||
this.$image.css('--scale', fNewZoom);
|
this.$image.css('--scale', fNewZoom);
|
||||||
|
this.$container.toggleClass('moveable', (fNewZoom > 1));
|
||||||
this.$image.css('--translate-x', fTransX+'px');
|
this.$image.css('--translate-x', fTransX+'px');
|
||||||
this.$image.css('--translate-y', fTransY+'px');
|
this.$image.css('--translate-y', fTransY+'px');
|
||||||
}
|
}
|
||||||
@@ -484,6 +485,7 @@
|
|||||||
this.$image.css({'--scale': '1', '--translate-x': '0', '--translate-y': '0'});
|
this.$image.css({'--scale': '1', '--translate-x': '0', '--translate-y': '0'});
|
||||||
self.$lightbox.find('.lb-dataContainer').css({width:'200px', height:'30px'});
|
self.$lightbox.find('.lb-dataContainer').css({width:'200px', height:'30px'});
|
||||||
this.$outerContainer.addClass('animating');
|
this.$outerContainer.addClass('animating');
|
||||||
|
this.$container.removeClass('moveable moving');
|
||||||
|
|
||||||
oSpot.updateHash('media', self.album[imageNumber].id);
|
oSpot.updateHash('media', self.album[imageNumber].id);
|
||||||
|
|
||||||
@@ -694,7 +696,10 @@
|
|||||||
//ADDED-END
|
//ADDED-END
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.album.length > 1 && this.options.showImageNumberLabel) {
|
//ADDED-START
|
||||||
|
/*
|
||||||
|
//ADDED-END
|
||||||
|
if (this.album.length > 1 && this.options.showImageNumberLabel) {
|
||||||
var labelText = this.imageCountLabel(this.currentImageIndex + 1, this.album.length);
|
var labelText = this.imageCountLabel(this.currentImageIndex + 1, this.album.length);
|
||||||
//ADDED-START
|
//ADDED-START
|
||||||
//this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast');
|
//this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast');
|
||||||
@@ -703,6 +708,9 @@
|
|||||||
} else {
|
} else {
|
||||||
this.$lightbox.find('.lb-number').hide();
|
this.$lightbox.find('.lb-number').hide();
|
||||||
}
|
}
|
||||||
|
//ADDED-START
|
||||||
|
*/
|
||||||
|
//ADDED-END
|
||||||
|
|
||||||
this.$outerContainer.removeClass('animating');
|
this.$outerContainer.removeClass('animating');
|
||||||
|
|
||||||
|
|||||||
@@ -29,13 +29,13 @@
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
|
|
||||||
.lb-data {
|
.lb-data {
|
||||||
|
flex-direction: row;
|
||||||
|
|
||||||
.lb-details {
|
.lb-details {
|
||||||
display: inline-block;
|
|
||||||
width: calc(100% - 1.25rem);
|
width: calc(100% - 1.25rem);
|
||||||
|
|
||||||
.lb-caption {
|
.lb-caption {
|
||||||
.lb-caption-line {
|
.lb-caption-line {
|
||||||
display: inline-block;
|
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
line-height: 1.33333333333em; //icon height
|
line-height: 1.33333333333em; //icon height
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -64,6 +64,8 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.lb-data {
|
.lb-data {
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
.lb-caption-line {
|
.lb-caption-line {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
@@ -85,7 +87,6 @@
|
|||||||
.lb-closeContainer .lb-close {
|
.lb-closeContainer .lb-close {
|
||||||
margin-top: calc(1em/1.33333333);
|
margin-top: calc(1em/1.33333333);
|
||||||
float: none;
|
float: none;
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -101,10 +102,14 @@
|
|||||||
.lb-container {
|
.lb-container {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
&.moving {
|
&.moveable {
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.moving {
|
||||||
|
cursor: grabbing;
|
||||||
|
}
|
||||||
|
|
||||||
.lb-image {
|
.lb-image {
|
||||||
image-orientation: from-image;
|
image-orientation: from-image;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@@ -191,6 +196,7 @@
|
|||||||
.lb-data {
|
.lb-data {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 0.5rem 0.5rem 0 0.5rem;
|
padding: 0.5rem 0.5rem 0 0.5rem;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
.lb-details {
|
.lb-details {
|
||||||
float: none;
|
float: none;
|
||||||
@@ -202,27 +208,16 @@
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-number {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.lb-closeContainer {
|
|
||||||
color: white;
|
.lb-closeContainer .lb-close {
|
||||||
font-size: 1em;
|
@include lightbox-icon(close);
|
||||||
|
@extend .fa-lg;
|
||||||
|
@extend .fa-fw;
|
||||||
|
height: auto;
|
||||||
|
font-size: 1.3333333333em;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
width: 1.25em;
|
color: white;
|
||||||
vertical-align: top;
|
|
||||||
display: inline-block;
|
|
||||||
|
|
||||||
.lb-close {
|
|
||||||
@include lightbox-icon(close);
|
|
||||||
@extend .fa-lg;
|
|
||||||
width: 1.25em;
|
|
||||||
height: auto;
|
|
||||||
font-size: 1.3333333333em;
|
|
||||||
line-height: 1em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -376,6 +376,7 @@ $legend-color: $post-color;
|
|||||||
input, textarea {
|
input, textarea {
|
||||||
background-color: $post-input-bg;
|
background-color: $post-input-bg;
|
||||||
color: $post-color;
|
color: $post-color;
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
button, a.button {
|
button, a.button {
|
||||||
@@ -721,7 +722,7 @@ $legend-color: $post-color;
|
|||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: $subtitle-color;
|
color: $subtitle-color;
|
||||||
cursor: pointer;
|
cursor: default;
|
||||||
transform: translateX(calc(-0.5 * (12px + 0.5em))); //icon width + margin right
|
transform: translateX(calc(-0.5 * (12px + 0.5em))); //icon width + margin right
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user