No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Change text color on hover

    Framework
    2
    4
    1949
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      smiling_girl last edited by

      Hi,
      I am new to front-end development and i am trying to learn vue and use quasar.

      I am tryin to change text color on hover. I could be doing it all completely!

      <q-btn-dropdown
      class=“text-tertiary transparent no-shadow mytry”
      label=“Layers”
      icon=“layers”

      <!-- after script!>
      <style scope lang=“stylus”>
      @import ‘~variables’
      .root:hover
      text-tertiary $red-4
      </style>

      1 Reply Last reply Reply Quote 0
      • nothingismagick
        nothingismagick last edited by nothingismagick

        @smiling_girl - Just to figure out what you want, you are looking to change the button text colour when the user hovers over the button?

        Like this (not using stylus, just trying to figure out what you want)?
        https://codepen.io/anon/pen/VdzRqe

        S 1 Reply Last reply Reply Quote 0
        • S
          smiling_girl @nothingismagick last edited by

          @nothingismagick - Thank you for the response :). I was actually trying to only change the color of the label and the downward arrow on hover. and Thank you for pointing that stylus needn’t be used ( that shows my inexperience and lack of knowledge)

          1 Reply Last reply Reply Quote 0
          • S
            smiling_girl last edited by

            I would also like to know how to use stylus to get the color $red-4. I am trying to achieve uniformity in terms of color

            1 Reply Last reply Reply Quote 0
            • First post
              Last post