drop.chapril.org-firefoxsend/public/main.css

488 lines
7.6 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-07-14 23:44:56 +02:00
background: url('resources/send_bg.svg');
font-family: 'SF Pro Text', sans-serif;
2017-07-13 16:05:45 +02:00
font-weight: 200;
2017-07-18 20:12:42 +02:00
background-size: 100%;
2017-07-13 16:05:45 +02:00
background-repeat: no-repeat;
background-position: center top;
2017-06-06 23:23:10 +02:00
height: 100%;
2017-07-13 16:05:45 +02:00
}
body {
2017-07-18 16:50:53 +02:00
min-height: 100%;
position: relative;
2017-07-18 20:12:42 +02:00
margin: 0;
}
.send-logo {
position: relative;
top: 31px;
left: 31px;
display: inline-block;
2017-07-14 23:44:56 +02:00
}
2017-07-18 16:50:53 +02:00
.all {
padding-top: 10%;
2017-07-13 16:05:45 +02:00
overflow-y: scroll;
2017-06-06 23:23:10 +02:00
}
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-07-18 16:50:53 +02:00
a {
text-decoration: none;
}
2017-07-13 16:05:45 +02:00
/** page-one **/
2017-06-05 16:42:26 +02:00
.title {
2017-07-13 16:05:45 +02:00
font-size: 33px;
margin: 20px auto;
text-align: center;
2017-07-14 23:44:56 +02:00
font-family: 'SF Pro Display', sans-serif;
2017-07-13 16:05:45 +02:00
}
.description {
font-size: 15px;
line-height: 23px;
width: 630px;
2017-06-06 23:23:10 +02:00
text-align: center;
2017-07-13 17:39:46 +02:00
margin: 0 auto 60px;
2017-07-13 16:05:45 +02:00
color: #0C0C0D;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
.upload-window {
2017-07-14 23:44:56 +02:00
border: 1px dashed rgba(0, 148, 251, 0.5);
2017-06-01 19:54:17 +02:00
margin: 0 auto;
2017-07-13 16:05:45 +02:00
width: 640px;
2017-07-14 23:44:56 +02:00
height: 255px;
2017-07-13 16:05:45 +02:00
border-radius: 4px;
2017-06-01 19:54:17 +02:00
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
2017-07-13 16:05:45 +02:00
.upload-window.ondrag {
2017-07-14 23:44:56 +02:00
border: 3px dashed rgba(0, 148, 251, 0.5);
2017-07-13 16:05:45 +02:00
margin: 0 auto;
width: 672px;
height: 267px;
border-radius: 4.2px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
2017-07-13 16:05:45 +02:00
.link {
color: #0094FB;
text-decoration: none;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
2017-07-13 16:05:45 +02:00
#upload-text {
font-size: 22px;
color: #737373;
2017-07-13 17:39:46 +02:00
margin: 20px 0 30px;
2017-07-14 23:44:56 +02:00
font-family: 'SF Pro Display', sans-serif;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
2017-07-13 16:05:45 +02:00
#browse {
background: #0297F8;
border-radius: 5px;
font-size: 15px;
2017-07-13 17:39:46 +02:00
color: #FFF;
2017-07-13 16:05:45 +02:00
width: 240px;
height: 44px;
display: flex;
justify-content: center;
align-items: center;
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
2017-06-01 19:54:17 +02:00
/** file-list **/
2017-06-05 16:42:26 +02:00
th {
2017-07-13 16:05:45 +02:00
font-size: 16px;
color: #858585;
font-weight: lighter;
2017-06-01 19:54:17 +02:00
text-align: left;
2017-07-14 23:44:56 +02:00
background: rgba(0, 148, 251, 0.05);
2017-07-13 16:05:45 +02:00
height: 40px;
2017-07-14 23:44:56 +02:00
border-top: 1px solid rgba(0, 148, 251, 0.1);
2017-07-13 16:05:45 +02:00
padding: 0 19px;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
td {
2017-07-13 16:05:45 +02:00
font-size: 15px;
2017-06-01 19:54:17 +02:00
vertical-align: top;
2017-07-13 16:05:45 +02:00
color: #4A4A4A;
2017-07-13 17:39:46 +02:00
padding: 17px 19px 0;
2017-07-13 16:05:45 +02:00
line-height: 23px;
2017-06-01 19:54:17 +02:00
}
2017-06-05 16:42:26 +02:00
2017-07-05 19:11:00 +02:00
table {
2017-07-13 16:05:45 +02:00
border-collapse: collapse;
2017-07-14 23:44:56 +02:00
font-family: 'Segoe UI', 'SF Pro Text', sans-serif;
2017-07-05 19:11:00 +02:00
}
tbody {
word-wrap: break-word;
}
2017-06-05 16:42:26 +02:00
#uploaded-files {
2017-07-13 16:05:45 +02:00
width: 640px;
margin: 45.3px auto;
2017-06-01 19:54:17 +02:00
table-layout: fixed;
}
2017-06-05 16:42:26 +02:00
2017-07-19 16:21:56 +02:00
.icon-delete, .icon-copy, .icon-check {
cursor: pointer;
}
/* 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;
2017-07-13 16:05:45 +02:00
bottom: 20px;
2017-06-09 19:44:12 +02:00
left: 50%;
2017-07-19 16:21:56 +02:00
margin-left: -88px;
2017-06-09 19:44:12 +02:00
transition: opacity 0.5s;
opacity: 0;
2017-07-13 16:05:45 +02:00
outline: 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-07-13 16:05:45 +02:00
.progress-bar {
margin-top: 3px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
2017-06-20 21:23:12 +02:00
}
2017-06-06 23:23:10 +02:00
2017-07-13 16:05:45 +02:00
.percentage {
position: absolute;
2017-07-14 23:44:56 +02:00
letter-spacing: -0.78px;
font-family: 'Segoe UI', 'SF Pro Text', sans-serif;
2017-07-13 16:05:45 +02:00
}
.percent-number {
font-size: 43.2px;
line-height: 58px;
}
.percent-sign {
font-size: 28.8px;
color: rgb(104, 104, 104);
}
.upload {
2017-06-06 23:23:10 +02:00
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
2017-07-13 16:05:45 +02:00
flex-direction: column;
text-align: center;
2017-07-14 23:44:56 +02:00
font-size: 15px;
2017-07-13 16:05:45 +02:00
}
.progress-text {
2017-07-13 17:39:46 +02:00
color: rgba(0, 0, 0, 0.5);
2017-07-13 16:05:45 +02:00
letter-spacing: -0.4px;
margin-top: 24px;
margin-bottom: 74px;
}
#cancel-upload {
color: #D70022;
cursor: pointer;
text-decoration: underline;
2017-06-06 23:23:10 +02:00
}
2017-07-13 16:05:45 +02:00
/** share-link **/
#share-window {
width: 645px;
2017-06-06 23:23:10 +02:00
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;
}
2017-07-13 16:05:45 +02:00
#copy-text {
align-self: flex-start;
margin-top: 60px;
margin-bottom: 10px;
color: #0C0C0D;
}
2017-06-06 23:23:10 +02:00
#link {
2017-07-13 16:05:45 +02:00
width: 480px;
height: 56px;
border: 1px solid #0297F8;
border-radius: 6px 0 0 6px;
font-size: 24px;
color: #737373;
2017-07-14 23:44:56 +02:00
font-family: 'SF Pro Display', sans-serif;
letter-spacing: 0;
line-height: 23px;
2017-07-13 16:05:45 +02:00
}
#link:disabled {
border: 1px solid #05A700;
2017-07-13 17:39:46 +02:00
background: #FFF;
2017-06-06 23:23:10 +02:00
}
#copy-btn {
2017-07-13 16:05:45 +02:00
width: 165px;
height: 60px;
background: #0297F8;
border: 1px solid #0297F8;
border-radius: 0 6px 6px 0;
2017-06-06 23:23:10 +02:00
color: white;
cursor: pointer;
2017-07-13 16:05:45 +02:00
font-size: 15px;
2017-06-06 23:23:10 +02:00
}
#copy-btn:disabled {
2017-07-13 16:05:45 +02:00
background: #05A700;
border: 1px solid #05A700;
2017-06-06 23:23:10 +02:00
cursor: auto;
}
2017-07-13 16:05:45 +02:00
#delete-file {
width: 176px;
height: 44px;
2017-07-13 17:39:46 +02:00
background: #FFF;
border: 1px solid rgba(12, 12, 13, 0.3);
2017-07-13 16:05:45 +02:00
border-radius: 5px;
font-size: 15px;
margin-top: 50px;
margin-bottom: 12px;
cursor: pointer;
color: #313131;
}
2017-06-06 23:23:10 +02:00
.send-new {
2017-07-13 16:05:45 +02:00
font-size: 15px;
2017-06-06 23:23:10 +02:00
margin: auto;
text-align: center;
2017-07-13 16:05:45 +02:00
color: #0094FB;
2017-06-06 23:23:10 +02:00
cursor: pointer;
2017-07-13 16:05:45 +02:00
text-decoration: underline;
}
2017-07-13 17:39:46 +02:00
/* upload-error */
2017-07-13 16:05:45 +02:00
#upload-error {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
#upload-error-img {
margin-bottom: 90px;
margin-top: 5px;
}
2017-07-13 17:39:46 +02:00
/* unsupported-browser */
2017-07-13 16:05:45 +02:00
#unsupported-browser {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.unsupported-description {
font-size: 13px;
line-height: 23px;
width: 630px;
text-align: center;
color: #7D7D7D;
2017-07-13 17:39:46 +02:00
margin: 0 auto 23px;
2017-07-13 16:05:45 +02:00
}
#firefox-logo {
width: 70px;
}
#dl-firefox {
margin-bottom: 181px;
width: 260px;
height: 80px;
2017-07-13 17:39:46 +02:00
background: #12BC00;
2017-07-13 16:05:45 +02:00
border-radius: 3px;
cursor: pointer;
2017-07-14 23:44:56 +02:00
border: 0;
2017-07-13 17:39:46 +02:00
box-shadow: 0 5px 3px rgb(234, 234, 234);
2017-07-13 16:05:45 +02:00
font-family: 'Fira Sans';
font-weight: 500;
2017-07-13 17:39:46 +02:00
color: #FFF;
2017-07-13 16:05:45 +02:00
font-size: 26px;
display: flex;
justify-content: center;
align-items: center;
line-height: 1;
}
#dl-firefox-text {
text-align: left;
margin-left: 20.4px;
}
2017-07-13 17:39:46 +02:00
#dl-firefox-text > span {
2017-07-13 16:05:45 +02:00
font-family: 'Fira Sans';
font-weight: 300;
font-size: 18px;
letter-spacing: -0.69px;
2017-06-06 23:23:10 +02:00
}
/** download.html **/
#download-btn {
2017-07-13 16:05:45 +02:00
font-size: 15px;
2017-06-06 23:23:10 +02:00
color: white;
2017-07-13 16:05:45 +02:00
width: 180px;
height: 44px;
margin-top: 20px;
margin-bottom: 30px;
2017-06-06 23:23:10 +02:00
text-align: center;
2017-07-13 16:05:45 +02:00
background: #0297F8;
border: 1px solid #0297F8;
border-radius: 5px;
2017-06-06 23:23:10 +02:00
font-weight: 300;
cursor: pointer;
}
#download-btn:disabled {
background: #47B04B;
cursor: auto;
}
2017-07-13 16:05:45 +02:00
#download {
2017-06-20 21:23:12 +02:00
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
2017-06-06 23:23:10 +02:00
text-align: center;
}
#expired-img {
2017-07-13 17:39:46 +02:00
margin: 51px 0 71px;
2017-07-13 16:05:45 +02:00
}
.expired-description {
font-size: 15px;
line-height: 23px;
width: 630px;
text-align: center;
color: #7D7D7D;
2017-07-13 17:39:46 +02:00
margin: 0 auto 23px;
2017-06-06 23:23:10 +02:00
}
2017-06-20 21:23:12 +02:00
#download-progress {
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
2017-07-13 16:05:45 +02:00
#download-img {
width: 283px;
height: 196px;
2017-06-20 21:23:12 +02:00
}
2017-07-18 16:50:53 +02:00
/* footer */
.footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
font-size: 15px;
display: flex;
align-items: flex-end;
2017-07-18 20:12:42 +02:00
padding: 10px;
2017-07-18 16:50:53 +02:00
}
.mozilla-logo {
width: 112px;
height: 32px;
margin-bottom: -5px;
}
.legal-links > a {
margin-right: 30px;
color: #858585;
}
.legal-links > a:visited {
color: #858585;
}
.social-links {
display: flex;
justify-content: flex-end;
flex: 1;
}
.social-links > a {
margin-left: 30px;
}
.github, .twitter {
width: 32px;
height: 32px;
margin-bottom: -5px;
}