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

Simplifying Glyphicons #10910

Closed
wants to merge 1 commit into from
Closed

Simplifying Glyphicons #10910

wants to merge 1 commit into from

Conversation

CWSites
Copy link

@CWSites CWSites commented Oct 2, 2013

It's much cleaner to user <i> instead of <span> and for the class to be .icon instead of .glyphicon

Also added in a lot of extras on the baseclass that will handle how the icons are displayed cross-browser. Set them to not allow for highlighting by the user.

It's much cleaner to user `<i>` instead of `<span>` and for the class to be `.icon` instead of `.glyphicon`

Also added in a lot of extras on the baseclass that will handle how the icons are displayed cross-browser. Set them to not allow for highlighting by the user.
@cvrebert
Copy link
Collaborator

cvrebert commented Oct 2, 2013

Even if we wanted to, we cannot make most of these changes until Bootstrap v4 due to backwards compatibility constraints.

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; /* Will correct font-weight begining in FF 25 */
Copy link
Collaborator

Choose a reason for hiding this comment

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

Consider opening a separate pull request for these property additions.

@cvrebert cvrebert closed this Oct 2, 2013
@cvrebert
Copy link
Collaborator

cvrebert commented Oct 2, 2013

In part a duplicate of #10201.

@cvrebert
Copy link
Collaborator

cvrebert commented Oct 2, 2013

@CWSites
Copy link
Author

CWSites commented Oct 2, 2013

Is there a way to request this added to v4, are you guys keeping track of that stuff somewhere?

Also, I feel like this is one time where using chained classes would be acceptable?

@cvrebert
Copy link
Collaborator

cvrebert commented Oct 2, 2013

(To clarify, your property additions would be eligible for consideration for v3.1.0.)

@cvrebert
Copy link
Collaborator

cvrebert commented Oct 2, 2013

Based on #10201 and various similar issues, we already have "reconsider .glyphicon-*" as an action item for v4.
/cc @mdo regarding the chained classes stuff.

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.

2 participants