1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 21:22:35 +01:00
send/public/main.css

283 lines
4.1 KiB
CSS
Raw Normal View History

2017-06-01 19:54:17 +02:00
/*** index.html ***/
2017-06-06 23:23:10 +02:00
html {
2017-06-05 16:25:10 +02:00
background: url('resources/background.png');
2017-06-01 19:54:17 +02:00
font-family: 'Fira Sans';
font-weight: 300;
font-style: normal;
2017-06-06 23:23:10 +02:00
background-size: contain;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
flex-direction: column;
}
2017-06-09 19:49:53 +02:00
2017-06-06 23:23:10 +02:00
input, select, textarea, button {
2017-06-09 19:44:12 +02:00
font-family: inherit;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
2017-06-06 23:23:10 +02:00
/** page-one **/
2017-06-05 16:42:26 +02:00
.main-window {
2017-06-01 19:54:17 +02:00
border: 1px solid;
width: 606px;
2017-06-06 23:23:10 +02:00
min-height: 447px;
2017-06-01 19:54:17 +02:00
background-color: white;
border-radius: 5px;
}
2017-06-05 16:42:26 +02:00
.title {
2017-06-01 19:54:17 +02:00
font-size: 14px;
2017-06-06 23:23:10 +02:00
width: 80%;
margin: 40px auto;
2017-06-06 23:23:10 +02:00
text-align: center;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
.upload-window {
2017-06-01 19:54:17 +02:00
border: 1px dashed;
margin: 0 auto;
width: 470px;
height: 250px;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
2017-06-20 21:23:12 +02:00
text-align: center;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
#browse {
2017-06-01 19:54:17 +02:00
float: right;
2017-06-06 23:23:10 +02:00
color: #2D7EFF;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
#browse-text {
2017-06-01 19:54:17 +02:00
float: left;
width: 128px;
}
2017-06-05 16:42:26 +02:00
#upload-img {
2017-06-01 19:54:17 +02:00
padding-right: 20px;
}
2017-06-05 16:42:26 +02:00
2017-06-09 19:44:12 +02:00
.upload-window > div:nth-child(2) {
2017-06-01 19:54:17 +02:00
font-size: 26px;
}
2017-06-05 16:42:26 +02:00
.upload {
2017-06-01 19:54:17 +02:00
font-size: 12px;
width: auto;
overflow: hidden;
}
2017-06-05 16:42:26 +02:00
.file-upload {
2017-06-01 19:54:17 +02:00
cursor: pointer;
}
2017-06-05 16:42:26 +02:00
2017-06-01 19:54:17 +02:00
input[type="file"] {
display: none;
}
2017-06-05 16:42:26 +02:00
form {
2017-06-01 19:54:17 +02:00
width: 45px;
float: right;
}
/** file-list **/
2017-06-05 16:42:26 +02:00
th {
2017-06-01 19:54:17 +02:00
font-size: 10px;
color: #737373;
font-weight: normal;
text-align: left;
}
2017-06-05 16:42:26 +02:00
td {
2017-06-01 19:54:17 +02:00
font-size: 12px;
vertical-align: top;
}
2017-06-05 16:42:26 +02:00
2017-07-05 19:11:00 +02:00
table {
table-layout: fixed;
}
tbody {
word-wrap: break-word;
}
2017-06-05 16:42:26 +02:00
#uploaded-files {
2017-06-01 19:54:17 +02:00
width: 472px;
2017-06-09 19:44:12 +02:00
margin: 10px auto;
2017-06-01 19:54:17 +02:00
table-layout: fixed;
}
2017-06-05 16:42:26 +02:00
.delete-btn {
2017-06-05 16:25:10 +02:00
padding: 0;
border: none;
background: none;
cursor: pointer;
}
2017-06-06 23:23:10 +02:00
/* Popup container */
.popup {
2017-06-09 19:44:12 +02:00
position: relative;
display: inline-block;
cursor: pointer;
}
/* The actual popup (appears on top) */
.popup .popuptext {
2017-06-09 19:44:12 +02:00
visibility: hidden;
width: 160px;
background-color: #555;
2017-06-09 19:49:53 +02:00
color: #FFF;
2017-06-09 19:44:12 +02:00
text-align: center;
border-radius: 6px;
padding: 8px 0;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -80px;
transition: opacity 0.5s;
opacity: 0;
}
/* Popup arrow */
.popup .popuptext::after {
2017-06-09 19:44:12 +02:00
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
2017-06-09 19:49:53 +02:00
border-color: #555 transparent transparent;
}
.popup .show {
2017-06-09 19:44:12 +02:00
visibility: visible;
opacity: 1;
}
2017-06-06 23:23:10 +02:00
/** upload-progress **/
2017-06-20 21:23:12 +02:00
#progress-bar {
width: 300px;
height: 5px;
2017-06-20 21:52:01 +02:00
background: linear-gradient(
90deg,
#FD9800,
#D73000 var(--progress),
white var(--progress)
);
2017-06-20 21:23:12 +02:00
border: 0.5px solid;
border-radius: 5px;
}
2017-06-06 23:23:10 +02:00
/** share-link **/
.share-window {
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;
}
2017-06-09 19:44:12 +02:00
#share-window-r > div {
2017-06-06 23:23:10 +02:00
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;
}
2017-06-20 21:23:12 +02:00
#download-page-one {
margin: 0 auto;
width: 470px;
height: 250px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
2017-06-06 23:23:10 +02:00
text-align: center;
}
#expired-img {
display: none;
}
2017-06-20 21:23:12 +02:00
#download-progress {
margin: 0 auto;
width: 470px;
height: 250px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
#download-text {
margin-bottom: 40px;
}