UNPKG

@copoko/space-static

Version:
468 lines (408 loc) 8.27 kB
/*! * ========================================================================== * "CoPoKo Space" License * GNU General Public License version 3.0 (GPLv3) * ========================================================================== * This file is part of "CoPoKo Space" * * "CoPoKo Space" is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * "CoPoKo Space" is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with "CoPoKo Space". If not, see <http://www.gnu.org/licenses/>. * ========================================================================== */ *, :after, :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } ::-webkit-scrollbar { width: 0.5em; height: 0.5em; } ::-webkit-scrollbar-thumb { background: #d9d9d9; cursor: pointer; } ::-webkit-scrollbar-track { background: 0 0; } html { position: relative; display: block; min-height: 520px; font-size: 10px; font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; } .auth-main, body, html { height: 100%; } body, html { min-height: 100%; min-width: 320px; } body { font: 14px/16px Roboto, sans-serif; color: #fff; background-color: #f0f3f4; margin: 0; display: block; } body::before { content: ""; position: fixed; width: 100%; height: 100%; top: 0; left: 0; background: url(https://cdn.jsdelivr.net/npm/@flyspace/cdn/img/blur-bg.jpg) center center no-repeat; background-size: cover; will-change: transform; z-index: -1; } .auth-main { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 100%; } .auth-block { width: 540px; margin: 0 auto; border-radius: 5px; background: rgba(0, 0, 0, 0.55); color: #fff; padding: 32px; } .auth-block h1 { font-weight: 300; margin-bottom: 28px; text-align: center; } .h1, h1 { font-size: 36px; } .h1, .h2, .h3, h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; } .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; } h1 { margin: 0.67em 0; } .auth-block .form-group { margin-bottom: 12px; } .form-horizontal .form-group { margin-right: -15px; margin-left: -15px; } .form-group:after, .form-horizontal .form-group:before { display: table; content: " "; } .form-horizontal .form-group:after { clear: both; display: table; content: " "; } .auth-block .control-label { padding-top: 11px; color: #fff; } @media (min-width: 768px) { .form-horizontal .control-label { margin-bottom: 0; text-align: right; } } .form-group label { font-weight: 400; font-size: 13px; } .form-horizontal label { line-height: 34px; padding-top: 0 !important; } @media (min-width: 768px) { .col-sm-2 { width: 16.66666667%; float: left; } .col-sm-10 { width: 83.33333333%; float: left; } } .col-sm-offset-5 { margin-left: 41.66666667%; } .col-sm-2, .col-sm-10 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; } label { display: inline-block; max-width: 100%; } .form-control, .form-control:focus { background-color: rgba(0, 0, 0, 0.4); border-radius: 5px; color: #fff; } .form-control { width: 100%; height: 34px; padding: 6px 12px; border: 1px solid transparent; box-shadow: none; -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s; -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; } .form-control, output { font-size: 14px; line-height: 1.42857143; display: block; } .form-control { background-image: none; } .form-control:focus { border-color: #66afe9; outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); } .form-control, .form-control:focus { background-color: rgba(0, 0, 0, 0.4); border-radius: 5px; color: #fff; } button.btn.btn-default { border-width: 1px; } button.btn.btn-default, button.btn.btn-default.disabled, button.btn.btn-default.disabled.active, button.btn.btn-default.disabled.focus, button.btn.btn-default.disabled:active, button.btn.btn-default.disabled:focus, button.btn.btn-default.disabled:hover, button.btn.btn-default[disabled], button.btn.btn-default[disabled].active, button.btn.btn-default[disabled].focus, button.btn.btn-default[disabled]:active, button.btn.btn-default[disabled]:focus, button.btn.btn-default[disabled]:hover, fieldset[disabled] button.btn.btn-default, fieldset[disabled] button.btn.btn-default.active, fieldset[disabled] button.btn.btn-default.focus, fieldset[disabled] button.btn.btn-default:active, fieldset[disabled] button.btn.btn-default:focus, fieldset[disabled] button.btn.btn-default:hover { border-color: #fff; background: 0 0; } .btn-auth { color: #fff !important; } .btn { border-radius: 5px; -webkit-transition: all 0.1s ease; transition: all 0.1s ease; } .btn { display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: 400; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; user-select: none; border: 1px solid transparent; } button, input, select, textarea { font-family: inherit; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; } button, select { text-transform: none; } button { overflow: visible; } button, input, optgroup, select, textarea { margin: 0; font: inherit; color: inherit; } .btn { border-radius: 5px; -webkit-transition: all 0.1s ease; transition: all 0.1s ease; } .wrapper { position: absolute; overflow: hidden; left: 0; width: 100%; height: 100%; } .bg-bubbles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; } .bg-bubbles li:nth-child(1) { left: 10%; } .bg-bubbles li:nth-child(2) { left: 20%; width: 80px; height: 80px; animation-delay: 2s; animation-duration: 17s; } .bg-bubbles li:nth-child(3) { left: 25%; animation-delay: 4s; } .bg-bubbles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-duration: 22s; background-color: rgba(255, 255, 255, 0.25); } .bg-bubbles li:nth-child(5) { left: 70%; } .bg-bubbles li:nth-child(6) { left: 80%; width: 120px; height: 120px; animation-delay: 3s; background-color: rgba(255, 255, 255, 0.2); } .bg-bubbles li:nth-child(7) { left: 32%; width: 160px; height: 160px; animation-delay: 7s; } .bg-bubbles li:nth-child(8) { left: 55%; width: 20px; height: 20px; animation-delay: 15s; animation-duration: 40s; } .bg-bubbles li:nth-child(9) { left: 25%; width: 10px; height: 10px; animation-delay: 2s; animation-duration: 40s; background-color: rgba(255, 255, 255, 0.3); } .bg-bubbles li:nth-child(10) { left: 90%; width: 160px; height: 160px; animation-delay: 11s; } .bg-bubbles li { position: absolute; list-style: none; display: block; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.15); bottom: -160px; -webkit-animation: square 25s infinite; animation: square 25s infinite; -webkit-transition-timing-function: linear; transition-timing-function: linear; } @keyframes square { 0% { transform: translatey(0); } 100% { transform: translatey(-700px) rotate(600deg); } }