fix missing background color first td

This commit is contained in:
Jonas Heinrich 2017-08-09 00:26:10 +02:00
parent c62ee87b49
commit 9e5b796100
3 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,7 @@
## 0.6.0 2017-09-20 ## 0.6.0 2017-09-20
### Added ### Added
- Display station metadata - Display station metadata
[#22](https://github.com/owncloud/mail/pull/1523) @onny [#22](https://git.project-insanity.org/onny/nextcloud-app-radio/commit/c62ee87b490de39ed27e43dec4dfff221bff40b1) @onny
- Add changelog file - Add changelog file
[#28](https://git.project-insanity.org/onny/nextcloud-app-radio/commit/04b1bbf49c8d7eb95e9e5d08e9e3b4b7cdc7f4ee) @onny [#28](https://git.project-insanity.org/onny/nextcloud-app-radio/commit/04b1bbf49c8d7eb95e9e5d08e9e3b4b7cdc7f4ee) @onny
- Continious scrolling - Continious scrolling

View File

@ -136,6 +136,7 @@
background-color: #fff; background-color: #fff;
height: 40px; height: 40px;
} }
#filestable tbody tr:hover, #filestable tbody tr:hover,
#filestable tbody tr:focus, #filestable tbody tr:focus,
#filestable tbody .name:focus, #filestable tbody .name:focus,
@ -144,10 +145,12 @@
#filestable tbody tr.highlighted .name:focus, #filestable tbody tr.highlighted .name:focus,
#filestable tbody tr.selected, #filestable tbody tr.selected,
#filestable tbody tr.searchresult, #filestable tbody tr.searchresult,
table tr.mouseOver td { #filestable tbody tr.rowhighlight,
table tr.mouseOver {
transition: background-color 0.3s ease; transition: background-color 0.3s ease;
background-color: #f8f8f8; background-color: #f8f8f8;
} }
tbody a { color:#000; } tbody a { color:#000; }
span.conflict-path, span.extension, span.uploading, td.date { span.conflict-path, span.extension, span.uploading, td.date {

View File

@ -30,6 +30,11 @@ $(function(){
action_play(stationid); action_play(stationid);
$('#player').attr('data-id',stationid); $('#player').attr('data-id',stationid);
$("#station_metadata").html("Playing: "+stationname); $("#station_metadata").html("Playing: "+stationname);
/* dirty fix missing background color for first td */
$('tbody tr').css("background-color", "white");
$(this).parent().css("background-color", "#f8f8f8");
var element = document.getElementById('station_metadata'); var element = document.getElementById('station_metadata');
if (isElementOverflowing(element)) { if (isElementOverflowing(element)) {
wrapContentsInMarquee(element); wrapContentsInMarquee(element);