mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bad240240d
commit
5517204b3b
@ -298,6 +298,9 @@ body {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
.browse-widget.key-bindings .list>.mode span:first-child {
|
||||||
|
margin-left: -0.5em;
|
||||||
|
}
|
||||||
.browse-widget.key-bindings .list>.mode .doc {
|
.browse-widget.key-bindings .list>.mode .doc {
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
|
|
||||||
@ -314,7 +317,8 @@ body {
|
|||||||
background: rgba(0, 0, 0, 0.7);
|
background: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.browse-widget.key-bindings .list>.key {
|
.browse-widget.key-bindings .list>div:not(.selected):not(.mode):nth-child(even) {
|
||||||
|
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);
|
||||||
@ -342,6 +346,15 @@ body {
|
|||||||
.browse-widget.key-bindings .list>.new.selected {
|
.browse-widget.key-bindings .list>.new.selected {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* dark theme... */
|
||||||
|
.dark .browse-widget.key-bindings .list>.mode {
|
||||||
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
.dark .browse-widget.key-bindings .list>div:not(.selected):not(.mode):nth-child(even) {
|
||||||
|
background: rgba(255, 255, 255, 0.03);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* DEBUG stuff... */
|
/* DEBUG stuff... */
|
||||||
|
|||||||
@ -310,31 +310,31 @@
|
|||||||
margin-left: -15px;
|
margin-left: -15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.browse-widget .list>div:nth-of-type(1) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(1) .text:first-child:before {
|
||||||
content: "1";
|
content: "1";
|
||||||
}
|
}
|
||||||
.browse-widget .list>div:nth-of-type(2) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(2) .text:first-child:before {
|
||||||
content: "2";
|
content: "2";
|
||||||
}
|
}
|
||||||
.browse-widget .list>div:nth-of-type(3) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(3) .text:first-child:before {
|
||||||
content: "3";
|
content: "3";
|
||||||
}
|
}
|
||||||
.browse-widget .list>div:nth-of-type(4) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(4) .text:first-child:before {
|
||||||
content: "4";
|
content: "4";
|
||||||
}
|
}
|
||||||
.browse-widget .list>div:nth-of-type(5) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(5) .text:first-child:before {
|
||||||
content: "5";
|
content: "5";
|
||||||
}
|
}
|
||||||
.browse-widget .list>div:nth-of-type(6) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(6) .text:first-child:before {
|
||||||
content: "6";
|
content: "6";
|
||||||
}
|
}
|
||||||
.browse-widget .list>div:nth-of-type(7) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(7) .text:first-child:before {
|
||||||
content: "7";
|
content: "7";
|
||||||
}
|
}
|
||||||
.browse-widget .list>div:nth-of-type(8) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(8) .text:first-child:before {
|
||||||
content: "8";
|
content: "8";
|
||||||
}
|
}
|
||||||
.browse-widget .list>div:nth-of-type(9) .text:first-child:before {
|
.browse-widget:not(.no-item-numbers) .list>div:nth-of-type(9) .text:first-child:before {
|
||||||
content: "9";
|
content: "9";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -610,6 +610,7 @@ var KeyboardActions = actions.Actions({
|
|||||||
// * add ability to disable key (???)
|
// * add ability to disable key (???)
|
||||||
// XXX key editor:
|
// XXX key editor:
|
||||||
//
|
//
|
||||||
|
// [ mode ]
|
||||||
// [ action (text with dataset) ] [ args (text field) ] no default: [_]
|
// [ action (text with dataset) ] [ args (text field) ] no default: [_]
|
||||||
// ---
|
// ---
|
||||||
// <list of keys>
|
// <list of keys>
|
||||||
@ -693,7 +694,7 @@ var KeyboardActions = actions.Actions({
|
|||||||
.addClass('new')
|
.addClass('new')
|
||||||
})
|
})
|
||||||
}, {
|
}, {
|
||||||
cls: 'key-bindings',
|
cls: 'key-bindings no-item-numbers',
|
||||||
|
|
||||||
itemButtons: [
|
itemButtons: [
|
||||||
// XXX up
|
// XXX up
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user