diff --git a/package.json b/package.json index 3ad52a54..845d484c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rag-2-frontend", - "version": "0.0.0", + "version": "2.1", "scripts": { "ng": "ng", "start": "ng serve", diff --git a/src/app/game/components/console/console-fieldset/console-fieldset.component.ts b/src/app/game/components/console/console-fieldset/console-fieldset.component.ts index c9dad358..1d7f5b99 100644 --- a/src/app/game/components/console/console-fieldset/console-fieldset.component.ts +++ b/src/app/game/components/console/console-fieldset/console-fieldset.component.ts @@ -7,10 +7,50 @@ import { TExchangeData } from '@gameModels/exchange-data.type'; selector: 'app-console-fieldset', standalone: true, imports: [KeyValuePipe, ExchangeDataPipe], + styles: [ + ` + .console-fieldset { + margin-top: 0px; + margin-bottom: 0px; + margin-left: 2rem; + margin-right: 0.5rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; + padding-left: 0.5rem; + border-left: 1px solid #FF6000; + } + .console-key { + font-weight: 700; + font-size: 1rem; + line-height: 1.5rem; + font-family: monospace; + position: relative; + top: -0.5rem; + } + .console-value { + font-size: 0.875rem; + line-height: 1.25rem; + color: #FFE6C7; + font-family: monospace; + position: relative; + top: -0.5rem; + } + @media (min-width: 1280px) { + .console-value { + font-size: 1rem; + line-height: 1.5rem; + } + .console-key{ + font-size: 1.125rem; + line-height: 1.75rem; + } + } + ` + ], template: ` @for (data of logData | keyvalue; track data.key) { -