Commit Graph

90 Commits

Author SHA1 Message Date
tophf
c0c60fb7a2 add a terse invocation syntax for $element and rename it to $create 2017-12-04 08:57:12 +03:00
tophf
d4c0930723 FF: workaround for vertical-align bug on usercss-docs svg icon 2017-12-02 19:39:20 +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
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
189342472e manage: collapsible #options block 2017-11-29 19:27:31 +03:00
tophf
362d944428 manage: incremental search on typing + up/down arrows 2017-11-29 17:59:02 +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
tophf
bf13383c93 workaround for URLSearchParams not stripping "?" in chrome 49-51 2017-11-28 22:19:00 +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
tophf
76b49af81f finally rename the only camelCase-named file 2017-11-26 22:09:01 +03:00
tophf
4fd25f9e1a add hover on filter selectors to indicate the clickable area 2017-11-26 20:36:43 +03:00
tophf
77a07b7f2b open editor on clicking anywhere in the cell; add hover effect 2017-11-26 20:36:14 +03:00
tophf
5a489e7043 add "usercss" label
reimplements #262
2017-11-26 20:24:42 +03:00
tophf
978e5ca9f0 sendMessage()
Promise mode [default]:
  - rejects on receiving {__ERROR__: message} created by
    background.js::onRuntimeMessage
  - suppresses chrome.runtime.lastError
    by browserAction.setText which lacks a callback param in chrome API

Callback mode:
  - enabled by passing a second param
  - doesn't suppress chrome.runtime.lastError
2017-11-25 18:00:38 +03:00
tophf
8f04e17d27 fix #223 - Android compatibility 2017-11-25 16:25:20 +03:00
tophf
0c3b3a1631 remove border from filter selector & generalize CSS 2017-11-24 13:19:14 +03:00
tophf
828f09fdb2 tweaks/fixes for "[x] as usercss" 2017-11-24 13:19:13 +03:00
tophf
fe3b1511f6 add "[x] only Usercss" filter in the manager 2017-11-24 13:19:12 +03:00
tophf
62aec5c359 put "[x] as Usercss" option next to "Write new style" button 2017-11-24 13:19:12 +03:00
tophf
1d463d7820
Merge pull request #134 from eight04/dev-user-css
Install styles from *.user.css file
2017-11-14 08:22:56 +03:00
eight
58c0239d85 Change: allow select to stretch up to 124px 2017-11-11 13:30:52 +08:00
eight
1dd0dbf907 Revert: isSame/isEdited util 2017-11-09 14:11:25 +08:00
eight
f070d7ff8e Fix: indent of promises 2017-11-09 09:12:16 +08:00
eight
5dd322e512 Refactor: shouldShowConfig 2017-11-09 09:12:16 +08: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
9770523660 Fix: vertical rhythm in config dialog 2017-10-15 04:18:23 +08:00
eight
c1d2857953 Add: config dialog heading - feedback link 2017-10-15 04:18:22 +08:00
tophf
382e0428c6 code cosmetics (copypasting from MDN was a bad idea) 2017-10-14 04:34:25 +03:00
tophf
721dfc4787 export: create blob directly
fixes #211
2017-10-14 04:25:54 +03: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
2642206e32 Change: the layout of color input 2017-10-11 21:39:30 +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
tophf
b777cc1bea use FF/Chrome/spec-compliant 'overflow-wrap' for word-breaking 2017-09-30 20:14:44 +03:00
eight
94a7e0cdb5 Fix: manually updated usercss doesn't keep settings 2017-09-18 12:18:55 +08:00