Skip to content

Checkboxradio: icons inside dialogs #1704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Checkboxradio: icons inside dialogs #1704

wants to merge 2 commits into from

Conversation

ChaseWagoner
Copy link

@ChaseWagoner ChaseWagoner commented May 25, 2016

Limit a CSS background rule that only sets color to background-color
to avoid losing the background-position.

Fixes #14955 (https://bugs.jqueryui.com/ticket/14955)

Also fixed some JS errors in the other checkboxradio visual test; that commit doesn't necessarily satisfy the "avoid unrelated changes" requirement & can be removed if necessary.

Before, then after this change (screenshots from the added visual test):
14955-pre-post

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @arschmitz, @jaspermdegroot and @scottgonzalez to be potential reviewers

@ChaseWagoner ChaseWagoner changed the title 14955 checkboxradio icons inside dialogs Checkboxradio: icons inside dialogs May 25, 2016
@@ -134,7 +134,7 @@ a.ui-button:active,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
border: 1px solid #dad55e/*{borderColorHighlight}*/;
background: #fffa90/*{bgColorHighlight}*/ /*{bgImgUrlHighlight}*/ /*{bgHighlightXPos}*/ /*{bgHighlightYPos}*/ /*{bgHighlightRepeat}*/;
background-color: #fffa90/*{bgColorHighlight}*/ /*{bgImgUrlHighlight}*/ /*{bgHighlightXPos}*/ /*{bgHighlightYPos}*/ /*{bgHighlightRepeat}*/;
Copy link
Author

@ChaseWagoner ChaseWagoner May 25, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the comments for unspecified properties be removed? i.e. this line would read

    background-color: #fffa90/*{bgColorHighlight}*/;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will break ThemeRoller.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scottgonzalez how can I test that? Is there a way to make ThemeRoller produce individual properties, rather than consolidated?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scottgonzalez how can I test that?

Testing it is a bit tricky. It would require setting up https://github.com/jquery/download.jqueryui.com/ locally and then using your updated theme in ThemeRoller.

Is there a way to make ThemeRoller produce individual properties, rather than consolidated?

You'd have to list all the properties. ThemeRoller just does token replacement. But won't producing individual properties cause the same problem?

Limit a CSS `background` rule that only sets color to `background-color`
to avoid losing the `background-position`.

Fixes #14955
@ChaseWagoner ChaseWagoner deleted the 14955-checkboxradio-icons-inside-dialogs branch July 17, 2016 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants