The Styles Indicator System (SIS) in GenerateBlocks helps users quickly identify the source of style property values.
How It Works
In the Styles tab, the SIS shows small indicators next to selectors, responsive views, style panels, style group labels, and style properties. A legend at the bottom of the Styles panel lists the indicator types in use on the current block or global style.
Each indicator shows that a style property has a value. Its color and shape show where the value comes from. Hover over an indicator to see a tooltip that names the source, for example Inherited from All screens or Global · from .button.
-
Local ( Solid Orange Dot )
The property has a value on the block or global style you are editing, in the current selector and responsive view.
-
Inherited ( Gold Ring )
The property inherits its value from another responsive view or a parent selector.
Example 1: Tablet and Mobile views inherit the styles set for all screens.
Example 2: A<a>( link ) inherits its typography from its parent Text block. -
Global ( Purple Ring )
The property gets its value from a global style class on the block.
-
Shorthand ( Teal Diamond )
The property gets its value from a CSS shorthand property. For example,
padding: 20pxfills the top, right, bottom, and left Padding controls.
This visual cue makes it easy to determine whether a block or global style class has style property values and where they come from. This is especially helpful when working with selectors or switching between responsive views.
Selectors and Responsive settings
Indicators appear across all parts of the styles panel. The top of the styles panel show single indicators for Selector, a selector state such as hover and any Responsive views.
Multiple sources
Selectors and Responsive controls only have space for one indicator. Those which may have multiple sources will show the first indicator that applies to it in the order listed above ie. 1. Local, 2. Inherited, 3. Global, 4. Shorthand.
Style Panels
Styles panels may contain multiple properties of various sources. The panel header will display indicators for each and every applicable source.
Individual Style Sources and shortcuts
Indicators for an individual style such as Padding Top, can be clicked to open a pop over displaying the source CSS the property value comes from. Hovering over the property will display an Edit ( Pen ) button that will open the source for editing. This is a great time saving feature when working on complex block styles.
Filtering Controls
Use the Filter controls menu at the top of the Styles panel to narrow the controls you see:
- Show all: Shows every control.
- Show controls with value: Shows only controls that have a value.
- Show inherited values: Shows only controls with an inherited value.