-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
[v4 css] inverted table styling #21585
Comments
I agree with @Mottie. Regarding the striping, maybe we should change Regarding the borders, maybe we need a new variable called Regarding the hover, maybe we should change I tested these new settings and it looked good (on two completely different monitors) but would appreciate your feedback. I also experimented with changing So to recap, I'm proposing the following changes in _variables.scss (under the
And the following changes in _tables.scss:
What do you guys think? |
Fixed by #22217. |
When inverting a table style using the
table-inverse
class (demo):Striping
With a "table-striped" class, the stripes are not discernibly different. In the css, the definition is the same as for the non-inverted row styling:
Borders
The border styling of the non-inverted tables is a very subtle, using a border color of
#eceeef
. On inverted tables, we see#fff
! It's way to bright!Hover
Hovering isn't as bad when no stripe is applied to the table; but when a stripe is applied, the hover is only slightly more discernible than the row color (demo)!
This may not seem like a big deal to some of you young 'uns out there, but for elderly and visually impaired users, it would make a difference.
The text was updated successfully, but these errors were encountered: