Change cursor style for clickable elements
This commit is contained in:
parent
a83c8d3ed5
commit
0c5d488d1f
@ -172,7 +172,7 @@
|
|||||||
{#await generateServiceData(service)}
|
{#await generateServiceData(service)}
|
||||||
<tr><td colspan="8">Loading Service Data...</td></tr>
|
<tr><td colspan="8">Loading Service Data...</td></tr>
|
||||||
{:then serviceData}
|
{:then serviceData}
|
||||||
<tr on:click={(event) => detail(event, service.rid, service.uid, service.trainid)} on:keypress={(event) => detail(event, service.rid, service.uid, service.trainid)}>
|
<tr class="dataRow" on:click={(event) => detail(event, service.rid, service.uid, service.trainid)} on:keypress={(event) => detail(event, service.rid, service.uid, service.trainid)}>
|
||||||
<td class="id">{service.trainid}</td>
|
<td class="id">{service.trainid}</td>
|
||||||
<td class="from {serviceData.isNonPublic && 'nonPass'} {serviceData.isCancelled && 'cancTxt'}">{serviceData.from}</td>
|
<td class="from {serviceData.isNonPublic && 'nonPass'} {serviceData.isCancelled && 'cancTxt'}">{serviceData.from}</td>
|
||||||
<td class="to {serviceData.isNonPublic && 'nonPass'} {serviceData.isCancelled && 'cancTxt'}">{serviceData.to}</td>
|
<td class="to {serviceData.isNonPublic && 'nonPass'} {serviceData.isCancelled && 'cancTxt'}">{serviceData.to}</td>
|
||||||
@ -225,6 +225,10 @@
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dataRow {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
/* Table Columns */
|
/* Table Columns */
|
||||||
.other {
|
.other {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
|
Loading…
Reference in New Issue
Block a user