derv82
1c188f1f8d
Only fetch style JSON during installation.
...
JSON is 'cached' within the userstyleSearchResult object,
so the JSON is only fetched once during the life of the popup window.
2017-12-09 00:25:47 -08:00
derv82
40ab080070
Merge branch 'master' of https://github.com/openstyles/stylus
2017-12-08 01:45:26 -08:00
derv82
4732184670
10 results @ a time, floating Install button, fixed height while loading styles.
2017-12-08 01:44:55 -08:00
tophf
5faff66fab
fix cross-section cursor navigation via keyboard
2017-12-08 11:42:33 +03:00
derv82
cab2345bc6
Merge branch 'master' of https://github.com/openstyles/stylus
2017-12-07 20:54:42 -08:00
derv82
308973cb13
Clicking thumbnail (above overlay) installs/uninstalls.
...
Same behavior as clicking overlay
2017-12-07 20:54:17 -08:00
derv82
e59dba54af
Shrunk thumbnail overlay ~50%, smaller install/customize buttons.
2017-12-07 20:50:42 -08:00
narcolepticinsomniac
526fa46edf
Load global.css in options
2017-12-07 23:40:08 -05:00
narcolepticinsomniac
c61932e0e9
Load global.css in options
2017-12-07 23:39:39 -05: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
tophf
0413736a29
remove the now redundant "chrome_style" from the options page
2017-12-08 06:20:30 +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
fbcd3cc965
clarify the tooltip for USO userstyle "configure" icon
2017-12-07 20:58:02 +03:00
tophf
6a838e9d5e
make sure all pre-create hooks finished
2017-12-07 20:26:41 +03:00
derv82
1f95fd3571
Search results show "uninstall" after installation.
...
* Not removed from search results
* Still shows "customize" button.
2017-12-07 02:06:44 -08:00
derv82
465cdec625
Merge branch 'master' of https://github.com/openstyles/stylus
2017-12-07 01:33:35 -08:00
derv82
14ad748105
overflow-y:scroll when search results are displayed
2017-12-07 01:30:33 -08:00
derv82
7c1c9d0cce
Search results at bottom, move lds-spinner over search results.
2017-12-07 00:56:33 -08:00
tophf
a71d2fa226
...even less eager
2017-12-07 11:10:32 +03:00
derv82
34ab1abd11
Search result only shows title & thumbnail, more info on hover.
...
Clicking search result thumbnail (overlay) installs it. So does clicking "install" button.
Fixed author link installing the sytle.
Removed bg-color change on hover.
2017-12-07 00:06:12 -08:00
tophf
6e1a6d1ad6
don't be too eager at restoring style elements to prevent deadlocks
2017-12-07 10:49:47 +03:00
derv82
5db0cc65ee
Merge branch 'master' of https://github.com/openstyles/stylus
2017-12-06 23:34:53 -08:00
derv82
8ec06d9830
Title above screenshot. Removed 'Results for...' header
...
Brought back 'Author' (was hidden before).
2017-12-06 23:33:42 -08:00
tophf
6d4689e559
ensure own style elements dominance over other style elements
2017-12-07 10:12:01 +03:00
derv82
0e63896f4f
Switch camelCase to dash-case in DOM classes and IDs
2017-12-06 22:38:35 -08:00
derv82
0c4f4844b6
Merge branch 'master' of https://github.com/openstyles/stylus
2017-12-06 22:21:59 -08:00
tophf
f40dc29497
add rudimentary reject/catch for mozParser inside worker
2017-12-07 08:41:52 +03:00
tophf
08c70a5192
csslint: only suppress validation errors caused by USO-vars
2017-12-07 08:09:22 +03:00
tophf
e4e8f04c95
code cosmeticsiv
2017-12-07 06:54:51 +03:00
tophf
fb3138f700
add .vivaldi class on <html>
2017-12-07 06:52:43 +03:00
tophf
aeca16f663
csslint: show real text of expected token if possible
...
now instead of the nerdy LBRACE users will see {
2017-12-07 05:37:36 +03:00
tophf
7a07ee9fd9
unbreak narrow editor layout
2017-12-07 05:31:42 +03:00
tophf
9c8e835a80
relay scrolling over #header to usercss code section
2017-12-07 04:36:46 +03:00
tophf
d4ffa04bb6
raise applies-to widget above .CodeMirror-activeline
2017-12-07 04:00:26 +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
ebef35c28c
drop linter name from "see all rules" and make it a link
2017-12-07 01:21:05 +03:00
tophf
d998fb235a
center editor config icons
2017-12-07 01:20:04 +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
945ec5604d
don't overwrite button padding globally in old FF
...
...since it breaks custom ones
2017-12-06 22:42:34 +03:00
tophf
f337e18515
recognize usercss @updateURL
...
* installation URL is preferred - same behavior as before
* @updateURL is used when the style was drag'n'dropped into the manage page
because there's no real URL in this case
* install-usercss page shows the new update URL, which is set as per the above,
under the checkbox that enables updates
2017-12-06 22:35:19 +03:00
derv82
826605242b
Disable next/prev search result buttons when loading
2017-12-06 02:20:17 -08:00
derv82
da6ea2b69b
'Customize' button stops propagation & opens tab.
2017-12-06 01:40:39 -08:00
derv82
0366c8508f
Merge branch 'master' of https://github.com/openstyles/stylus
2017-12-06 01:29:49 -08:00
derv82
0161df5af0
Addressed PR feedback: i18n, result.onlick, description-expander, loader fix
...
* i18n text and titles for all labels.
* Clicking a search result opens the page for that style.
* Descriptions are truncated with (i) info button; expands description when clicked
* Simplified/fixed setLoader() + lds-spinner functionality.
2017-12-06 01:22:33 -08:00
tophf
0659ff6233
set "use default" button actual state on opening config dialog
2017-12-06 11:35:04 +03:00