Releases: openstyles/stylus
1.4.23
- Fixed update button on userstyles.org.
- UserCSS settings now select all text on focus.
- UserCSS added number & range variables, and default option indicator.
- Rewrote linter system; UserCSS metadata is now included.
- Editor page now properly refreshes.
- Updated CodeMirror.
1.2.5
-
Popup:
-
Inline style search in popup.
Click the thumbnails to install/uninstall.
Enabled by[x] inline
checkbox next to theFind styles
link.
Currently only site-specific styles are listed. -
Homepage icon on configurable styles installed from USO opens the style page and expands the settings area
-
-
Editor:
- Live preview mode enabled by default so the changes are automatically applied in the open tabs as you edit the code
- CSSLint now supports CSS Grid, CSS4 colors
- New search/replace dialog
- CtrlR invokes the replace dialog in pcDefault/sublime keymaps
- CtrlPause key inside code editor switches the focus between code and page.
- The entire CSS token is selected on double-click e.g.
.class-name
,#some-id
- Only the number or only the unit is selected on double-clicking lengths like
12px
-
Manager:
- Sort order of the style list is customizable
- Favicons for regexps are shown if possible
- Search-in-contents using regexp or
"quoted string"
for an exact match - The update history log viewer now has a
Delete
button to clear the log and[x] Only with updates or issues
to show only relevant entries in the list. - faster initialization
-
The old local style name is preserved on style update only if it was actually customized.
-
Firefox 59+ can be configured to allow styling of AMO site
-
Firefox:
.user.css
can be installed from gthub gists raw links -
Firefox: the popup and manager can be opened in private/container tabs
-
Much faster parsing of usercss during continuous tweaking/configuring/saving
-
The tab's main site URL origin (protocol + host name) is stored in "stylus-iframe" attribute on HTML element when the corresponding setting is enabled in Stylus options so you can write iframe-specific CSS like this
html[stylus-iframe$="twitter.com"] h1 { display:none }
which will hideh1
elements inside iframes embedded on twitter.com pages.
bugfix
Config dialog for usercss in popup
- popup: config dialog for usercss style
- autosave/apply on change
- individual values can be reset to default
- editor: csslint recognizes
/*[[uso-variable]]*/
now instead of choking - manager:
/regexp/i
and"exact words"
in search input field - all internal pages of Stylus UI use the same appearance for input elements across platforms as much as possible
bugfixes
- editor with colorpicker option disabled can open multiple sections again
previous fixes:
Threaded linting and hotkeys in popup
-
editor:
- both CSSLint and Stylelint now run in web workers so no more blocking of the tab due to high CPU usage
- saving a usercss style with an empty
@name
allows to replace the default template for new usercss styles - Alt-PgUp/PgDn now works for usercss too - jumps to a previous/next
@-moz-document
-
manager:
- incremental search on typing + up/down arrows to jump to another matching entry
usercss
label on corresponding styles- usercss config dialog now has our custom colorpicker with hex/rgba/hsla
-
popup:
- hotkeys to toggle/edit styles 1 - 9, 0, A - Z, Numpad 0-9, Numpad +, Numpad –, Numpad *, `
- the find styles link is updated to match userstyles.org
- tooltips for long style names
-
CSSLint: CSS Box Alignment Module Level 3 (ED Nov 14)
-
various bug fixes, tweaks, speed-ups
Android fixup
FF Android: fixed popup communication issue on the first tab
Android compatibility, improvements and fixes
- FF: Android compatibility
- FF: workaround for usercss on raw.githubusercontent.com
- Ensure style application order is always determined by its numeric ID set at installation
- USO: updated workaround for the page bug with populating style settings
- USO: don't ask for confirmation on subsequent clicks on the Update button - useful when tweaking style parameters
- Colorpicker was improved, see https://github.com/openstyles/stylus/wiki/Colorpicker
[x] as Usercss
next to the "Write new style" button in the style manager- Removed margins around code in usercss editor to make it look more like a standard editor
- CodeMirror 5.32
bugfix
Color picker, stylable usercss install page
- editor option: Color picker for detected CSS colors [default: on]
- editor option: autoclose brackets/quotes on typing [default: off]
- editor: code is focused on opening
- options: fixed the "Advanced" section toggle in Chrome
- install-usercss page now applies extension userstyles to itself