Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Suggestion: Different color in multi-range

rdepablo priority asked 3 years ago


Expected behavior it would be useful in the multirange could have different background color for the "balls", the colors could be specified in the constructor.

This kind of behaviour is useful when you have to provide feedback to the user, you can use the same color in the text so for the user is easier linking the two elements

Actual behavior

All the "balls" are the same color: blue

Resources (screenshots, code snippets etc.)


Michał Duszak staff answered 3 years ago


You can change their color with CSS accordingly to the snippet https://mdbootstrap.com/snippets/standard/m-duszak/3040977#css-tab-view


rdepablo priority commented 3 years ago

Thanks

Sorry I did not express correctly, I woild like to have two "balls" in the same multirange, your snippet is two balls but in two different range.

Again thanks


Michał Duszak staff commented 3 years ago

Check this one: https://mdbootstrap.com/snippets/standard/m-duszak/3065966#css-tab-view

Selectors for the balls are div[data-mdb-handle="0"] and div[data-mdb-handle="1"]



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.5.1
  • Device: All
  • Browser: Chrome, Safari
  • OS: Mobile, Linus
  • Provided sample code: No
  • Provided link: No