placeholder.scsssite/_sass/uikit/components/placeholder.scss mit SCSS/CSS-Code für die Komponentenschicht.CSS-Regeln (2): .uk-placeholder, .uk-placeholder
SCSS-Variablen (4): $placeholder-margin-vertical, $placeholder-padding-vertical, $placeholder-padding-horizontal, $placeholder-background
Mixins: hook, hook
Include-Verwendungen: hook, hook
// Variablen
// ========================================================================
$placeholder-margin-vertical: $global-margin !default;
$placeholder-padding-vertical: $global-gutter !default;
$placeholder-padding-horizontal: $global-gutter !default;
$placeholder-background: $global-muted-background !default;
/* ========================================================================
Komponente: Placeholder
========================================================================== */
.uk-placeholder {
margin-bottom: $placeholder-margin-vertical;
padding: $placeholder-padding-vertical $placeholder-padding-horizontal;
background: $placeholder-background;
@if(mixin-exists(hook-placeholder)) {@include hook-placeholder();}
}
/* Abstand hinzufügen, wenn benachbartes Element */
* + .uk-placeholder { margin-top: $placeholder-margin-vertical; }
/*
* Abstand vom letzten Kind entfernen
*/
.uk-placeholder > :last-child { margin-bottom: 0; }
// Hooks
// ========================================================================
@if(mixin-exists(hook-placeholder-misc)) {@include hook-placeholder-misc();}
// @mixin hook-placeholder(){}
// @mixin hook-placeholder-misc(){}
ac75fabf3 Github-Seiten zu Asciidoc migriert (Github-Aktionen erforderlich).