Skip to content
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

Fix for resetting background color on hover and focus state of a disabled flavored button. #9022

Merged
merged 1 commit into from
Oct 6, 2016

Conversation

denisahac
Copy link
Contributor

Fix for #9021

@kball kball merged commit dea57ee into foundation:develop Oct 6, 2016
@ghost
Copy link

ghost commented Oct 25, 2016

Works great for a normal download, thanks for that! But unfortunately this PR doesn't work for the custom build download. Or actually I probably should say this PR does work but somehow it is not included in the "foundation.min.css" from the custom build download.

Can you take a look at it @kball ?

Here is a fiddle with the CSS from the customized download of foundation.min.css

@kball
Copy link
Contributor

kball commented Oct 25, 2016

@Silvester20 I just tried doing a download of the full from there and it appeared to work fine... can you give me more details about the options you used for the download?

@ghost
Copy link

ghost commented Oct 25, 2016

@kball Yes, I didn't made any change to the custom download. Just go to the download page and scroll to bottom and press the big orange button "Download Custom Build". Then I took the minified version of the CSS file.

@kball
Copy link
Contributor

kball commented Oct 25, 2016

Thanks @Silvester20, that helped me find it. There was a caching problem in the customizer and in some cases it was still serving out 6.2.3. has been fixed.

opacity: $button-opacity-disabled;
cursor: not-allowed;

&:hover, &:focus {
background-color: $button-background;
background-color: $color;
color: $button-color;
Copy link

Choose a reason for hiding this comment

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

Shouldn't this use foreground($color, $button-color-alt, $button-color)? if the button background color is very light? The secondary color is usually gray so we don't want the font color to be white then...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants