tophf
d263bc8e55
disallow more nav keys in colorpicker hotkey config dialog
2017-12-02 17:15:55 +03:00
tophf
c11c100cbb
circumvent the bug with disabling check marks in Chrome 62+
...
fixes #272
2017-12-02 16:13:40 +03:00
tophf
fdcdaf3db5
process the just added/updated styles in "only external" filter
2017-12-02 07:07:51 +03:00
tophf
7de3e37a51
show "Style installed" in manager for styles added while it's open
2017-12-02 07:07:12 +03:00
tophf
536064ae9a
csslint fixup 88885403: 'simple' doesn't support conditional grammar
2017-12-02 05:13:55 +03:00
tophf
f05debf686
popup: show hotkey info upon clicking the area on the right
2017-12-02 04:07:09 +03:00
Rob Garrison
3c0b14a477
Install usercss ( #269 )
...
install-usercss: restyle "Install style" button
2017-12-02 02:43:01 +03:00
tophf
0eaee16f7e
csslint: allow "transparent" in SVG colors
2017-12-01 23:04:38 +03:00
tophf
f3be825d25
csslint: expand referenced rules when describing errors
2017-12-01 22:55:39 +03:00
tophf
5bdaacc049
stabilize token highlighting for the match/search mode
2017-12-01 21:16:19 +03:00
tophf
2760b0764b
fixup b41cc8bc: only rewrite query if regexp
2017-12-01 16:22:43 +03:00
tophf
bf8d33a3f4
followup for a60d53de: move #footer down when #lint is collapsed
2017-12-01 06:17:24 +03:00
tophf
88885403ad
csslint: CSS Box Alignment Module Level 3 (ED Nov 14)
...
https://drafts.csswg.org/css-align/
2017-12-01 05:52:23 +03:00
tophf
b41cc8bca3
4x speed-up of showMatchesOnScrollbar
...
at the cost of a marginally reduced accuracy when line wrapping is enabled, but the difference shouldn't be more than a few pixels, presumably
2017-12-01 05:14:52 +03:00
tophf
a6fbc9db11
render lint squigglies 4x faster
...
* turns out codemirror lint addon doesn't open an overall op,
instead it creates an op for each marker.
* also, now there's no need to disable the lint option when initializing codemirror
2017-12-01 03:49:09 +03:00
tophf
f5516db8f4
off-load mozParser to a worker
2017-12-01 02:35:56 +03:00
tophf
9c3229717f
fixup d660e6bd: off-by-1 in parseStringUnquoted
2017-12-01 00:23:06 +03:00
tophf
71f3dfbffd
usercss: don't relint on save; mode is an object once initialized
2017-11-30 20:42:52 +03:00
tophf
a61ee5f093
fixup 362d9444: autoscroll manage page only during incremental search
2017-11-30 01:13:13 +03:00
tophf
6f0dd5e9b6
fixup 362d9444: never scroll manage page on toggling a visible entry
2017-11-30 00:54:40 +03:00
tophf
e6109d509b
increase opacity on disabled entries to restore readability
...
followup to 56fb1c2f
2017-11-30 00:14:17 +03:00
tophf
a60d53de29
edit: workaround for <details> not showing the toggle
2017-11-29 19:27:31 +03:00
tophf
189342472e
manage: collapsible #options block
2017-11-29 19:27:31 +03:00
tophf
c0a227fa39
popup: show style numbers, add more hotkeys
...
numpad 0-9 same as 0-9
numpad + enables all listed
numpad - disables all listed
numpad * and ` (backtick) - toggles initially enabled styles;
doesn't apply to subsequently enabled styles while the popup is open
so you can restore the initial selection after testing stuff:
simply disable all, then toggle i.e. numpad -, numpad *
2017-11-29 17:59:02 +03:00
tophf
362d944428
manage: incremental search on typing + up/down arrows
2017-11-29 17:59:02 +03:00
tophf
b762f48135
usercss install: reuse current tab for editor when possible
2017-11-29 17:59:01 +03:00
tophf
cbe90272b9
silence some useless warnings in console
2017-11-29 17:59:01 +03:00
tophf
fc0b1dc739
fixup 493c1a65: missed some null checks and a return
2017-11-29 17:59:00 +03:00
tophf
c4690a839f
also restore the subdued appearance of "disabled" suffix
...
originally it didn't even have a background so even the faint one we had for the last year is borderline acceptable so let's keep it
2017-11-29 17:56:13 +03:00
tophf
9779c0439f
unfade disabled entry's action buttons only on hover
...
thus the historical appearance is preserved by default
2017-11-29 17:39:21 +03:00
Rob Garrison
56fb1c2f93
Fix appearance of non-disabled elements
2017-11-29 17:28:04 +03:00
tophf
d72aa0fa36
manage: fix applies-to overflow with long strings; add some vars
2017-11-29 15:15:34 +03:00
narcolepticinsomniac
e90de3783a
svg-icon hover and dim disabled checkbox label text
...
@tophf The bold font and copious padding on the install button is overkill IMO. Almost all our buttons are default, but if we wanna go a little bigger, I'd prefer them more like the "overwrite" and "append" buttons.
2017-11-29 06:24:46 -05:00
narcolepticinsomniac
efecfd926a
Same SVG selector for install page
2017-11-29 05:37:37 -05:00
tophf
be633bf903
usercss: update URL and sessionStorage on replacing the style
2017-11-29 13:35:27 +03:00
tophf
260cbddae0
usercss: force-refresh codemirror on saving to repaint vars
2017-11-29 13:27:55 +03:00
tophf
b995a9d316
usercssData.vars may be absent (e.g. in unsaved style)
...
fixes #267
2017-11-29 13:24:13 +03:00
tophf
bf13383c93
workaround for URLSearchParams not stripping "?" in chrome 49-51
2017-11-28 22:19:00 +03:00
tophf
a64dc26dd7
popup: toggle/edit styles from keyboard
...
1-9, 0 - toggles Nth displayed style (0 is 10)
a-z: - toggles first style with a name that starts with the letter
Shift - opens editor instead of toggling
2017-11-28 20:37:53 +03:00
tophf
39c6d897ed
mozImport: show hotkey in button tooltip
2017-11-28 20:07:38 +03:00
tophf
d39e9f6037
show most of the sidebar in big codemirror popups
2017-11-28 20:07:38 +03:00
tophf
493c1a65c0
worker for stylelint; hints in linter config popup
2017-11-28 20:07:37 +03:00
narcolepticinsomniac
c2d68612ec
Common selector for non-traditional checkbox inputs
2017-11-27 23:10:32 -05:00
narcolepticinsomniac
1f0d6fb4e9
Common selector for non-traditional checkbox inputs
2017-11-27 23:09:52 -05:00
tophf
99512da9da
use CSSLint in a web werkker
2017-11-27 17:02:30 +03:00
tophf
f3cf6e1856
usercss config: delete only missing vars on save
2017-11-27 15:57:32 +03:00
tophf
0b57fa4810
fixup: don't constrain unset values
2017-11-27 15:22:49 +03:00
tophf
c31495c283
usercss config: skip and warn about mismatching vars on saving
2017-11-27 15:02:10 +03:00
tophf
fad03fb7c9
colorpicker: invoke callback on first color change
2017-11-27 14:54:19 +03:00
tophf
761f6a5085
fix an ancient bug with setting tabSize option to a string
2017-11-27 14:54:19 +03:00