0aa4ba8b9777a393f7ce83b0d51b1efbef429fd6 chmalee Wed Nov 20 15:54:16 2024 -0800 Fix style of sessions table sort controls to make the CSS more specific to that particular table rather than just all DataTables diff --git src/hg/htdocs/style/HGStyle.css src/hg/htdocs/style/HGStyle.css index 23f2498..4a7fb30 100644 --- src/hg/htdocs/style/HGStyle.css +++ src/hg/htdocs/style/HGStyle.css @@ -697,38 +697,39 @@ vertical-align: top; } /* Styles for hgHubConnect (formerly in separate .css) by Greg Roe Last update: 2011-11-1 (greg) */ #tabs { font-size: 100%; margin-top: 5px; } -table.dataTable.compact thead th, table.dataTable.compact thead td + +#sessionTable thead th, #sessionTable thead td { padding: 4px 4px 4px 17px !important; } -table.dataTable thead .sorting, -table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, -table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled +#sessionTable thead .sorting, +#sessionTable thead .sorting_asc, #sessionTable thead .sorting_desc, +#sessionTable thead .sorting_asc_disabled, #sessionTable thead .sorting_desc_disabled { background-position: center left !important; } .hubList table { width: 930px; border-collapse: collapse; } /* Creating rounded corners at the tops of tables - works with all CSS3 supporting browsers, degrades gracefully */ .hubList table tr:first-child th:first-child {-webkit-border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; border-top-left-radius: 5px;} .hubList table tr:first-child th:last-child {-webkit-border-top-right-radius: 5px; -moz-border-radius-topright: 5px; border-top-right-radius: 5px;} /* Styling table cells */ .hubList tbody {font-size: 0.9em;}