1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2024-11-22 16:42:51 +01:00
Minecraft-Phantom-Panel/Server/Phantom.Server.Web/wwwroot/css/site.css

100 lines
1.6 KiB
CSS

@import url('../lib/bootstrap/bootstrap.min.css');
@import url('../lib/openiconic/css/open-iconic-bootstrap.min.css');
@import url('./blazor.css');
:root {
--range-split: 100%;
}
.body {
position: relative;
display: flex;
flex-direction: column;
}
.sidebar {
background-image: linear-gradient(180deg, #0f6477 200px, #1b3d59 1000px);
}
@media (min-width: 960px) {
.body {
flex-direction: row;
}
.sidebar {
display: flex;
flex-direction: column;
position: sticky;
top: 0;
width: 250px;
min-height: 100vh;
}
}
main {
flex: 1;
padding: 1.1rem 1.5rem 0;
}
h1:focus {
outline: none;
}
code {
font-size: 0.925rem;
word-break: break-word;
}
.btn {
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}
.table {
margin-top: 0.5rem;
}
.table > :not(:first-child) {
border-top: 2px solid #a6a6a6;
}
.table > :not(caption) > * > * {
padding: 0.5rem 0.75rem;
}
.form-range {
height: 2.5rem;
}
.form-range.split-danger::-moz-range-track {
width: calc(100% - 1rem);
background: linear-gradient(to right, #dfd7ca 0%, #dfd7ca var(--range-split), #bf8282 var(--range-split), #bf8282 100%);
}
.form-range.split-danger::-webkit-slider-runnable-track {
/* centering fix does not work in Chrome */
background: linear-gradient(to right, #dfd7ca 0%, #dfd7ca var(--range-split), #bf8282 var(--range-split), #bf8282 100%);
}
.form-submit-errors {
width: 100%;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.modal-footer .form-submit-errors {
margin-top: 0;
}
.text-redacted {
opacity: 0.5;
}
.text-condensed {
font-size: 0.9rem;
line-height: 1.05rem;
}
.text-condensed code {
font-size: 0.9rem;
}