Commit Graph

39 Commits

Author SHA1 Message Date
tophf
66704a78b3 actually use 'pre' font for code errors in messageBox.alert/confirm 2018-03-11 16:31:25 +03:00
tophf
3418ac9cb9 FF: support private/container tabs 2018-01-03 10:43:56 +03:00
tophf
d0380f76c3 rewrite colorview to use CodeMirror::TextMarker
* solves all problems with glitching on selection etc.
* perceived performance is same due to lazy-processing
* colors unsupported in current browser are displayed internally as RGB
* the color text is highlighted in the editor when popup is invoked
2017-12-22 11:22:35 +03:00
tophf
fefe82fd54 remove what-input, use own implementation, rebase on master 2017-12-13 03:27:10 +03:00
Rob Garrison
2cdd264780 fixups
Manage: Disable tabindex in nested buttons
Manage: Fix homepage link alignment
Manage: Make entry actions keyboard navigatable
Manage: Add search help accessibility
Msgbox: Save and restore focus
Manage: Fix delete confirmation cancel
Manage: Make history button accessible
Manage: Make favicons dropdown accessible
Manage: Prevent focus on hidden textarea
Msgbox: Stop tabbing outside of msgbox
Usercss: Make nondefault reset accessible
Usercss: Make colorpicker accessible
Edit: Disable tabindex in nested buttons
Edit: Make info and config icons accessible
Options: Cleanup HTML
Options: Make advanced toggle accessible
Edit: Fix issues popup
Edit: Remove link underlines from icons
2017-12-12 21:40:31 +03:00
tophf
522a2bdab3 deep-copy style for popup's configDialog
see #298
2017-12-10 10:11:18 +03:00
tophf
30fa9671c8 debounce autosave more, prevent re-entry
see #298
2017-12-10 06:02:25 +03:00
tophf
ca40eb9481 fixup 3318db19: read 'checked' state from checkboxes
fixes #297
2017-12-09 19:29:17 +03:00
tophf
ae9d33cf37 use the much shorter "Reset" label in config dialog 2017-12-08 22:32:35 +03:00
tophf
8a777b5d23 restore disabled state dimming on buttons and selects 2017-12-08 22:26:53 +03:00
tophf
2deffbc622 show "x" to reset non-default values in usercss config individually
also:
* simplified CSS selectors where possible
* .config-name = var name, 1st element in <label>
* .config-value = var value, 2nd element in <label>
* .nondefault class added on <label>
2017-12-08 03:23:09 +03:00
tophf
3318db1999 show .config-error on failure to save 2017-12-08 01:08:25 +03:00
tophf
f40dc29497 add rudimentary reject/catch for mozParser inside worker 2017-12-07 08:41:52 +03:00
tophf
38e0937f45 config dialog tweaks
* same icon in manager
  (didn't change the editor config icons as those aren't for usercss)

* "external" icon for USO styles to avoid confusion
  (opening a tab is an extremely different action)

* smaller paddings in popup

* removed hover effect on label text
  (necause native <select> elements cannot be expanded from js)

* various fixups
2017-12-07 01:07:55 +03:00
tophf
543132aafa auto-apply on changes - new option in usercss config 2017-12-06 23:33:48 +03:00
tophf
0659ff6233 set "use default" button actual state on opening config dialog 2017-12-06 11:35:04 +03:00
tophf
30aeb8d2c4 don't fade popup config dialog backdrop as it looks glitchy 2017-12-06 03:16:53 +03:00
tophf
e776a45dfa allow continuous tweaking in usercss config dialog
* don't close on clicking "save" to allow continuous tweaking
* dirty item's label is marked with * and switches to italic
* "save" button is enabled when some value differs from saved
* "use default" button is enabled when some value differs from its default
* "close" becomes "cancel" when there are unsaved changed values
2017-12-06 03:03:50 +03:00
tophf
de74c70778 actually use selected values in popup config dialog 2017-12-06 01:17:22 +03:00
tophf
a6f63d096e extract checkboxes to global.css, fixes 2017-12-05 04:39:29 +03:00
tophf
c0c60fb7a2 add a terse invocation syntax for $element and rename it to $create 2017-12-04 08:57:12 +03:00
narcolepticinsomniac
c2d68612ec
Common selector for non-traditional checkbox inputs 2017-11-27 23:10:32 -05: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
2e03c9c9c0 same colorpicker in the manager 2017-11-27 14:54:18 +03:00
tophf
a603cc081b use the same "configure" icon in editor an manager 2017-11-27 14:53:34 +03:00
eight
78c1a1bd3c Fix: el -> elements 2017-11-09 09:12:16 +08:00
eight
dd64551a36 Fix: set dirty prop in one line 2017-11-09 09:12:16 +08:00
eight
c17433c350 Fix: use switch-case 2017-11-09 09:12:16 +08:00
eight
5a9f78e2ac Add: key:label syntax in var select 2017-11-04 08:38:17 +08:00
eight
db1643e9b8 Refactor: pull out colorParser 2017-11-01 11:18:13 +08:00
eight
79b6266cf9 Fix: no new line before use strict 2017-11-01 11:13:57 +08:00
eight
c1d2857953 Add: config dialog heading - feedback link 2017-10-15 04:18:22 +08:00
eight
a0495f466f Change style structure 2017-09-16 10:14:23 +08:00
eight
ccb5f488e5 Fix: move to new format 2017-09-15 14:11:58 +08:00
eight
20481c9180 Fix: i18n config dialog 2017-09-12 01:59:56 +08:00
eight
bf455752ec Use options dialog style 2017-09-07 01:51:28 +08:00
eight
4e0f4b34bb Add: colorParser 2017-09-07 01:51:27 +08:00