diff --git a/backup/fileSaveLoad.js b/backup/fileSaveLoad.js index 89db6fc9..0cfc22e3 100644 --- a/backup/fileSaveLoad.js +++ b/backup/fileSaveLoad.js @@ -59,7 +59,7 @@ function importFromString(jsonString) { const nextStyle = json.shift(); if (nextStyle) { saveStyle(nextStyle, {notify: false}).then(style => { - handleUpdate(style); + handleUpdate(style, {reason: 'import'}); setTimeout(proceed, 0); }); } else { diff --git a/manage.css b/manage.css index b83669de..9afe0ff0 100644 --- a/manage.css +++ b/manage.css @@ -42,7 +42,7 @@ a.homepage { .entry { margin: 0; - padding: 1.25em 2em 1.5em; + padding: 1.25em 2em; border-top: 1px solid #ddd; } @@ -71,6 +71,11 @@ a.homepage { color: inherit; } +.style-name-link:hover { + text-decoration: underline; + color: black; +} + .applies-to { word-break: break-word; } @@ -81,6 +86,19 @@ a.homepage { margin-bottom: 0; } +.actions { + display: flex; + flex-wrap: wrap; +} + +.actions > * { + margin-bottom: .25rem; +} + +.actions > *:not(:last-child) { + margin-right: .25rem; +} + .applies-to > :first-child { margin-right: .5ex; } @@ -160,6 +178,20 @@ a.homepage { display: none; } +/* highlight updated/added styles */ +.highlight { + animation: highlight 10s cubic-bezier(0,.82,.47,.98); +} + +@keyframes highlight { + from { + background-color: rgba(128, 128, 128, .5); + } + to { + background-color: none; + } +} + .hidden { display: none } diff --git a/manage.html b/manage.html index ea2629d6..e561dc06 100644 --- a/manage.html +++ b/manage.html @@ -7,7 +7,7 @@