mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
some cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bd7ff349f6
commit
06b88caf87
@ -718,6 +718,10 @@ function convertDataGen1(data, cmp){
|
||||
*/
|
||||
|
||||
// Update an image element
|
||||
//
|
||||
// NOTE: care must be taken to reset ALL attributes an image can have,
|
||||
// a common bug if this is not done correctly, is that some settings
|
||||
// may leak to newly loaded images...
|
||||
function updateImage(image, gid, size){
|
||||
image = $(image)
|
||||
var title = ''
|
||||
@ -1031,6 +1035,11 @@ function loadSettings(){
|
||||
* Image caching...
|
||||
*/
|
||||
|
||||
// TODO add global cache...
|
||||
// - manage cache by number and preview size...
|
||||
// - keep in biggish...
|
||||
|
||||
|
||||
// NOTE: this will always overwrite the previous cache set for a ribbon...
|
||||
// NOTE: it appears that sorting images by priority before loading them
|
||||
// to cache has little or no affect on the order they are
|
||||
|
||||
@ -51,8 +51,8 @@
|
||||
}
|
||||
|
||||
|
||||
/*********************************************************************/
|
||||
|
||||
/*********************************************************************/
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@ -215,8 +215,7 @@ body {
|
||||
|
||||
|
||||
/* default backgrounds */
|
||||
/* XXX not sure if we need these... */
|
||||
/*
|
||||
/* XXX not sure if we need these...
|
||||
.image {
|
||||
background-image: url(images/loading.gif);
|
||||
}
|
||||
@ -685,6 +684,7 @@ body {
|
||||
|
||||
|
||||
/********************************************** Mode: single image ***/
|
||||
|
||||
.single-image-mode.viewer .image {
|
||||
background-color: transparent;
|
||||
/* NOTE: need to keep a distance from screen borders... */
|
||||
@ -703,6 +703,7 @@ body {
|
||||
|
||||
|
||||
/********************************************************** Themes ***/
|
||||
|
||||
/* XXX this is by no means final... */
|
||||
.viewer,
|
||||
.light.viewer,
|
||||
@ -723,6 +724,7 @@ body {
|
||||
|
||||
|
||||
/********************************************************* Overlay ***/
|
||||
|
||||
.overlay-block {
|
||||
display: none;
|
||||
position: absolute:
|
||||
@ -748,6 +750,7 @@ body {
|
||||
|
||||
|
||||
/************************************************************ Help ***/
|
||||
|
||||
/* this is for sliding stuff */
|
||||
.viewer.drawer-mode {
|
||||
box-shadow: 0px 0px 50px 0px silver;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user