Skip to content

Releases: openstyles/stylus

1.5.1

30 Nov 02:25
Compare
Choose a tag to compare
  • Fix usercss install error.
  • Show style update error.
  • Fix inline searching.
  • Fix detection of CSP.
  • Fix dynamic changing of manager options.
  • Fix cursor moving between multiple editors.
  • Fix beautify adding extra carriage returns.
  • Allow /!* comments in UserCSS metadata.
  • Miscellaneous bug fixes.

1.4.23

19 Nov 04:57
Compare
Choose a tag to compare
  • 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

23 Jan 15:50
Compare
Choose a tag to compare
  • Popup:

    • Inline style search in popup.

      Click the thumbnails to install/uninstall.
      Enabled by [x] inline checkbox next to the Find 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 hide h1 elements inside iframes embedded on twitter.com pages.

bugfix

09 Dec 18:41
Compare
Choose a tag to compare
  • FF: style background tabs correctly again
  • fixes for some edge cases

Config dialog for usercss in popup

08 Dec 18:11
Compare
Choose a tag to compare
  • 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

07 Dec 17:34
Compare
Choose a tag to compare
  • editor with colorpicker option disabled can open multiple sections again

previous fixes:

  • style elements are applied now in the correct order (fixes FOUC in some reported cases)
  • editor: style name wasn't saved, which broke style manager, see #275
  • editor: saving of global sections was broken, see #282

Threaded linting and hotkeys in popup

03 Dec 05:51
Compare
Choose a tag to compare
  • 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

25 Nov 17:29
Compare
Choose a tag to compare

FF Android: fixed popup communication issue on the first tab

Android compatibility, improvements and fixes

25 Nov 15:50
Compare
Choose a tag to compare
  • 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

21 Nov 08:04
Compare
Choose a tag to compare

Style toggling was broken in 1.1.6, now restored.