Merge branch 'develop' into feature/subalbums

# Conflicts:
#	src/package.json
#	src/scripts/lychee.js
pull/639/head
Tobias Reich 8 years ago
commit f460569bdc

2
dist/main.css vendored

File diff suppressed because one or more lines are too long

14
dist/main.js vendored

File diff suppressed because one or more lines are too long

8
dist/view.js vendored

File diff suppressed because one or more lines are too long

@ -1,3 +1,10 @@
## v3.1.5
Released October 25, 2016
- `New` Hide mouse pointer in full screen mode (#620)
- `Improved` Smoothing rotation of album (#626)
## v3.1.4 ## v3.1.4
Released August 28, 2016 Released August 28, 2016

3531
src/npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

@ -14,20 +14,20 @@
"compile": "gulp" "compile": "gulp"
}, },
"dependencies": { "dependencies": {
"babel-preset-es2015": "^6.13.2", "babel-preset-es2015": "^6.18.0",
"basiccontext": "^3.5.1", "basiccontext": "^3.5.1",
"basicmodal": "^3.3.7", "basicmodal": "^3.3.7",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-autoprefixer": "3.1.0", "gulp-autoprefixer": "3.1.1",
"gulp-babel": "^6.1.2", "gulp-babel": "^6.1.2",
"gulp-concat": "^2.6.0", "gulp-concat": "^2.6.0",
"gulp-inject": "^4.1.0", "gulp-inject": "^4.1.0",
"gulp-load-plugins": "^1.2.4", "gulp-load-plugins": "^1.3.0",
"gulp-minify-css": "^1.2.4", "gulp-minify-css": "^1.2.4",
"gulp-rimraf": "^0.2.0", "gulp-rimraf": "^0.2.0",
"gulp-sass": "^2.3.2", "gulp-sass": "^2.3.2",
"gulp-uglify": "^2.0.0", "gulp-uglify": "^2.0.0",
"jquery": "^3.1.0", "jquery": "^3.1.1",
"mousetrap": "^1.6.0" "mousetrap": "^1.6.0"
} }
} }

@ -1,6 +1,5 @@
/** /**
* @description Takes care of every action an album can handle and execute. * @description Takes care of every action an album can handle and execute.
* @copyright 2015 by Tobias Reich
*/ */
const buildAlbumOptions = function(albums, select, parent = 0, layer = 0) { const buildAlbumOptions = function(albums, select, parent = 0, layer = 0) {

@ -1,6 +1,5 @@
/** /**
* @description Takes care of every action albums can handle and execute. * @description Takes care of every action albums can handle and execute.
* @copyright 2015 by Tobias Reich
*/ */
albums = { albums = {

@ -1,6 +1,5 @@
/** /**
* @description This module communicates with Lychee's API * @description This module communicates with Lychee's API
* @copyright 2015 by Tobias Reich
*/ */
api = { api = {

@ -1,6 +1,5 @@
/** /**
* @description This module is used to generate HTML-Code. * @description This module is used to generate HTML-Code.
* @copyright 2015 by Tobias Reich
*/ */
build = {} build = {}

@ -1,6 +1,5 @@
/** /**
* @description This module is used for the context menu. * @description This module is used for the context menu.
* @copyright 2015 by Tobias Reich
*/ */
const buildAlbumList = function(albums, exclude, action, parent = 0, layer = 0) { const buildAlbumList = function(albums, exclude, action, parent = 0, layer = 0) {

@ -1,6 +1,5 @@
/** /**
* @description This module takes care of the header. * @description This module takes care of the header.
* @copyright 2015 by Tobias Reich
*/ */
header = { header = {

@ -1,6 +1,5 @@
/** /**
* @description This module is used for bindings. * @description This module is used for bindings.
* @copyright 2015 by Tobias Reich
*/ */
$(document).ready(function() { $(document).ready(function() {

@ -1,6 +1,5 @@
/** /**
* @description This module is used to show and hide the loading bar. * @description This module is used to show and hide the loading bar.
* @copyright 2015 by Tobias Reich
*/ */
loadingBar = { loadingBar = {

@ -1,6 +1,5 @@
/** /**
* @description This module provides the basic functions of Lychee. * @description This module provides the basic functions of Lychee.
* @copyright 2015 by Tobias Reich
*/ */
lychee = { lychee = {

@ -1,6 +1,5 @@
/** /**
* @description Select multiple albums or photos. * @description Select multiple albums or photos.
* @copyright 2015 by Tobias Reich
*/ */
const isSelectKeyPressed = function(e) { const isSelectKeyPressed = function(e) {

@ -1,6 +1,5 @@
/** /**
* @description Controls the access to password-protected albums and photos. * @description Controls the access to password-protected albums and photos.
* @copyright 2015 by Tobias Reich
*/ */
password = { password = {

@ -1,6 +1,5 @@
/** /**
* @description Takes care of every action a photo can handle and execute. * @description Takes care of every action a photo can handle and execute.
* @copyright 2015 by Tobias Reich
*/ */
photo = { photo = {

@ -1,6 +1,5 @@
/** /**
* @description Searches through your photos and albums. * @description Searches through your photos and albums.
* @copyright 2015 by Tobias Reich
*/ */
search = { search = {

@ -1,6 +1,5 @@
/** /**
* @description Lets you change settings. * @description Lets you change settings.
* @copyright 2015 by Tobias Reich
*/ */
settings = {} settings = {}

@ -1,6 +1,5 @@
/** /**
* @description This module takes care of the sidebar. * @description This module takes care of the sidebar.
* @copyright 2015 by Tobias Reich
*/ */
sidebar = { sidebar = {

@ -1,6 +1,5 @@
/** /**
* @description Swipes and moves an object. * @description Swipes and moves an object.
* @copyright 2015 by Tobias Reich
*/ */
swipe = { swipe = {

@ -1,6 +1,5 @@
/** /**
* @description Takes care of every action an album can handle and execute. * @description Takes care of every action an album can handle and execute.
* @copyright 2015 by Tobias Reich
*/ */
upload = {} upload = {}

@ -1,6 +1,5 @@
/** /**
* @description Responsible to reflect data changes to the UI. * @description Responsible to reflect data changes to the UI.
* @copyright 2015 by Tobias Reich
*/ */
view = {} view = {}
@ -343,11 +342,11 @@ view.photo = {
$('body').css('overflow', 'hidden') $('body').css('overflow', 'hidden')
// Fullscreen // Fullscreen
var timeout let timeout = null
$(document).bind('mousemove', function() { $(document).bind('mousemove', function() {
clearTimeout(timeout) clearTimeout(timeout)
header.show() header.show()
timeout = setTimeout(header.hide, 1000) timeout = setTimeout(header.hide, 2500)
}) })
lychee.animate(lychee.imageview, 'fadeIn') lychee.animate(lychee.imageview, 'fadeIn')
@ -365,8 +364,7 @@ view.photo = {
$('body').css('overflow', 'auto') $('body').css('overflow', 'auto')
// Disable Fullscreen // Disable Fullscreen
$(document) $(document).unbind('mousemove')
.unbind('mousemove')
// Hide Photo // Hide Photo
lychee.animate(lychee.imageview, 'fadeOut') lychee.animate(lychee.imageview, 'fadeOut')

@ -1,6 +1,5 @@
/** /**
* @description Used to view single photos with view.php * @description Used to view single photos with view.php
* @copyright 2015 by Tobias Reich
*/ */
// Sub-implementation of lychee -------------------------------------------------------------- // // Sub-implementation of lychee -------------------------------------------------------------- //

@ -1,6 +1,5 @@
/** /**
* @description This module is used to check if elements are visible or not. * @description This module is used to check if elements are visible or not.
* @copyright 2015 by Tobias Reich
*/ */
visible = {} visible = {}

@ -89,6 +89,10 @@
&:hover img:nth-child(1), &:hover img:nth-child(1),
&:hover img:nth-child(2) { &:hover img:nth-child(2) {
opacity: 1; opacity: 1;
// Keep the composited layer created by the browser during the animation.
// Makes the border of the transformed thumb look better.
// See https://github.com/electerious/Lychee/pull/626 for more.
will-change: transform;
} }
&:hover img:nth-child(1) { &:hover img:nth-child(1) {

@ -10,9 +10,14 @@
transition: background-color .3s; transition: background-color .3s;
// Modes -------------------------------------------------------------- // // Modes -------------------------------------------------------------- //
&.view { background-color: inherit; } &.view {
background-color: inherit;
}
&.full { background-color: black(1); } &.full {
background-color: black(1);
cursor: none;
}
// ImageView -------------------------------------------------------------- // // ImageView -------------------------------------------------------------- //
#image { #image {

@ -1,7 +1,3 @@
/**
* @copyright 2015 by Tobias Reich
*/
// Functions --------------------------------------------------------------- // // Functions --------------------------------------------------------------- //
@function black($opacity) { @function black($opacity) {
@return rgba(0, 0, 0, $opacity); @return rgba(0, 0, 0, $opacity);

Loading…
Cancel
Save