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

Request: background color and active class with predefined color: info, danger, success... #11572

Closed
vdeapps opened this issue Nov 21, 2013 · 2 comments
Milestone

Comments

@vdeapps
Copy link

vdeapps commented Nov 21, 2013

Hi.

Can you add class to fill background-color with predefined color primary, success, danger, info ...
And the same with text-color
And the same with class "active" to change background with predefined colors.

Thanks.

@cvrebert
Copy link
Collaborator

The text color ones already exist; see "Emphasis classes" under http://getbootstrap.com/css/#type-emphasis

@vdeapps
Copy link
Author

vdeapps commented Nov 25, 2013

Ok, thanks for emphasis.

For elements can be "active", I make my own class active-primary, active-success, .... like this:
.active.active-success { background-color : .... }
and when I add class "active" the field take my own class ".active-success" properties.
But It's better to include this directly to bootstrap.

@mdo mdo closed this as completed in 072ccd4 Dec 15, 2013
@mdo mdo mentioned this issue Dec 15, 2013
pytkin added a commit to designmodo/Flat-UI that referenced this issue Feb 5, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
…atch text classes; move both sets of classes to Helper Classes section of the CSS docs
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
…atch text classes; move both sets of classes to Helper Classes section of the CSS docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants