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

    Making inputs bordered

    Help
    3
    3
    1460
    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.
    • A
      alek last edited by

      Hello!

      I’m loving Quasar (and Vue)! After struggling with several half-baked UI frameworks on React, this is just blissful!

      I have a quick question - I’m doing a forms-heavy application and wanted to style my text fields and selects with a full border, instead of just the border underneath. I tried to fiddle with several CSS classes - .q-if, .control, .q-input, but nothing seemed to make sense.

      Is there a recommended way to do it (and to disable the border underneath)?

      Thank you all!

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

        The style for the current border is defined in the input-frame stylus file. It is made by using the after pseudo classes. I guess your best bet is to remove this after classes and instead use a normal border.

        1 Reply Last reply Reply Quote 0
        • H
          henryc last edited by henryc

          Apparently, this was much simpler than I had thought.

          All I had to do was use these classes and applied the desired style to them

          q-if-inverted
          q-if-inverted-light

          0_1524768825736_Screen Shot 2018-04-26 at 7.53.07 PM.png

          0_1524768889346_Screen Shot 2018-04-26 at 7.54.18 PM.png

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