Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7057 closed enhancement (fixed)

An extra class is needed on the dialog wrapper to specify when a buttonset is showing

Reported by: dougneiner Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.10
Keywords: Cc:
Blocked by: Blocking:

Description

As I started developing a new theme, I found out that there is no way of knowing (in just CSS) that a dialog has buttons. I think it is reasonable to assume people may want to style the content region of a dialog differently if there are buttons below it.

I propose adding a "ui-dialog-buttons" class to the .ui-dialog element when buttons are present. (Thanks Scott & Rich for the right name there!)

Change History (3)

comment:1 Changed 12 years ago by dougneiner

Milestone: 1.91.8.11
Version: 1.8.91.8.10

comment:2 Changed 12 years ago by Douglas Neiner

Resolution: fixed
Status: newclosed

Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing

Changeset: 15c97e0b76b4576d0c7bee9d54dc4662c23502b9

comment:3 Changed 12 years ago by Scott González

Milestone: 1.8.111.9
Note: See TracTickets for help on using tickets.