Fix table captions style
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
e54f7697a6
commit
dc55543e4b
@ -1,4 +1,6 @@
|
||||
.table {
|
||||
caption-side: top;
|
||||
|
||||
td {
|
||||
touch-action: manipulation;
|
||||
vertical-align: middle;
|
||||
@ -14,6 +16,13 @@
|
||||
color: $th-color;
|
||||
}
|
||||
}
|
||||
|
||||
caption {
|
||||
font-family: $font-family-bold;
|
||||
background-color: $th-background;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
|
||||
@ -194,6 +194,7 @@ $table-striped-order: even;
|
||||
$table-hover-color: $th-pointer-color;
|
||||
$table-hover-bg: $browse-marker-background;
|
||||
$table-border-width: 0;
|
||||
$table-caption-color: $table-head-color;
|
||||
|
||||
// Buttons
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
.table {
|
||||
border-collapse: separate;
|
||||
caption-side: top;
|
||||
|
||||
td {
|
||||
touch-action: manipulation;
|
||||
@ -13,6 +14,12 @@
|
||||
thead th {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
caption {
|
||||
background-color: $table-head-bg;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.table-striped {
|
||||
|
||||
@ -93,6 +93,7 @@ $table-hover-bg: $browse-pointer-background;
|
||||
$table-hover-color: $browse-pointer-color;
|
||||
$table-head-color: $th-color;
|
||||
$table-head-bg: $th-background;
|
||||
$table-caption-color: $table-head-color;
|
||||
|
||||
// Dropdowns
|
||||
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
.table {
|
||||
caption-side: top;
|
||||
|
||||
th,
|
||||
td {
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
@ -18,6 +20,12 @@
|
||||
border-right: 1px solid #fff;
|
||||
background-image: linear-gradient(#fff, #ccc);
|
||||
}
|
||||
|
||||
caption {
|
||||
background-color: $th-background;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.table-hover {
|
||||
|
||||
@ -88,6 +88,7 @@ $table-striped-bg: #dfdfdf;
|
||||
$table-hover-color: $browse-pointer-color;
|
||||
$table-border-color: #fff;
|
||||
$table-border-width: 0;
|
||||
$table-caption-color: $table-head-color;
|
||||
|
||||
// Buttons
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user