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

Conditional button only with "or" word #30

Closed
mllamazares opened this issue Sep 18, 2013 · 2 comments
Closed

Conditional button only with "or" word #30

mllamazares opened this issue Sep 18, 2013 · 2 comments

Comments

@mllamazares
Copy link

In the conditional buttons there is no the chance to choose the word of inside.
Imagine that someone wants to put "and" instead, or just a word in another language.

@jlukic
Copy link
Member

jlukic commented Sep 18, 2013

There isn't a circumstance where you have two buttons side by side that would mean AND visually. If they were, they'd be the same button.

Agreed about the other language. Will add as LESS variable for 1.0 (configurable in build)

@jlukic jlukic closed this as completed Sep 18, 2013
@yuters
Copy link

yuters commented Oct 29, 2013

I would really like to be able to switch languages without having to generate a separate stylesheet.

I've been able to achieve this with this workaround (tested in Chrome)

HTML

<div class="or" data-label="ou"></div>

CSS

.ui.buttons .or:before {
    ...
    content: attr(data-label);
    ...
}

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

No branches or pull requests

3 participants