Fix table captions style

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2022-05-14 16:14:02 -03:00
parent e54f7697a6
commit dc55543e4b
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
6 changed files with 27 additions and 0 deletions

View File

@ -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) {

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -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 {

View File

@ -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