Skip to content
Snippets Groups Projects
Commit b857d09e authored by gnaegi's avatar gnaegi
Browse files

OO-703 fix non-uniform rendering of table headers in custom themes

parent 4097bbc8
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,9 @@ $menulinkcolor : $basegray !default; ...@@ -45,6 +45,9 @@ $menulinkcolor : $basegray !default;
$menulinkcolor_hover : $basecolor !default; $menulinkcolor_hover : $basecolor !default;
$menulinkcolor_selected : $basecolor !default; $menulinkcolor_selected : $basecolor !default;
$tablecolor_header : $linkcolor !default;
$tablecolor_links : $linkcolor !default;
/* full screen margins. Set to 0% to have have no surrounding border at all */ /* full screen margins. Set to 0% to have have no surrounding border at all */
$fullScreenModalMarginPercents: 2% !default; $fullScreenModalMarginPercents: 2% !default;
......
...@@ -13,7 +13,10 @@ table { ...@@ -13,7 +13,10 @@ table {
&.fixed { table-layout:fixed; } &.fixed { table-layout:fixed; }
th,td { padding:0.3em; } th,td { padding:0.3em; }
thead th { color:inherit; border-bottom:1px solid #ccc; } thead th {
color: inherit;
border-bottom:1px solid #ccc;
}
tbody{ tbody{
/* odd and even rows and rollover effect */ /* odd and even rows and rollover effect */
...@@ -25,6 +28,7 @@ table { ...@@ -25,6 +28,7 @@ table {
background: $selectcolor_light; background: $selectcolor_light;
} }
} }
} }
} }
...@@ -42,9 +46,15 @@ div.b_table_wrapper { ...@@ -42,9 +46,15 @@ div.b_table_wrapper {
width: 99.5%; width: 99.5%;
margin-left: 1px; margin-left: 1px;
border:1px solid $basegray_ultra_light; border:1px solid $basegray_ultra_light;
tbody{ thead, thead a {
color: $tablecolor_header;
}
tbody{
tr:hover td { background: $selectcolor_ultra_light; } tr:hover td { background: $selectcolor_ultra_light; }
tr.b_row_selected:hover td { background: $selectcolor_light; } tr.b_row_selected:hover td { background: $selectcolor_light; }
a {
color: $tablecolor_links;
}
} }
} }
...@@ -107,7 +117,10 @@ div.b_table_wrapper { ...@@ -107,7 +117,10 @@ div.b_table_wrapper {
table.dataTable { table.dataTable {
thead th { thead th {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
color:$basecolor; color: $tablecolor_header;
}
tbody a {
color: $tablecolor_links;
} }
tr.even td.sorting_1 { tr.even td.sorting_1 {
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment