KKeine Bearbeitungszusammenfassung |
USP-2.7>Lauritzl KKeine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<noinclude><templatestyles src="Vorlage:Styles.css" /></noinclude><span class="icon-- | <noinclude><templatestyles src="Vorlage:Styles.css" /></noinclude><span class="icon-- tolltip"><div | ||
class="mw-collapsible mw-collapsed true icon {{{icon|info}}} {{{class|}}}" | class="mw-collapsible mw-collapsed true icon {{{icon|info}}} {{{class|}}}" | ||
data-expandtext="{{{einblenden|{{{2|‍}}} }}}" | data-expandtext="{{{einblenden|{{{2|‍}}} }}}" | ||
Version vom 22. Mai 2025, 08:36 Uhr
Syntax: {{ Info | Infotext für Interessierte }}
Erzeugt eine Hover-Blase mit einem Text, wenn man mit der Maus über das gepunktete fährt.
Zusätzlich wird der Hover-Text bei Klick/touch nach rechts expandiert, um eine Anzeige auf Mobilgeräten zu ermöglichen.
| Default-Darstellung | Aktion | Darstellung nach Aktion |
|---|---|---|
Infotext für Interessierte |
mouse-over | Infotext für Interessierte |
Infotext für Interessierte |
touch | Infotext für Interessierte |
| Parameter | Darstellung |
|---|---|
| |class= | css Klasse für das verwendete Icon |
In der Mobilansicht wird das Info-Icon zusätzlich verändert: i> bzw. i<
.mw-collapsible-toggle.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed::before {
content: '\f129\f105';
font-family: 'Font Awesome 5 Pro';
font-weight: 300;
color: #ec971f;
border-bottom: 1px dotted #ec971f;
border-radius: 0px;
padding-bottom: 1px;
}
und
.mw-collapsible-toggle.mw-collapsible-toggle-default.mw-collapsible-toggle-expanded::before {
content: '\f129\f104';
font-family: 'Font Awesome 5 Pro';
font-weight: 300;
color: #ec971f;
border-bottom: 1px dotted #ec971f;
border-radius: 0px;
padding-bottom: 1px;
}
|
|