tophf
ecbf397a78
remove unused stuff, use dom.js, polish css
2022-01-13 13:42:56 +03:00
tophf
b9f4109a41
drop stylus-
from hash
...
...because this is about styles, not Stylus, unlike stylus-options
2022-01-13 13:21:49 +03:00
tophf
a96bd326e3
todo
2022-01-13 13:16:56 +03:00
tophf
c3bdec69fc
add id
on body to match other html files
2022-01-13 13:14:24 +03:00
tophf
d099a4cfe9
use injection
term everywhere
2022-01-13 13:13:04 +03:00
tophf
4391ceed89
sort globals
2022-01-13 12:54:27 +03:00
tophf
ed53716bea
re-apply transition-suppressor fix
2022-01-13 12:52:06 +03:00
tophf
c7da33a028
Merge branch 'master' into dev-sort
...
# Conflicts:
# js/dom.js
2022-01-13 12:50:09 +03:00
tophf
8ddeef221b
resizable header panel ( #1378 )
2022-01-13 12:47:37 +03:00
tophf
cce483dd22
update locales
2022-01-12 01:30:46 +03:00
tophf
d9a80623e1
parserlib: fix endless loop on incomplete tokens
...
regressed in 048c2672
fixes #1381
2022-01-11 21:18:37 +03:00
tophf
ca5402136d
removed an unused string
2022-01-11 12:21:44 +03:00
tophf
5791ae7b05
removed an unused duplicate string
2022-01-11 11:46:20 +03:00
tophf
68dc584749
deduplicate editor.useSavedStyle
...
...and call it when saving in sectioned editor (regressed in ba9d904c
)
2022-01-10 21:31:15 +03:00
tophf
6e4fc3236e
confirm reload in sectioned editor
2022-01-10 19:12:29 +03:00
tophf
ba9d904ccc
don't rebuild editor DOM on save, fixes #1380
2022-01-10 17:57:46 +03:00
tophf
51e56110e8
parserlib: color-scheme, scrollbar-gutter, transforms
2022-01-10 07:32:02 +03:00
eight04
0499df1039
Change: styles.order -> injectionOrder
2021-12-30 16:30:36 +08:00
eight04
e2c0a4eca4
Change: use messageBoxProxy
2021-12-30 16:22:25 +08:00
tophf
906508832b
show style settings in a dialog ( #1374 )
...
+ simplify css/html
+ save button and autosave checkbox just like in config-dialog
+ generalize can-close-on-esc
+ add `props` parameter to helpPopup.show
+ deduplicate usage of #help-popup id
+ uniform padding in popups
+ disambiguate style settings from editor options
2021-12-29 22:57:22 +03:00
tophf
8128100cef
ensure editor window is visible
...
fixes #1375
2021-12-26 19:35:13 +03:00
tophf
6afb4dc634
fix toggling of newline
in beautifier dialog
2021-12-25 22:17:35 +03:00
tophf
440395db9f
export in compat mode on shift-click/right-click
2021-12-25 18:05:29 +03:00
tophf
3cdf526fa3
don't export redundant values ( #1373 )
...
+ implement proper check for same code in usercss so unchanged styles won't be unnecessarily imported
2021-12-25 13:08:38 +03:00
tophf
6b9cdf2bc2
extend drop zone to viewport in Chrome too
2021-12-22 20:05:42 +03:00
tophf
249196d414
don't add _usw to all styles
2021-12-22 19:49:21 +03:00
tophf
0ac01d2e22
add a callstack to errors in browser
and msg
( #1369 )
2021-12-16 20:21:02 +03:00
eight
9d2854c272
Fix: compatibility with kiwi ( #1368 )
2021-12-16 16:04:22 +03:00
eight04
4bb6738632
Bump draggable-list
2021-12-12 12:22:41 +08:00
eight
f6e6a138db
Add: webdav sync ( #1363 )
2021-12-12 03:05:58 +03:00
eight04
802aa07f7b
WIP: switch to draggable-list
2021-12-11 01:33:33 +08:00
eight04
37d7428001
Fix: adjust li a bit
2021-12-10 20:41:13 +08:00
eight04
b0b1ed7e02
Fix: offsetParent -> parentNode
2021-12-10 20:29:15 +08:00
eight04
eb3077d906
Fix: failed selecting global.css
2021-12-10 20:16:40 +08:00
eight04
3b4c925acf
Change: adjust button text, pos
2021-12-10 20:12:49 +08:00
eight04
2f79076faa
Fix: remove unused if
2021-12-10 20:10:42 +08:00
eight04
6f5c051840
Fix: top 0
2021-12-09 22:29:23 +08:00
eight04
5adb7f593d
Add: Slip UI
2021-12-09 22:25:33 +08:00
eight04
43c37ea56a
WIP: slip list
2021-12-09 20:17:23 +08:00
eight04
253e5d5f34
WIP: add styles.order
2021-12-09 19:25:44 +08:00
eight04
f1cb26d102
WIP: add Embed
2021-12-09 19:24:02 +08:00
eight
3ea7e45624
Change: stop revoking google token, change syncErrorRelogin message, recognize token manager errors as grant error ( #1362 )
...
* WIP: don't revoke google token, add TokenError
* Fix: stop suggesting disconnecting
* Add: recognize token error as grant error
* Change: sync immediately after re-login
2021-12-09 12:00:38 +08:00
eight
7e3c6f16e9
Fix: bump db-to-cloud, show detailed LockError ( #1361 )
...
* Bump db-to-cloud
* Fix: bump db-to-cloud, show detailed LockError
* Fix: used -> use
* Change: drop our retry code
2021-12-09 00:00:30 +08:00
eight
e23077a7ea
Add: support inclusions ( #1359 )
...
* Add: support inclusions
* Fix: refresh settings page after configuring in popup
2021-12-08 18:30:16 +08:00
tophf
9ab5369393
autosize textareas in style settings ( #1360 )
2021-12-07 14:43:21 +03:00
eight
9d1243073b
Add: style settings ( #1358 )
...
* Add: style settings
* Change: use radio instead of select for dark/light mode
* Change: x -> Delete
* Change: (in|ex)clusion messages
* Fix: avoid extra space when there is no rule
* Fix: UI in mobile
* Change: delete priority
* Change: use textarea for include/exclude, remove isCodeUpdated
* Fix: separate toggle
* Fix: minor
* Fix: remove codeIsUpdated in styleman
2021-12-07 12:44:49 +08:00
tophf
a59aab73fc
enforce plain-text for styleInstallOverwrite
...
fixes #1357
2021-12-03 15:37:47 +03:00
eight
6c13db1468
Add: toggle dark/night mode styles automatically ( #736 )
...
* Add: color-scheme.js
* Add: handle color scheme
* Add: styleManager.setMeta
* Add: make setupLivePrefs work with radio
* Change: drop setupRadioButtons
* Add: UI for schemeSwitcher
* Add: prefer-scheme select in installation page
* Fix: add alarm listener
* Add: display excluded reason in popup
* Fix: rely on data-value-type instead of input name
* Fix: oldValue and newValue should have the same type
* Change: detect media change in content script
* Fix: duplicate capitalize
* Fix: minor
* Update web-ext
* Fix: valueAsNumber doesn't work for all inputs
* Fix: disable colorscheme selection after install
* Fix: API error
2021-12-03 00:49:03 +08:00
tophf
19ebeedf6a
add vars after @import
in compiled code ( #1348 )
...
fixes #1347
2021-11-14 11:00:12 +03:00
tophf
b17eef4053
allow live-reload on localhost and updates on file://
...
...if file access is allowed
2021-11-02 18:15:26 +03:00