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

removed all caret border color settings. #11642

Merged
merged 2 commits into from
Nov 28, 2013
Merged

Conversation

tlindig
Copy link
Contributor

@tlindig tlindig commented Nov 28, 2013

In most cases, caret color should be same as text color.

You tried to get this by setting border-color in many places to the color of text. But not in all cases. For instance for buttons with other state than the default state, it is set to #fff instead of using color-variables of states and handling for :hover I missing completely.

But for what all this overhead?

Why you do not use the default behavior of border-color? The default is, if it is not specified, the text color will be used. And that is exact what we want, isn't?

In this pull request I removed all the border-color setting for caret.

Please give it a try.

It would simplify the Bootstrap CSS and give everybody the chance, to set a caret color by simply set the color property for class .caret.

@tlindig
Copy link
Contributor Author

tlindig commented Nov 28, 2013

This will fix:
Issue #10570
Issue #10999
... and so on.

@tlindig
Copy link
Contributor Author

tlindig commented Nov 28, 2013

Shall I add the new builded files in dist/ too?

@cvrebert
Copy link
Collaborator

Yes please.

@mdo
Copy link
Member

mdo commented Nov 28, 2013

Holy shit yes. I had a feeling I should have looked into this more—I absolutely hated having to write all that CSS. Thanks for the heads up!

mdo added a commit that referenced this pull request Nov 28, 2013
removed all caret border color settings.
@mdo mdo merged commit 2abaed9 into twbs:master Nov 28, 2013
@tlindig tlindig deleted the caret_color_fix branch December 6, 2013 11:01
@tlindig tlindig mentioned this pull request Feb 7, 2014
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.

5 participants