Matheus Faustino
79c6506c5c
Implement Dropbox export ( #82 ) ( #393 )
...
* Implement Dropbox export (#82 )
* Remove wrong dropbox api key
* Improve implementation of Dropbox by using identity.launchWebAuthFlow api and get rid of web_accessible_resources
* We don't need a dropbox receiver anymore, remove constante with the html file
* Implement compression in dropbox export
* Add LICENSE file from dropbox and zipjs
* Fix code style error
* Fix code style and folder structure of the feature
* Fix eslint error in dropbox implementation
* Add real dropbox api key from stylus dropbox account
* For test only: fixed addon's ID on firefox
* Change the file not found message to a better one
* Add dropdown style on export and import buttons
* Changes arrow from buttons to svg
* Remove applications entry on manifest.json
* Remove unnecessary break line
2018-11-03 13:33:35 -05:00
Rob Garrison
5f60c519ce
Alas, poor clamp! I knew it well
2018-09-24 07:02:04 -05:00
Rob Garrison
b0fbdfb6e9
Update number input on blur
2018-09-24 07:02:04 -05:00
Rob Garrison
93dee41c11
Don't re-render input while focused
2018-09-24 07:02:04 -05:00
Rob Garrison
c18671c91c
Fix undefined value
2018-09-24 07:02:04 -05:00
Rob Garrison
a0ffdb7645
Update current value in updateRangeCurrentValue
2018-09-24 07:02:04 -05:00
Rob Garrison
ec16a0c1e0
Remove onblur, don't save invalid inputs
2018-09-24 07:02:04 -05:00
Rob Garrison
40f580a0b2
Change stored number value on change
2018-09-24 07:02:04 -05:00
Rob Garrison
5af74a9d80
Remove isNumber function
2018-09-24 07:02:04 -05:00
Rob Garrison
40a3abbee8
Fix isNumber function
2018-09-24 07:02:04 -05:00
Rob Garrison
d00e5f4ddb
Change clamp function order & only call onblur
2018-09-24 07:02:04 -05:00
Rob Garrison
f2c973096b
Fix clamp function
2018-09-24 07:02:04 -05:00
Rob Garrison
2c7742e56f
Check for null in isNumber
2018-09-24 07:02:04 -05:00
Rob Garrison
15a0521408
Fix clamp function
2018-09-24 07:02:04 -05:00
Rob Garrison
f35077afce
Fix clamp undefined step
2018-09-24 07:02:04 -05:00
Rob Garrison
7fff670683
Fix clamp undefined min/max
2018-09-24 07:02:04 -05:00
Rob Garrison
375e0ec448
Switch to isNumber function
2018-09-24 07:02:04 -05:00
Rob Garrison
314ec99e5c
More suggested changes
2018-09-24 07:02:04 -05:00
Rob Garrison
0678a6b302
Remove unnecessary css
2018-09-24 07:02:04 -05:00
Rob Garrison
ff0145a129
Fix clamp to step floor
2018-09-24 07:02:04 -05:00
Rob Garrison
7be33a9237
Fix default values
2018-09-24 07:02:04 -05:00
Rob Garrison
153a066fbe
Fix clampValue issue if min/max are not defined
2018-09-24 07:02:04 -05:00
Rob Garrison
1ba0173422
Remove rangeToProps & fix clampValue functions
2018-09-24 07:02:04 -05:00
Rob Garrison
568fc336e7
Remove console.logs
2018-09-24 07:02:04 -05:00
Rob Garrison
06629224c6
Minor cleanup
2018-09-24 07:02:04 -05:00
Rob Garrison
a277800868
Fix all the things
2018-09-24 07:02:04 -05:00
Rob Garrison
7cd4380ee4
Ensure range default & value types match
2018-09-24 07:02:04 -05:00
Rob Garrison
f6998de6ec
Include units in number & range variable
2018-09-24 07:02:04 -05:00
Rob Garrison
1a8d628be5
Clamp number input from user
2018-09-24 07:02:04 -05:00
Rob Garrison
2291197277
UserCSS Number variable now accepts a range
2018-09-24 07:02:04 -05:00
Rob Garrison
d9c748d92f
Change range settings to [default, min, max, step]
2018-09-24 07:02:04 -05:00
Rob Garrison
1edfda5417
Wrap default & remove unnecessary break
2018-09-24 07:02:04 -05:00
Rob Garrison
e2b7f194c3
Don't set value on all types of input
2018-09-24 07:02:04 -05:00
Rob Garrison
3fd3c53bd9
Rename select all text function
2018-09-24 07:02:04 -05:00
Rob Garrison
74892a3130
Add select all text on focus. See #492
2018-09-24 07:02:04 -05:00
Rob Garrison
1632a8f364
Add number & range variables. See #492
2018-09-24 07:02:04 -05:00
tophf
79f6e7c3b3
rename OK to Close in the import notification
...
to disambiguate its actual function
2018-09-04 00:36:56 +03:00
tophf
4f8953adde
refresh the just edited style entry after history back
2018-08-30 09:23:55 +03:00
tophf
8cf05ee185
make the hover effect less CPU-hungry
...
* it lagged even on a fast 4GHz i7 CPU + nVidia GPU
* the 'will-change' property didn't help and even increased memory consumption
2018-08-28 20:24:43 +03:00
tophf
2fdfd96699
use the new originalDigest in update UI
...
...when force-updating a locally edited style that turned out to be equal to the remote one
fixes #482
2018-08-27 20:39:36 +03:00
tophf
95524df6f4
code cosmetics: use :: for pseudo elements
2018-08-27 17:20:48 +03:00
tophf
699b5453fb
emphasize data-skipped-edited main status message
...
thus visually separating it from the wall of text afterwards
2018-08-27 17:20:48 +03:00
tophf
f07e1b269e
don't wrap the force-check button
...
* the label text is too long and contains meaningful info
* it's displayed only rarely in normal usage scenario
2018-08-27 17:19:45 +03:00
tophf
918debe110
fix show-more in old UI and simplify generation of targets
2018-08-24 14:02:31 +03:00
tophf
b82b8e10d6
simplified font CSS
2018-08-20 13:11:02 +03:00
tophf
1ac858bd38
make font consistent and define it only once
2018-08-15 10:14:42 +03:00
tophf
ec0b1373fe
show update-all button on individual check too
...
sometimes users may want to check a bunch of styles for updates individually and install the found updates at once
2018-08-15 10:13:52 +03:00
tophf
baf037e0c4
add "Translate" link in the manager
...
#448
2018-08-06 18:48:05 +03:00
tophf
d8914c38a7
highlight edited style on history back in FF
2018-08-02 21:10:43 +03:00
tophf
5da1e0fb9b
set onbeforeunload only when dirty
...
https://developers.google.com/web/updates/2018/07/page-lifecycle-api#legacy-lifecycle-apis-to-avoid
2018-08-02 20:54:40 +03:00
tophf
fa4dfd680b
simplify manage:export code
2018-08-02 15:52:34 +03:00
tophf
71e2db773b
typo
2018-08-02 14:48:26 +03:00
tophf
e2c053f81b
keep the exported styles URL alive indefinitely
2018-08-02 14:19:03 +03:00
tophf
e5a557369b
vertically center the labels
...
this also fixes the bug with covering the descender in letters like "g" when the label is shown in the second row of a style name due to wrapping
2018-07-30 11:45:33 +03:00
tophf
ee4c4de059
code cosmetics: combine and simplify
2018-07-28 23:39:49 +03:00
tophf
363b8a7bf1
skip empty applies-to values
2018-07-28 21:04:29 +03:00
tophf
c6724b02d3
code cosmetics: pacify eslint
2018-07-21 21:04:47 +03:00
narcolepticinsomniac
70b8a1172f
Responsive layout ( #410 )
2018-07-16 19:37:01 +03:00
tophf
b5b0bcaf19
tabs should open next to the manager tab
...
closes #427
2018-07-11 19:04:05 +03:00
tophf
3bb4e0af9f
autosize filters only if the width > 0
2018-07-07 20:47:00 +03:00
tophf
fc50ee2e2c
disable '#header select' autosizing in Vivaldi
2018-06-27 15:42:35 +03:00
tophf
349c33b478
set even/odd class based on html { --columns: # } variable
2018-05-16 03:53:38 +03:00
tophf
1d0ca613f9
handleUpdate may alter/add an entry which needs to be sorted
2018-05-15 14:56:12 +03:00
tophf
68165e8fa2
filters affect striping, not the sort order
2018-05-15 12:21:30 +03:00
tophf
e80efa7604
FF: hotkeys dialog
2018-04-12 21:28:45 +03:00
tophf
dd5cd5c686
correctly show "Everything" in applies-to column
...
* don't show it twice
* show it if the style targets were actually removed since the last paint
2018-03-19 07:10:59 +03:00
tophf
66704a78b3
actually use 'pre' font for code errors in messageBox.alert/confirm
2018-03-11 16:31:25 +03:00
tophf
6b0628a7ee
CSS containment was buggy in Chrome before 58.0.3004
...
fixes #355
2018-02-28 05:04:35 +03:00
tophf
fd3a09eee9
ensure the state tooltip is above the sites
2018-02-26 23:20:25 +03:00
tophf
ab4f7f3e91
entry state may exceed entry bounds
2018-02-26 23:18:49 +03:00
tophf
0fd5d100c9
update filter stats after deleting a style
2018-02-26 23:16:10 +03:00
tophf
e4150aa8b0
sort only after filtering is complete
2018-02-26 22:57:03 +03:00
tophf
ceb11ae52a
ignore dates and other meta data when diffing
2018-02-26 22:56:42 +03:00
tophf
e42ea2e383
restore correct position of update state faux button tooltip
2018-02-26 22:55:30 +03:00
tophf
42c7f39e73
refilter just once on a single update job
...
fixes #353
2018-02-26 22:54:35 +03:00
tophf
d82dceada9
code cosmetics
2018-02-16 12:49:53 +03:00
tophf
b9b2c4cbd7
correctly finish check-all-updates before updating UI
...
now that we use messaging for the observer we can't use Promise for the final task;
fixes #341
2018-02-16 12:43:22 +03:00
narcolepticinsomniac
c1b47e4b23
Style non-select filter labels to match
...
Non-select filter labels and their contents were misaligned. They were also shorter with lighter hover backgrounds. Everything should match up now. There's only one currently, but I used general selectors which should work in case any new ones are added.
2018-02-13 16:44:21 -05:00
tophf
5b4ecfc3e4
fix click area of filter checkboxes
...
#332
2018-01-24 03:26:52 +03:00
tophf
4493c9e9f0
don't double-process 'styleUpdated' in manager
2018-01-14 18:18:08 +03:00
tophf
989df35b05
live preview in editor
...
* refreshAllTabs was extracted
* ...and fixed to use each frame's url when getting the styles
2018-01-12 00:54:36 +03:00
tophf
0c2c86a8de
update favicons in handleUpdate
2018-01-12 00:53:35 +03:00
tophf
23fcbd6c27
fixup 7de3e37a: handleUpdateInstalled is for .updatable only
2018-01-07 16:53:41 +03:00
tophf
3df4a86428
add a workaround for Chrome 65 bug https://crbug.com/714373
2018-01-07 15:12:14 +03:00
tophf
45219a88c1
microoptimization: 'style' is already a deep-copy
2018-01-04 22:47:29 +03:00
tophf
c553c0270e
unstick the unchecked newUI option from the buttons below
2018-01-04 22:36:31 +03:00
tophf
392ca4c988
add "configure" button in the old UI
2018-01-04 22:35:12 +03:00
tophf
1c432b2868
fixup 77a07b7f: don't invoke editor on clicking the name
2018-01-04 22:25:03 +03:00
tophf
66f176992b
fixup 671b2765: don't show favicons in old UI
2018-01-04 22:20:03 +03:00
tophf
d94b9a0ab7
fixup: show available updates on manual check
2018-01-03 20:26:20 +03:00
tophf
1eea8fdbbf
fixups for refreshAllTabs
2018-01-03 18:26:31 +03:00
tophf
d346cb0a5a
reduce newUI entry vertical padding and define it in one place
2018-01-03 16:53:00 +03:00
tophf
3418ac9cb9
FF: support private/container tabs
2018-01-03 10:43:56 +03:00
Rob Garrison
671b276532
Attempt to get favicon for RegExp match ( #321 )
...
show favicons for regexp() in applies-to column
2018-01-01 08:17:43 +03:00
tophf
60a6fdb481
clear previous update status classes
2018-01-01 08:04:52 +03:00
narcolepticinsomniac
0368759081
Fix overlapping hover backgrounds
2017-12-31 04:25:58 -05:00
tophf
16f98ed250
auto-adjust #add-style-wrapper to various font height
2017-12-29 20:27:37 +03:00
tophf
fef10b1638
use a readable font for Japanese/Chinese
2017-12-29 20:23:54 +03:00
tophf
dea0edbdac
don't wrap entry labels
2017-12-29 18:19:25 +03:00
tophf
673906cfd5
don't cut the text in a closed sort selector
...
#319
2017-12-29 17:54:15 +03:00