tophf
e8d0c7d039
update button on USO page now confirms only on the first click
2017-11-21 13:33:11 +03:00
tophf
f1836f399f
try to get style json on USO install page twice
...
also report errors
fixes #195
2017-11-21 13:23:32 +03:00
tophf
4e9e4d24b1
bump version to 1.1.6.1
2017-11-21 11:03:22 +03:00
tophf
24c60b7e8a
fixup 8a1908b7: don't protect disabled elements
2017-11-21 10:59:14 +03:00
tophf
46df47bf31
bump version to 1.1.6
2017-11-21 10:10:29 +03:00
tophf
00ead83da9
don't hardcode homepage URL, extract it from "Get Help" translation
2017-11-21 09:48:55 +03:00
tophf
8a1908b760
protect own style elements (100 times max to avoid deadlocks)
...
fixes #252
2017-11-21 09:45:44 +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
derv82
98c9024eb9
It works! "Install" installs the style.
...
Added an 'error' container for search-related errors.
2017-11-20 01:11:32 -08:00
derv82
16d32c40f5
Resolve eslint errs/warnings in search-results.js
2017-11-19 22:55:07 -08:00
derv82
c9e894f670
Rename searchResults -> search-results, replaced double quotes with single-quotes
2017-11-19 22:28:54 -08:00
derv82
b3a6bddd48
Removing unused loadRemoteStyles event
2017-11-19 19:41:09 -08:00
derv82
c0b48ab548
Encapsulating searchResults.js per feedback in #243
2017-11-19 19:36:43 -08:00
derv82
1da3027f8b
More comments before attempting to install the style
2017-11-19 14:03:54 -08:00
tophf
c50b251ae4
add original colorpicker plugin
2017-11-19 15:55:35 +03:00
tophf
10ce4eeefa
prefs.subscribe: allow multiple listeners for one key
2017-11-19 15:55:35 +03:00
derv82
3503195711
Merge branch 'master' of https://github.com/openstyles/stylus
2017-11-19 02:58:04 -08:00
derv82
0a8274a04f
Cleaning things up; still doesn't install but does everything else.
2017-11-19 02:54:20 -08:00
derv82
f1830c3768
Popup doesn't overflow-x anymore. Formatting seems... okay.
2017-11-18 13:45:32 -08:00
derv82
f35271f6de
Some styling on search results. New EOL
2017-11-18 04:32:16 -08:00
derv82
764d7f627e
Loads styles from userstyles.org - Cannot 'install', needs cosmetic improvements
2017-11-18 03:03:29 -08:00
tophf
0ded91d987
apply extension userstyles to install-usercss page
2017-11-18 12:04:12 +03:00
derv82
d23342b171
'Load styles' link below 'Find styles for this site' -- does nothing
2017-11-17 00:17:23 -08:00
tophf
9689288bdc
new editor option: autoclose brackets/quotes [default: off]
2017-11-17 02:36:05 +03:00
tophf
09c16ac541
force break-wrapping in regexp-tester's details
2017-11-17 02:17:21 +03:00
tophf
559420a461
FF: outline the active code box
...
-webkit-focus-ring-color rgb value is used, but not the blurred effect (TODO)
2017-11-15 11:49:02 +03:00
tophf
9f4066faa1
code cosmetics: remove redundant comments
2017-11-15 11:36:24 +03:00
tophf
5a9227ce8c
speedup usercss opening: combine a few ops
2017-11-15 11:35:54 +03:00
tophf
15c98bac9e
fixup 8ca7c363: focus() must be the last action
2017-11-15 11:33:37 +03:00
tophf
82651ed6cd
usercss: create applies-to widgets faster on load
...
only the visible portion is built immediately, the rest is throttled
2017-11-15 10:54:19 +03:00
tophf
06cc703887
use CSS variables for applies-to line widgets
2017-11-15 09:04:09 +03:00
tophf
14dbfdd915
update applies-to widget on any style changes
2017-11-15 08:32:22 +03:00
tophf
9868a1819c
actually focus code after import
2017-11-15 08:15:06 +03:00
tophf
fc5c00e37d
all actions must always return a Promise
2017-11-15 07:11:46 +03:00
narcolepticinsomniac
d8ceb35cd5
New line for selector
2017-11-14 22:48:47 -05:00
narcolepticinsomniac
24c513929e
Advanced options toggle ( #238 )
...
* Advanced options toggle
Whole div is clickable. Arrows to indicate functions. I went with carets and centered collapsed text, but we can use different arrow and/or keep the text to the left.
* advanced options toggle
* advanced options toggle
* Only apply to Chrome
* Delete options.css
* Delete options.js
* Only apply to Chrome
* Only apply to Chrome
* Fix label
* Fix label again
2017-11-14 22:25:30 -05:00
tophf
b9f6095db5
focus code on opening standard editor immediately
2017-11-15 04:53:37 +03:00
tophf
8ca7c36380
focus code on opening usercss editor
2017-11-15 04:27:33 +03:00
tophf
8517e392fe
throttle mozImport after 100ms, display progress after 500ms
...
* Ctrl-Enter = append button
* Shift-Ctrl-Enter = replace button
* instantaneous readiness of import dialog on non-blank input
* code dedup: addSections()
* trimNewLines() -> trim()
2017-11-15 04:24:36 +03:00
tophf
102b5e03d4
superfast cm.isBlank() instead of !cm.getValue().trim()
2017-11-15 02:50:53 +03:00
tophf
40f9413207
version 1.1.5
2017-11-14 11:57:05 +03:00
tophf
0ed37c2667
popup: add side borders in Chrome 62+
...
fixes #226
2017-11-14 11:20:49 +03:00
tophf
94ed435e75
fixup d2b9b302: prevent setting version var to 'undefined'
2017-11-14 11:12:18 +03:00
Jeremy Schomery
12e2fbdd37
version 1.1.4.3
2017-11-14 10:57:20 +03:30
Jeremy Schomery
ec23620b29
updating locales
2017-11-14 10:51:10 +03:30
tophf
f2a6c99498
options: move newStyleAsUsercss to the top of the advanced block
2017-11-14 09:58:45 +03:00
tophf
68d72215a2
disable the useless "no-empty-function" warning
2017-11-14 09:52:51 +03:00
tophf
ac8331e6ae
FF: use tabs API for XML viewer
2017-11-14 09:52:51 +03:00