some tuning and cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-01-07 03:58:18 +03:00
parent 1b370d3f21
commit c0e678ace5
2 changed files with 21 additions and 4 deletions

View File

@ -31,6 +31,7 @@ var browseWalk = require('lib/widget/browse-walk')
// - image type to open
// XXX add root button...
// XXX disable the remove button on "System default"
// XXX move the CSS out of index.html and into a correct CSS file...
// XXX move this to a separate feature...
var ExternalEditorActions = actions.Actions({
@ -268,6 +269,7 @@ module.ExternalEditorUI = core.ImageGridFeatures.Feature({
/**********************************************************************
* vim:set ts=4 sw=4 : */
return module })

View File

@ -124,26 +124,41 @@ body {
.browse-widget.editor-list .list div:first-child .text:after {
/* External Editor List */
.browse-widget.editor-list .list>div:first-child .text:after {
content: "(primary)";
margin-left: 5px;
opacity: 0.5;
font-style: italic;
}
.browse-widget.editor-list .list div:nth-child(2) .text:after {
/* XXX this is ugly -- use a class... */
.browse-widget.editor-list .list>div:first-child .button:nth-child(4) {
opacity: 0.1;
}
.browse-widget.editor-list .list>div:nth-child(2) .text:after {
content: "(secondary)";
margin-left: 5px;
opacity: 0.5;
font-style: italic;
}
.browse-widget.editor-list .list div:last-child .text {
/* XXX this is ugly -- use a class... */
.browse-widget.editor-list .list>div:nth-child(2) .button:nth-child(3) {
opacity: 0.1;
}
/* XXX STUB: use a button instead of a list element... */
.browse-widget.editor-list .list>div:last-child {
border-top: solid 1px rgba(255,255,255, 0.2);
}
.browse-widget.editor-list .list>div:last-child .text {
font-style: italic;
}
.browse-widget.editor-list .list div:last-child .button {
.browse-widget.editor-list .list>div:last-child .button {
display: none;
}
/* DEBUG stuff... */
.container-center {
position: absolute;