
Aus einem unserer letzten Rundschreiben
Wir haben für Sie unsere Top-10-Tipps für einen besseren Online-Shop zusammengefasst. Starten Sie jetzt durch und kurbeln Sie Ihre Verkäufe mit Tipps vom eCommerce-Profi an.
Weiterlesen/// @param {number} $columns Count of columns
/// @param {map} $breakpoints Map or array of available breakpoints
/// @param {number} $gap Gap width between grid elements
@include fz-make-cssgrid($columns: $grid-columns, $breakpoints: $grid-breakpoints, $gap: $grid-gutter-width);
Erstellt ein CSS-Grid-Layout mit einer Grundstruktur. Die Anzahl der Spalten und Zeilen ist über die Parameter anpassbar. Es werden klassische Bootstrap-Variablen genutzt, die überschrieben werden können.
Parameter für fz-make-cssgrid Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$name |
string |
Optional | $grid-columns |
Anzahl der Spalten im Grid |
$color |
color |
Optional | $grid-breakpoints |
Map der verfügbaren Breakpoints |
$size |
number |
Optional | $grid-gutter-width |
Abstand zwischen Grid-Elementen |
Zusätzliche Informationen
|
/// @param {string} $name Map key of the icon in $fz-icon-collection
/// @param {color} $color Color for the icon as HEX color code
/// @param {number} $size Size of the icon (with unit, e.g., px, em, rem)
/// @param {string} $repository Icon repository name
/// @param {number} $rotate Rotation of the icon (number with deg unit or map for 3D rotation)
@include fz-icon($name, $color, $size: $icon-base-size, $repository: "revplus", $rotate: 0deg);
Die Mixin bietet eine flexible Methode zur Einbindung und Stilisierung der verfügbaren Icons im RevPlus Profi-Theme für Shopware 6. Es liest ein spezifisches Icon aus der vordefinierten Sammlung $fz-icon-collection
und ermöglicht die Anpassung von Farbe, Größe und Rotation via Parameter. Das Icon wird dem jeweiligen Element als Hintergrund-Bild hinzugefügt.
Parameter für fz-icon Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$name |
string |
Schlüssel des Icons in der $fz-icon-collection Map |
||
$color |
color |
Farbe des Icons als HEX-Farbcode | ||
$size |
number |
Optional | $icon-base-size |
Größe des Icons (mit Einheit, z.B. px , rem , em ) |
$repository |
string |
Optional | revplus | Name des Icon-Repositories |
$name |
number|map |
Optional | 0deg |
Rotation des Icons (Zahl mit deg-Einheit oder Map für 3D-Rotation) |
Zusätzliche Informationen
|
Wir empfehlen, soweit möglich, Icons immer als SVG direkt in das HTML des Themes einzufügen, bzw. die von Shopware zur Verfügung gestellte Twig-Funktion {% sw_icon %}
zu nutzen. Die Verwendung von Icons und Bildern im CSS kann zu beeinträchtigten Ladezeiten führen.
/// @param {number} $zIndex z-index
@include make-absolute($zIndex: 0);
Die Mixin setzt die Position des Elements auf absolut.
Parameter für make-absolute Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Von oben */
/// @param {number} $offset Offset from top
/// @param {number} $zIndex z-index
@include make-absolute-top($offset: 0, $zIndex: 0);
/* Von unten */
/// @param {number} $offset Offset from bottom
/// @param {number} $zIndex z-index
@include make-absolute-bottom($offset: 0, $zIndex: 0);
/* Von links */
/// @param {number} $offset Offset from left
/// @param {number} $zIndex z-index
@include make-absolute-start($offset: 0, $zIndex: 0);
/* Von rechts */
/// @param {number} $offsetX Offset from right
/// @param {number} $zIndex z-index
@include make-absolute-end($offset: 0, $zIndex: 0);
Alle diese Mixins verwenden intern make-absolute
und setzen zusätzlich eine spezifische Positionierung (oben, unten, links, rechts) mit dem angegebenen Offset.
Parameter für make-absolute-(top|bottom|start|end) Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$offset |
number |
Optional | 0 |
Abstand von der jeweiligen Seite (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Von oben-links */
/// @param {number} $offsetX Offset from left
/// @param {number} $offsetY Offset from top
/// @param {number} $zIndex z-index
@include make-absolute-top-start($offsetX: 0, $offsetY: 0, $zIndex: 0);
/* Von oben-rechts */
/// @param {number} $offsetX Offset from right
/// @param {number} $offsetY Offset from top
/// @param {number} $zIndex z-index
@include make-absolute-top-end($offsetX: 0, $offsetY: 0, $zIndex: 0);
/* Von unten-links */
/// @param {number} $offsetX Offset from left
/// @param {number} $offsetY Offset from bottom
/// @param {number} $zIndex z-index
@include make-absolute-bottom-start($offsetX: 0, $offsetY: 0, $zIndex: 0);
/* Von unten-rechts */
/// @param {number} $offsetX Offset from right
/// @param {number} $offsetY Offset from bottom
/// @param {number} $zIndex z-index
@include make-absolute-bottom-end($offsetX: 0, $offsetY: 0, $zIndex: 0);
Alle diese Mixins verwenden intern make-absolute
und setzen zusätzlich eine spezifische Positionierung (oben/unten und links/rechts) mit den angegebenen Offsets.
Parameter für make-absolute-(top|bottom)-(start|end) Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$offsetX |
number |
Optional | 0 |
Abstand auf der X-Achse (mit Einheit, z.B. px , rem , em ) |
$offsetY |
number |
Optional | 0 |
Abstand auf der Y-Achse (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Gesamte Breite */
/// @param {string} $position [top|bottom]
/// @param {number} $offset Offset from top|bottom
/// @param {number} $zIndex z-index
@include make-absolute-full-width($position: top, $offset: 0, $zIndex: 0);
Die Mixin positioniert das Element absolut über die gesamte Breite des Elternelements.
Parameter für make-absolute-full-width Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$position |
string |
Optional | top |
Position des Elements (top oder bottom ) |
$offset |
number |
Optional | 0 |
Abstand von der gewählten Position in $position (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Gesamte Höhe */
/// @param {string} $position [start|end]
/// @param {number} $offset Offset from left|right
/// @param {number} $zIndex z-index
@include make-absolute-full-height($position: start, $offset: 0, $zIndex: 0);
Die Mixin positioniert das Element absolut über die gesamte Höhe des Elternelements.
Parameter für make-absolute-full-height Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$position |
string |
Optional | start |
Position des Elements (start oder end ) |
$offset |
number |
Optional | 0 |
Abstand von der gewählten Position in $position (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Gesamte Fläche */
/// @param {number} $zIndex z-index
@include make-absolute-full-area($zIndex: 0);
Die Mixin positioniert das Element absolut und füllt den gesamten Bereich des Elternelements aus.
Parameter für make-absolute-full-area Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/// @param {number} $zIndex z-index
@include make-fixed($zIndex: 0);
Die Mixin setzt die Position des Elements auf fixed
.
Parameter für make-fixed Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Von oben */
/// @param {number} $offset Offset from top
/// @param {number} $zIndex z-index
@include make-fixed-top($offset: 0, $zIndex: 0);
/* Von unten */
/// @param {number} $offset Offset from bottom
/// @param {number} $zIndex z-index
@include make-fixed-bottom($offset: 0, $zIndex: 0);
/* Von links */
/// @param {number} $offset Offset from left
/// @param {number} $zIndex z-index
@include make-fixed-start($offset: 0, $zIndex: 0);
/* Von rechts */
/// @param {number} $offsetX Offset from right
/// @param {number} $zIndex z-index
@include make-fixed-end($offset: 0, $zIndex: 0);
Alle diese Mixins verwenden intern make-fixed
und setzen zusätzlich eine spezifische Positionierung (oben, unten, links, rechts) mit dem angegebenen Offset.
Parameter für make-fixed-(top|bottom|start|end) Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$offset |
number |
Optional | 0 |
Abstand von der jeweiligen Seite (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Von oben-links */
/// @param {number} $offsetX Offset from left
/// @param {number} $offsetY Offset from top
/// @param {number} $zIndex z-index
@include make-fixed-top-start($offsetX: 0, $offsetY: 0, $zIndex: 0);
/* Von oben-rechts */
/// @param {number} $offsetX Offset from right
/// @param {number} $offsetY Offset from top
/// @param {number} $zIndex z-index
@include make-fixed-top-end($offsetX: 0, $offsetY: 0, $zIndex: 0);
/* Von unten-links */
/// @param {number} $offsetX Offset from left
/// @param {number} $offsetY Offset from bottom
/// @param {number} $zIndex z-index
@include make-fixed-bottom-start($offsetX: 0, $offsetY: 0, $zIndex: 0);
/* Von unten-rechts */
/// @param {number} $offsetX Offset from right
/// @param {number} $offsetY Offset from bottom
/// @param {number} $zIndex z-index
@include make-fixed-bottom-end($offsetX: 0, $offsetY: 0, $zIndex: 0);
Alle diese Mixins verwenden intern make-fixed
und setzen zusätzlich eine spezifische Positionierung (oben/unten und links/rechts) mit den angegebenen Offsets.
Parameter für make-fixed-(top|bottom)-(start|end) Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$offsetX |
number |
Optional | 0 |
Abstand auf der X-Achse (mit Einheit, z.B. px , rem , em ) |
$offsetY |
number |
Optional | 0 |
Abstand auf der Y-Achse (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Gesamte Breite */
/// @param {string} $position [top|bottom]
/// @param {number} $offset Offset from top|bottom
/// @param {number} $zIndex z-index
@include make-fixed-full-width($position: top, $offset: 0, $zIndex: 0);
Die Mixin positioniert das Element fixiert über die gesamte Breite des Elternelements.
Parameter für make-fixed-full-width Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$position |
string |
Optional | top |
Position des Elements (top oder bottom ) |
$offset |
number |
Optional | 0 |
Abstand von der gewählten Position in $position (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Gesamte Höhe */
/// @param {string} $position [start|end]
/// @param {number} $offset Offset from left|right
/// @param {number} $zIndex z-index
@include make-fixed-full-height($position: start, $offset: 0, $zIndex: 0);
Die Mixin positioniert das Element fixiert über die gesamte Höhe des Elternelements.
Parameter für make-fixed-full-height Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$position |
string |
Optional | start |
Position des Elements (start oder end ) |
$offset |
number |
Optional | 0 |
Abstand von der gewählten Position in $position (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
/* Gesamte Fläche */
/// @param {number} $zIndex z-index
@include make-fixed-full-area($zIndex: 0);
Die Mixin positioniert das Element fixiert und füllt den gesamten Bereich des Elternelements aus.
Parameter für make-fixed-full-area Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
Zusätzliche Informationen
|
@include make-pseudo {
@content;
}
Diese Mixin ist typischerweise für den Einsatz in Pseudo-Elementen (::before
und ::after
) gedacht und erstellt eine CSS Eigenschaft mit leerem Inhalt (content: ''
). Das Hinzufügen weiterer Styles ist über den @content
Block möglich.
Parameter für make-pseudo Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element |
/// @param {number} $zIndex z-index
@include make-pseudo-absolute($zIndex: 0) {
@content;
}
Diese Mixin verwendet intern make-absolute
und make-pseudo
.
Parameter für make-pseudo-absolute Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/* Von oben */
/// @param {number} $offset Offset from top
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-top($offset: 0, $zIndex: 0) {
@content;
}
/* Von unten */
/// @param {number} $offset Offset from bottom
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-bottom($offset: 0, $zIndex: 0) {
@content;
}
/* Von links */
/// @param {number} $offset Offset from left
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-start($offset: 0, $zIndex: 0) {
@content;
}
/* Von rechts */
/// @param {number} $offset Offset from right
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-end($offset: 0, $zIndex: 0) {
@content;
}
Alle diese Mixins verwenden intern make-absolute-(top|bottom|start|end)
und make-pseudo
.
Parameter für make-pseudo-absolute-(top|bottom|start|end) Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$offset |
number |
Optional | 0 |
Abstand von der jeweiligen Seite (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/// @param {number} $offsetX Offset from left
/// @param {number} $offsetY Offset from top
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-top-start($offsetX: 0, $offsetY: 0, $zIndex: 0) {
@content;
}
/// @param {number} $offsetX Offset from right
/// @param {number} $offsetY Offset from top
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-top-end($offsetX: 0, $offsetY: 0, $zIndex: 0) {
@content;
}
/// @param {number} $offsetX Offset from left
/// @param {number} $offsetY Offset from bottom
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-bottom-start($offsetX: 0, $offsetY: 0, $zIndex: 0) {
@content;
}
/// @param {number} $offsetX Offset from right
/// @param {number} $offsetY Offset from bottom
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-bottom-end($offsetX: 0, $offsetY: 0, $zIndex: 0) {
@content;
}
Alle diese Mixins verwenden intern make-absolute-(top|bottom)-(start|end)
und make-pseudo
.
Parameter für make-pseudo-absolute-(top|bottom)-(start|end) Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$offsetX |
number |
Optional | 0 |
Abstand auf der X-Achse (mit Einheit, z.B. px , rem , em ) |
$offsetY |
number |
Optional | 0 |
Abstand auf der Y-Achse (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/// @param {string} $position [top|bottom]
/// @param {number} $offset Offset from top|bottom
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-full-width($position: top, $offset: 0, $zIndex: 0) {
@content;
}
Alle diese Mixins verwenden intern make-absolute-full-width
und make-pseudo
.
Parameter für make-pseudo-absolute-full-width Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$position |
string |
Optional | top |
Position des Elements (top oder bottom ) |
$offset |
number |
Optional | 0 |
Abstand von der gewählten Position in $position (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element |
/// @param {string} $position [start|end]
/// @param {number} $offset Offset from left|right
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-full-height($position: start, $offset: 0, $zIndex: 0) {
@content;
}
Alle diese Mixins verwenden intern make-absolute-full-height
und make-pseudo
.
Parameter für make-pseudo-absolute-full-height Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$position |
string |
Optional | start |
Position des Elements (start oder end ) |
$offset |
number |
Optional | 0 |
Abstand von der gewählten Position in $position (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/// @param {number} $zIndex z-index
@include make-pseudo-absolute-full-area($zIndex: 0) {
@content;
}
Die Mixin positioniert das Element absolut und füllt den gesamten Bereich des Elternelements aus.
Parameter für make-pseudo-absolute-full-area Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/// @param {number} $zIndex z-index
@include make-pseudo-fixed($zIndex: 0) {
@content;
}
Diese Mixin verwendet intern make-fixed
und make-pseudo
.
Parameter für make-pseudo-fixed Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/* Von oben */
/// @param {number} $offset Offset from top
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-top($offset: 0, $zIndex: 0) {
@content;
}
/* Von unten */
/// @param {number} $offset Offset from bottom
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-bottom($offset: 0, $zIndex: 0) {
@content;
}
/* Von links */
/// @param {number} $offset Offset from left
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-start($offset: 0, $zIndex: 0) {
@content;
}
/* Von rechts */
/// @param {number} $offset Offset from right
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-end($offset: 0, $zIndex: 0) {
@content;
}
Alle diese Mixins verwenden intern make-fixed-(top|bottom|start|end)
und make-pseudo
.
Parameter für make-pseudo-fixed-(top|bottom|start|end) Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$offsetX |
number |
Optional | 0 |
Abstand auf der X-Achse (mit Einheit, z.B. px , rem , em ) |
$offsetY |
number |
Optional | 0 |
Abstand auf der Y-Achse (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/* Von oben-links */
/// @param {number} $offsetX Offset from left
/// @param {number} $offsetY Offset from top
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-top-start($offsetX: 0, $offsetY: 0, $zIndex: 0) {
@content;
}
/* Von oben-rechts */
/// @param {number} $offsetX Offset from right
/// @param {number} $offsetY Offset from top
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-top-end($offsetX: 0, $offsetY: 0, $zIndex: 0) {
@content;
}
/* Von unten-links */
/// @param {number} $offsetX Offset from left
/// @param {number} $offsetY Offset from bottom
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-bottom-start($offsetX: 0, $offsetY: 0, $zIndex: 0) {
@content;
}
/* Von unten-rechts */
/// @param {number} $offsetX Offset from right
/// @param {number} $offsetY Offset from bottom
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-bottom-end($offsetX: 0, $offsetY: 0, $zIndex: 0) {
@content;
}
Parameter für make-pseudo-fixed-(top|end)-(start|end) Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$offset |
number |
Optional | 0 |
Abstand von der jeweiligen Seite (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/* Volle Breite */
/// @param {string} $position [top|bottom]
/// @param {number} $offset Offset from top|bottom
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-full-width($position: top, $offset: 0, $zIndex: 0) {
@content;
}
Alle diese Mixins verwenden intern make-fixed-full-width
und make-pseudo
.
Parameter für make-pseudo-fixed-full-width Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$position |
string |
Optional | top |
Position des Elements (top oder bottom ) |
$offset |
number |
Optional | 0 |
Abstand von der jeweiligen Seite (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element |
/* Volle Höhe */
/// @param {string} $position [start|end]
/// @param {number} $offset Offset from left|right
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-full-height($position: start, $offset: 0, $zIndex: 0) {
@content;
}
Alle diese Mixins verwenden intern make-fixed-full-height
und make-pseudo
.
Parameter für make-pseudo-fixed-full-height Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$position |
string |
Optional | start |
Position des Elements (start oder end ) |
$offset |
number |
Optional | 0 |
Abstand von der jeweiligen Seite (mit Einheit, z.B. px , rem , em ) |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element |
/* Volle Fläche */
/// @param {number} $zIndex z-index
@include make-pseudo-fixed-full-area($zIndex: 0) {
@content;
}
Alle diese Mixins verwenden intern make-fixed-full-area
und make-pseudo
.
Parameter für make-pseudo-fixed-full-area Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$zIndex |
number |
Optional | 0 |
Der z-index Wert für das Element |
@content |
SCSS content Block | Optional | Zusätzliche Styles für das Pseudo-Element | |
Zusätzliche Informationen
|
/// @param {color} $bg-decoration Background color of the decoration elements
/// @param {number} $spacing Title's margin bottom
@include fz-cms-element-title-decoration($bg-decoration: $primary, $spacing: $grid-gutter-width);
Intern wird die make-pseudo-absolute
Mixin für die Positionierung der Dekorationselemente verwendet.
Parameter für fz-cms-element-title-decoration Mixin
|
||||
---|---|---|---|---|
Parameter | Typ | Optional | Standard | Beschreibung |
$bg-decoration |
color |
Optional | $primary |
Hintergrundfarbe der Dekorationselemente |
$spacing |
number |
Optional | $grid-gutter-width |
Unterer Abstand des Titelelements (mit Einheit, z.B. px , rem , em ) |
Zusätzliche Informationen
|