Adding the body plan 1 made by Norman.

This commit is contained in:
Sergiotarxz 2023-06-17 17:39:41 +02:00
parent 4cc066ef88
commit e2a5c3d235
7 changed files with 12 additions and 11 deletions

View File

@ -12,8 +12,8 @@ interface UpperPanelProps {
} }
interface Style { interface Style {
color?: string; color?: string
background?: string; background?: string
} }
export default function UpperPanel (props: UpperPanelProps): JSX.Element { export default function UpperPanel (props: UpperPanelProps): JSX.Element {

View File

@ -17,9 +17,9 @@ my $planets = LasTres::Planets->new;
sub show_intro($self, $pj) { sub show_intro($self, $pj) {
$pj->append_log_line([ $pj->append_log_line([
{ text => 'Estas en ' }, { text => 'Estas en ' },
{ color => 'green', text => $self->name },
{ text => '/' },
{ color => 'red', text => $self->parent->name }, { color => 'red', text => $self->parent->name },
{ text => '/' },
{ color => 'green', text => $self->name },
]); ]);
$pj->append_log_line([ $pj->append_log_line([
{ text => $pj->location->description }, { text => $pj->location->description },

View File

@ -5,7 +5,7 @@ use v5.36.0;
use strict; use strict;
use warnings; use warnings;
our $VERSION = 5; our $VERSION = 6;
use feature 'signatures'; use feature 'signatures';

View File

@ -31,5 +31,6 @@ __PACKAGE__->add_columns(
); );
__PACKAGE__->set_primary_key('uuid'); __PACKAGE__->set_primary_key('uuid');
__PACKAGE__->add_unique_constraint("inventory_items_unique_item", ['inventory', 'identifier']);
__PACKAGE__->belongs_to('inventory', 'LasTres::Schema::Result::Inventory'); __PACKAGE__->belongs_to('inventory', 'LasTres::Schema::Result::Inventory');
1; 1;

View File

@ -27,7 +27,7 @@ body {
width: 30%; width: 30%;
aspect-ratio: 1/1; aspect-ratio: 1/1;
border-radius: 50%; border-radius: 50%;
background: gray; background: lightgray;
margin-right: 2%; margin-right: 2%;
display: flex; display: flex;
align-items: center; align-items: center;
@ -43,9 +43,9 @@ body {
body div.pj-list-item div.avatar div.shadow { body div.pj-list-item div.avatar div.shadow {
top: 78%; top: 78%;
position: absolute; position: absolute;
width: 60%; width: 50%;
aspect-ratio: 7/2; aspect-ratio: 7/2;
background: black; background: darkgray;
border-radius: 50%; } border-radius: 50%; }
body div.pj-list-item div.data { body div.pj-list-item div.data {
width: 60%; } width: 60%; }

View File

@ -29,7 +29,7 @@ body {
width: 30%; width: 30%;
aspect-ratio: 1/1; aspect-ratio: 1/1;
border-radius: 50%; border-radius: 50%;
background: gray; background: lightgray;
margin-right: 2%; margin-right: 2%;
display: flex; display: flex;
align-items: center; align-items: center;
@ -46,9 +46,9 @@ body {
div.shadow { div.shadow {
top: 78%; top: 78%;
position: absolute; position: absolute;
width: 60%; width: 50%;
aspect-ratio: 7/2; aspect-ratio: 7/2;
background: black; background: darkgray;
border-radius: 50%; border-radius: 50%;
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 75 KiB