colourbreakmenu.razor.scss
.cb-ui {
position: absolute;
inset: 0px;
width: 100%;
height: 100%;
font-family: "Inter", "Poppins", "Segoe UI", sans-serif;
color: #ffffff;
pointer-events: none;
}
.cb-loading {
position: absolute;
top: 24px;
left: 24px;
padding: 10px 14px;
font-size: 18px;
font-weight: 800;
color: #ffffff;
background-color: rgba(5, 8, 20, 0.88);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
}
.cb-screen {
position: absolute;
inset: 0px;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 28px;
pointer-events: all;
background-color: rgba(4, 6, 16, 0.70);
}
.cb-main {
justify-content: flex-start;
gap: 0px;
padding: 24px 30px 28px;
background-color: rgba(5, 7, 18, 0.18);
}
.cb-menu-top {
width: 100%;
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
gap: 24px;
}
.cb-menu-metrics {
display: flex;
flex-direction: row;
gap: 10px;
}
.cb-menu-metric {
min-width: 98px;
padding: 8px 12px;
display: flex;
flex-direction: column;
align-items: flex-start;
background-color: rgba(4, 8, 20, 0.84);
border: 1px solid rgba(255, 255, 255, 0.20);
border-radius: 8px;
box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.38);
span {
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
color: #aeefff;
}
b {
margin-top: -2px;
font-size: 28px;
line-height: 30px;
font-weight: 900;
color: #ffffff;
text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.90);
}
}
.cb-menu-actions {
pointer-events: all;
margin-top: auto;
display: flex;
flex-direction: row;
justify-content: center;
gap: 12px;
width: auto;
padding: 12px;
background-color: rgba(4, 8, 20, 0.84);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
box-shadow: 0px 16px 42px rgba(0, 0, 0, 0.50);
.cb-btn {
width: 178px;
}
}
.cb-level-select {
pointer-events: all;
margin-top: 4px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 12px;
width: 398px;
padding: 10px 12px;
background-color: rgba(4, 8, 20, 0.82);
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 8px;
box-shadow: 0px 14px 36px rgba(0, 0, 0, 0.42);
}
.cb-level-nav {
width: 48px;
height: 46px;
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
line-height: 28px;
font-weight: 900;
color: #07111a;
background-color: #aeefff;
border: 2px solid rgba(255, 255, 255, 0.82);
border-radius: 8px;
box-shadow: 0px 0px 16px rgba(92, 237, 255, 0.46);
cursor: pointer;
transition: all 0.10s ease-out;
&:hover {
transform: scale(1.04);
border-color: #ffffff;
}
&:active {
transform: scale(0.97);
}
&.disabled {
color: rgba(255, 255, 255, 0.34);
background-color: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.12);
box-shadow: none;
}
}
.cb-level-select-copy {
width: 262px;
display: flex;
flex-direction: column;
align-items: center;
span {
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
color: #aeefff;
text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
}
b {
margin-top: -1px;
font-size: 19px;
line-height: 22px;
font-weight: 900;
color: #ffffff;
text-align: center;
text-shadow: 0px 3px 5px rgba(0, 0, 0, 1);
}
}
.cb-title-wrap {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
}
.cb-mode-tabs {
display: flex;
flex-direction: row;
gap: 8px;
margin: 6px 0px 2px;
padding: 5px;
background-color: rgba(4, 8, 20, 0.78);
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 10px;
}
.cb-mode-tab {
pointer-events: all;
width: 150px;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
font-size: 17px;
font-weight: 900;
letter-spacing: 0px;
color: rgba(255, 255, 255, 0.66);
background-color: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255, 255, 255, 0.10);
border-radius: 8px;
cursor: pointer;
transition: all 0.10s ease-out;
&:hover {
color: #ffffff;
border-color: rgba(92, 237, 255, 0.55);
}
&.active {
color: #07111a;
background-color: #aeefff;
border-color: #ffffff;
box-shadow: 0px 0px 16px rgba(92, 237, 255, 0.55);
}
}
.cb-record-row {
color: #07111a;
background-color: #ffd23f;
border-radius: 6px;
span {
color: #07111a;
}
b {
color: #07111a;
}
}
.cb-title {
margin: 0px;
font-size: 62px;
line-height: 64px;
font-weight: 900;
letter-spacing: 0px;
color: #ffffff;
text-shadow:
0px 4px 0px rgba(20, 224, 255, 0.85),
0px 10px 0px rgba(199, 56, 255, 0.55),
0px 22px 42px rgba(0, 0, 0, 0.75);
}
.cb-tagline {
margin: 0px;
padding: 7px 12px;
font-size: 16px;
font-weight: 800;
color: #f4fbff;
background-color: rgba(4, 8, 20, 0.78);
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 8px;
text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.9);
}
.cb-level-brief {
max-width: 520px;
margin: 0px;
padding: 8px 12px;
font-size: 15px;
line-height: 19px;
font-weight: 800;
color: rgba(255, 255, 255, 0.88);
background-color: rgba(4, 8, 20, 0.66);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.95);
}
.cb-level-objective {
max-width: 520px;
margin: 0px;
padding: 7px 12px;
font-size: 15px;
line-height: 18px;
font-weight: 900;
color: #07111a;
background-color: #aeefff;
border: 1px solid rgba(255, 255, 255, 0.85);
border-radius: 8px;
box-shadow: 0px 0px 18px rgba(92, 237, 255, 0.38);
}
.cb-level-rail {
display: flex;
flex-direction: row;
align-items: center;
gap: 7px;
margin-top: 4px;
padding: 6px 8px;
background-color: rgba(4, 8, 20, 0.58);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
}
.cb-level-pip {
min-width: 28px;
height: 28px;
padding: 0px 7px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 900;
color: rgba(255, 255, 255, 0.54);
background-color: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 8px;
text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.90);
&.complete {
color: #04120b;
background-color: rgba(66, 247, 123, 0.92);
border-color: rgba(196, 255, 214, 0.95);
text-shadow: none;
}
&.active {
color: #07111a;
background-color: #aeefff;
border-color: #ffffff;
box-shadow: 0px 0px 18px rgba(92, 237, 255, 0.80);
text-shadow: none;
}
&.locked {
color: rgba(255, 255, 255, 0.36);
background-color: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.08);
}
}
.cb-buttons {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
width: 320px;
}
.cb-btn {
pointer-events: all;
width: 100%;
height: 58px;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
font-weight: 900;
letter-spacing: 0px;
color: #ffffff;
background-color: rgba(11, 16, 32, 0.90);
border: 2px solid rgba(255, 255, 255, 0.22);
border-radius: 8px;
box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.40);
transition: all 0.10s ease-out;
cursor: pointer;
&:hover {
background-color: rgba(25, 36, 64, 0.96);
border-color: rgba(255, 255, 255, 0.70);
transform: scale(1.035);
}
&:active {
transform: scale(0.98);
}
}
.cb-primary {
color: #04120b;
background-color: #42f77b;
border-color: #c4ffd6;
text-shadow: none;
&:hover {
background-color: #6dff98;
border-color: #ffffff;
}
}
.cb-disabled {
color: rgba(255, 255, 255, 0.42);
background-color: rgba(255, 255, 255, 0.07);
border-color: rgba(255, 255, 255, 0.14);
box-shadow: none;
&:hover {
background-color: rgba(255, 255, 255, 0.08);
border-color: rgba(255, 255, 255, 0.18);
transform: none;
}
}
.cb-hint {
position: absolute;
bottom: 30px;
left: 0px;
right: 0px;
align-self: center;
width: 620px;
margin: 0px auto;
padding: 11px 18px;
justify-content: center;
text-align: center;
font-size: 16px;
font-weight: 800;
color: #f4fbff;
background-color: rgba(4, 8, 20, 0.82);
border: 1px solid rgba(92, 237, 255, 0.45);
border-radius: 10px;
box-shadow: 0px 10px 28px rgba(0, 0, 0, 0.50);
text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.95);
}
.cb-hint-stuck {
color: #07111a;
background-color: #aeefff;
border-color: #ffffff;
box-shadow: 0px 0px 22px rgba(92, 237, 255, 0.55);
text-shadow: none;
}
.cb-panel {
display: flex;
flex-direction: column;
align-items: center;
gap: 22px;
padding: 38px 48px;
min-width: 380px;
background-color: rgba(5, 8, 22, 0.94);
border: 2px solid rgba(92, 237, 255, 0.42);
border-radius: 8px;
box-shadow: 0px 22px 70px rgba(0, 0, 0, 0.72);
}
.cb-settings-screen {
z-index: 50;
background-color: rgba(3, 5, 14, 0.94);
}
.cb-settings-panel {
z-index: 51;
min-width: 420px;
background-color: rgba(5, 8, 22, 0.98);
}
.cb-settings-panel .cb-panel-title {
font-size: 40px;
}
.cb-setting-row {
pointer-events: all;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 24px;
width: 100%;
min-height: 52px;
padding: 10px 14px;
color: rgba(255, 255, 255, 0.82);
background-color: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 6px;
font-size: 17px;
font-weight: 900;
cursor: pointer;
b {
color: #42f77b;
font-size: 18px;
}
&:hover {
background-color: rgba(66, 247, 123, 0.16);
border-color: rgba(66, 247, 123, 0.72);
}
&.focused {
color: #ffffff;
background-color: rgba(92, 237, 255, 0.18);
border-color: rgba(92, 237, 255, 0.92);
box-shadow: 0px 0px 18px rgba(92, 237, 255, 0.42);
}
}
.cb-panel-title {
margin: 0px;
font-size: 46px;
font-weight: 900;
color: #ffffff;
text-shadow: 0px 5px 18px rgba(78, 226, 255, 0.65);
}
.cb-readout {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
}
.cb-readout-row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 24px;
width: 100%;
padding: 9px 12px;
font-size: 17px;
font-weight: 800;
color: rgba(255, 255, 255, 0.68);
background-color: rgba(255, 255, 255, 0.06);
border-radius: 6px;
b {
color: #ffffff;
font-weight: 900;
}
}
.cb-hud {
position: absolute;
top: 20px;
left: 20px;
width: 300px;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 8px;
pointer-events: none;
}
.cb-stat,
.cb-status {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
min-height: 58px;
padding: 8px 14px;
background-color: rgba(4, 7, 18, 0.92);
border: 2px solid rgba(255, 255, 255, 0.24);
border-radius: 8px;
box-shadow:
0px 10px 24px rgba(0, 0, 0, 0.45),
inset 0px 0px 18px rgba(58, 226, 255, 0.10);
}
.cb-stat-label,
.cb-status-label {
font-size: 14px;
font-weight: 900;
text-transform: uppercase;
color: #aeefff;
text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
}
.cb-stat-value {
margin-top: -2px;
font-size: 32px;
line-height: 32px;
font-weight: 900;
color: #ffffff;
text-shadow: 0px 3px 5px rgba(0, 0, 0, 1);
}
.cb-stat-subtitle {
margin-top: 2px;
font-size: 14px;
line-height: 16px;
font-weight: 900;
color: rgba(255, 255, 255, 0.82);
text-shadow: 0px 2px 4px rgba(0, 0, 0, 1);
}
.cb-status {
min-width: 0px;
}
.cb-progress {
width: 100%;
min-height: 62px;
padding: 9px 14px;
display: flex;
flex-direction: column;
justify-content: center;
background-color: rgba(4, 7, 18, 0.92);
border: 2px solid rgba(255, 255, 255, 0.24);
border-radius: 8px;
box-shadow:
0px 10px 24px rgba(0, 0, 0, 0.45),
inset 0px 0px 18px rgba(66, 247, 123, 0.10);
}
.cb-progress-copy {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 12px;
span {
font-size: 14px;
font-weight: 900;
text-transform: uppercase;
color: #aeefff;
text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
}
b {
font-size: 18px;
font-weight: 900;
color: #ffffff;
text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
}
}
.cb-progress-track {
width: 100%;
height: 10px;
margin-top: 7px;
background-color: rgba(255, 255, 255, 0.10);
border-radius: 5px;
overflow: hidden;
}
.cb-progress-fill {
height: 100%;
min-width: 3px;
background-color: #42f77b;
border-radius: 5px;
box-shadow: 0px 0px 18px rgba(66, 247, 123, 0.75);
}
.cb-objective {
box-shadow:
0px 10px 24px rgba(0, 0, 0, 0.45),
inset 0px 0px 18px rgba(92, 237, 255, 0.16);
}
.cb-objective-name {
margin-top: 2px;
font-size: 13px;
line-height: 15px;
font-weight: 900;
color: rgba(255, 255, 255, 0.86);
text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
}
.cb-objective-fill {
background-color: #aeefff;
box-shadow: 0px 0px 18px rgba(92, 237, 255, 0.82);
}
.cb-status-value {
margin-top: 2px;
font-size: 20px;
line-height: 22px;
font-weight: 900;
color: #ffffff;
text-shadow: 0px 3px 5px rgba(0, 0, 0, 1);
}
.cb-pause-btn {
position: absolute;
top: 20px;
right: 20px;
pointer-events: all;
width: 68px;
min-height: 68px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: 900;
color: #ffffff;
background-color: rgba(4, 7, 18, 0.92);
border: 2px solid rgba(255, 255, 255, 0.30);
border-radius: 8px;
box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.45);
cursor: pointer;
transition: all 0.10s ease-out;
&:hover {
color: #04120b;
background-color: #42f77b;
border-color: #ffffff;
transform: scale(1.04);
}
&:active {
transform: scale(0.97);
}
}
/* -------- bug reporting -------- */
.cb-report-panel {
min-width: 520px;
}
.cb-report-intro {
margin: 0px;
max-width: 460px;
font-size: 15px;
line-height: 19px;
font-weight: 700;
text-align: center;
color: rgba(255, 255, 255, 0.82);
text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.9);
}
.cb-report-input {
width: 460px;
height: 150px;
padding: 12px 14px;
font-size: 16px;
font-weight: 600;
color: #ffffff;
background-color: rgba(255, 255, 255, 0.06);
border: 2px solid rgba(92, 237, 255, 0.45);
border-radius: 8px;
&:focus {
border-color: #aeefff;
background-color: rgba(255, 255, 255, 0.10);
}
}
.cb-report-feedback {
width: 460px;
padding: 8px 12px;
font-size: 15px;
font-weight: 800;
text-align: center;
color: #07120b;
background-color: #42f77b;
border-radius: 8px;
}
.cb-manager-btn {
color: #07111a;
background-color: #ffd23f;
border-color: #ffe98a;
&:hover {
background-color: #ffe06a;
border-color: #ffffff;
}
}
.cb-manager-panel {
min-width: 620px;
max-width: 760px;
}
.cb-manager-list {
display: flex;
flex-direction: column;
gap: 10px;
width: 660px;
max-height: 460px;
overflow-y: scroll;
padding-right: 4px;
}
.cb-manager-empty {
padding: 28px;
font-size: 17px;
font-weight: 800;
text-align: center;
color: rgba(255, 255, 255, 0.6);
}
.cb-report-row {
display: flex;
flex-direction: column;
gap: 6px;
padding: 12px 14px;
background-color: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.14);
border-left-width: 4px;
border-left-color: #ff7a59;
border-radius: 8px;
&.resolved {
border-left-color: #42f77b;
opacity: 0.7;
}
}
.cb-report-head {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
}
.cb-report-when {
font-size: 13px;
font-weight: 900;
color: #aeefff;
}
.cb-report-meta {
flex-grow: 1;
font-size: 13px;
font-weight: 700;
color: rgba(255, 255, 255, 0.66);
}
.cb-report-tag {
padding: 2px 8px;
font-size: 12px;
font-weight: 900;
color: #07120b;
background-color: #42f77b;
border-radius: 10px;
}
.cb-report-msg {
font-size: 16px;
font-weight: 600;
line-height: 20px;
color: #ffffff;
white-space: pre-wrap;
}
.cb-report-actions {
display: flex;
flex-direction: row;
justify-content: flex-end;
gap: 8px;
margin-top: 2px;
}
.cb-mini-btn {
pointer-events: all;
padding: 6px 14px;
font-size: 14px;
font-weight: 900;
color: #07111a;
background-color: #aeefff;
border: 1px solid rgba(255, 255, 255, 0.7);
border-radius: 6px;
cursor: pointer;
transition: all 0.10s ease-out;
&:hover {
background-color: #ffffff;
transform: scale(1.04);
}
}
.cb-mini-danger {
color: #ffffff;
background-color: rgba(255, 90, 70, 0.92);
border-color: rgba(255, 150, 130, 0.9);
&:hover {
background-color: #ff5a46;
}
}