Schaut es Euch an und bildet Eure eigene Meinung.
Den Block gibt es natürlich auch in der Galerie und zum Download


Tommy hat geschrieben:
"Es ist doch aber auch vollkommen egal ob Mobirise das auch hat oder nicht. Das muss einen doch nicht davon abhalten einen weiteren Block in der Art zu entwickeln."



Code: Alles auswählen
<section data-bs-version="5.1" class="content5" group="Content">
<mbr-parameters>
<header>Size</header>
<input type="checkbox" title="Full Width" name="fullWidth">
<input type="range" inline title="Top" name="paddingTop" min="0" max="10" step="1" value="5">
<input type="range" inline title="Bottom" name="paddingBottom" min="0" max="10" step="1" value="5">
<input type="range" title="Breite" name="textWidth" min="4" max="12" step="1" value="10">
<header>Show/Hide</header>
<input type="checkbox" title="Titel" name="showTitle" checked>
<input type="checkbox" title="Zweitüberschrift" name="showSubtitle" checked>
<input type="checkbox" title="Text" name="showText" checked>
<input type="checkbox" title="Liste" name="showList" checked>
<header>Listen-Stil</header>
<select title="Aufzählung" name="listStyle">
<option value="disc">● Punkte</option>
<option value="decimal" selected>1. Nummeriert</option>
<option value="none">— Keiner</option>
</select>
<input type="color" title="Listen-Farbe" name="listColor" value="#333333" selected>
<input type="color" title="Marker-Farbe" name="markerColor" value="#1d9e75" selected>
<header>Background</header>
<input type="color" title="Hintergrund" name="bgColor" value="#ffffff">
</mbr-parameters>
<div mbr-class="{'container': !fullWidth, 'container-fluid': fullWidth}">
<div class="row justify-content-center">
<div class="col-md-12 col-lg-{{textWidth}}">
<h3 class="mbr-section-title mbr-fonts-style mb-4" mbr-if="showTitle" data-app-selector=".mbr-section-title" mbr-theme-style="display-2">
<b>Überschrift</b>
</h3>
<h4 class="mbr-section-subtitle mbr-fonts-style mb-4" mbr-if="showSubtitle" data-app-selector=".mbr-section-subtitle" mbr-theme-style="display-5">
Zweitüberschrift
</h4>
<p class="mbr-text mbr-fonts-style mb-4" mbr-if="showText" data-app-selector=".mbr-text" mbr-theme-style="display-7">
Hier steht dein Text. Klicke zum Bearbeiten.
</p>
<!-- Liste – mbr-article macht sie im Builder per + erweiterbar -->
<ul class="mbr-list mbr-fonts-style" mbr-if="showList" mbr-theme-style="display-7" data-app-selector=".mbr-list" data-multiline mbr-article>
<li class="mbr-text item-wrap">Listeneintrag 1</li>
<li class="mbr-text item-wrap">Listeneintrag 2</li>
<li class="mbr-text item-wrap">Listeneintrag 3</li>
</ul>
</div>
</div>
</div>
</section>Code: Alles auswählen
padding-top: (@paddingTop * 1rem);
padding-bottom: (@paddingBottom * 1rem);
background-color: @bgColor;
.mbr-list {
list-style: ~"@{listStyle}";
padding-left: 1.5rem;
color: @listColor;
li {
margin-bottom: 0.5rem;
padding-left: 0.25rem;
line-height: 1.7;
}
& when (@listStyle = 'disc') {
li::marker {
color: @markerColor;
}
}
& when (@listStyle = 'decimal') {
li::marker {
color: @markerColor;
font-weight: 700;
}
}
& when (@listStyle = 'none') {
padding-left: 0;
li {
padding-left: 0;
}
li::before {
content: '—';
color: @markerColor;
margin-right: 0.5rem;
font-weight: 700;
}
}
}





Code: Alles auswählen
<section data-bs-version="5.1" class="content5 vn-text-list" group="Content" id="{{mbr-id}}">
<mbr-parameters>
<header>Size</header>
<input type="checkbox" title="Full Width" name="fullWidth">
<input type="range" inline title="Top" name="paddingTop" min="0" max="10" step="1" value="5">
<input type="range" inline title="Bottom" name="paddingBottom" min="0" max="10" step="1" value="5">
<input type="range" title="Breite" name="textWidth" min="4" max="12" step="1" value="10">
<header>Show/Hide</header>
<input type="checkbox" title="Überschrift" name="showTitle">
<input type="checkbox" title="Zweitüberschrift" name="showSubtitle" checked>
<input type="checkbox" title="Text" name="showText" checked>
<input type="checkbox" title="Liste" name="showList" checked>
<header>Überschrift</header>
<input type="range" inline title="Abstand unten" name="titleMb" min="0" max="60" step="4" value="16">
<input type="color" title="Farbe" name="titleColor" value="#000000" selected>
<select title="Gewicht" name="titleWeight">
<option value="400">Normal</option>
<option value="600">Semi-Bold</option>
<option value="700" selected>Bold</option>
<option value="800">Extra-Bold</option>
</select>
<header>Zweitüberschrift</header>
<input type="range" inline title="Abstand unten" name="subtitleMb" min="0" max="60" step="4" value="16">
<input type="color" title="Farbe" name="subtitleColor" value="#333333" selected>
<select title="Gewicht" name="subtitleWeight">
<option value="400">Normal</option>
<option value="600" selected>Semi-Bold</option>
<option value="700">Bold</option>
</select>
<header>Fließtext</header>
<input type="range" inline title="Zeilenhöhe" name="textLh" min="1" max="3" step="0.1" value="2.4">
<input type="range" inline title="Abstand unten" name="textMb" min="0" max="60" step="4" value="20">
<input type="color" title="Farbe" name="textColor" value="#444444" selected>
<header>Liste</header>
<select title="Aufzählung" name="listStyle">
<option value="disc">● Punkte</option>
<option value="decimal" selected>1. Nummeriert</option>
<option value="none">— Strich</option>
</select>
<input type="range" inline title="Größe (px)" name="listSize" min="12" max="30" step="1" value="19">
<input type="range" inline title="Abstand Eintr." name="listItemMb" min="0" max="30" step="2" value="8">
<input type="color" title="Text-Farbe" name="listColor" value="#2299aa" selected>
<input type="color" title="Marker-Farbe" name="markerColor" value="#1d9e75" selected>
<header>Hintergrund</header>
<input type="color" title="Farbe" name="bgColor" value="#e6c63b">
</mbr-parameters>
<div mbr-class="{'container': !fullWidth, 'container-fluid': fullWidth}">
<div class="row justify-content-center">
<div class="col-md-12 col-lg-{{textWidth}}">
<h3 class="mbr-section-title mbr-fonts-style mb-4" mbr-if="showTitle" data-app-selector=".mbr-section-title" mbr-theme-style="display-2">
<b>Überschrift</b>
</h3>
<h2 class="mbr-section-subtitle mbr-fonts-style mb-4" mbr-if="showSubtitle" data-app-selector=".mbr-section-subtitle" mbr-theme-style="display-1">
Zweitüberschrift
</h2>
<p class="mbr-text mbr-fonts-style mb-4" mbr-if="showText" data-app-selector=".mbr-text" mbr-theme-style="display-2">
Hier steht dein Text. Klicke zum Bearbeiten.
</p>
<ul class="mbr-list mbr-fonts-style" mbr-if="showList" mbr-theme-style="display-7" data-app-selector=".mbr-list" data-multiline mbr-article>
<li class="mbr-text item-wrap">Listeneintrag 1</li>
<li class="mbr-text item-wrap">Listeneintrag 2</li>
<li class="mbr-text item-wrap">Listeneintrag 3</li>
</ul>
</div>
</div>
</div>
</section>Code: Alles auswählen
padding-top: (@paddingTop * 1rem);
padding-bottom: (@paddingBottom * 1rem);
background-color: @bgColor;
.mbr-section-title {
font-weight: ~"@{titleWeight}" !important;
color: @titleColor !important;
margin-bottom: ~"@{titleMb}px" !important;
line-height: 1.2;
}
.mbr-section-subtitle {
font-weight: ~"@{subtitleWeight}" !important;
color: @subtitleColor !important;
margin-bottom: ~"@{subtitleMb}px" !important;
line-height: 1.3;
}
.mbr-text {
line-height: ~"@{textLh}" !important;
color: @textColor !important;
margin-bottom: ~"@{textMb}px" !important;
}
.mbr-list {
list-style: ~"@{listStyle}";
padding-left: 1.5rem;
margin: 0;
li {
color: @listColor !important;
margin-bottom: ~"@{listItemMb}px" !important;
line-height: 1.6;
}
& when (@listStyle = 'disc') {
li::marker {
color: @markerColor;
font-size: 1.1em;
}
}
& when (@listStyle = 'decimal') {
li::marker {
color: @markerColor;
font-weight: 700;
}
}
& when (@listStyle = 'none') {
padding-left: 0;
li {
padding-left: 1.2rem;
position: relative;
}
li::before {
content: '—';
color: @markerColor;
position: absolute;
left: 0;
font-weight: 700;
}
}
}


Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste