mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-17 08:41:40 +00:00
some tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1fa6be841b
commit
408eeb3e7e
@ -93,6 +93,8 @@ Roadmap
|
|||||||
[_] 27% Gen 3 current todo
|
[_] 27% Gen 3 current todo
|
||||||
[_] 54% High priority
|
[_] 54% High priority
|
||||||
[_] usable empty view -- w.o. data...
|
[_] usable empty view -- w.o. data...
|
||||||
|
[_] 0% Tablet UI
|
||||||
|
[_] screen buttons
|
||||||
[_] 0% keyboard.js
|
[_] 0% keyboard.js
|
||||||
[_] multiple key handler...
|
[_] multiple key handler...
|
||||||
| handle multiple key presses...
|
| handle multiple key presses...
|
||||||
@ -120,8 +122,6 @@ Roadmap
|
|||||||
[_] introspection
|
[_] introspection
|
||||||
| this is partially done already, need a simpler API for
|
| this is partially done already, need a simpler API for
|
||||||
| the user...
|
| the user...
|
||||||
[_] 0% Tablet UI
|
|
||||||
[_] screen buttons
|
|
||||||
[_] BUG: sometimes duplicate images get loaded...
|
[_] BUG: sometimes duplicate images get loaded...
|
||||||
| this happens when jumping back and forth on the mid ribbon until
|
| this happens when jumping back and forth on the mid ribbon until
|
||||||
| the last element shows up and then moving left until the frame
|
| the last element shows up and then moving left until the frame
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
/******************************************************** Settings ***/
|
||||||
/********************************************************** Mixins ***/
|
/********************************************************** Mixins ***/
|
||||||
/********************************************************* utility ***/
|
/********************************************************* utility ***/
|
||||||
.expanding-text .hidden {
|
.expanding-text .hidden {
|
||||||
@ -27,11 +28,11 @@ body {
|
|||||||
/*border: solid blue 1px;*/
|
/*border: solid blue 1px;*/
|
||||||
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
-moz-user-select: auto;
|
-moz-user-select: none;
|
||||||
-webkit-user-select: auto;
|
-webkit-user-select: none;
|
||||||
-o-user-select: auto;
|
-o-user-select: none;
|
||||||
-ms-user-select: auto;
|
-ms-user-select: none;
|
||||||
user-select: auto;
|
user-select: none;
|
||||||
}
|
}
|
||||||
/****************************************************** Ribbon set ***/
|
/****************************************************** Ribbon set ***/
|
||||||
.ribbon-set {
|
.ribbon-set {
|
||||||
@ -237,8 +238,8 @@ body {
|
|||||||
content: "";
|
content: "";
|
||||||
font-size: 0pt;
|
font-size: 0pt;
|
||||||
border: none;
|
border: none;
|
||||||
width: 15px;
|
width: 10px;
|
||||||
height: 15px;
|
height: 10px;
|
||||||
top: auto;
|
top: auto;
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
left: auto;
|
left: auto;
|
||||||
@ -283,7 +284,7 @@ body {
|
|||||||
/* corner mark... (a-la bookmarks in PortableMag)
|
/* corner mark... (a-la bookmarks in PortableMag)
|
||||||
* XXX account for flipping... */
|
* XXX account for flipping... */
|
||||||
/*
|
/*
|
||||||
@mark-offset: -15px;
|
@ribbon-mark-offset: -15px;
|
||||||
|
|
||||||
.marks-visible.viewer .marked.image:after {
|
.marks-visible.viewer .marked.image:after {
|
||||||
display: block;
|
display: block;
|
||||||
@ -295,24 +296,24 @@ body {
|
|||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|
||||||
top: @mark-offset;
|
top: @ribbon-mark-offset;
|
||||||
right: @mark-offset;
|
right: @ribbon-mark-offset;
|
||||||
|
|
||||||
background: blue;
|
background: blue;
|
||||||
|
|
||||||
.rotate(45deg)
|
.rotate(45deg)
|
||||||
}
|
}
|
||||||
.marks-visible.viewer .marked.image[orientation="90"]:after {
|
.marks-visible.viewer .marked.image[orientation="90"]:after {
|
||||||
top: @mark-offset;
|
top: @ribbon-mark-offset;
|
||||||
left: @mark-offset;
|
left: @ribbon-mark-offset;
|
||||||
}
|
}
|
||||||
.marks-visible.viewer .marked.image[orientation="180"]:after {
|
.marks-visible.viewer .marked.image[orientation="180"]:after {
|
||||||
bottom: @mark-offset;
|
bottom: @ribbon-mark-offset;
|
||||||
left: @mark-offset;
|
left: @ribbon-mark-offset;
|
||||||
}
|
}
|
||||||
.marks-visible.viewer .marked.image[orientation="270"]:after {
|
.marks-visible.viewer .marked.image[orientation="270"]:after {
|
||||||
bottom: @mark-offset;
|
bottom: @ribbon-mark-offset;
|
||||||
right: @mark-offset;
|
right: @ribbon-mark-offset;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
/* XXX should we use opacity??? */
|
/* XXX should we use opacity??? */
|
||||||
@ -646,7 +647,8 @@ body {
|
|||||||
.global-mode-indicators > * {
|
.global-mode-indicators > * {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
.global-mode-indicators .circle {
|
.global-mode-indicators .circle,
|
||||||
|
.context-mode-indicators .circle {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
@ -678,12 +680,6 @@ body {
|
|||||||
.context-mode-indicators > * {
|
.context-mode-indicators > * {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
.context-mode-indicators .circle {
|
|
||||||
display: inline-block;
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
/* actual indicators */
|
/* actual indicators */
|
||||||
/* marks... */
|
/* marks... */
|
||||||
.global-mode-indicators .marked-only-visible,
|
.global-mode-indicators .marked-only-visible,
|
||||||
|
|||||||
@ -2,6 +2,16 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
|
/******************************************************** Settings ***/
|
||||||
|
|
||||||
|
@ribbon-mark-offset: 5px;
|
||||||
|
|
||||||
|
@ribbon-mark-size: 10px;
|
||||||
|
|
||||||
|
@single-image-indicator-size: 10px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/********************************************************** Mixins ***/
|
/********************************************************** Mixins ***/
|
||||||
|
|
||||||
.user-select (@mode: auto) {
|
.user-select (@mode: auto) {
|
||||||
@ -72,7 +82,7 @@ body {
|
|||||||
/*border: solid blue 1px;*/
|
/*border: solid blue 1px;*/
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.user-select;
|
.user-select(none);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -234,9 +244,6 @@ body {
|
|||||||
|
|
||||||
/***************************************************** Image marks ***/
|
/***************************************************** Image marks ***/
|
||||||
|
|
||||||
@mark-offset: 5px;
|
|
||||||
@mark-size: 15px;
|
|
||||||
|
|
||||||
.marks-visible.viewer .marked.image:after {
|
.marks-visible.viewer .marked.image:after {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -244,13 +251,13 @@ body {
|
|||||||
font-size: 0pt;
|
font-size: 0pt;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
width: @mark-size;
|
width: @ribbon-mark-size;
|
||||||
height: @mark-size;
|
height: @ribbon-mark-size;
|
||||||
|
|
||||||
top: auto;
|
top: auto;
|
||||||
bottom: @mark-offset;
|
bottom: @ribbon-mark-offset;
|
||||||
left: auto;
|
left: auto;
|
||||||
right: @mark-offset;
|
right: @ribbon-mark-offset;
|
||||||
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: blue;
|
background: blue;
|
||||||
@ -260,19 +267,19 @@ body {
|
|||||||
.marks-visible.viewer .marked.image[orientation="0"][flipped*="vertical"]:after,
|
.marks-visible.viewer .marked.image[orientation="0"][flipped*="vertical"]:after,
|
||||||
.marks-visible.viewer .marked.image[orientation="180"][flipped="horizontal"]:after,
|
.marks-visible.viewer .marked.image[orientation="180"][flipped="horizontal"]:after,
|
||||||
.marks-visible.viewer .marked.image[orientation="90"]:not([flipped]):after {
|
.marks-visible.viewer .marked.image[orientation="90"]:not([flipped]):after {
|
||||||
top: @mark-offset;
|
top: @ribbon-mark-offset;
|
||||||
bottom: auto:
|
bottom: auto:
|
||||||
left: auto;
|
left: auto;
|
||||||
right: @mark-offset;
|
right: @ribbon-mark-offset;
|
||||||
}
|
}
|
||||||
.marks-visible.viewer .marked.image:not([orientation])[flipped*="vertical"][flipped*="horizontal"]:after,
|
.marks-visible.viewer .marked.image:not([orientation])[flipped*="vertical"][flipped*="horizontal"]:after,
|
||||||
.marks-visible.viewer .marked.image[orientation="0"][flipped*="vertical"][flipped*="horizontal"]:after,
|
.marks-visible.viewer .marked.image[orientation="0"][flipped*="vertical"][flipped*="horizontal"]:after,
|
||||||
.marks-visible.viewer .marked.image[orientation="270"][flipped="vertical"]:after,
|
.marks-visible.viewer .marked.image[orientation="270"][flipped="vertical"]:after,
|
||||||
.marks-visible.viewer .marked.image[orientation="90"][flipped="horizontal"]:after,
|
.marks-visible.viewer .marked.image[orientation="90"][flipped="horizontal"]:after,
|
||||||
.marks-visible.viewer .marked.image[orientation="180"]:not([flipped]):after {
|
.marks-visible.viewer .marked.image[orientation="180"]:not([flipped]):after {
|
||||||
top: @mark-offset;
|
top: @ribbon-mark-offset;
|
||||||
bottom: auto;
|
bottom: auto;
|
||||||
left: @mark-offset;
|
left: @ribbon-mark-offset;
|
||||||
right: auto;
|
right: auto;
|
||||||
}
|
}
|
||||||
.marks-visible.viewer .marked.image[orientation="90"][flipped*="vertical"][flipped*="horizontal"]:after,
|
.marks-visible.viewer .marked.image[orientation="90"][flipped*="vertical"][flipped*="horizontal"]:after,
|
||||||
@ -281,8 +288,8 @@ body {
|
|||||||
.marks-visible.viewer .marked.image[orientation="0"][flipped*="horizontal"]:after,
|
.marks-visible.viewer .marked.image[orientation="0"][flipped*="horizontal"]:after,
|
||||||
.marks-visible.viewer .marked.image[orientation="270"]:not([flipped]):after {
|
.marks-visible.viewer .marked.image[orientation="270"]:not([flipped]):after {
|
||||||
top: auto;
|
top: auto;
|
||||||
bottom: @mark-offset;
|
bottom: @ribbon-mark-offset;
|
||||||
left: @mark-offset;
|
left: @ribbon-mark-offset;
|
||||||
right: auto;
|
right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -294,7 +301,7 @@ body {
|
|||||||
/* corner mark... (a-la bookmarks in PortableMag)
|
/* corner mark... (a-la bookmarks in PortableMag)
|
||||||
* XXX account for flipping... */
|
* XXX account for flipping... */
|
||||||
/*
|
/*
|
||||||
@mark-offset: -15px;
|
@ribbon-mark-offset: -15px;
|
||||||
|
|
||||||
.marks-visible.viewer .marked.image:after {
|
.marks-visible.viewer .marked.image:after {
|
||||||
display: block;
|
display: block;
|
||||||
@ -306,24 +313,24 @@ body {
|
|||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|
||||||
top: @mark-offset;
|
top: @ribbon-mark-offset;
|
||||||
right: @mark-offset;
|
right: @ribbon-mark-offset;
|
||||||
|
|
||||||
background: blue;
|
background: blue;
|
||||||
|
|
||||||
.rotate(45deg)
|
.rotate(45deg)
|
||||||
}
|
}
|
||||||
.marks-visible.viewer .marked.image[orientation="90"]:after {
|
.marks-visible.viewer .marked.image[orientation="90"]:after {
|
||||||
top: @mark-offset;
|
top: @ribbon-mark-offset;
|
||||||
left: @mark-offset;
|
left: @ribbon-mark-offset;
|
||||||
}
|
}
|
||||||
.marks-visible.viewer .marked.image[orientation="180"]:after {
|
.marks-visible.viewer .marked.image[orientation="180"]:after {
|
||||||
bottom: @mark-offset;
|
bottom: @ribbon-mark-offset;
|
||||||
left: @mark-offset;
|
left: @ribbon-mark-offset;
|
||||||
}
|
}
|
||||||
.marks-visible.viewer .marked.image[orientation="270"]:after {
|
.marks-visible.viewer .marked.image[orientation="270"]:after {
|
||||||
bottom: @mark-offset;
|
bottom: @ribbon-mark-offset;
|
||||||
right: @mark-offset;
|
right: @ribbon-mark-offset;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -594,10 +601,11 @@ body {
|
|||||||
.global-mode-indicators>* {
|
.global-mode-indicators>* {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
.global-mode-indicators .circle {
|
.global-mode-indicators .circle,
|
||||||
|
.context-mode-indicators .circle {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 10px;
|
width: @single-image-indicator-size;
|
||||||
height: 10px;
|
height: @single-image-indicator-size;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
/* hide indicators in single image mode */
|
/* hide indicators in single image mode */
|
||||||
@ -628,12 +636,6 @@ body {
|
|||||||
.context-mode-indicators>* {
|
.context-mode-indicators>* {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
.context-mode-indicators .circle {
|
|
||||||
display: inline-block;
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* actual indicators */
|
/* actual indicators */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user