Extract CSS to styles.css
This commit is contained in:
128
public/assets/styles.css
Normal file
128
public/assets/styles.css
Normal file
@@ -0,0 +1,128 @@
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
body > .container {
|
||||
padding-bottom: 50px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
/* Fullscreen file drop */
|
||||
#dropHelper {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.drag #dropHelper {
|
||||
background-color: rgba(40, 40, 40, 0.45);
|
||||
border: 4px dashed #eeeeee;
|
||||
z-index: 100;
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
text-rendering: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.drag #dropHelper:before {
|
||||
content: "\f019";
|
||||
font-size: 8em;
|
||||
}
|
||||
|
||||
|
||||
/* Common */
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
}
|
||||
.btn-new-session {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
}
|
||||
.well h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
td.file-icon {
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
|
||||
/* FileIcon Component */
|
||||
.file-icon img {
|
||||
width: 54px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
/* Modal Component */
|
||||
.background-darken {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
.modal.in {
|
||||
overflow-x: auto;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.modal-fluid {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Upload Component */
|
||||
.upload-app .share-link {
|
||||
margin-top: 1rem;
|
||||
padding-bottom: 0
|
||||
}
|
||||
.upload-app .share-link .title {
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.upload-app .overall-process {
|
||||
margin-bottom: 10px;
|
||||
line-height: 25px
|
||||
}
|
||||
.upload-app .overall-process .progress {
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
|
||||
/* Upload::Files Component */
|
||||
.upload-files .empty-files-big-plus {
|
||||
text-align: center;
|
||||
padding: 19px 0;
|
||||
}
|
||||
.upload-files td.btns {
|
||||
width: 33px;
|
||||
}
|
||||
.upload-files .progress {
|
||||
height: 7px;
|
||||
}
|
||||
|
||||
|
||||
/* Download Component */
|
||||
.download-app .btn-download-archive {
|
||||
margin-top: -5px;
|
||||
}
|
||||
.download-app .file-size {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.download-app table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.download-app i.fa.downloaded {
|
||||
margin:10px;
|
||||
}
|
||||
|
||||
|
||||
/* Download::PreviewModal Component */
|
||||
.preview-modal .header .btn-group {
|
||||
margin-left: 15px;
|
||||
}
|
||||
@@ -3,30 +3,16 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>PsiTransfer</title>
|
||||
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon"/>
|
||||
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
||||
<style>
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
body > .container {
|
||||
padding-bottom: 50px;
|
||||
position: relative;
|
||||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
}
|
||||
</style>
|
||||
<link href="/assets/styles.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<h1>
|
||||
<i class="fa fa-fw fa-cloud-download" style="color: #0275D8"></i>
|
||||
@@ -35,12 +21,16 @@
|
||||
<hr>
|
||||
<div id="download"></div>
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container text-right">
|
||||
<span class="text-muted"><a href="https://github.com/psi-4ward/psitransfer" target="_blank">Powered by PsiTransfer</a></span>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="/app/common.js"></script>
|
||||
<script src="/app/download.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -1,70 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>PsiTransfer</title>
|
||||
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
||||
<style>
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
body > .container {
|
||||
padding-bottom: 50px;
|
||||
position: relative;
|
||||
}
|
||||
#dropHelper {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.drag #dropHelper {
|
||||
background-color: rgba(40, 40, 40, 0.45);
|
||||
border: 4px dashed #eeeeee;
|
||||
z-index: 100;
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
text-rendering: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.drag #dropHelper:before {
|
||||
content: "\f019";
|
||||
font-size: 8em;
|
||||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dropHelper"></div>
|
||||
<div class="container">
|
||||
<h1>
|
||||
<i class="fa fa-fw fa-cloud-upload" style="color: #0275D8"></i>
|
||||
PsiTransfer
|
||||
</h1>
|
||||
<hr>
|
||||
<div id="upload"></div>
|
||||
</div>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>PsiTransfer</title>
|
||||
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
||||
<link href="/assets/styles.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="dropHelper"></div>
|
||||
|
||||
<div class="container">
|
||||
<h1>
|
||||
<i class="fa fa-fw fa-cloud-upload" style="color: #0275D8"></i>
|
||||
PsiTransfer
|
||||
</h1>
|
||||
<hr>
|
||||
<div id="upload"></div>
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container text-right">
|
||||
<span class="text-muted"><a href="https://github.com/psi-4ward/psitransfer" target="_blank">Powered by PsiTransfer</a></span>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="/app/common.js"></script>
|
||||
<script src="/app/upload.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container text-right">
|
||||
<span class="text-muted"><a href="https://github.com/psi-4ward/psitransfer" target="_blank">Powered by PsiTransfer</a></span>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="/app/common.js"></script>
|
||||
<script src="/app/upload.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user