mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c0f9342899
commit
9e440c7635
@ -263,20 +263,6 @@ body {
|
|||||||
font-weight: bolder !important;
|
font-weight: bolder !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.browse-widget .list>div .show-on-hover {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.browse-widget .list>div:hover .show-on-hover {
|
|
||||||
opacity: inherit;
|
|
||||||
}
|
|
||||||
.browse-widget .list>div .show-on-select {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.browse-widget .list>.selected .show-on-select {
|
|
||||||
opacity: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Dialog highlight experiment... */
|
/* Dialog highlight experiment... */
|
||||||
.browse-widget {
|
.browse-widget {
|
||||||
border-bottom: solid 7px rgba(100, 100, 100, 0.5);
|
border-bottom: solid 7px rgba(100, 100, 100, 0.5);
|
||||||
|
|||||||
@ -354,6 +354,23 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Show item part on hover... */
|
||||||
|
.browse-widget .list>div .show-on-hover {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
.browse-widget .list>div:hover .show-on-hover {
|
||||||
|
opacity: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Show item part on select... */
|
||||||
|
.browse-widget .list>div .show-on-select {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
.browse-widget .list>.selected .show-on-select {
|
||||||
|
opacity: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/****************************************************** Cloud List ***/
|
/****************************************************** Cloud List ***/
|
||||||
|
|||||||
@ -560,28 +560,15 @@ var URLHistoryUIActions = actions.Actions({
|
|||||||
},
|
},
|
||||||
// add item buttons...
|
// add item buttons...
|
||||||
{ itemButtons: [
|
{ itemButtons: [
|
||||||
|
// open...
|
||||||
['<span class="show-on-hover">↗</span>',
|
['<span class="show-on-hover">↗</span>',
|
||||||
function(p){ o.browsePath(p) }],
|
function(p){ o.browsePath(p) }],
|
||||||
// move to top...
|
// move to top...
|
||||||
|
//['<span class="show-on-hover">♦</span>',
|
||||||
['♦',
|
['♦',
|
||||||
function(p){
|
function(p){
|
||||||
that.setTopURLHistory(p)
|
that.setTopURLHistory(p)
|
||||||
o.redraw(p)
|
o.redraw(p)
|
||||||
|
|
||||||
/* XXX this is a tad faster, is the added
|
|
||||||
// complexity worth it??
|
|
||||||
var cur = this.filter('"'+p+'"', false)
|
|
||||||
|
|
||||||
var top = cur.hasClass('pinned') ?
|
|
||||||
this.filter('*', false).first()
|
|
||||||
: this.filter('*', false)
|
|
||||||
.filter(':not(.pinned)').first()
|
|
||||||
|
|
||||||
if(!top.is(cur)){
|
|
||||||
top.before(cur)
|
|
||||||
that.setTopURLHistory(p)
|
|
||||||
}
|
|
||||||
//*/
|
|
||||||
}],
|
}],
|
||||||
// pin to top...
|
// pin to top...
|
||||||
// XXX should this be standard functionality???
|
// XXX should this be standard functionality???
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user