1
0
mirror of synced 2024-12-11 14:26:01 +01:00
TaikoLocalServer/TaikoWebUI/wwwroot/css/app.css

345 lines
8.0 KiB
CSS
Raw Normal View History

2024-03-27 19:02:12 +01:00
@font-face {
font-family: 'Nijiiro';
2024-03-27 19:02:12 +01:00
src: url('Nijiiro.woff2') format('woff2');
font-display: swap;
}
2024-03-27 19:02:12 +01:00
.loader-container {
width: 100vw;
2024-10-25 01:19:42 +02:00
height: 100vh;
2024-03-27 19:02:12 +01:00
height: 100dvh;
position: fixed;
top: 0;
left: 0;
z-index: 999;
2024-10-28 15:15:50 +01:00
background: #27272F;
2024-03-27 19:02:12 +01:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
2024-03-27 19:02:12 +01:00
.loading-text {
font-family: 'Nijiiro', sans-serif !important;
font-size: 14px;
2024-10-28 15:15:50 +01:00
color: white;
2024-03-27 19:02:12 +01:00
}
.linear-progress {
background: silver;
width: 50%;
max-width: 500px;
margin: 0 auto 15px;
height: 25px;
border-radius: 999px;
overflow: hidden;
position: relative;
}
2024-10-25 01:14:07 +02:00
.linear-progress:after {
content: '';
position: absolute;
inset: 0;
background: rgb(48, 63, 159);
transform: scaleX(var(--blazor-load-percentage, 0%));
transform-origin: left top;
transition: transform ease-out 0.25s;
}
2024-10-25 01:14:07 +02:00
.linear-progress:before {
content: var(--blazor-load-percentage-text);
font-family: sans-serif;
font-size: 12px;
font-weight: bold;
position: absolute;
top: 50%;
left: 50%;
color: white;
transform: translate(-50%, -50%);
z-index: 999;
}
#blazor-error-ui {
2024-10-25 01:16:50 +02:00
background: #ff2f2f;
bottom: 0;
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
display: none;
left: 0;
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
position: fixed;
width: 100%;
2024-10-25 01:16:50 +02:00
z-index: 999999;
}
2024-03-27 19:02:12 +01:00
#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}
.blazor-error-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EzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
padding: 1rem 1rem 1rem 3.7rem;
color: white;
}
2024-10-25 01:14:07 +02:00
.blazor-error-boundary::after {
content: "An error has occurred."
}
@keyframes puchi-floating-anim {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-1.25rem);
}
}
.puchi-floating {
will-change: transform;
animation: puchi-floating-anim 0.8s ease-in-out alternate infinite;
}
@-moz-document url-prefix() {
.puchi-floating {
will-change: unset !important;
animation: none !important;
}
}
.profile-image{
position: absolute;
top: 0;
left: 0;
right: 0;
margin: auto;
}
.nameplateTextOutline {
-webkit-text-stroke: 5px;
-webkit-text-stroke-color: black
}
.nameplateText {
font-family: 'Nijiiro', sans-serif !important;
position: absolute;
height: 100%;
top: 0;
right: 0;
left: 0;
color: white;
margin: auto auto;
}
.nameplateTextLeft {
position: absolute;
height: 100%;
width: 15%;
left: 19%
}
.nameplateTextCenter {
position: absolute;
height: 100%;
width: 15%;
left: 48%
}
.nameplateTextRight {
position: absolute;
height: 100%;
width: 15%;
left: 78%
}
.markdown-container {
2024-10-25 01:14:07 +02:00
min-height: 75vh;
2024-06-06 05:53:33 +02:00
overflow-x: scroll;
}
.markdown-content {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
gap: 25px;
max-width: 1000px;
margin: 0 auto;
padding: 25px;
2024-10-25 01:14:07 +02:00
}
.markdown-content * {
grid-column: 1 / -1;
}
.markdown-content img {
max-width: 100%;
height: auto;
}
.markdown-content hr {
border: none;
border-top: 1px solid #ccc;
}
.markdown-content ul,
.markdown-content ol {
list-style-position: inside;
}
.markdown-content ul p,
.markdown-content ol p {
display: inline;
}
.markdown-content code {
2024-06-06 05:28:37 +02:00
background-color: var(--mud-palette-background-grey);
border: 1px solid #ccc;
border-radius: 3px;
font-size: 0.9em;
padding: 0 0.2em;
}
2024-10-25 01:14:07 +02:00
.markdown-content pre {
2024-06-06 05:28:37 +02:00
background-color: var(--mud-palette-background-grey);
border: 1px solid #ccc;
border-radius: 3px;
font-size: 0.9em;
padding: 0.5em;
overflow-x: auto;
2024-06-06 05:53:33 +02:00
}
.markdown-content table {
border-collapse: collapse;
width: 100%;
}
.markdown-content th,
.markdown-content td {
border: 1px solid #ccc;
padding: 0.5em;
}
.markdown-content thead {
background-color: var(--mud-palette-primary);
color: white;
}
.markdown-content tr:nth-child(2n) {
background-color: var(--mud-palette-background-grey);
}
.markdown-content blockquote {
font-family: 'Nijiiro', sans-serif;
border-left: 5px solid var(--mud-palette-primary);
margin: 0;
padding: 0.5em 1em;
min-width: 500px;
width: 65%;
2024-10-24 23:13:59 +02:00
}
.dani-results .mud-progress-linear {
height: 25px !important;
}
.mud-progress-linear.bar-pass-gold .mud-progress-linear-bars .mud-progress-linear-bar {
2024-10-25 01:14:07 +02:00
background: linear-gradient(90deg, rgb(255, 83, 147) 0%, rgb(255, 248, 6) 15%, rgb(255, 248, 6) 20%, rgb(122, 255, 79) 30%, rgb(122, 244, 255) 45%, rgb(149, 104, 255) 70%, rgb(255, 98, 244) 90%, rgb(255, 98, 244) 95%, rgb(255, 83, 147) 100%);
2024-10-24 23:13:59 +02:00
}
.mud-progress-linear.bar-pass-red .mud-progress-linear-bars .mud-progress-linear-bar {
background-color: #ff584d;
}
.mud-progress-linear.bar-default .mud-progress-linear-bars .mud-progress-linear-bar {
background-color: lightgrey;
}
.mud-progress-linear.bar-pass-gold .mud-typography,
.mud-progress-linear.bar-pass-red .mud-typography {
font-weight: bold;
color: #333;
}
.mud-table-toolbar {
flex-wrap: wrap;
height: inherit;
padding: 20px 10px;
}
.color-box {
width: 16px;
height: 16px;
border-radius: 9999px;
display: inline-block;
margin-right: 10px;
border: 1px solid black;
position: relative;
top: 2px;
}
.columns-panel {
column-count: 2;
}
.ai-battle-td {
position: sticky;
left: 0;
top: 0;
z-index: 99;
background: #FAFAFA;
display: none;
}
.dialog-user-qr-code svg {
/* makes the qr code render with no subpixels */
transform: scale(1.1);
}
tr.is-current-user {
background-color: #8c9eff75 !important
}
tr.is-current-user td,
tr.is-current-user span,
tr.is-current-user p {
font-weight: bold;
}
.lang-menu-item .mud-list-item-icon {
min-width: 26px;
}
@media only screen and (min-width: 600px) {
.ai-battle-td {
display: revert;
}
}
.mud-breadcrumb-item {
2024-10-28 15:15:50 +01:00
font-size: 14px;
2024-10-24 23:13:59 +02:00
}
2024-10-25 01:14:07 +02:00
.mud-breadcrumb-item a {
2024-10-24 23:13:59 +02:00
color: white;
}
2024-10-25 01:14:07 +02:00
.mud-breadcrumb-item.mud-disabled a,
.mud-breadcrumb-separator span {
2024-10-24 23:13:59 +02:00
color: rgba(255, 255, 255, 0.6);
}
.user-card {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
.mud-table-cell {
padding-top: 8px !important;
padding-bottom: 8px !important;
text-align: center;
}