mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5517204b3b
commit
9ef35d3ea1
@ -317,17 +317,31 @@ body {
|
|||||||
background: rgba(0, 0, 0, 0.7);
|
background: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.browse-widget.key-bindings .list>.ignore .text:first-child {
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.browse-widget.key-bindings .list>.ignore .text:not(:first-child) {
|
||||||
|
display: inline;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
float: right;
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
|
||||||
|
opacity: 0.8;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
.browse-widget.key-bindings .list>div:not(.selected):not(.mode):nth-child(even) {
|
.browse-widget.key-bindings .list>div:not(.selected):not(.mode):nth-child(even) {
|
||||||
background: rgba(0, 0, 0, 0.03);
|
background: rgba(0, 0, 0, 0.03);
|
||||||
}
|
}
|
||||||
.browse-widget.key-bindings .list>.key .button {
|
.browse-widget.key-bindings .list>.key .button {
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
.browse-widget.key-bindings .list>.key:after,
|
|
||||||
.browse-widget.key-bindings .list>.key .text:not(:first-child) {
|
.browse-widget.key-bindings .list>.key .text:not(:first-child) {
|
||||||
display: inline;
|
display: inline;
|
||||||
position: relative;
|
position: relative;
|
||||||
content: attr(keys);
|
|
||||||
|
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
|
|||||||
@ -615,8 +615,8 @@ var KeyboardActions = actions.Actions({
|
|||||||
// ---
|
// ---
|
||||||
// <list of keys>
|
// <list of keys>
|
||||||
// new
|
// new
|
||||||
//
|
// XXX add view mode (read only)...
|
||||||
// XXX do not hide modes on search...
|
// XXX BUG sections with doc do not show up in title...
|
||||||
browseKeyboardBindings: ['Interface/Keyboard bindings editor (EXPERIMENTAL)...',
|
browseKeyboardBindings: ['Interface/Keyboard bindings editor (EXPERIMENTAL)...',
|
||||||
widgets.makeUIDialog(function(path){
|
widgets.makeUIDialog(function(path){
|
||||||
var actions = this
|
var actions = this
|
||||||
@ -662,6 +662,16 @@ var KeyboardActions = actions.Actions({
|
|||||||
//.addClass('mode not-searchable')
|
//.addClass('mode not-searchable')
|
||||||
.addClass('mode not-filterd-out')
|
.addClass('mode not-filterd-out')
|
||||||
|
|
||||||
|
// unpropagated keys...
|
||||||
|
make(['Unpropagated keys:',
|
||||||
|
// NOTE: this blank is so as to avoid
|
||||||
|
// sticking the action and keys
|
||||||
|
// together in path...
|
||||||
|
' ',
|
||||||
|
'$BUTTONS',
|
||||||
|
(actions.keyboard[mode].ignore || []).join(' / ')])
|
||||||
|
.addClass('ignore')
|
||||||
|
|
||||||
// bindings...
|
// bindings...
|
||||||
Object.keys(keys[mode])
|
Object.keys(keys[mode])
|
||||||
.forEach(function(action){
|
.forEach(function(action){
|
||||||
@ -671,9 +681,8 @@ var KeyboardActions = actions.Actions({
|
|||||||
// thus we are not using
|
// thus we are not using
|
||||||
// the keys attr as in
|
// the keys attr as in
|
||||||
// .browseActions(..)
|
// .browseActions(..)
|
||||||
&& make([action, '$BUTTONS']
|
&& make([action, ' ', '$BUTTONS']
|
||||||
.concat(keys[mode][action]
|
.concat(keys[mode][action].join(' / ')))
|
||||||
.join(' / ')))
|
|
||||||
.addClass('key')
|
.addClass('key')
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -697,10 +706,14 @@ var KeyboardActions = actions.Actions({
|
|||||||
cls: 'key-bindings no-item-numbers',
|
cls: 'key-bindings no-item-numbers',
|
||||||
|
|
||||||
itemButtons: [
|
itemButtons: [
|
||||||
|
// NOTE: ordering within one section is purely
|
||||||
|
// aesthetic and has no function...
|
||||||
|
// XXX do wee actually need ordering???
|
||||||
// XXX up
|
// XXX up
|
||||||
['⏶', function(){}],
|
//['⏶', function(){}],
|
||||||
// XXX down
|
// XXX down
|
||||||
['⏷', function(){}],
|
//['⏷', function(){}],
|
||||||
|
|
||||||
// XXX edit -- launch the editor...
|
// XXX edit -- launch the editor...
|
||||||
['⋯', function(){}],
|
['⋯', function(){}],
|
||||||
//['edit', function(){}],
|
//['edit', function(){}],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user