mince/public/mince.css

360 lines
6.5 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
outline-style: none;
}
a, a:active, a:visited {
color: #aaf;
text-decoration: none;
}
html,
body,
.wrapper {
width: 100%;
height: 100%;
}
body {
background: #111 url('/assets/bg_main.png');
color: #e0d0d0;
font-family: 'Helvetica Neue', sans-serif;
font-size: 13px;
line-height: 1.4em;
}
h1, h2 {
line-height: 1.1em;
}
.wrapper {}
.header {
background: #211710 url('/assets/bg_top.png');
height: 48px;
overflow: hidden;
}
.header-inner {
max-width: 1000px;
width: 100%;
margin: 0 auto;
display: flex;
align-items: center;
}
.header-menu {
flex: 1 1 auto;
margin: 0 10px;
font-size: 16px;
font-weight: 700;
}
.header-menu a {
margin-left: 10px;
color: #fff;
text-decoration: none;
}
.header-menu a:hover,
.header-menu a:focus {
text-decoration: underline;
}
.header-logo {
flex: 0 0 auto;
}
.header-logo img {
vertical-align: bottom;
}
.header-user {
flex: 0 0 auto;
font-size: 16px;
font-weight: 700;
text-decoration: none;
}
.footer {
color: #444;
width: 100%;
text-align: center;
margin: 14px 0;
}
.content {
max-width: 1020px;
width: 100%;
margin: 0 auto;
margin-top: 1em;
padding: 5px 10px;
}
.section {
margin: 15px 0;
}
.section p {
margin: .2em 0;
}
.section pre {
font-size: 1.5em;
}
.error {
margin-bottom: 20px;
color: #f33;
}
.form-btn-green,
.acclink input[type="submit"] {
font-size: 1.5em;
margin: 5px;
border-radius: 4px;
padding: 5px 10px;
border: 1px solid #2a2;
background-color: #252;
color: #cfc;
transition: background-color .2s;
}
.form-btn-green:hover,
.form-btn-green:focus,
.acclink input[type="submit"]:hover,
.acclink input[type="submit"]:focus {
background-color: #272;
}
.form-btn-green:active,
.acclink input[type="submit"]:active {
background-color: #232;
}
.form-btn-red,
.accunlink input[type="submit"] {
font-size: 1.5em;
margin: 5px;
border-radius: 4px;
padding: 5px 10px;
border: 1px solid #a22;
background-color: #522;
color: #fcc;
transition: background-color .2s;
}
.form-btn-red:hover,
.form-btn-red:focus,
.accunlink input[type="submit"]:hover,
.accunlink input[type="submit"]:focus {
background-color: #722;
}
.form-btn-red:active,
.accunlink input[type="submit"]:active {
background-color: #322;
}
label {
margin-top: 1em;
display: block;
}
label .label-header {
text-transform: uppercase;
font-size: 10px;
color: #AAA;
}
label .label-input input {
padding: 2px;
display: block;
font-size: 18px;
margin-bottom: 2px;
max-width: 300px;
width: 100%;
}
.servers {
margin: 0 auto;
font-size: 1.1em;
line-height: 1.4em;
border-spacing: 1px;
}
.servers th {
border-bottom: 1px solid #888;
background-image: linear-gradient(0deg, #444 0, transparent 50%);
}
.servers th,
.servers td {
padding: 0 10px;
}
.servers .col-name {
font-weight: 700;
}
.servers .col-java,
.servers .col-bedrock {
text-align: center;
}
.servers tbody tr:nth-child(odd) td {
background-color: #222;
}
.servers tbody tr:nth-child(even) td {
background-color: #333;
}
ul > li {
margin-left: 1.5em;
list-style: square;
}
.accheader,
.acclink,
.accipaddr,
.accclients,
.accmegadeauth,
.accunlink {
margin-bottom: 40px;
}
.accclients table {
margin: 0 auto;
font-size: 1.2em;
line-height: 1.4em;
border-spacing: 1px;
min-width: 600px;
}
.accclients table th {
border-bottom: 1px solid #888;
background-image: linear-gradient(0deg, #444 0, transparent 50%);
}
.accclients table th {
padding: 0 15px;
}
.accclients table td:not(.actions) {
padding: 5px 15px;
}
.accclients .ipaddr {
font-weight: 700;
}
.accclients .ipaddr,
.accclients .request,
.accclients .granted,
.accclients .used {
text-align: center;
}
.accclients tbody tr:nth-child(odd) td {
background-color: #222;
}
.accclients tbody tr:nth-child(even) td {
background-color: #333;
}
.accclients .actions .action {
width: 100%;
padding: 5px;
}
.accclients .actions form:nth-child(1) {
padding: 5px;
}
.accclients .actions form:nth-child(2) {
padding: 5px;
padding-top: 0;
}
.accclients .actions .action-authorise {
border-radius: 4px;
border: 1px solid #2a2;
background-color: #252;
color: #cfc;
transition: background-color .2s;
}
.accclients .actions .action-authorise:hover,
.accclients .actions .action-authorise:focus {
background-color: #272;
}
.accclients .actions .action-authorise:active {
background-color: #232;
}
.accclients .actions .action-deauthorise {
border-radius: 4px;
border: 1px solid #a22;
background-color: #522;
color: #fcc;
transition: background-color .2s;
}
.accclients .actions .action-deauthorise:hover,
.accclients .actions .action-deauthorise:focus {
background-color: #722;
}
.accclients .actions .action-deauthorise:active {
background-color: #322;
}
.skins-header {
margin-bottom: 40px;
}
.skin,
.cape,
.skinimport {
margin-bottom: 40px;
}
.skins-form {
display: flex;
gap: 4px;
}
.skins-form form {
display: flex;
gap: 4px;
}
.skins-form select {
color: #fff;
border: 1px solid #555;
padding: 1px 5px;
border-radius: 4px;
background-color: #333;
}
.skins-form input[type="file"] {
color: #fff;
border: 1px solid #555;
padding: 1px;
border-radius: 4px;
background-color: #333;
}
.skins-form input[type="submit"] {
border-radius: 4px;
padding: 4px;
border: 1px solid #000;
}
.skins-form-upload {
border-color: #2a2 !important;
background-color: #252;
color: #cfc;
transition: background-color .2s;
}
.skins-form-upload:hover,
.skins-form-upload:focus {
background-color: #272;
}
.skins-form-upload:active {
background-color: #232;
}
.skins-form-delete {
border-color: #a22 !important;
background-color: #522;
color: #fcc;
transition: background-color .2s;
}
.skins-form-delete:hover,
.skins-form-delete:focus {
background-color: #722;
}
.skins-form-delete:active {
background-color: #322;
}
.skins-preview {
margin-top: 4px;
}
.skins-preview img {
border: 1px solid #555;
background-color: #333;
padding: 2px;
border-radius: 4px;
width: 256px;
image-rendering: pixelated;
vertical-align: middle;
}
.skins-preview img:hover {
background-color: #ccc;
}