mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
Stopped links in grid triggering detail view in chrome.
Fixed grid header in FF.
This commit is contained in:
parent
aba44fb121
commit
b9d227d162
@ -281,48 +281,49 @@ button span, input[type="button"] span, input[type="submit"] span, input[type="r
|
|||||||
}
|
}
|
||||||
|
|
||||||
.seriesTable
|
.seriesTable
|
||||||
{
|
{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-spacing: 2px;
|
border-spacing: 2px;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-color: white;
|
border-color: white;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
.seriesTable th
|
.seriesTable th
|
||||||
{
|
{
|
||||||
font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif;
|
font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif;
|
||||||
border-width: 300;
|
border-width: 300;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
border-style: inset;
|
border-style: none;
|
||||||
border-color: #EEEEEE;
|
border-color: #EEEEEE;
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
}
|
}
|
||||||
|
|
||||||
.seriesTable td
|
.seriesTable td
|
||||||
{
|
{
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
padding: 0px 8px 0px 8px;
|
padding: 0px 8px 0px 8px;
|
||||||
border-style: inset;
|
border-style: inset;
|
||||||
border-color: #EEEEEE;
|
border-color: #EEEEEE;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-view
|
.detail-view
|
||||||
{
|
{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Colour alternating rows */
|
/* Colour alternating rows */
|
||||||
.seriesTable tr:nth-child(4n)
|
.seriesTable tr:nth-child(4n)
|
||||||
{
|
{
|
||||||
background: #f0f5ff;
|
background: #f0f5ff;
|
||||||
}
|
}
|
||||||
.seriesTable tr:nth-child(4n+1)
|
|
||||||
{
|
.seriesTable tr:nth-child(4n+1)
|
||||||
background: #f0f5ff;
|
{
|
||||||
}
|
background: #f0f5ff;
|
||||||
|
}
|
@ -1,8 +1,9 @@
|
|||||||
/* Click on row, show details */
|
/* Click on row, show details */
|
||||||
$('.seriesTable a').live('click', function () {
|
$('.seriesTable a').live('click', function (event) {
|
||||||
|
event.preventDefault();
|
||||||
var link = $(this).attr('href');
|
var link = $(this).attr('href');
|
||||||
window.location = link;
|
window.location = link;
|
||||||
event.preventDefault();
|
event.stopPropegation();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.seriesTable tr td:not(:last-child)').live('click', function () {
|
$('.seriesTable tr td:not(:last-child)').live('click', function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user