Commit Graph

14 Commits

Author SHA1 Message Date
tophf
4936426fa3 dom.js: extract common DOM functions 2017-04-18 12:46:22 +03:00
tophf
8bcd7f60c5 Restore implicit handleUpdate in saveStyle 2017-04-18 12:46:22 +03:00
tophf
b1c19bdf3d Import styles: show report with Undo button 2017-04-18 12:46:22 +03:00
tophf
c1338e63d1 Highlight updated/saved style in manage page 2017-04-18 12:43:30 +03:00
tophf
2f4da37fdb Refactor and speed up popup & manager
Popup:
* Enforce 200-800px range for the popup width option

Manage:
* faster search via cachedStyles.byId
* faster restoration of search results on history nav
* style name is clickable and opens the editor
* animated highlight of style element on update/add/save
* expandable extra applies-to targets
* remember scroll position on normal history navigation
* boz-sizing in #header, also in editor
* applies-to targets use structured markup
* get*Tab*, enableStyle and deleteStyle are promisified
2017-04-18 12:43:29 +03:00
tophf
08509b8cc2 Support file drag-n-drop on the entire manage page 2017-03-16 13:32:13 +03:00
tophf
d49622dd27 Make exported styles JSON human-readable by indenting 2017-03-16 13:32:12 +03:00
tophf
38006847f7 Don't apply styles until import is finished 2017-03-16 13:32:12 +03:00
Jeremy Schomery
ac967ace5e fixes https://github.com/schomery/stylish-chrome/issues/13#issuecomment-284582600 2017-03-08 11:43:35 +03:30
Jeremy Schomery
fb45e86648 fixes #13 2017-03-06 18:15:49 +03:30
Jeremy Schomery
f8fc82cae7 code cleanup; fileSaveLoad.js 2017-02-05 09:55:44 +03:30
Jeremy Schomery
b07cf590b9 restyling backup/fileSaveLoad.js 2017-02-03 12:54:47 +03:30
Jeremy Schomery
92d0acfbe3 fixes #11 2017-02-03 12:47:26 +03:30
narcolepticinsomniac
7904cf9b6f Add files via upload 2017-01-30 14:02:50 -05:00