Commit Graph

253 Commits

Author SHA1 Message Date
Rob Garrison
2e9f470ac4 Alas, poor clamp! I knew it well 2018-09-20 04:25:45 -05:00
Rob Garrison
270e048814 Update number input on blur 2018-09-20 03:34:37 -05:00
Rob Garrison
e595f23c01 Don't re-render input while focused 2018-09-20 02:39:24 -05:00
Rob Garrison
ebda94f5ff Fix undefined value 2018-09-19 08:35:52 -05:00
Rob Garrison
2574eaba9e Update current value in updateRangeCurrentValue 2018-09-19 08:31:52 -05:00
Rob Garrison
b1a9703925 Remove onblur, don't save invalid inputs 2018-09-19 08:27:29 -05:00
Rob Garrison
217e17840c Change stored number value on change 2018-09-19 07:44:51 -05:00
Rob Garrison
6bb5728432 Remove isNumber function 2018-09-19 07:30:15 -05:00
Rob Garrison
df6a301875 Fix isNumber function 2018-09-19 07:09:36 -05:00
Rob Garrison
c7dae46da8 Change clamp function order & only call onblur 2018-09-19 07:09:10 -05:00
Rob Garrison
59bf220925 Fix clamp function 2018-09-18 08:17:22 -05:00
Rob Garrison
0e5414b944 Check for null in isNumber 2018-09-18 08:14:00 -05:00
Rob Garrison
0faf2c2a6b Fix clamp function 2018-09-18 08:12:34 -05:00
Rob Garrison
69b2955aa5 Fix clamp undefined step 2018-09-18 07:46:54 -05:00
Rob Garrison
33153ccbc8 Fix clamp undefined min/max 2018-09-18 07:45:53 -05:00
Rob Garrison
e67aad9c8b Switch to isNumber function 2018-09-18 07:40:30 -05:00
Rob Garrison
74979ebea5 More suggested changes 2018-09-17 23:16:14 -05:00
Rob Garrison
0f92592ed2 Remove unnecessary css 2018-09-17 23:16:14 -05:00
Rob Garrison
dbf736e4bb Fix clamp to step floor 2018-09-17 23:16:08 -05:00
Rob Garrison
d0e4d2d5c0 Fix default values 2018-09-17 23:09:05 -05:00
Rob Garrison
6c8be9f4e5 Fix clampValue issue if min/max are not defined 2018-09-16 18:56:45 -05:00
Rob Garrison
06cfdc4c9a Remove rangeToProps & fix clampValue functions 2018-09-16 18:23:50 -05:00
Rob Garrison
3b3a1266e4 Remove console.logs 2018-09-16 17:30:20 -05:00
Rob Garrison
0ed4f69a2c Minor cleanup 2018-09-16 17:25:46 -05:00
Rob Garrison
e216e2a7a0 Fix all the things 2018-09-16 17:17:56 -05:00
Rob Garrison
a3d0c0b810 Ensure range default & value types match 2018-09-16 17:17:56 -05:00
Rob Garrison
e4b73f3e49 Include units in number & range variable 2018-09-16 17:17:56 -05:00
Rob Garrison
652732c3eb Clamp number input from user 2018-09-16 17:17:56 -05:00
Rob Garrison
290c5f6c56 UserCSS Number variable now accepts a range 2018-09-16 17:17:55 -05:00
Rob Garrison
2f73f8b0eb Change range settings to [default, min, max, step] 2018-09-16 17:17:55 -05:00
Rob Garrison
18e5a08a1c Wrap default & remove unnecessary break 2018-09-16 17:17:55 -05:00
Rob Garrison
a2bbc8da3a Don't set value on all types of input 2018-09-16 17:17:55 -05:00
Rob Garrison
37ad749a62 Rename select all text function 2018-09-16 17:17:55 -05:00
Rob Garrison
018c0eaf88 Add select all text on focus. See #492 2018-09-16 17:17:54 -05:00
Rob Garrison
4b95c973c1 Add number & range variables. See #492 2018-09-16 17:17:54 -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