Update styling

This commit is contained in:
Bill 2021-04-29 23:29:35 -04:00
parent 996c7f218e
commit 9122dec1fd
6 changed files with 18 additions and 13 deletions

View File

@ -27,6 +27,11 @@ $infostand-zindex: 30;
$chat-zindex: 20; $chat-zindex: 20;
$highscore-zindex: 19; $highscore-zindex: 19;
$grid-bg-color: #CDD3D9;
$grid-border-color: $muted;
$grid-active-bg-color: #ECECEC;
$grid-active-border-color: $white;
@import './utils/Styles'; @import './utils/Styles';
@import './App'; @import './App';
@import './hooks/Styles'; @import './hooks/Styles';

View File

@ -78,7 +78,7 @@ export const InventoryBadgeView: FC<InventoryBadgeViewProps> = props =>
<> <>
<div className="row"> <div className="row">
<div className="col-7"> <div className="col-7">
<InventoryBadgeResultsView badges={ badges } activeBadges={ activeBadges } cols={ 5 } /> <InventoryBadgeResultsView badges={ badges } activeBadges={ activeBadges } />
</div> </div>
<div className="col-5"> <div className="col-5">
<p className="mb-1 text-black">{ LocalizeText('inventory.badges.activebadges') }</p> <p className="mb-1 text-black">{ LocalizeText('inventory.badges.activebadges') }</p>

View File

@ -5,13 +5,13 @@
.inventory-badge-item { .inventory-badge-item {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-color: $muted !important; border-color: $grid-border-color !important;
background-color: #CDD3D9; background-color: $grid-bg-color;
overflow: hidden; overflow: hidden;
&.active { &.active {
border-color: $white !important; border-color: $white !important;
background-color: #ECECEC; background-color: $grid-active-border-color;
} }
} }
} }

View File

@ -5,13 +5,13 @@
.inventory-bot-item { .inventory-bot-item {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-color: $muted !important; border-color: $grid-border-color !important;
background-color: #CDD3D9; background-color: $grid-bg-color;
overflow: hidden; overflow: hidden;
&.active { &.active {
border-color: $white !important; border-color: $white !important;
background-color: #ECECEC; background-color: $grid-active-border-color;
} }
.avatar-image { .avatar-image {

View File

@ -5,15 +5,15 @@
.inventory-furniture-item { .inventory-furniture-item {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-color: $grid-border-color !important;
background-color: $grid-bg-color;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
border-color: $muted !important;
background-color: #CDD3D9;
overflow: hidden; overflow: hidden;
&.active { &.active {
border-color: $white !important; border-color: $white !important;
background-color: #ECECEC; background-color: $grid-active-border-color;
} }
.badge { .badge {

View File

@ -5,13 +5,13 @@
.inventory-pet-item { .inventory-pet-item {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-color: $muted !important; border-color: $grid-border-color !important;
background-color: #CDD3D9; background-color: $grid-bg-color;
overflow: hidden; overflow: hidden;
&.active { &.active {
border-color: $white !important; border-color: $white !important;
background-color: #ECECEC; background-color: $grid-active-border-color;
} }
} }
} }