Problem/Motivation

Currently, the only way to easily style radios as buttons is to use the 'buttons' element which requires jQueryUI buttons. Modern CSS with flexbox makes it possible to easily convert radios to buttons.

Proposed resolution

Make it possible to style radios as buttons without using jQueryUi

Remaining tasks

  • Create prototype
  • Review
  • Write test

Notes

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Title: Make it possible to style radios as buttons with jQueryUi » Make it possible to style radios as buttons without using jQueryUi
Issue summary: View changes
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new7.51 KB

  • jrockowitz committed af9b7f4 on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...
jrockowitz’s picture

StatusFileSize
new91.51 KB

Here is a screenshot of radios being converted to button.

  • jrockowitz committed 96f6362 on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...

  • jrockowitz committed a0e8277 on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...

  • jrockowitz committed f2a647a on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...
jrockowitz’s picture

Issue summary: View changes

  • jrockowitz committed c5810ec on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...
jrockowitz’s picture

StatusFileSize
new11.22 KB

  • jrockowitz committed e58fbf9 on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...

  • jrockowitz committed abe6aa0 on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...
jrockowitz’s picture

StatusFileSize
new14.94 KB

  • jrockowitz committed a14fdc7 on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...
jrockowitz’s picture

StatusFileSize
new15.57 KB

  • jrockowitz committed 719142b on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...
jrockowitz’s picture

StatusFileSize
new15.76 KB

  • jrockowitz committed 8c53c51 on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...

  • jrockowitz committed 5ce3d4e on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...

  • jrockowitz committed 1197d0e on 3053190-radios-buttons
    Issue #3053190: Make it possible to style radios as buttons without...
jrockowitz’s picture

StatusFileSize
new17.44 KB
jrockowitz’s picture

StatusFileSize
new17.78 KB
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz committed 1e79d22 on 8.x-5.x
    Issue #3053190 by jrockowitz: Make it possible to style radios as...
jrockowitz’s picture

If you enjoy and value Drupal and the Webform module, get involved, consider joining the Drupal Association, and backing the Webform module's Open Collective.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.