Stylus Firefox



Firefox only - Right Click and pick 'Save As' Colors needs to be in chrome folder and loaded as a script. For Linux put everything in the chrome directory Colors userChrome.css userContent.css userChrome.user.css userContent.user.css MozAddon Dark Stylus Firefox addon. (My Compile) Firefox Addon colors userContent.css These color addon pages. Stylus is a fork of Stylish that is based on the source code of version 1.5.2, which was the most up-to-date version before the original developer stopped working on the project. The objective in creating Stylus was to remove any and all analytics, and return to a more user-friendly UI. With natural ingredients, sustainability and experience-driven scents still at the top of consumers’ minds, the pandemic hasn’t caused a sea change in perfumery’s trajectory. Already-existing trends are accelerated, rearranged in their hierarchy to prioritise wellbeing and emotional nourishment, opening space for healthy-smelling accords, comforting associations and do-good ingredients. Thanks, that's correct: Firefox wants exactly 5 slashes (/), address with less or more slashes after 'file:' is just ignored. Suggestion: wouldn't it be smart for firefox to just add those 3 missing slashes so that it can open the same links as other browsers, too?

Stylus Firefox

Not 'ish', but 'us', as in 'us' the actual users. Stylus is a fork of Stylish that is loosely based on the source code of version 1.5.2, which was the most up-to-date version before the original developer stopped working on the project. The majority of code has been rewritten to optimize performance.

Firefox

Stylus was created by users, for users, in response to Stylish being taken over by a new development team. Stylish-for-Chrome now has extensive analytics enabled by default, and the UI has been over-simplified for casual users, thus becoming far less user-friendly for power-users who actually create and edit styles.

The main objectives in creating Stylus were to remove any and all analytics, and return to a more user-friendly UI. Other important new features have also been added, most notably a backup feature, and an intuitive and customizable automatic update function for styles.

Useful Links
Source code: https://github.com/openstyles/stylus
FAQs page: http://add0n.com/stylus.html
Get started with Stylus: https://www.youtube.com/watch?v=fCVvGwoF5cQ
Technical bug report: https://github.com/openstyles/stylus/issues
General discussion and bug report: http://add0n.com/stylus.html#reviews
Localization: https://www.transifex.com/github-7/Stylus/dashboard/

****** Privacy Policy ******
Unlike other similar extensions, we don't find you to be all that interesting. Your questionable browsing history should remain between you and the NSA. Stylus collects nothing. Period.

Permissions
  • This extension can access your data on all websites.
  • This extension can access your data on some websites.
  • This extension can access your tabs and browsing activity.
  • This extension can store an unlimited amount of client-side data.
Stylus Firefox

Screenshots

Please enable JavaScript to view comments

The Style Editor enables you to:

  • view and edit all the stylesheets associated with a page
  • create new stylesheets from scratch and apply them to the page
  • import existing stylesheets and apply them to the page

To open the Style Editor choose the 'Style Editor' option from the 'Web Developer' menu (which is a submenu in the 'Tools' menu on the Mac). The Toolbox will appear at the bottom of the browser window, with the Style Editor activated:

The Style Editor is divided into three main sections:

The style sheet pane

The style sheet pane, on the left, lists all the style sheets being used by the current document. You can quickly toggle the use of a given sheet on and off by clicking the eyeball icon to the left of the sheet's name. You can save any changes you've made to the style sheet to your local computer by clicking the Save button in the bottom-right corner of each sheet's entry in the list.

From Firefox 40 onwards, the style sheet pane also includes a context menu that lets you open the selected style sheet in a new tab.

Stylus Firefox

The editor pane

On the right is the editor pane. This is where the source for the selected style sheet is available for you to read and edit. Any changes you make are immediately applied to the page. This makes it easy to experiment with, revise, and test changes. Once you're satisfied with your changes, you can save a copy locally by clicking the Save button on the sheet's entry in the style sheet pane.

The editor provides line numbers and syntax highlighting to help make it easier to read your CSS. It also supports a number of keyboard shortcuts.

The Style Editor automatically de-minimizes style sheets that it detects, without affecting the original. This makes it much easier to work on pages that have been optimized.

The Style Editor supports autocomplete. Just start typing, and it will offer you a list of suggestions.

You can switch autocomplete off in the Style Editor settings. Macbook air 2011 update.

The media sidebar

Stylus Firefox

The Style Editor displays a sidebar on the right-hand side whenever the current sheet contains any @media rules. The sidebar lists the rules and provides a link to the line of the sheet where the rule is defined. Click an item to jump to that rule in the sheet. The condition text of the rule is greyed-out if the media query doesn’t currently apply.

The media sidebar works especially well with Responsive Design View for creating and debugging responsive layouts:

From Firefox 46 onwards, if an @media rule contains a screen size in a condition, then it is made clickable: clicking it then resizes the screen to that size using the Responsive Design View:

Creating and importing style sheets

You can create a new style sheet by clicking the New button in the toolbar. Then you can just start entering CSS into the new editor and watch as the new styles are applied in real time just like changes to the other sheets.

You can load a style sheet from disk and apply it to the page by clicking the Import button.

Source map support

Web developers often create CSS files using a preprocessor like Sass, Less, or Stylus. These tools generate CSS files from a richer and more expressive syntax. If you do this, being able to see and edit the generated CSS is not so useful, because the code you maintain is the preprocessor syntax, not the generated CSS. So you'd need to edit the generated CSS, then manually work out how to reapply that to the original source.

Source maps enable the tools to map back from the generated CSS to the original syntax, so they can display, and allow you to edit, files in the original syntax. From Firefox 29 onwards, the Style Editor can understand CSS source maps.

This means that if you use, for example, Sass, then the Style Editor will show you, and allow you to edit, Sass files, rather than the CSS that is generated from them:

For this to work, you must:

Stylus For Firefox

  • use a CSS preprocessor that understands the Source Map Revision 3 proposal. Currently this means Sass 3.3.0 or above or the 1.5.0 version of Less. Other preprocessors are actively working on adding support, or considering it.
  • actually instruct the preprocessor to generate a source map, for example by passing the --source-map argument to the Lass command-line tool, but in some preprocessors like Sass, source maps are generated by default and you don't need to do anything.

Viewing original sources

Now, if you check 'Show original sources' in the Style Editor settings, the links next to CSS rules in the Rules view will link to the original sources in the Style Editor.

From Firefox 35 onwards original sources are displayed by default.

Editing original sources

You can also edit the original sources in the Style Editor and see the results applied to the page immediately. To get this to work there are two extra steps.

Firefox

First, set up your preprocessor so it watches the original source and automatically regenerates the CSS when the source changes. With Sass you can do this by passing the --watch option:

Next, save the original source in the Style Editor by clicking the 'Save' button next to the file, and saving it over the original file.

Now when you make changes to the source file in the Style Editor the CSS is regenerated and you can see the changes right away.

Keyboard shortcuts

Source editor shortcuts

This table lists the default shortcuts for the source editor.

In the Editor Preferences section of the developer tools settings, you can choose to use Vim, Emacs, or Sublime Text key bindings instead.

To select these, visit about:config, select the setting devtools.editor.keymap, and assign 'vim' or 'emacs', or 'sublime' to that setting. If you do this, the selected bindings will be used for all the developer tools that use the source editor. You need to reopen the editor for the change to take effect.

Stylus Extension For Firefox

From Firefox 33 onwards, the key binding preference is exposed in the Editor Preferences section of the developer tools settings, and you can set it there instead of about:config.

CommandWindowsmacOSLinux
Go to lineCtrl + J, Ctrl + GCmd + J, Cmd + GCtrl + J, Ctrl + G
Find in fileCtrl + FCmd + FCtrl + F
Select allCtrl + ACmd + ACtrl + A
CutCtrl + XCmd + XCtrl + X
CopyCtrl + CCmd + CCtrl + C
PasteCtrl + VCmd + VCtrl + V
UndoCtrl + ZCmd + ZCtrl + Z
RedoCtrl + Shift + Z / Ctrl + YCmd + Shift + Z / Cmd + YCtrl + Shift + Z / Ctrl + Y
IndentTabTabTab
UnindentShift + TabShift + TabShift + Tab
Move line(s) upAlt + UpAlt + UpAlt + Up
Move line(s) downAlt + DownAlt + DownAlt + Down
Comment/uncomment line(s)Ctrl + /Cmd + /Ctrl + /