add latest

This commit is contained in:
2022-09-24 00:05:13 +01:00
parent 8a7f1c3f31
commit 39d53e2459
5 changed files with 24 additions and 14 deletions

View File

@@ -3,10 +3,10 @@
flat flat
bordered bordered
square square
:class="[getColWidth, 'bg-grey-3', 'q-ma-sm', 'border']" :class="[getColWidth, 'bg-grey-3', '', 'border']"
> >
<q-card-section> <q-card-section>
<div class="text-subtitle1 text-uppercase text-center"> <div class="text-subtitle1 text-uppercase text-center big-font">
{{ title }} {{ title }}
</div> </div>
</q-card-section> </q-card-section>
@@ -34,4 +34,8 @@ const getColWidth = computed(() => {
.border { .border {
border: 0.1rem solid $off-black; border: 0.1rem solid $off-black;
} }
.big-font {
font-size: 1.5rem;
}
</style> </style>

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="row"> <div class="row q-gutter-sm q-mt-sm">
<ChainTiers <ChainTiers
v-for="tier in productionChains" v-for="tier in productionChains"
:key="tier.tierName" :key="tier.tierName"

View File

@@ -31,17 +31,19 @@ watchEffect(() => {
<style lang="scss"> <style lang="scss">
.icon-size { .icon-size {
width: 40px; width: 55px;
height: 40px; height: 55px;
} }
.ratio-count { .ratio-count {
font-weight: bold; font-weight: bold;
font-size: 1.5rem;
text-align: center; text-align: center;
} }
.efficiency-perc { .efficiency-perc {
font-weight: bold; font-weight: bold;
font-size: 1.5rem;
color: $green-9 !important; color: $green-9 !important;
} }

View File

@@ -95,7 +95,7 @@ import steamMotorsIcon from '../assets/annoIcons/Steam_motors.webp';
export const productionChains: TieredProductionChain[] = [ export const productionChains: TieredProductionChain[] = [
{ {
tierName: 'Building Materials', tierName: 'Building Materials',
width: 2, width: 1,
productionChains: [ productionChains: [
{ {
productionChain: 'timber', productionChain: 'timber',
@@ -121,7 +121,7 @@ export const productionChains: TieredProductionChain[] = [
}, },
{ {
tierName: 'Farmers | Workers', tierName: 'Farmers | Workers',
width: 2, width: 1,
productionChains: [ productionChains: [
{ {
productionChain: 'workClothes', productionChain: 'workClothes',
@@ -151,7 +151,7 @@ export const productionChains: TieredProductionChain[] = [
}, },
{ {
tierName: 'Artisans', tierName: 'Artisans',
width: 3, width: 1,
productionChains: [ productionChains: [
{ {
productionChain: 'cannedFood', productionChain: 'cannedFood',
@@ -173,7 +173,7 @@ export const productionChains: TieredProductionChain[] = [
}, },
{ {
tierName: 'Jornaleros | Obreros', tierName: 'Jornaleros | Obreros',
width: 2, width: 1,
productionChains: [ productionChains: [
{ {
productionChain: 'plantains', productionChain: 'plantains',
@@ -207,7 +207,7 @@ export const productionChains: TieredProductionChain[] = [
}, },
{ {
tierName: 'Engineers', tierName: 'Engineers',
width: 2, width: 1,
productionChains: [ productionChains: [
{ {
productionChain: 'highWheeler', productionChain: 'highWheeler',
@@ -229,7 +229,7 @@ export const productionChains: TieredProductionChain[] = [
}, },
{ {
tierName: 'Weapons', tierName: 'Weapons',
width: 3, width: 2,
productionChains: [ productionChains: [
{ {
productionChain: 'weapons', productionChain: 'weapons',
@@ -243,7 +243,7 @@ export const productionChains: TieredProductionChain[] = [
}, },
{ {
tierName: 'Sails', tierName: 'Sails',
width: 2, width: 1,
productionChains: [ productionChains: [
{ {
productionChain: 'oldWorldSails', productionChain: 'oldWorldSails',
@@ -257,7 +257,7 @@ export const productionChains: TieredProductionChain[] = [
}, },
{ {
tierName: 'Machinery', tierName: 'Machinery',
width: 2, width: 1,
productionChains: [ productionChains: [
{ {
productionChain: 'steamMotors', productionChain: 'steamMotors',

View File

@@ -1,5 +1,5 @@
<template> <template>
<q-layout view="lHh Lpr lFf"> <q-layout view="lHh Lpr lFf" class="custom-width">
<q-header> <q-header>
<q-toolbar class="border-black-bottom-med bg-white text-black"> <q-toolbar class="border-black-bottom-med bg-white text-black">
<q-btn <q-btn
@@ -62,4 +62,8 @@ function toggleLeftDrawer() {
.no-link-border { .no-link-border {
text-decoration: none; text-decoration: none;
} }
.custom-width {
width: 5000px;
}
</style> </style>