mirror of https://github.com/dyne/webnomad.git
blueimp updates
This commit is contained in:
parent
2fdcbdae99
commit
940319bc57
|
|
@ -1,6 +1,6 @@
|
|||
@charset 'UTF-8';
|
||||
/*
|
||||
* blueimp Gallery Indicator CSS 1.0.0
|
||||
* blueimp Gallery Indicator CSS 1.0.1
|
||||
* https://github.com/blueimp/Gallery
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
|
|
@ -28,6 +28,9 @@
|
|||
width: 9px;
|
||||
height: 9px;
|
||||
margin: 6px 3px 0 3px;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
border: 1px solid transparent;
|
||||
background: #ccc;
|
||||
background: rgba(255, 255, 255, 0.25) center no-repeat;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
@charset 'UTF-8';
|
||||
/*
|
||||
* blueimp Gallery CSS 2.5.1
|
||||
* blueimp Gallery CSS 2.5.2
|
||||
* https://github.com/blueimp/Gallery
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
|
|
@ -106,6 +106,9 @@
|
|||
text-align: center;
|
||||
background: #222;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
border: 3px solid #fff;
|
||||
-webkit-border-radius: 23px;
|
||||
-moz-border-radius: 23px;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* blueimp Gallery JS 2.7.1
|
||||
* blueimp Gallery JS 2.7.4
|
||||
* https://github.com/blueimp/Gallery
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
|
|
@ -199,7 +199,32 @@
|
|||
},
|
||||
prop,
|
||||
transition,
|
||||
translateZ;
|
||||
translateZ,
|
||||
elementTests = function () {
|
||||
document.body.appendChild(element);
|
||||
if (transition) {
|
||||
prop = transition.name.slice(0, -9) + 'ransform';
|
||||
if (element.style[prop] !== undefined) {
|
||||
element.style[prop] = 'translateZ(0)';
|
||||
translateZ = window.getComputedStyle(element)
|
||||
.getPropertyValue(transition.prefix + 'transform');
|
||||
support.transform = {
|
||||
prefix: transition.prefix,
|
||||
name: prop,
|
||||
translate: true,
|
||||
translateZ: !!translateZ && translateZ !== 'none'
|
||||
};
|
||||
}
|
||||
}
|
||||
if (element.style.backgroundSize !== undefined) {
|
||||
element.style.backgroundSize = 'contain';
|
||||
support.backgroundSize = {
|
||||
contain: window.getComputedStyle(element)
|
||||
.getPropertyValue('background-size') === 'contain'
|
||||
};
|
||||
}
|
||||
document.body.removeChild(element);
|
||||
};
|
||||
for (prop in transitions) {
|
||||
if (transitions.hasOwnProperty(prop) &&
|
||||
element.style[prop] !== undefined) {
|
||||
|
|
@ -209,32 +234,14 @@
|
|||
break;
|
||||
}
|
||||
}
|
||||
document.body.appendChild(element);
|
||||
if (transition) {
|
||||
prop = transition.name.slice(0, -9) + 'ransform';
|
||||
if (element.style[prop] !== undefined) {
|
||||
element.style[prop] = 'translateZ(0)';
|
||||
translateZ = window.getComputedStyle(element)
|
||||
.getPropertyValue(transition.prefix + 'transform');
|
||||
support.transform = {
|
||||
prefix: transition.prefix,
|
||||
name: prop,
|
||||
translate: true,
|
||||
translateZ: translateZ && translateZ !== 'none'
|
||||
};
|
||||
}
|
||||
if (document.body) {
|
||||
elementTests();
|
||||
} else {
|
||||
$(document).on('DOMContentLoaded', elementTests);
|
||||
}
|
||||
if (element.style.backgroundSize !== undefined) {
|
||||
element.style.backgroundSize = 'contain';
|
||||
support.backgroundSize = {
|
||||
contain: window.getComputedStyle(element)
|
||||
.getPropertyValue('background-size') === 'contain'
|
||||
};
|
||||
}
|
||||
document.body.removeChild(element);
|
||||
return support;
|
||||
// Test element, has to be standard HTML and must not be hidden
|
||||
// for the CSS3 transform translateZ test to be applicable:
|
||||
// for the CSS3 tests using window.getComputedStyle to be applicable:
|
||||
}(document.createElement('div'))),
|
||||
|
||||
initialize: function () {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
update
2
update
|
|
@ -26,7 +26,7 @@
|
|||
source utils
|
||||
|
||||
# eventually these will need an update
|
||||
bootstrap2="http://twitter.github.io/bootstrap/assets/bootstrap.zip"
|
||||
bootstrap2="http://getbootstrap.com/2.3.2/assets/bootstrap.zip"
|
||||
blueimp_gallery="https://github.com/blueimp/Gallery.git"
|
||||
|
||||
{ test "$1" = "" } || { test "$1" = "bootstrap" } && {
|
||||
|
|
|
|||
Loading…
Reference in New Issue