mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 05:28:13 +00:00
bump 2.3.1; poprawki responsywności tabelki
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
VITE_API_URL="https://stacjownik.spythere.eu"
|
VITE_API_URL="https://stacjownik.spythere.eu"
|
||||||
VITE_API_URL_DEV="http://localhost:3001"
|
VITE_API_URL_DEV="http://localhost:3001"
|
||||||
VITE_API_MODE="PROD"
|
VITE_API_MODE="DEV"
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "station-manager-2.0",
|
"name": "station-manager-2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -147,6 +147,7 @@ button {
|
|||||||
/* width */
|
/* width */
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 7px;
|
width: 7px;
|
||||||
|
height: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Track */
|
/* Track */
|
||||||
@@ -154,6 +155,11 @@ button {
|
|||||||
background: #333;
|
background: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Corner */
|
||||||
|
::-webkit-scrollbar-corner {
|
||||||
|
background: #333;
|
||||||
|
}
|
||||||
|
|
||||||
/* Handle */
|
/* Handle */
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
background: #888;
|
background: #888;
|
||||||
|
|||||||
@@ -9,11 +9,9 @@ export default defineComponent({
|
|||||||
// !Oc_2EPB
|
// !Oc_2EPB
|
||||||
return `<span ${route.routeSpeed != 0 && route.routeLength != 0 ? 'class="text--accent"' : ''}>${
|
return `<span ${route.routeSpeed != 0 && route.routeLength != 0 ? 'class="text--accent"' : ''}>${
|
||||||
route.isInternal ? '<u>' + route.routeName + '</u>' : route.routeName
|
route.isInternal ? '<u>' + route.routeName + '</u>' : route.routeName
|
||||||
}</span> <span style='color: #aaa'>(${route.routeTracks}/${route.isElectric ? 'E' : 'N'}/${
|
}</span> <span style='color: #aaa'>(${route.routeTracks}/${route.isElectric ? 'E' : 'N'}/${route.isRouteSBL ? 'S' : 'P'})</span>`;
|
||||||
route.isRouteSBL ? 'S' : 'P'
|
|
||||||
})`;
|
|
||||||
})
|
})
|
||||||
.join(', ');
|
.join(' ');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(station, row) in store.sortedStationList" tabindex="0">
|
<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-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>
|
<span v-else-if="propName === 'projectUrl'" :style="station.projectUrl ? 'color: gold' : 'color: gray;'">URL</span>
|
||||||
|
|
||||||
@@ -181,9 +181,6 @@ table {
|
|||||||
color: white;
|
color: white;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
|
||||||
width: 100%;
|
|
||||||
min-width: 1800px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table thead {
|
table thead {
|
||||||
@@ -202,12 +199,18 @@ table th {
|
|||||||
table tr {
|
table tr {
|
||||||
background-color: #2c394b;
|
background-color: #2c394b;
|
||||||
transition: background-color 100ms;
|
transition: background-color 100ms;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tr.current {
|
table tr.current {
|
||||||
outline: 1px solid white;
|
outline: 1px solid white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table td.routes {
|
||||||
|
font-size: 0.9em;
|
||||||
|
min-width: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
table tr:nth-child(even) {
|
table tr:nth-child(even) {
|
||||||
background-color: #334756;
|
background-color: #334756;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user