mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-15 00:46:22 +00:00
ab81bedffa
* Updated home. All footer links are now using icons. * Added Chrome extension link to home. * Updated icons (added some and replaced some). * Home will now show a different message if private mode is on but guests are still allowed to create accounts. * Home will no longer show message about creating account if guests are not allowed to create one. * Updated API route: /api/check. State of whether registration is enabled or not is now exposed with key "enableUserAccounts".
188 lines
4.0 KiB
CSS
188 lines
4.0 KiB
CSS
/* ------------------
|
|
HOME
|
|
------------------ */
|
|
|
|
section#home #b {
|
|
-webkit-animation-delay: 0.5s;
|
|
animation-delay: 0.5s;
|
|
-webkit-animation-duration: 1.5s;
|
|
animation-duration: 1.5s;
|
|
-webkit-animation-fill-mode: both;
|
|
animation-fill-mode: both;
|
|
-webkit-animation-name: floatUp;
|
|
animation-name: floatUp;
|
|
-webkit-animation-timing-function: cubic-bezier(0, 0.71, 0.29, 1);
|
|
animation-timing-function: cubic-bezier(0, 0.71, 0.29, 1);
|
|
border-radius: 24px;
|
|
display: inline-block;
|
|
height: 240px;
|
|
margin-bottom: 40px;
|
|
position: relative;
|
|
vertical-align: top;
|
|
width: 240px;
|
|
box-shadow: 0 20px 60px rgba(10, 10, 10, 0.05), 0 5px 10px rgba(10, 10, 10, 0.1), 0 1px 1px rgba(10, 10, 10, 0.2);
|
|
}
|
|
|
|
section#home div#dropzone {
|
|
border: 1px solid #dbdbdb;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border-color: #ff3860;
|
|
color: #ff3860;
|
|
display: none;
|
|
width: 100%;
|
|
border-radius: 3px;
|
|
box-shadow: none;
|
|
height: 2.5em;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
user-select: none;
|
|
justify-content: center;
|
|
padding-left: .75em;
|
|
padding-right: .75em;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
section#home div#uploads, section#home p#tokenContainer, section#home a#panel { display: none; }
|
|
section#home div#dropzone:hover { background-color: #ff3860; border-color: #ff3860; color: #fff; }
|
|
section#home h3#maxFileSize { font-size: 14px; }
|
|
section#home h3#links span { padding-left: 5px; padding-right: 5px; }
|
|
section#home img.logo { height: 200px; margin-top: 20px; }
|
|
section#home .dz-preview .dz-details { display: flex; }
|
|
section#home .dz-preview .dz-details .dz-size, section#home .dz-preview .dz-details .dz-filename { flex: 1; }
|
|
section#home .dz-preview img, section#home .dz-preview .dz-success-mark, section#home .dz-preview .dz-error-mark { display: none; }
|
|
section#home div#uploads { margin-bottom: 25px; }
|
|
|
|
@keyframes floatUp {
|
|
0% {
|
|
opacity: 0;
|
|
box-shadow: 0 0 0 rgba(10, 10, 10, 0), 0 0 0 rgba(10, 10, 10, 0), 0 0 0 rgba(10, 10, 10, 0);
|
|
-webkit-transform: scale(0.86);
|
|
transform: scale(0.86);
|
|
}
|
|
25% { opacity: 100; }
|
|
67% {
|
|
box-shadow: 0 0 0 rgba(10, 10, 10, 0), 0 5px 10px rgba(10, 10, 10, 0.1), 0 1px 1px rgba(10, 10, 10, 0.2);
|
|
-webkit-transform: scale(1);
|
|
transform: scale(1);
|
|
}
|
|
100% {
|
|
box-shadow: 0 20px 60px rgba(10, 10, 10, 0.05), 0 5px 10px rgba(10, 10, 10, 0.1), 0 1px 1px rgba(10, 10, 10, 0.2);
|
|
-webkit-transform: scale(1);
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
/* ------------------
|
|
PANEL
|
|
------------------ */
|
|
|
|
section#auth, section#dashboard { display: none }
|
|
section#auth input { background: rgba(0, 0, 0, 0); }
|
|
section#auth input, section#auth a {
|
|
border-left: 0px;
|
|
border-top: 0px;
|
|
border-right: 0px;
|
|
border-radius: 0px;
|
|
box-shadow: 0 0 0;
|
|
}
|
|
|
|
.select-wrapper {
|
|
text-align: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* ------------------
|
|
COLORS BASED ON
|
|
KDE BREEZE DARK
|
|
------------------ */
|
|
|
|
.hero {
|
|
background-color: #232629;
|
|
color: #eff0f1;
|
|
}
|
|
|
|
.title {
|
|
color: #eff0f1;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #bdc3c7;
|
|
}
|
|
|
|
.subtitle strong {
|
|
color: #bdc3c7;
|
|
}
|
|
|
|
a {
|
|
color: #2980b9;
|
|
}
|
|
|
|
a:hover {
|
|
color: #3daee9;
|
|
}
|
|
|
|
section#home #b {
|
|
width: 200px;
|
|
height: 200px;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
hr {
|
|
background-color: #898b8d;
|
|
}
|
|
|
|
#login .input {
|
|
border-top: 0;
|
|
border-right: 0;
|
|
border-left: 0;
|
|
border-radius: 0;
|
|
padding-right: calc(0.75em + 1px);
|
|
padding-left: calc(0.75em + 1px);
|
|
}
|
|
|
|
#login .control .button {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.input.is-active,
|
|
.input.is-focused,
|
|
.input:active,
|
|
.input:focus,
|
|
.textarea.is-active,
|
|
.textarea.is-focused,
|
|
.textarea:active,
|
|
.textarea:focus {
|
|
border-color: #2980b9;
|
|
}
|
|
|
|
.table.is-hoverable tbody tr:not(.is-selected):hover {
|
|
background-color: #4d4d4d;
|
|
}
|
|
|
|
.table td,
|
|
.table th {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.help {
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
.input::-moz-placeholder {
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
.input::-webkit-input-placeholder {
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
.input:-moz-placeholder {
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
.input:-ms-input-placeholder {
|
|
color: #7f8c8d;
|
|
}
|