Style Side Panel
From FirebugWiki
(Difference between revisions)
Sebastianz (Talk | contribs) (Added description of context menu options) |
Sebastianz (Talk | contribs) (Added context menu options of source links) |
||
| Line 29: | Line 29: | ||
|- | |- | ||
| Copy Style Declaration || CSS selector || Copies all styles of the current CSS rule formatted to the clipboard | | Copy Style Declaration || CSS selector || Copies all styles of the current CSS rule formatted to the clipboard | ||
| + | |- | ||
| + | | Copy Location || source link || Copies the URL of the file containing the current CSS rule | ||
| + | |- | ||
| + | | Open in New Tab || source link || Opens the file containing the current CSS rule in a new Tab | ||
|- | |- | ||
| Edit Element Style... || everywhere || Enables editing of the element's inline style | | Edit Element Style... || everywhere || Enables editing of the element's inline style | ||
Revision as of 08:19, 22 August 2011
Inside the Style Side Panel you can see the CSS styles, that are currently assigned to the selected node inside the HTML Panel. It also offers you similar possibilities of CSS manipulation like the CSS Panel. The difference between them is organizational. The Style Side Panel is a live view of the styles assigned to the selected node inside the HTML Panel (which can lie in different files) while the CSS Panel shows all styles of a CSS containing file.
Furthermore the Style Side Panel gives you the cascading info, meaning styles, that are overwritten by other style definitions will be shown lined-through.
Options Menu
| Option | Preference | Description |
|---|---|---|
| Only Show Applied Styles | extensions.firebug.onlyShowAppliedStyles | Toggles the display of overwritten styles |
| Show User Agent CSS | extensions.firebug.showUserAgentCSS | Toggles display of user agent specific CSS styles (all styles prefixed by "-moz-") |
| Expand Shorthand Properties | extensions.firebug.expandShorthandProps | If activated, all shorthand properties will be separated into the different styles, that make up the combined style (e. g. "margin" will be separated into "margin-top", "margin-right", "margin-bottom" and "margin-left") |
| :active | - | Toggles display of styles defined in the :active pseudo-class applying to the currently selected HTML element
|
| :hover | - | Toggles display of styles defined in the :hover pseudo-class applying to the currently selected HTML element
|
For more info about tweaks available in Firebug please see the full list of preferences.
Context Menu
| Option | Context | Description |
|---|---|---|
| Copy Rule Declaration | CSS selector | Copies the current CSS rule including the selector and all styles formatted to the clipboard |
| Copy Style Declaration | CSS selector | Copies all styles of the current CSS rule formatted to the clipboard |
| Copy Location | source link | Copies the URL of the file containing the current CSS rule |
| Open in New Tab | source link | Opens the file containing the current CSS rule in a new Tab |
| Edit Element Style... | everywhere | Enables editing of the element's inline style |
| New Property... | CSS rule | Allows adding new styles to the current CSS rule |
| Edit "<property name>"... | CSS property | Starts inline-editing of the current CSS property |
| Delete "<property name>"... | CSS property | Deletes the current CSS property from the rule |
| Disable "<property name>"... | CSS property | Disables the current CSS property |
| Refresh | everywhere | Reloads the contents of the panel |
| Inspect in CSS Tab | CSS rule | Lets you inspect the current CSS rule inside the CSS Panel |
| Inspect in DOM Tab | CSS rule | Lets you inspect the current CSS rule inside the DOM Panel |
| Open in external editor | CSS rule | Opens the CSS file containing the current rule in an external editor |