ui/questpanel.razor.scss
QuestPanel {
position: relative;
width: 744px;
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 6px 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;
}
}
.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;
}
&.empty {
color: rgba(255, 255, 255, 0.28);
}
.tab_badge {
position: relative;
background-color: rgba(255, 210, 60, 0.75);
color: black;
font-size: 11px;
min-width: 18px;
height: 18px;
border-radius: 9px;
align-items: center;
justify-content: center;
text-align: center;
padding: 0 4px;
}
}
}
.debug_buttons {
position: relative;
flex-direction: row;
gap: 6px;
padding: 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;
}
}
}
.entries_container {
position: relative;
width: 100%;
height: 580px;
flex-shrink: 0;
.scrollbar {
position: absolute;
width: 4px;
background-color: #ffffff44;
right: 2px;
border-radius: 3px;
}
}
.entries {
position: relative;
flex-direction: column;
width: 100%;
height: 100%;
background-color: #00000099;
backdrop-filter: blur(4px);
padding: 6px 16px 6px 8px;
gap: 3px;
.empty_label {
position: relative;
color: rgba(255, 255, 255, 0.35);
font-size: 14px;
padding: 16px 8px;
text-align: center;
width: 100%;
align-items: center;
justify-content: center;
}
.entry {
position: relative;
width: 100%;
height: 38px;
flex-direction: row;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
gap: 8px;
padding: 0 4px;
pointer-events: all;
cursor: default;
&.dimmed {
opacity: 0.4;
}
&.ready {
background-color: rgba(255, 210, 60, 0.18) !important;
border: 1px solid rgba(255, 210, 60, 0.45);
border-radius: 3px;
cursor: pointer;
&:hover {
background-color: rgba(255, 210, 60, 0.28) !important;
sound-in: ui.button.over;
}
&:active {
background-color: rgba(255, 210, 60, 0.40) !important;
sound-in: ui.button.press;
}
}
.quest_info {
position: relative;
flex-grow: 1;
flex-direction: row;
align-items: center;
min-width: 0;
gap: 8px;
.quest_name {
position: relative;
white-space: nowrap;
font-size: 15px;
color: rgba(255, 255, 255, 0.95);
text-shadow: 1px 1px 0px black;
flex-shrink: 0;
}
.quest_desc {
position: relative;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 11px;
color: rgba(255, 255, 255, 0.38);
text-shadow: 1px 1px 0px black;
}
}
.progress_container {
position: relative;
width: 200px;
height: 22px;
background-color: rgba(0, 0, 0, 0.60);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 3px;
flex-shrink: 0;
overflow: hidden;
.progress_new {
position: absolute;
top: 0;
height: 100%;
width: 0%;
background-color: rgba(255, 255, 255, 1);
border-radius: 2px;
//&.animated {
// transition: width 0.1s ease-out;
//}
}
.progress_fill {
position: absolute;
top: 0;
left: 0;
height: 100%;
opacity: 0.65;
border-radius: 2px;
&.animated {
transition: width 0.5s ease-in;
}
}
.progress_text {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
text-align: center;
align-items: center;
justify-content: center;
font-size: 13px;
color: white;
text-stroke: 4px black;
//text-shadow: 1px 1px 2px black;
}
}
.reward {
position: relative;
flex-direction: row;
align-items: center;
justify-content: flex-end;
gap: 4px;
width: 64px;
flex-shrink: 0;
&.completed {
opacity: 0.35;
}
.reward_icon {
position: relative;
width: 22px;
height: 22px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
flex-shrink: 0;
}
.reward_amount {
position: relative;
font-size: 13px;
color: rgba(255, 220, 80, 0.95);
text-shadow: 1px 1px 0px black;
min-width: 28px;
text-align: left;
}
}
}
}
.continue_btn {
position: relative;
margin-top: 10px;
padding: 10px 48px;
font-size: 18px;
font-family: "Cal Sans";
color: white;
background-color: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 4px;
pointer-events: all;
cursor: pointer;
text-shadow: 1px 1px 0px black;
transition: background-color 0.1s;
&:hover {
background-color: rgba(255, 255, 255, 0.22);
sound-in: ui.button.over;
}
&:active {
background-color: rgba(255, 255, 255, 0.35);
sound-in: ui.button.press;
}
}
}