mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-27 19:05:16 +00:00
106 lines
1.3 KiB
CSS
106 lines
1.3 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
html,
|
|
input,
|
|
textarea {
|
|
font-family: 'Roboto', sans-serif;
|
|
line-height: 1.4;
|
|
background: #eee;
|
|
}
|
|
|
|
body {
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
:not(pre) > code {
|
|
font-family: monospace;
|
|
background-color: #eee;
|
|
padding: 3px;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
img.active {
|
|
box-shadow: 0 0 0 2px blue;
|
|
}
|
|
|
|
input {
|
|
box-sizing: border-box;
|
|
font-size: 0.85em;
|
|
width: 100%;
|
|
padding: 0.5em;
|
|
border: 2px solid #ddd;
|
|
background: #fafafa;
|
|
}
|
|
|
|
input:focus {
|
|
outline: 0;
|
|
border-color: blue;
|
|
}
|
|
input[type="checkbox"] {
|
|
width: auto;
|
|
}
|
|
|
|
a,
|
|
a:hover {
|
|
color: #EC8000;
|
|
}
|
|
|
|
.lds-ripple {
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
|
|
.lds-ripple div {
|
|
position: absolute;
|
|
border: 4px solid #EC8000;
|
|
opacity: 1;
|
|
border-radius: 50%;
|
|
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
|
|
}
|
|
|
|
.lds-ripple div:nth-child(2) {
|
|
animation-delay: -0.5s;
|
|
}
|
|
|
|
@keyframes lds-ripple {
|
|
0% {
|
|
top: 28px;
|
|
left: 28px;
|
|
width: 0;
|
|
height: 0;
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
top: -1px;
|
|
left: -1px;
|
|
width: 58px;
|
|
height: 58px;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.empty-loading-page {
|
|
position: fixed;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.page-centered {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
/* bring your own prefixes */
|
|
transform: translate(-50%, -50%);
|
|
}
|