send/public/main.css

245 lines
3.5 KiB
CSS
Raw Normal View History

2017-06-01 17:54:17 +00:00
/*** index.html ***/
2017-06-06 21:23:10 +00:00
html {
2017-06-05 14:25:10 +00:00
background: url('resources/background.png');
2017-06-01 17:54:17 +00:00
font-family: 'Fira Sans';
font-weight: 300;
font-style: normal;
2017-06-06 21:23:10 +00:00
background-size: contain;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
flex-direction: column;
}
input, select, textarea, button {
font-family:inherit;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
2017-06-06 21:23:10 +00:00
/** page-one **/
2017-06-05 14:42:26 +00:00
.main-window {
2017-06-01 17:54:17 +00:00
border: 1px solid;
width: 606px;
2017-06-06 21:23:10 +00:00
min-height: 447px;
2017-06-01 17:54:17 +00:00
background-color: white;
border-radius: 5px;
}
2017-06-05 14:42:26 +00:00
.title {
2017-06-01 17:54:17 +00:00
font-size: 14px;
2017-06-06 21:23:10 +00:00
width: 80%;
margin: 40px auto;
2017-06-06 21:23:10 +00:00
text-align: center;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
.upload-window {
2017-06-01 17:54:17 +00:00
border: 1px dashed;
width: 50%;
margin: 0 auto;
width: 470px;
height: 250px;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
2017-06-05 14:42:26 +00:00
#browse {
2017-06-01 17:54:17 +00:00
float: right;
2017-06-06 21:23:10 +00:00
color: #2D7EFF;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
#browse-text {
2017-06-01 17:54:17 +00:00
float: left;
width: 128px;
}
2017-06-05 14:42:26 +00:00
#upload-img {
2017-06-01 17:54:17 +00:00
padding-right: 20px;
}
2017-06-05 14:42:26 +00:00
.upload-window>div:nth-child(2) {
2017-06-01 17:54:17 +00:00
font-size: 26px;
}
2017-06-05 14:42:26 +00:00
.upload {
2017-06-01 17:54:17 +00:00
font-size: 12px;
width: auto;
overflow: hidden;
}
2017-06-05 14:42:26 +00:00
.file-upload {
2017-06-01 17:54:17 +00:00
cursor: pointer;
}
2017-06-05 14:42:26 +00:00
2017-06-01 17:54:17 +00:00
input[type="file"] {
display: none;
}
2017-06-05 14:42:26 +00:00
form {
2017-06-01 17:54:17 +00:00
width: 45px;
float: right;
}
/** file-list **/
2017-06-05 14:42:26 +00:00
th {
2017-06-01 17:54:17 +00:00
font-size: 10px;
color: #737373;
font-weight: normal;
text-align: left;
}
2017-06-05 14:42:26 +00:00
td {
2017-06-01 17:54:17 +00:00
font-size: 12px;
vertical-align: top;
}
2017-06-05 14:42:26 +00:00
#uploaded-files {
2017-06-01 17:54:17 +00:00
width: 472px;
margin: 10px auto ;
table-layout: fixed;
}
2017-06-05 14:42:26 +00:00
.delete-btn {
2017-06-05 14:25:10 +00:00
padding: 0;
border: none;
background: none;
cursor: pointer;
}
2017-06-06 21:23:10 +00:00
/* Popup container */
.popup {
position: relative;
display: inline-block;
cursor: pointer;
}
/* The actual popup (appears on top) */
.popup .popuptext {
visibility: hidden;
width: 160px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 8px 0;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -80px;
}
/* Popup arrow */
.popup .popuptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
.popup .show {
visibility: visible;
2017-06-09 13:45:06 +00:00
animation: fadeIn 1s;
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}
2017-06-06 21:23:10 +00:00
/** upload-progress **/
/** share-link **/
.share-window {
width: 50%;
margin: 0 auto;
width: 470px;
height: 250px;
display: flex;
justify-content: center;
align-items: center;
}
#share-window-r {
width: 50%;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#share-window-r>div {
font-size: 12px;
padding-bottom: 10px;
}
#copy {
display: flex;
flex-wrap: nowrap;
}
#link {
width: 216px;
height: 41px;
border: 1px solid #979797;
}
#copy-btn {
width: 60px;
height: 45px;
background: #337FEB;
border: 1px solid #979797;
color: white;
cursor: pointer;
}
#copy-btn:disabled {
background: #47B04B;
cursor: auto;
}
.send-new {
font-size: 14px;
margin: auto;
width: 80%;
text-align: center;
color: #2D7EFF;
cursor: pointer;
}
/** download.html **/
#download-btn {
font-size: 18px;
color: white;
width: 214px;
height: 87px;
margin: 50px auto;
text-align: center;
background: #337FEB;
border: 1px solid #3EA050;
border-radius: 6px;
font-weight: 300;
cursor: pointer;
}
#download-btn:disabled {
background: #47B04B;
cursor: auto;
}
#download {
text-align: center;
}
#expired-img {
display: none;
}