Icon + budge

Request for a new feature or component
drodriguez
Posts: 44
Joined: Wed Apr 11, 2018 7:32 pm
Status: Offline

Icon + budge

Post by drodriguez » Sun Apr 29, 2018 8:35 pm

Combine icon + budge only... Tiles are too big sometimes.

User avatar
olton
Site Admin
Posts: 134
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Sun Apr 29, 2018 9:21 pm

The question is not clear. Please draw image for your request

drodriguez
Posts: 44
Joined: Wed Apr 11, 2018 7:32 pm
Status: Offline

Post by drodriguez » Sun Apr 29, 2018 10:10 pm

https://imgur.com/a/VZynyeT

Tiles + budge is too big here... I created a div with span icon mif-cart and span with a number with pos-absolute.

drodriguez
Posts: 44
Joined: Wed Apr 11, 2018 7:32 pm
Status: Offline

Post by drodriguez » Thu May 03, 2018 6:40 pm

Example codepen.io:


https://codepen.io/drodriguez/pen/vjZvQy

<div class="tileh-fs-small">
<a href="#" class="text-center">
<span class="mif-cart icon mif-2x text-center bg-white fg-blue"></span>
<span class="fg-blue text-bold badge-top-cart">4</span>
</a>
</div>

User avatar
olton
Site Admin
Posts: 134
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Fri May 04, 2018 10:07 pm

class .badge will be added in 4.2.5 with position on top-right in parent

User avatar
olton
Site Admin
Posts: 134
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Sat May 05, 2018 6:57 pm

Image

User avatar
olton
Site Admin
Posts: 134
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Sat May 05, 2018 8:11 pm

Image

User avatar
olton
Site Admin
Posts: 134
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Sat May 05, 2018 10:13 pm

added

Addramyr
Posts: 3
Joined: Fri May 11, 2018 9:14 pm
Status: Offline

Post by Addramyr » Fri May 11, 2018 9:38 pm

Can the badge system be added to Navigation View? (https://metroui.org.ua/navview.html)

User avatar
olton
Site Admin
Posts: 134
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Sat May 12, 2018 11:33 am

Addramyr wrote:
Fri May 11, 2018 9:38 pm
Can the badge system be added to Navigation View? (https://metroui.org.ua/navview.html)
What's the problem? They are not connected, the badge is a separate element that can be displayed inside another element

Post Reply