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
tophf
71e2db773b
typo
2018-08-02 14:48:26 +03:00
tophf
e2c053f81b
keep the exported styles URL alive indefinitely
2018-08-02 14:19:03 +03:00
tophf
e5a557369b
vertically center the labels
...
this also fixes the bug with covering the descender in letters like "g" when the label is shown in the second row of a style name due to wrapping
2018-07-30 11:45:33 +03:00
tophf
ee4c4de059
code cosmetics: combine and simplify
2018-07-28 23:39:49 +03:00
tophf
363b8a7bf1
skip empty applies-to values
2018-07-28 21:04:29 +03:00
tophf
c6724b02d3
code cosmetics: pacify eslint
2018-07-21 21:04:47 +03:00
narcolepticinsomniac
70b8a1172f
Responsive layout ( #410 )
2018-07-16 19:37:01 +03:00
tophf
b5b0bcaf19
tabs should open next to the manager tab
...
closes #427
2018-07-11 19:04:05 +03:00
tophf
3bb4e0af9f
autosize filters only if the width > 0
2018-07-07 20:47:00 +03:00
tophf
fc50ee2e2c
disable '#header select' autosizing in Vivaldi
2018-06-27 15:42:35 +03:00
tophf
349c33b478
set even/odd class based on html { --columns: # } variable
2018-05-16 03:53:38 +03:00
tophf
1d0ca613f9
handleUpdate may alter/add an entry which needs to be sorted
2018-05-15 14:56:12 +03:00
tophf
68165e8fa2
filters affect striping, not the sort order
2018-05-15 12:21:30 +03:00
tophf
e80efa7604
FF: hotkeys dialog
2018-04-12 21:28:45 +03:00
tophf
dd5cd5c686
correctly show "Everything" in applies-to column
...
* don't show it twice
* show it if the style targets were actually removed since the last paint
2018-03-19 07:10:59 +03:00
tophf
66704a78b3
actually use 'pre' font for code errors in messageBox.alert/confirm
2018-03-11 16:31:25 +03:00
tophf
6b0628a7ee
CSS containment was buggy in Chrome before 58.0.3004
...
fixes #355
2018-02-28 05:04:35 +03:00
tophf
fd3a09eee9
ensure the state tooltip is above the sites
2018-02-26 23:20:25 +03:00
tophf
ab4f7f3e91
entry state may exceed entry bounds
2018-02-26 23:18:49 +03:00
tophf
0fd5d100c9
update filter stats after deleting a style
2018-02-26 23:16:10 +03:00
tophf
e4150aa8b0
sort only after filtering is complete
2018-02-26 22:57:03 +03:00
tophf
ceb11ae52a
ignore dates and other meta data when diffing
2018-02-26 22:56:42 +03:00
tophf
e42ea2e383
restore correct position of update state faux button tooltip
2018-02-26 22:55:30 +03:00
tophf
42c7f39e73
refilter just once on a single update job
...
fixes #353
2018-02-26 22:54:35 +03:00
tophf
d82dceada9
code cosmetics
2018-02-16 12:49:53 +03:00
tophf
b9b2c4cbd7
correctly finish check-all-updates before updating UI
...
now that we use messaging for the observer we can't use Promise for the final task;
fixes #341
2018-02-16 12:43:22 +03:00
narcolepticinsomniac
c1b47e4b23
Style non-select filter labels to match
...
Non-select filter labels and their contents were misaligned. They were also shorter with lighter hover backgrounds. Everything should match up now. There's only one currently, but I used general selectors which should work in case any new ones are added.
2018-02-13 16:44:21 -05:00
tophf
5b4ecfc3e4
fix click area of filter checkboxes
...
#332
2018-01-24 03:26:52 +03:00
tophf
4493c9e9f0
don't double-process 'styleUpdated' in manager
2018-01-14 18:18:08 +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
0c2c86a8de
update favicons in handleUpdate
2018-01-12 00:53:35 +03:00
tophf
23fcbd6c27
fixup 7de3e37a: handleUpdateInstalled is for .updatable only
2018-01-07 16:53:41 +03:00
tophf
3df4a86428
add a workaround for Chrome 65 bug https://crbug.com/714373
2018-01-07 15:12:14 +03:00
tophf
45219a88c1
microoptimization: 'style' is already a deep-copy
2018-01-04 22:47:29 +03:00
tophf
c553c0270e
unstick the unchecked newUI option from the buttons below
2018-01-04 22:36:31 +03:00
tophf
392ca4c988
add "configure" button in the old UI
2018-01-04 22:35:12 +03:00
tophf
1c432b2868
fixup 77a07b7f: don't invoke editor on clicking the name
2018-01-04 22:25:03 +03:00
tophf
66f176992b
fixup 671b2765: don't show favicons in old UI
2018-01-04 22:20:03 +03:00
tophf
d94b9a0ab7
fixup: show available updates on manual check
2018-01-03 20:26:20 +03:00
tophf
1eea8fdbbf
fixups for refreshAllTabs
2018-01-03 18:26:31 +03:00
tophf
d346cb0a5a
reduce newUI entry vertical padding and define it in one place
2018-01-03 16:53:00 +03:00
tophf
3418ac9cb9
FF: support private/container tabs
2018-01-03 10:43:56 +03:00
Rob Garrison
671b276532
Attempt to get favicon for RegExp match ( #321 )
...
show favicons for regexp() in applies-to column
2018-01-01 08:17:43 +03:00
tophf
60a6fdb481
clear previous update status classes
2018-01-01 08:04:52 +03:00
narcolepticinsomniac
0368759081
Fix overlapping hover backgrounds
2017-12-31 04:25:58 -05:00
tophf
16f98ed250
auto-adjust #add-style-wrapper to various font height
2017-12-29 20:27:37 +03:00
tophf
fef10b1638
use a readable font for Japanese/Chinese
2017-12-29 20:23:54 +03:00
tophf
dea0edbdac
don't wrap entry labels
2017-12-29 18:19:25 +03:00
tophf
673906cfd5
don't cut the text in a closed sort selector
...
#319
2017-12-29 17:54:15 +03:00
tophf
af6c3a79d5
don't show update buttons for local styles in old UI
...
#319
2017-12-29 17:53:11 +03:00
tophf
c1dd196acd
fix regexp search in manager
2017-12-28 07:01:18 +03:00
tophf
e4f8cf5fb5
simplify usePrefsDuringPageLoad
2017-12-26 08:54:01 +03:00
tophf
4da6eeb746
manage: speed up first meaningful paint
...
by postponing creation of favicon placeholders for the visible entries to the second render run when rendering in chunks or after all styles were displayed when rendering the entire list
2017-12-26 08:52:19 +03:00
tophf
fc673fe9c6
fixup ea709c93: remove the unused variable
2017-12-25 12:25:53 +03:00
tophf
12fe1b619f
render 20+ styles at once
...
so that the page on a typical 1080p display is completely filled in initial frame at 200ms
2017-12-25 12:18:24 +03:00
tophf
53eac84312
load visible favicons immediately, lazy-load the rest
2017-12-25 12:18:24 +03:00
Rob Garrison
5a07bbb1e3
Add manager sort block
2017-12-25 12:17:18 +03:00
tophf
8decffc6b5
FF52 workaround: only transform the outer svg
2017-12-24 11:12:13 +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
d5d863d998
disable incremental search when #message-box is shown
...
fixes #313
2017-12-22 10:53:22 +03:00
tophf
6607455e8f
silence eslint; switch shirt-circuiting to single-line if/else
2017-12-18 10:27:50 +03:00
tophf
3c2421d875
always scroll to the style on "history back" from editor to manager
2017-12-13 09:19:49 +03:00
tophf
fd4300f841
add a wiki link, shorten the USO link, use https everywhere
2017-12-13 07:15:40 +03:00
narcolepticinsomniac
9b93e3e116
Margin tweak
2017-12-12 22:10:50 -05:00
tophf
7519b38df5
adjust some margins
2017-12-13 05:28:31 +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
narcolepticinsomniac
e2842f69c3
Hide focus outlines without crippling a11y, plus active state change for buttons
2017-12-12 21:39:55 +03:00
tophf
1b19cc0cf6
import report shouldn't alter #header
2017-12-11 08:44:41 +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
ed1b163087
update log viewer: "Delete" and "[x] Only with updates or issues"
...
fixes #293
2017-12-09 23:26:28 +03:00
tophf
e41dda1b68
refreshAllTabs should always try to refresh the main page
2017-12-09 21:19:03 +03:00
tophf
ca40eb9481
fixup 3318db19: read 'checked' state from checkboxes
...
fixes #297
2017-12-09 19:29:17 +03:00
tophf
9c1c15465e
refreshAllTabs: process all frames
2017-12-09 18:15:57 +03:00
tophf
ae2efaa4a1
update manager search filter
...
fixes #296
* don't ignore 1-letter input if it's the only thing
* normal minimum word length is now 2 letters
* switch to AND combination mode so searching for dark github lists only what you expect
2017-12-09 17:17:33 +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
1c68ac1a3a
initialize editor page fully in First Meaningful Paint frame
...
* previously it wasn't the case when colorpicker option was enabled
* the cost of always loading colorview is ~1ms for >200ms here
2017-12-08 06:20:56 +03:00
narcolepticinsomniac
ce47e69b8a
Custom UI elements ( #291 )
2017-12-08 06:18:47 +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
99cce55a8e
ensure long words break before breaking the layout
...
supersedes 40075a0d
2017-12-07 23:21:27 +03:00
tophf
f40dc29497
add rudimentary reject/catch for mozParser inside worker
2017-12-07 08:41:52 +03:00
tophf
b96cee1012
use Event#key for hotkey recognition in manager and popup
...
should help #286
2017-12-07 02:11:50 +03:00
tophf
119a3803ec
realign #only-updates filter and rename as it's not linked to prefs
2017-12-07 01:39:15 +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
1273903b05
import usercss files drag'n'dropped into the manage page
2017-12-06 11:03:43 +03:00
tophf
cc57d39443
align #filters header; group FF-related rules
2017-12-06 10:37:01 +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
69ee57f88f
manage: search in usercss full source code
2017-12-06 06:34:02 +03:00
tophf
aa44077212
rename #newStyleAsUsercss-wrapper to a standard CSS scheme
2017-12-06 06:34:01 +03:00
tophf
a712d92b52
fixup db621b86: add .active class only to the block title
2017-12-06 04:21:30 +03:00
tophf
31941110e8
manage: show "x" icon after #filters-stats to reset active filters
...
implements #286
2017-12-06 04:18:51 +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
eight
07a0518586
Add config dialog to popup ( #283 )
2017-12-06 00:14:21 +03:00
Rob Garrison
db621b8657
Manage: Make filter & backup containers collapsible
2017-12-06 00:09:56 +03:00
tophf
fe4be8d5db
actually keep "[x] as userccs" together
2017-12-05 21:00:12 +03:00
narcolepticinsomniac
82e45460fa
Remove obsolete selector which hid filters when lowest max-width media-screen kicked in
2017-12-05 08:41:05 -05:00
tophf
a6f63d096e
extract checkboxes to global.css, fixes
2017-12-05 04:39:29 +03:00
narcolepticinsomniac
7339643ec3
Custom checkbox and select elements
2017-12-05 04:39:29 +03:00
tophf
8ca4253be4
fix the note for good, hopefully
2017-12-04 21:14:31 +03:00
tophf
a0c6450fc1
only show the note if filtering something
2017-12-04 21:00:06 +03:00
tophf
30d84d15fa
remove the note sooner when unhiding entries
2017-12-04 20:24:07 +03:00
tophf
e50de59669
fixup 1951bc89: always debounce note update
2017-12-04 20:06:14 +03:00
tophf
294917ed4d
fixup 1951bc89: update the note twice
2017-12-04 19:51:52 +03:00
tophf
81c6d9912c
fixup 1951bc89: wait for bg when the browser is starting up
2017-12-04 11:28:32 +03:00
tophf
1951bc89bb
manage: inform when hiding all styles due to active filters
2017-12-04 10:31:28 +03:00
tophf
1785bac9d2
fix usercss updater: skip if code hasn't changed
2017-12-04 10:28:24 +03:00
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
eight
1d829fe8f5
Fix: split up usercss logic from saveStyle
2017-09-18 11:34:12 +08:00
eight
a0495f466f
Change style structure
2017-09-16 10:14:23 +08:00
tophf
9210d55438
manage: unlimited height of expanded applies-to
2017-09-15 13:52:21 +03:00
eight
ccb5f488e5
Fix: move to new format
2017-09-15 14:11:58 +08:00
eight
d4ddefe8a0
Merge branch 'master' of https://github.com/openstyles/stylus into dev-user-css
2017-09-12 03:40:56 +08:00
eight
20481c9180
Fix: i18n config dialog
2017-09-12 01:59:56 +08:00
eight
f305719db3
Fix: update progress
2017-09-12 01:23:32 +08:00
tophf
7bde873b3b
manage: more space around the actions column
2017-09-10 21:19:38 +03:00
tophf
4f7876f961
manage: prevent wrapping in check-all and view-log row
2017-09-10 21:19:37 +03:00
tophf
522629f534
manage: restore our standard font size in the filter selector
2017-09-10 21:19:37 +03: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
eight
f7a43d780f
Add: draw different type of input
2017-09-05 18:48:19 +08:00
tophf
53aa239da3
fallback to chrome.storage when IndexedDB is dysfunctional
2017-09-03 20:06:42 +03:00
tophf
519d745f59
globally disable CSS transitions for a moment during page opening
...
the problem we fix is that since we add the styles asynchronously, the browsers, esp. Firefox, sometimes apply transitions from the null/default state to the one specified in the injected CSS.
supersedes 72e8213b
and 4dbca46b
2017-09-03 19:43:37 +03:00
tophf
4dbca46b41
typo
2017-09-02 09:00:03 +03:00
tophf
72e8213bd7
followup 9a55e64b: suppress CSS transitions bug in FF while loading
...
fixes #177
2017-09-02 08:51:58 +03:00
eight
b3b47697ca
Fix: display homepage icon for usercss
2017-09-01 18:31:58 +08:00
tophf
cf2f644366
code cosmetics
2017-09-01 13:30:58 +03:00
tophf
27ad478f8c
fixup fb7f7d54: isMatching must be boolean
2017-09-01 11:04:24 +03:00
eight
acd9befc9e
Change how configure dialog works.
2017-09-01 14:53:57 +08:00
eight
dece4b57f3
Add: install styles from *.user.css file
...
Fix: handle dup name+namespace
Fix: eslint eqeqeq
Fix: trim @name's spaces
Add: check update for userstyle
Add: build CSS variable
Fix: only check dup when id is not provided
Refactor: userStyle2json -> userstyle.json
Add: style for input
Add: config dialog
Fix: preserve config during update
Fix: onchange doesn't fire on keyboard enter event
Fix: remove empty file
Add: validator. Metas must stay in the same line
Add: warn the user if installation failed
Fix: add some delay before starting installation
Add: open the editor after first installation
Fix: add openEditor to globals
Fix: i18n
Add: preprocessor. Move userstyle.build to background page.
Fix: remove unused global
Fix: preserved unknown prop in saveStyleSource() like saveStyle()
Add: edit userstyle source
Fix: load preprocessor dynamically
Fix: load content script dynamically
Fix: buildCode is async function
Fix: drop Object.entries
Fix: style.sections is undefined
Fix: don't hide the name input but disable it
Fix: query the style before installation
Revert: changes to editor, editor.html
Refactor: use term `usercss` instead of `userstyle`
Fix: don't show homepage action for usercss
Refactor: move script-loader to js/
Refactor: pull out mozParser
Fix: code style
Fix: we don't need to build meta anymore
Fix: use saveUsercss instead of saveStyle to get responsed error
Fix: last is undefined, load script error
Fix: switch to moz-format
Fix: drop injectContentScript. Move usercss check into install-user-css
Fix: response -> respond
Fix: globals -> global
Fix: queryUsercss -> filterUsercss
Fix: add processUsercss function
Fix: only open editor for usercss
Fix: remove findupUsercss fixme
Fix: globals -> global
Fix: globals -> global
Fix: global pollution
Revert: update.js
Refactor: checkStyle
Add: support usercss
Fix: no need to getURL in background page
Fix: merget semver.js into usercss.js
Fix: drop all_urls in match pattern
Fix: drop respondWithError
Move stylus -> stylus-lang
Add stylus-lang/readme
Fix: use include_globs
Fix: global pollution
2017-08-30 17:29:41 +08:00
tophf
dba3de7a86
fix&simplify narrow manager media queries
2017-08-27 17:05:05 +03:00
tophf
90ab2959a6
abandon automatic translation in CSS
...
* it fails with some languages in some versions of FF
* it's not as flexible as HTML templates
* we were only using it for a few messages
2017-08-27 13:02:17 +03:00
tophf
8976bd58b8
inform when dysfunctional due to FF options
2017-08-26 15:34:27 +03:00
tophf
fb7f7d5471
URL-mode in manager's search and popup's manage button
...
* in manager use search query like url:https://github.com/openstyles/stylus
* in popup shift-click or right-click on manager button opens it and applies the filter
2017-08-23 12:16:32 +03:00
tophf
9a55e64bbb
autosize filter select element
2017-08-22 17:24:44 +03:00
tophf
64ba125601
manage: add inverted filters (disabled, external)
2017-08-22 17:24:44 +03:00
tophf
1ecaebc51a
manage: use actual prefs while loading page
2017-08-22 17:24:44 +03:00
tophf
fef748d128
wait for bg to load before enabling filters
2017-08-18 14:32:20 +03:00
narcolepticinsomniac
39e1421d29
'Check all styles for updates' button ellipsis
...
#156
2017-08-18 01:30:55 -04:00
tophf
f80f5612d6
code cosmetics: split manage.js
2017-08-16 08:18:23 +03:00