Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11487

Cannot use .btn-success, .btn-info, .btn-danger, .btn-warning classes in conjunction with .button class

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      .button class is used for compatibility reasons with Colibri skin.

      In Colibri we had just 2 styles for buttons (primary and secondary) while in Bootstrap there are more (primary, default, succes, info, danger, warning).

      When using in conjunction both .button and .btn-success for example, because of the way we declared the properties, the cascading wins for the .button styles. So instead of having a green button, we have a blue one.

      Attachments

        1. after.png
          24 kB
          Ecaterina Moraru (Valica)
        2. before.png
          24 kB
          Ecaterina Moraru (Valica)

        Issue Links

          Activity

            People

              evalica Ecaterina Moraru (Valica)
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: