1
0
mirror of synced 2024-12-04 10:57:59 +01:00
TaikoLocalServer/TaikoWebUI/wwwroot/css/app.css
2024-10-24 19:19:42 -04:00

302 lines
7.3 KiB
CSS

@font-face {
font-family: 'Nijiiro';
src: url('Nijiiro.woff2') format('woff2');
font-display: swap;
}
.loader-container {
width: 100vw;
height: 100vh;
height: 100dvh;
position: fixed;
top: 0;
left: 0;
z-index: 999;
background: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.loading-text {
font-family: 'Nijiiro', sans-serif !important;
font-size: 14px;
color: black;
}
.linear-progress {
background: silver;
width: 50%;
max-width: 500px;
margin: 0 auto 15px;
height: 25px;
border-radius: 999px;
overflow: hidden;
position: relative;
}
.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;
}
.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 {
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%;
z-index: 999999;
}
#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}
.blazor-error-boundary {
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVp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jEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
padding: 1rem 1rem 1rem 3.7rem;
color: white;
}
.blazor-error-boundary::after {
content: "An error has occurred."
}
.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 {
min-height: 75vh;
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;
}
.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 {
background-color: var(--mud-palette-background-grey);
border: 1px solid #ccc;
border-radius: 3px;
font-size: 0.9em;
padding: 0 0.2em;
}
.markdown-content pre {
background-color: var(--mud-palette-background-grey);
border: 1px solid #ccc;
border-radius: 3px;
font-size: 0.9em;
padding: 0.5em;
overflow-x: auto;
}
.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%;
}
.dani-results .mud-progress-linear {
height: 25px !important;
}
.mud-progress-linear.bar-pass-gold .mud-progress-linear-bars .mud-progress-linear-bar {
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%);
}
.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 {
font-size: 12px;
}
.mud-breadcrumb-item a {
color: white;
}
.mud-breadcrumb-item.mud-disabled a,
.mud-breadcrumb-separator span {
color: rgba(255, 255, 255, 0.6);
}