mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
color border in table contextual classes
This commit is contained in:
@@ -198,16 +198,19 @@ table th[class^="span"] {
|
||||
> th.success,
|
||||
&.success > td {
|
||||
background-color: @state-success-background;
|
||||
border-color: @state-success-border;
|
||||
}
|
||||
> td.error,
|
||||
> th.error,
|
||||
&.error > td {
|
||||
background-color: @state-error-background;
|
||||
border-color: @state-error-border;
|
||||
}
|
||||
> td.warning,
|
||||
> th.warning,
|
||||
&.warning > td {
|
||||
background-color: @state-warning-background;
|
||||
border-color: @state-warning-border;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -217,15 +220,18 @@ table th[class^="span"] {
|
||||
> th.success:hover,
|
||||
&.success:hover > td {
|
||||
background-color: darken(@state-success-background, 5%);
|
||||
border-color: darken(@state-success-border, 5%);
|
||||
}
|
||||
> td.error:hover,
|
||||
> th.error:hover,
|
||||
&.error:hover > td {
|
||||
background-color: darken(@state-error-background, 5%);
|
||||
border-color: darken(@state-error-border, 5%);
|
||||
}
|
||||
> td.warning:hover,
|
||||
> th.warning:hover,
|
||||
&.warning:hover > td {
|
||||
background-color: darken(@state-warning-background, 5%);
|
||||
border-color: darken(@state-warning-border, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user