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

Support "info" in tables #10884

Closed
Studio384 opened this issue Sep 30, 2013 · 5 comments
Closed

Support "info" in tables #10884

Studio384 opened this issue Sep 30, 2013 · 5 comments
Milestone

Comments

@Studio384
Copy link

It would be great if it was possible to use

<td class="info">...</td>

and end up with a blue line in your table.

@cvrebert
Copy link
Collaborator

Duplicate of #8629, although @mdo is open to discussing it.
Could you explain your use-case?

@Studio384
Copy link
Author

Well, for example, when comparing features for a product, blue is a handy color to use for "Planned" or something like that. Anyway, sorry for the duplicate.

@ggam
Copy link
Contributor

ggam commented Sep 30, 2013

Personally, I don't see the point on that given how easy is to create a new class with the table-row-variant mixin. We should only cover basic and general needs by default IMHO.

@icelord2
Copy link

icelord2 commented Nov 4, 2013

I think it should be added due to the fact that for the button, panels and everything else you have default,primary,success,info,warning, danger. But when you get to table you have everything but info. it would be very consistent if it was added to table css. and i know in #8629 he said there was no reason so it was removed i think just because its called info doesn't mean all users are using them as their names apply.

use-case could be status of the items in the table (which is what i was doing and noticed there was no class for info for table and created my own)

Info -> New
warning -> In-Progress
danger -> Canceled or On Hold
success -> Completed

 .table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{
    background-color:#d9edf7;border-color:#cee6f3
}

.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td{
    background-color:#c7dbf0;border-color:#bcd4ec
}

@ghost
Copy link

ghost commented Nov 4, 2013

tudom, hogy a # 8629 azt mondta, nem volt ok, ezért eltávolították azt hiszem, annak a ténynek köszönhető, hogy a gomb, panelek és minden mást, a táblázatban (ami az, amit csinál, és észrevettem, nem volt osztály info az asztali és csak azért,

@Studio384
Copy link
Author

There is no primary class for tables either (I think).

@mdo mdo mentioned this issue Dec 7, 2013
@mdo mdo closed this as completed in fe58357 Dec 7, 2013
martin-g added a commit to martin-g/wicket-bootstrap that referenced this issue Feb 24, 2014
Add example for '.info' table row class
stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
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

4 participants