Commit Graph

341 Commits

Author SHA1 Message Date
tophf
baf037e0c4 add "Translate" link in the manager
#448
2018-08-06 18:48:05 +03:00
tophf
35baf6f018 show the reason why update/liveReload is unavailable
fixes #458
2018-08-06 12:45:53 +03:00
tophf
b34a3fd9a4 update locales 2018-07-23 21:25:36 +03:00
tophf
0c58783a6c add buttons to restore, clone, move a section 2018-07-23 21:24:35 +03:00
tophf
47c4b8157a expose 'preserve_newlines' in beautifier; dehtmlize
fixes #435
2018-07-23 00:28:11 +03:00
tophf
9266d6bbc5 clarify help text for url: search 2018-07-17 16:40:01 +03:00
tophf
2e95fcc32b code cosmetics: spaces 2018-07-17 11:34:35 +03:00
tophf
0a6135c2cc update locales 2018-07-11 16:11:48 +03:00
tophf
26aab6c926 update locales 2018-07-10 11:37:13 +03:00
tophf
07925f113a update locales 2018-07-08 12:56:13 +03:00
tophf
54bd8effea update locales 2018-07-05 22:18:22 +03:00
tophf
802da575a8 update locales 2018-07-04 15:39:29 +03:00
tophf
3f761973e0 update locales 2018-07-04 01:22:50 +03:00
tophf
6fb6b4ee6a update locales 2018-06-19 02:58:08 +03:00
tophf
22e76cc5f2 update locales 2018-05-06 13:22:34 +03:00
tophf
6da7328d08 update locales 2018-05-04 22:29:13 +03:00
tophf
8f203c7a1e update locales 2018-04-30 20:45:37 +03:00
tophf
8de37d300c update locales 2018-04-19 20:02:23 +03:00
tophf
0614aa2eee new editor option: selectByTokens
implements #361 except for toggling via Ctrl
2018-04-18 19:33:36 +03:00
tophf
4b0a71918a update locales 2018-04-09 17:33:10 +03:00
tophf
5d684b3d7d update locales 2018-03-31 17:16:44 +03:00
tophf
9969266379 FF60+: show additional info in popup on AMO
#312
2018-03-23 01:44:40 +03:00
tophf
049c131e77 update locales 2018-03-02 15:58:23 +03:00
tophf
f40c9f9a16 update locales 2018-02-25 16:46:21 +03:00
tophf
c5ef92cf9c add the site section to a custom usercss template for new styles
fixes #352
2018-02-22 12:41:55 +03:00
tophf
7f70445174 update locales 2018-02-17 14:20:54 +03:00
tophf
ddc6c3e1c3 update locales 2018-02-02 09:04:26 +03:00
tophf
d94ded8d94 update locales 2018-01-23 18:00:20 +03:00
tophf
a3962b7adf put https://top.site.origin in "stylus-iframe" attr 2018-01-19 15:37:26 +03:00
tophf
efbbe147e4 update locales 2018-01-14 18:36:02 +03:00
tophf
fb1ef71f25 don't save the style in toggleStyle; use data-hotkey-tooltip 2018-01-12 14:32:15 +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
50c4580f64 update locales 2018-01-07 17:30:55 +03:00
tophf
eb426f6ee3 update locales 2018-01-06 10:42:30 +03:00
tophf
a339b50e27 allow live-reload without reinstalling 2018-01-04 13:36:27 +03:00
tophf
28e9e38dad remove 'dysfunctional' page 2018-01-03 10:44:12 +03:00
tophf
62e333a0ba update locales 2018-01-01 14:14:43 +03:00
tophf
5e95193ed8 update locales 2017-12-30 04:34:30 +03:00
tophf
a0b2d0ef68 typo in description 2017-12-29 13:22:41 +03:00
tophf
05c9e6db0c update locales 2017-12-26 14:42:26 +03:00
Rob Garrison
5a07bbb1e3 Add manager sort block 2017-12-25 12:17:18 +03:00
tophf
9f00e5a2f7 update locales 2017-12-23 07:25:26 +03:00
tophf
a2644fdaba update locales 2017-12-22 12:05:19 +03:00
tophf
4946aad684 FF: allow access to AMO in FF (actually works in 59+)
fixes #312
2017-12-22 08:36:10 +03:00
tophf
78080df6fd show "click to uninstall" overlay, hide install/delete buttons 2017-12-19 08:48:54 +03:00
tophf
9e1e5cec46 update locales 2017-12-19 03:32:15 +03:00
tophf
d10e83d15c editor: rewrite global search/replace 2017-12-18 10:27:50 +03:00
tophf
addc5af96d update locales 2017-12-14 00:13:15 +03:00
tophf
8265d0c8e4 fixup 6d3cb733: remove trailing comma 2017-12-13 20:14:51 +03:00
tophf
6d3cb73324 "Estimated number of total pages" in the tooltip 2017-12-13 09:34:51 +03:00
tophf
fd4300f841 add a wiki link, shorten the USO link, use https everywhere 2017-12-13 07:15:40 +03:00
tophf
5452979366 simplify the options page 2017-12-12 04:20:51 +03:00
tophf
dc535ee509 update locales 2017-12-11 23:57:00 +03:00
tophf
c3d9e8030b typos and code cosmetics 2017-12-11 23:45:42 +03:00
tophf
0390a703af restore findStylesForSite to avoid retranslation 2017-12-11 23:25:03 +03:00
tophf
1d9ec09d62 simplify inline search DOM structure 2017-12-11 13:03:03 +03:00
tophf
ce61112020 reuse "configure" message and simplified tooltip
we'll implement a built-in config dialog for USO styles in the future
2017-12-10 00:05:31 +03:00
derv
ce278fb4d0 Show styles from userstyles.org in Stylus popup (#251) 2017-12-10 00:03:17 +03:00
tophf
62521e132b update locales from transifex 2017-12-09 20:47:42 +03:00
tophf
32d89e58ea update locales from transifex 2017-12-08 20:32:53 +03:00
tophf
fbcd3cc965 clarify the tooltip for USO userstyle "configure" icon 2017-12-07 20:58:02 +03:00
tophf
543132aafa auto-apply on changes - new option in usercss config 2017-12-06 23:33:48 +03:00
tophf
e3a67351d5 make protected tokens language-agnostic in search help message 2017-12-06 10:23:28 +03:00
tophf
03b6f6c263 manage: search regexps, add search help, fix favicons toggle icon
* the toggle icon is now a triangle, rotated when open
2017-12-06 09:39:45 +03:00
tophf
1951bc89bb manage: inform when hiding all styles due to active filters 2017-12-04 10:31:28 +03:00
tophf
e905e4e079 properly escape/unescape regexp in applies-to widgets 2017-12-03 22:51:03 +03:00
tophf
b161d17bbf update zh_TW locale 2017-12-03 17:14:13 +03:00
tophf
d6172e43d1 pull locales from transifex 2017-12-03 08:26:57 +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
493c1a65c0 worker for stylelint; hints in linter config popup 2017-11-28 20:07:37 +03:00
tophf
c31495c283 usercss config: skip and warn about mismatching vars on saving 2017-11-27 15:02:10 +03:00
tophf
a58f42dee0 usercss editor: save as template when @name is empty
* reduced the flickering on page open
* show * in title for new styles
* align the values in the default template
* don't ask to save an untouched template
* don't spam the console with errors
* trivial code refactor and cosmetics
2017-11-26 18:43:40 +03:00
tophf
71b2ab14a0 pull locales from transifex 2017-11-25 16:34:43 +03:00
tophf
62aec5c359 put "[x] as Usercss" option next to "Write new style" button 2017-11-24 13:19:12 +03:00
tophf
5d00602ada switch colorpicker popup format on PgUp/PgDn only, not Tab 2017-11-24 13:19:09 +03:00
tophf
aa2fef7f72 more keyboard control in colorpicker popup
hex mode similar to chrome-devtools:
* Ctrl-Up/Down for R channel
* Shift-Up/Down for G channel
* Alt-Up/Down for B channel
* Up/Down treats the entire color as a hex integer e.g. #00f -> #010

rgb/hsl modes similar to chrome-devtools:
* Ctrl-Up/Down steps by 100 (alpha: by 1)
* Shift-Up/Down steps by 10 (alpha: by .1)
* Up/Down steps by 1  (alpha: by .01)

* PgUp/PgDn to switch format
* Tab to switch format when at the first/last input field
2017-11-24 13:19:06 +03:00
tophf
5d905c2952
Merge pull request #239 from openstyles/colorpicker
Colorpicker in the editor
2017-11-20 15:21:40 +03:00
tophf
37a62b0407 fix/rewrite/integrate colorpicker
* full rewrite of colorview.js to make it 10-100 times faster (render on demand via extendMode)
* full rewrite of colorpicker.js to simplify CSS
* automatic light/dark theme based on current color of the editor
* fixes, tweaks, speedups
* color spot will always be on the left of its text i.e. no line break on wrapping
* support #RRGGBBAA and #RGBA hex colors
* support "transparent" as rgba(0, 0, 0, 0)
* HEX/hex toggle
* fix HSLA regexp
* Esc/Enter key to close
* innerHTML -> textContent
* toggle the feature correctly
* fade out before autohiding
* always show alpha 1 like devtools does
* set cursor:pointer only on the clickable part of the sliders
* bigger color format switcher with a tooltip
* autofocus input on open, disable spellcheck
* try not to obscure the source color spot & text
* restore focus without scrolling
2017-11-20 15:19:58 +03:00
tophf
271aa79355 pull locales from transifex 2017-11-20 15:06:27 +03:00
tophf
9689288bdc new editor option: autoclose brackets/quotes [default: off] 2017-11-17 02:36:05 +03:00
tophf
0ed37c2667 popup: add side borders in Chrome 62+
fixes #226
2017-11-14 11:20:49 +03:00
Jeremy Schomery
ec23620b29 updating locales 2017-11-14 10:51:10 +03:30
eight
d59f24caa6 Change: a simpler installUpdateFromLabel 2017-11-11 13:30:41 +08:00
eight
53770c0db6 i18n: appliesRemoveError 2017-11-09 14:11:26 +08:00
eight
29f5daa912 i18n: live reload error 2017-11-09 14:11:25 +08:00
eight
7842ac752a i18n: styleMetaErrorPreprocessor 2017-11-09 09:12:15 +08:00
eight
95e3ba13cd Fix: newStyleInUsercss -> newStyleAsUsercss 2017-11-09 09:12:14 +08:00
eight
391cfb52dd Fix: then -> than the 2017-11-09 05:29:38 +08:00
eight
f35fbb5b36 Fix: add styleMetaErrorSelectValueMismatch 2017-11-01 11:17:01 +08:00
eight
6536028cd4 Fix: typo 2017-11-01 08:07:17 +08:00
eight
6fac8386c9 Fix: unused translation 2017-11-01 08:06:18 +08:00
eight
71013623c6 Fix: description for linterCSSLintIncompatible 2017-10-17 04:09:14 +08:00
eight
be4a896bc9 Fix: disable CSSLint option in stylus mode 2017-10-16 14:54:47 +08:00
eight
c1d2857953 Add: config dialog heading - feedback link 2017-10-15 04:18:22 +08:00
eight
54076d9f17 Merge branch 'master' of https://github.com/openstyles/stylus into dev-user-css 2017-10-12 16:28:18 +08:00
eight
eec52ad239 Revert "Add: detail dialog. Move makeAuthor to dom.js. Move external.svg into"
This reverts commit 5b701d06ad.
2017-10-12 16:10:17 +08:00
eight
ce2a21451a Add: usercss documentation link in the editor 2017-10-11 22:23:39 +08:00
eight
5b701d06ad Add: detail dialog. Move makeAuthor to dom.js. Move external.svg into
images.
2017-10-11 14:52:42 +08:00
eight
cd00c20fa4 Fix: newStyleFormat -> newStyleInUsercss 2017-10-09 00:52:05 +08:00