ui/shoppanel.razor.scss
ShopPanel {
position: relative;
width: 830px;
flex-direction: column;
font-family: "Cal Sans";
color: white;
font-size: 16px;
align-items: center;
gap: 0px;
.title_label {
position: relative;
font-size: 28px;
color: white;
text-shadow: 2px 3px 0px black;
padding: 8px 0 2px 0;
flex-shrink: 0;
}
.hide_button {
position: absolute;
top: 4px;
right: 6px;
width: 44px;
height: 44px;
pointer-events: all;
cursor: pointer;
background-position: center;
background-size: 100% 100%;
background-image: url("/textures/ui/panel/player_profile_x.png");
&:hover {
background-image: url("/textures/ui/panel/player_profile_x_hover.png");
sound-in: ui.button.over;
}
&:active {
background-image: url("/textures/ui/panel/player_profile_x_active.png");
sound-in: ui.button.press;
}
}
.coin_header {
position: relative;
flex-direction: row;
align-items: center;
gap: 6px;
padding: 2px 0 6px 0;
flex-shrink: 0;
.coin_icon {
position: relative;
width: 24px;
height: 24px;
background-image: url("/textures/ui/coin.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.coin_amount {
position: relative;
font-size: 22px;
color: rgba(255, 220, 80, 0.95);
text-shadow: 1px 2px 0px black;
}
}
.debug_buttons {
position: relative;
flex-direction: row;
gap: 6px;
padding: 2px 8px 4px 8px;
flex-shrink: 0;
.debug_btn {
position: relative;
padding: 4px 10px;
font-size: 12px;
color: rgba(255, 255, 255, 0.6);
background-color: rgba(255, 80, 80, 0.2);
border: 1px solid rgba(255, 80, 80, 0.4);
border-radius: 3px;
pointer-events: all;
cursor: pointer;
&:hover {
background-color: rgba(255, 80, 80, 0.35);
color: white;
sound-in: ui.button.over;
}
&:active {
background-color: rgba(255, 80, 80, 0.55);
sound-in: ui.button.press;
}
}
}
.tabs {
position: relative;
flex-direction: row;
width: 100%;
gap: 4px;
padding: 0 8px;
flex-shrink: 0;
.tab {
position: relative;
flex-grow: 1;
height: 38px;
flex-direction: row;
align-items: center;
justify-content: center;
text-align: center;
font-size: 15px;
background-color: rgba(0, 0, 0, 0.55);
border: 1px solid rgba(255, 255, 255, 0.10);
border-radius: 4px 4px 0 0;
pointer-events: all;
cursor: pointer;
color: rgba(255, 255, 255, 0.55);
gap: 6px;
transition: background-color 0.1s;
&:hover {
background-color: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.85);
sound-in: ui.button.over;
}
&.active {
background-color: rgba(255, 255, 255, 0.13);
border-bottom: 2px solid rgba(255, 255, 255, 0.6);
color: white;
font-size: 16px;
}
}
}
.entries_container {
position: relative;
width: 100%;
height: 576px;
flex-shrink: 0;
background-color: #00000099;
backdrop-filter: blur(4px);
}
.entries {
position: relative;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
height: 100%;
padding: 16px;
gap: 8px;
align-content: flex-start;
justify-content: center;
overflow-x: hidden;
overflow-y: scroll;
}
}