End of Support for Joomla 3 - Forum closed
[SOLVED] Uikit Buttons
Hallo zusammen,
ich hab hier glaube ich einen Denkfehler...
Template X-tra
Beim Anlegen von Buttons wird nur der Standardbutton richtig dargestellt:
uk-button ist ok
primary, success und alert haben einen anderen Style. Siehe Bild im Anhang
Code:
<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown="">
<!-- This is the button toggling the dropdown -->
<button class="uk-button">Test</button>
<!-- This is the dropdown -->
<div class="uk-dropdown uk-dropdown-small">
<ul class="uk-nav uk-nav-dropdown">
<li><a>5a</a></li>
<li><a>5b</a></li>
<li><a>5c</a></li>
<li><a>5d</a></li>
<li><a>5e</a></li>
<li><a>5f</a></li>
</ul>
</div>
</div>
<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown="">
<!-- This is the button toggling the dropdown -->
<button class="uk-button-primary">Klassen 5</button>
<!-- This is the dropdown -->
<div class="uk-dropdown uk-dropdown-small">
<ul class="uk-nav uk-nav-dropdown">
<li><a>5a</a></li>
<li><a>5b</a></li>
<li><a>5c</a></li>
<li><a>5d</a></li>
<li><a>5e</a></li>
<li><a>5f</a></li>
</ul>
</div>
</div>
<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown="">
<!-- This is the button toggling the dropdown -->
<button class="uk-button-success">Klassen 6</button>
<!-- This is the dropdown -->
<div class="uk-dropdown uk-dropdown-small">
<ul class="uk-nav uk-nav-dropdown">
<li><a>6a</a></li>
<li><a>6b</a></li>
<li><a>6c</a></li>
<li><a>6d</a></li>
<li><a>6e</a></li>
<li><a>6f</a></li>
</ul>
</div>
</div>
<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown="">
<!-- This is the button toggling the dropdown -->
<button class="uk-button-danger">Klassen 7</button>
<!-- This is the dropdown -->
<div class="uk-dropdown uk-dropdown-small">
<ul class="uk-nav uk-nav-dropdown">
<li><a>7a</a></li>
<li><a>7b</a></li>
<li><a>7c</a></li>
<li><a>7d</a></li>
<li><a>7e</a></li>
<li><a>7f</a></li>
</ul>
</div>
</div>
ich hab hier glaube ich einen Denkfehler...
Template X-tra
Beim Anlegen von Buttons wird nur der Standardbutton richtig dargestellt:
uk-button ist ok
primary, success und alert haben einen anderen Style. Siehe Bild im Anhang
Code:
Warning: Spoiler!
<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown="">
<!-- This is the button toggling the dropdown -->
<button class="uk-button">Test</button>
<!-- This is the dropdown -->
<div class="uk-dropdown uk-dropdown-small">
<ul class="uk-nav uk-nav-dropdown">
<li><a>5a</a></li>
<li><a>5b</a></li>
<li><a>5c</a></li>
<li><a>5d</a></li>
<li><a>5e</a></li>
<li><a>5f</a></li>
</ul>
</div>
</div>
<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown="">
<!-- This is the button toggling the dropdown -->
<button class="uk-button-primary">Klassen 5</button>
<!-- This is the dropdown -->
<div class="uk-dropdown uk-dropdown-small">
<ul class="uk-nav uk-nav-dropdown">
<li><a>5a</a></li>
<li><a>5b</a></li>
<li><a>5c</a></li>
<li><a>5d</a></li>
<li><a>5e</a></li>
<li><a>5f</a></li>
</ul>
</div>
</div>
<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown="">
<!-- This is the button toggling the dropdown -->
<button class="uk-button-success">Klassen 6</button>
<!-- This is the dropdown -->
<div class="uk-dropdown uk-dropdown-small">
<ul class="uk-nav uk-nav-dropdown">
<li><a>6a</a></li>
<li><a>6b</a></li>
<li><a>6c</a></li>
<li><a>6d</a></li>
<li><a>6e</a></li>
<li><a>6f</a></li>
</ul>
</div>
</div>
<!-- This is the container enabling the JavaScript -->
<div class="uk-button-dropdown" data-uk-dropdown="">
<!-- This is the button toggling the dropdown -->
<button class="uk-button-danger">Klassen 7</button>
<!-- This is the dropdown -->
<div class="uk-dropdown uk-dropdown-small">
<ul class="uk-nav uk-nav-dropdown">
<li><a>7a</a></li>
<li><a>7b</a></li>
<li><a>7c</a></li>
<li><a>7d</a></li>
<li><a>7e</a></li>
<li><a>7f</a></li>
</ul>
</div>
</div>
by dcpromo
Attachments:
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Hallo, sie müssen in jedem Fall die Klasse "uk-button" verwenden also:
< a class="uk-button uk-button-success".....
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
The following user(s) said Thank You: dcpromo
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates