Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44022 Make buttons (and related items) themeable
  3. MDL-44023

Add .btn class to every button, input and link in Moodle that's supposed to look like a button

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.7
    • HTML and CSS
    • None
    • MOODLE_27_STABLE

      Sometimes buttons and inputs aren't supposed to look like buttons, sometimes things that aren't buttons (e.g. links) are supposed to look like buttons.

      Bootstrap uses the .btn class for this purpose.

      Moodle should adopt this too, and remove the workarounds for applying these button styles to the current mix of classnames and button types.

      Current styles are in:

      theme/bootstrap/less/moodle/buttons.less

      and

      theme/bootstrap/less/moodle/expendable.less

      (the reason for the latter is that it took a lot of CSS to do this and, before a bug-fix that took care of that, we were sending CSS to IE9 and earlier that was too long for it to cope with.

            Unassigned Unassigned
            bawjaws David Scotson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.