mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-19 05:46:27 +01:00
Update styling
This commit is contained in:
parent
996c7f218e
commit
9122dec1fd
@ -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';
|
||||||
|
@ -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>
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user