bump 2.3.1; poprawki responsywności tabelki

This commit is contained in:
2023-12-10 14:39:27 +01:00
parent 9dd7b33d08
commit ffed250321
5 changed files with 17 additions and 10 deletions
+6
View File
@@ -147,6 +147,7 @@ button {
/* width */
::-webkit-scrollbar {
width: 7px;
height: 7px;
}
/* Track */
@@ -154,6 +155,11 @@ button {
background: #333;
}
/* Corner */
::-webkit-scrollbar-corner {
background: #333;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
+2 -4
View File
@@ -9,11 +9,9 @@ export default defineComponent({
// !Oc_2EPB
return `<span ${route.routeSpeed != 0 && route.routeLength != 0 ? 'class="text--accent"' : ''}>${
route.isInternal ? '<u>' + route.routeName + '</u>' : route.routeName
}</span> <span style='color: #aaa'>(${route.routeTracks}/${route.isElectric ? 'E' : 'N'}/${
route.isRouteSBL ? 'S' : 'P'
})`;
}</span> <span style='color: #aaa'>(${route.routeTracks}/${route.isElectric ? 'E' : 'N'}/${route.isRouteSBL ? 'S' : 'P'})</span>`;
})
.join(', ');
.join(' ');
},
},
});
+7 -4
View File
@@ -17,7 +17,7 @@
<tbody>
<tr v-for="(station, row) in store.sortedStationList" tabindex="0">
<td v-for="(value, propName) in headerNameList" @click="changeProperty(station, row, propName as string)">
<td v-for="(value, propName) in headerNameList" @click="changeProperty(station, row, propName as string)" :class="propName">
<span v-if="propName === 'url'" :style="station.url ? 'color: gold' : 'color: gray;'">URL</span>
<span v-else-if="propName === 'projectUrl'" :style="station.projectUrl ? 'color: gold' : 'color: gray;'">URL</span>
@@ -181,9 +181,6 @@ table {
color: white;
position: relative;
border-collapse: collapse;
width: 100%;
min-width: 1800px;
}
table thead {
@@ -202,12 +199,18 @@ table th {
table tr {
background-color: #2c394b;
transition: background-color 100ms;
text-overflow: ellipsis;
}
table tr.current {
outline: 1px solid white;
}
table td.routes {
font-size: 0.9em;
min-width: 150px;
}
table tr:nth-child(even) {
background-color: #334756;
}