fox-send/public/main.css

510 lines
7.8 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-07-14 21:44:56 +00:00
background: url('resources/send_bg.svg');
font-family: 'SF Pro Text', sans-serif;
2017-07-13 14:05:45 +00:00
font-weight: 200;
2017-07-18 18:12:42 +00:00
background-size: 100%;
2017-07-13 14:05:45 +00:00
background-repeat: no-repeat;
background-position: center top;
2017-06-06 21:23:10 +00:00
height: 100%;
2017-07-13 14:05:45 +00:00
}
body {
2017-07-18 14:50:53 +00:00
min-height: 100%;
position: relative;
2017-07-18 18:12:42 +00:00
margin: 0;
}
.send-logo {
position: relative;
top: 31px;
left: 31px;
display: inline-block;
2017-07-14 21:44:56 +00:00
}
2017-07-18 14:50:53 +00:00
.all {
padding-top: 10%;
2017-07-19 17:20:06 +00:00
padding-bottom: 51px;
2017-06-06 21:23:10 +00:00
}
2017-06-09 17:49:53 +00:00
2017-07-22 00:01:26 +00:00
input,
select,
textarea,
button {
2017-06-09 17:44:12 +00:00
font-family: inherit;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
2017-07-18 14:50:53 +00:00
a {
text-decoration: none;
}
2017-07-13 14:05:45 +00:00
/** page-one **/
2017-06-05 14:42:26 +00:00
.title {
2017-07-13 14:05:45 +00:00
font-size: 33px;
margin: 20px auto;
text-align: center;
2017-07-14 21:44:56 +00:00
font-family: 'SF Pro Display', sans-serif;
2017-07-13 14:05:45 +00:00
}
.description {
font-size: 15px;
line-height: 23px;
width: 630px;
2017-06-06 21:23:10 +00:00
text-align: center;
2017-07-13 15:39:46 +00:00
margin: 0 auto 60px;
2017-07-22 00:01:26 +00:00
color: #0c0c0d;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
.upload-window {
2017-07-14 21:44:56 +00:00
border: 1px dashed rgba(0, 148, 251, 0.5);
2017-06-01 17:54:17 +00:00
margin: 0 auto;
2017-07-13 14:05:45 +00:00
width: 640px;
2017-07-14 21:44:56 +00:00
height: 255px;
2017-07-13 14:05:45 +00:00
border-radius: 4px;
2017-06-01 17:54:17 +00:00
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
2017-06-20 19:23:12 +00:00
text-align: center;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
2017-07-13 14:05:45 +00:00
.upload-window.ondrag {
2017-07-14 21:44:56 +00:00
border: 3px dashed rgba(0, 148, 251, 0.5);
2017-07-13 14:05:45 +00:00
margin: 0 auto;
2017-07-19 16:54:44 +00:00
width: 636px;
height: 251px;
transform: scale(1.05);
2017-07-13 14:05:45 +00:00
border-radius: 4.2px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
2017-07-13 14:05:45 +00:00
.link {
2017-07-22 00:01:26 +00:00
color: #0094fb;
2017-07-13 14:05:45 +00:00
text-decoration: none;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
2017-07-13 14:05:45 +00:00
#upload-text {
font-size: 22px;
color: #737373;
2017-07-19 19:48:39 +00:00
margin: 20px 0 10px;
2017-07-14 21:44:56 +00:00
font-family: 'SF Pro Display', sans-serif;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
2017-07-13 14:05:45 +00:00
#browse {
2017-07-22 00:01:26 +00:00
background: #0297f8;
2017-07-13 14:05:45 +00:00
border-radius: 5px;
font-size: 15px;
2017-07-22 00:01:26 +00:00
color: #fff;
2017-07-13 14:05:45 +00:00
width: 240px;
height: 44px;
display: flex;
justify-content: center;
align-items: center;
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
2017-07-19 19:48:39 +00:00
#file-size-msg {
font-size: 12px;
color: #737373;
margin-bottom: 22px;
}
2017-06-01 17:54:17 +00:00
/** file-list **/
2017-06-05 14:42:26 +00:00
th {
2017-07-13 14:05:45 +00:00
font-size: 16px;
color: #858585;
font-weight: lighter;
2017-06-01 17:54:17 +00:00
text-align: left;
2017-07-14 21:44:56 +00:00
background: rgba(0, 148, 251, 0.05);
2017-07-13 14:05:45 +00:00
height: 40px;
2017-07-14 21:44:56 +00:00
border-top: 1px solid rgba(0, 148, 251, 0.1);
2017-07-13 14:05:45 +00:00
padding: 0 19px;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
td {
2017-07-13 14:05:45 +00:00
font-size: 15px;
2017-06-01 17:54:17 +00:00
vertical-align: top;
2017-07-22 00:01:26 +00:00
color: #4a4a4a;
2017-07-13 15:39:46 +00:00
padding: 17px 19px 0;
2017-07-13 14:05:45 +00:00
line-height: 23px;
2017-06-01 17:54:17 +00:00
}
2017-06-05 14:42:26 +00:00
2017-07-05 17:11:00 +00:00
table {
2017-07-13 14:05:45 +00:00
border-collapse: collapse;
2017-07-14 21:44:56 +00:00
font-family: 'Segoe UI', 'SF Pro Text', sans-serif;
2017-07-05 17:11:00 +00:00
}
tbody {
word-wrap: break-word;
}
2017-06-05 14:42:26 +00:00
#uploaded-files {
2017-07-13 14:05:45 +00:00
width: 640px;
margin: 45.3px auto;
2017-06-01 17:54:17 +00:00
table-layout: fixed;
}
2017-06-05 14:42:26 +00:00
2017-07-22 00:01:26 +00:00
.icon-delete,
.icon-copy,
.icon-check {
2017-07-19 14:21:56 +00:00
cursor: pointer;
}
/* Popup container */
.popup {
2017-06-09 17:44:12 +00:00
position: relative;
display: inline-block;
cursor: pointer;
}
/* The actual popup (appears on top) */
.popup .popuptext {
2017-06-09 17:44:12 +00:00
visibility: hidden;
width: 160px;
background-color: #555;
2017-07-22 00:01:26 +00:00
color: #fff;
2017-06-09 17:44:12 +00:00
text-align: center;
border-radius: 6px;
padding: 8px 0;
position: absolute;
z-index: 1;
2017-07-13 14:05:45 +00:00
bottom: 20px;
2017-06-09 17:44:12 +00:00
left: 50%;
2017-07-19 14:21:56 +00:00
margin-left: -88px;
2017-06-09 17:44:12 +00:00
transition: opacity 0.5s;
opacity: 0;
2017-07-13 14:05:45 +00:00
outline: 0;
}
/* Popup arrow */
.popup .popuptext::after {
2017-06-09 17:44:12 +00:00
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
2017-06-09 17:49:53 +00:00
border-color: #555 transparent transparent;
}
.popup .show {
2017-06-09 17:44:12 +00:00
visibility: visible;
opacity: 1;
}
2017-06-06 21:23:10 +00:00
/** upload-progress **/
2017-07-13 14:05:45 +00:00
.progress-bar {
margin-top: 3px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
2017-06-20 19:23:12 +00:00
}
2017-06-06 21:23:10 +00:00
2017-07-13 14:05:45 +00:00
.percentage {
position: absolute;
2017-07-14 21:44:56 +00:00
letter-spacing: -0.78px;
font-family: 'Segoe UI', 'SF Pro Text', sans-serif;
2017-07-13 14:05:45 +00: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 21:23:10 +00:00
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
2017-07-13 14:05:45 +00:00
flex-direction: column;
text-align: center;
2017-07-14 21:44:56 +00:00
font-size: 15px;
2017-07-13 14:05:45 +00:00
}
.progress-text {
2017-07-13 15:39:46 +00:00
color: rgba(0, 0, 0, 0.5);
2017-07-13 14:05:45 +00:00
letter-spacing: -0.4px;
margin-top: 24px;
margin-bottom: 74px;
}
#cancel-upload {
2017-07-22 00:01:26 +00:00
color: #d70022;
2017-07-13 14:05:45 +00:00
cursor: pointer;
text-decoration: underline;
2017-06-06 21:23:10 +00:00
}
2017-07-13 14:05:45 +00:00
/** share-link **/
#share-window {
width: 645px;
2017-06-06 21:23:10 +00:00
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
2017-06-09 17:44:12 +00:00
#share-window-r > div {
2017-06-06 21:23:10 +00:00
font-size: 12px;
padding-bottom: 10px;
}
#copy {
display: flex;
flex-wrap: nowrap;
}
2017-07-13 14:05:45 +00:00
#copy-text {
align-self: flex-start;
margin-top: 60px;
margin-bottom: 10px;
2017-07-22 00:01:26 +00:00
color: #0c0c0d;
2017-07-13 14:05:45 +00:00
}
2017-06-06 21:23:10 +00:00
#link {
2017-07-13 14:05:45 +00:00
width: 480px;
height: 56px;
2017-07-22 00:01:26 +00:00
border: 1px solid #0297f8;
2017-07-13 14:05:45 +00:00
border-radius: 6px 0 0 6px;
font-size: 24px;
color: #737373;
2017-07-14 21:44:56 +00:00
font-family: 'SF Pro Display', sans-serif;
letter-spacing: 0;
line-height: 23px;
2017-07-13 14:05:45 +00:00
}
#link:disabled {
2017-07-22 00:01:26 +00:00
border: 1px solid #05a700;
background: #fff;
2017-06-06 21:23:10 +00:00
}
#copy-btn {
2017-07-13 14:05:45 +00:00
width: 165px;
height: 60px;
2017-07-22 00:01:26 +00:00
background: #0297f8;
border: 1px solid #0297f8;
2017-07-13 14:05:45 +00:00
border-radius: 0 6px 6px 0;
2017-06-06 21:23:10 +00:00
color: white;
cursor: pointer;
2017-07-13 14:05:45 +00:00
font-size: 15px;
2017-06-06 21:23:10 +00:00
}
#copy-btn:disabled {
2017-07-22 00:01:26 +00:00
background: #05a700;
border: 1px solid #05a700;
2017-06-06 21:23:10 +00:00
cursor: auto;
}
2017-07-13 14:05:45 +00:00
#delete-file {
width: 176px;
height: 44px;
2017-07-22 00:01:26 +00:00
background: #fff;
2017-07-13 15:39:46 +00:00
border: 1px solid rgba(12, 12, 13, 0.3);
2017-07-13 14:05:45 +00:00
border-radius: 5px;
font-size: 15px;
margin-top: 50px;
margin-bottom: 12px;
cursor: pointer;
color: #313131;
}
2017-06-06 21:23:10 +00:00
.send-new {
2017-07-13 14:05:45 +00:00
font-size: 15px;
2017-06-06 21:23:10 +00:00
margin: auto;
text-align: center;
2017-07-22 00:01:26 +00:00
color: #0094fb;
2017-06-06 21:23:10 +00:00
cursor: pointer;
2017-07-13 14:05:45 +00:00
text-decoration: underline;
}
2017-07-13 15:39:46 +00:00
/* upload-error */
2017-07-13 14:05:45 +00:00
#upload-error {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
2017-07-22 00:01:26 +00:00
#upload-error[hidden],
#unsupported-browser[hidden] {
2017-07-19 19:48:39 +00:00
display: none;
}
2017-07-13 14:05:45 +00:00
#upload-error-img {
margin-bottom: 90px;
margin-top: 5px;
}
2017-07-13 15:39:46 +00:00
/* unsupported-browser */
2017-07-13 14:05:45 +00: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;
2017-07-22 00:01:26 +00:00
color: #7d7d7d;
2017-07-13 15:39:46 +00:00
margin: 0 auto 23px;
2017-07-13 14:05:45 +00:00
}
#firefox-logo {
width: 70px;
}
#dl-firefox {
margin-bottom: 181px;
width: 260px;
height: 80px;
2017-07-22 00:01:26 +00:00
background: #12bc00;
2017-07-13 14:05:45 +00:00
border-radius: 3px;
cursor: pointer;
2017-07-14 21:44:56 +00:00
border: 0;
2017-07-13 15:39:46 +00:00
box-shadow: 0 5px 3px rgb(234, 234, 234);
2017-07-13 14:05:45 +00:00
font-family: 'Fira Sans';
font-weight: 500;
2017-07-22 00:01:26 +00:00
color: #fff;
2017-07-13 14:05:45 +00: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 15:39:46 +00:00
#dl-firefox-text > span {
2017-07-13 14:05:45 +00:00
font-family: 'Fira Sans';
font-weight: 300;
font-size: 18px;
letter-spacing: -0.69px;
2017-06-06 21:23:10 +00:00
}
/** download.html **/
#download-btn {
2017-07-13 14:05:45 +00:00
font-size: 15px;
2017-06-06 21:23:10 +00:00
color: white;
2017-07-13 14:05:45 +00:00
width: 180px;
height: 44px;
margin-top: 20px;
margin-bottom: 30px;
2017-06-06 21:23:10 +00:00
text-align: center;
2017-07-22 00:01:26 +00:00
background: #0297f8;
border: 1px solid #0297f8;
2017-07-13 14:05:45 +00:00
border-radius: 5px;
2017-06-06 21:23:10 +00:00
font-weight: 300;
cursor: pointer;
}
#download-btn:disabled {
2017-07-22 00:01:26 +00:00
background: #47b04b;
2017-06-06 21:23:10 +00:00
cursor: auto;
}
2017-07-13 14:05:45 +00:00
#download {
2017-06-20 19:23:12 +00:00
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
2017-06-06 21:23:10 +00:00
text-align: center;
}
#expired-img {
2017-07-13 15:39:46 +00:00
margin: 51px 0 71px;
2017-07-13 14:05:45 +00:00
}
.expired-description {
font-size: 15px;
line-height: 23px;
width: 630px;
text-align: center;
2017-07-22 00:01:26 +00:00
color: #7d7d7d;
2017-07-13 15:39:46 +00:00
margin: 0 auto 23px;
2017-06-06 21:23:10 +00:00
}
2017-06-20 19:23:12 +00:00
#download-progress {
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
2017-07-19 19:48:39 +00:00
#download-progress[hidden] {
display: none;
}
2017-07-13 14:05:45 +00:00
#download-img {
width: 283px;
height: 196px;
2017-06-20 19:23:12 +00:00
}
2017-07-18 14:50:53 +00:00
/* footer */
.footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
font-size: 15px;
display: flex;
align-items: flex-end;
2017-07-18 18:12:42 +00:00
padding: 10px;
2017-07-18 14:50:53 +00: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;
}
2017-07-22 00:01:26 +00:00
.github,
.twitter {
2017-07-18 14:50:53 +00:00
width: 32px;
height: 32px;
margin-bottom: -5px;
}