send/public/main.css

638 lines
9.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: -apple-system,
BlinkMacSystemFont,
'SF Pro Text',
Helvetica,
Arial,
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 {
display: flex;
flex-direction: column;
2017-07-18 18:12:42 +00:00
margin: 0;
min-height: 100vh;
position: relative;
}
.header {
align-items: flex-start;
box-sizing: border-box;
display: flex;
justify-content: space-between;
padding: 31px;
width: 100%;
2017-07-18 18:12:42 +00:00
}
.send-logo {
display: flex;
2017-07-18 18:12:42 +00:00
position: relative;
align-items: center;
}
.site-title {
font-size: 34px;
font-weight: 500;
margin: 0;
position: relative;
top: -1px;
}
.site-subtitle {
font-size: 12px;
margin: 0 8px;
color: #0c0c0d;
}
.site-subtitle a {
font-weight: bold;
color: #0c0c0d;
transition: color 50ms;
}
.send-logo:hover a {
color: #0297f8;
}
.feedback {
background-color: #0297f8;
background-image: url('resources/feedback.svg');
background-position: 4px 6px;
background-repeat: no-repeat;
background-size: 14px;
border-radius: 3px;
border: 1px solid #0297f8;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
color: #fff;
cursor: pointer;
display: block;
float: right;
font-size: 12px;
line-height: 12px;
opacity: 0.9;
padding: 6px 6px 5px 20px;
}
.feedback:hover,
.feedback:focus {
background-color: #0287e8;
}
.feedback:active {
background-color: #0277d8;
2017-07-14 21:44:56 +00:00
}
2017-07-18 14:50:53 +00:00
.all {
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-start;
max-width: 630px;
margin: 0 auto;
width: 96%;
2017-06-06 21:23:10 +00:00
}
2017-06-09 17:49:53 +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;
line-height: 40px;
2017-07-13 14:05:45 +00:00
margin: 20px auto;
text-align: center;
max-width: 520px;
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;
max-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;
color: #0c0c0d;
width: 92%;
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-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;
transition: transform 150ms;
padding: 15px;
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
height: 251px;
transform: scale(1.04);
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 {
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 {
background: #0297f8;
2017-07-13 14:05:45 +00:00
border-radius: 5px;
font-size: 15px;
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;
line-height: 16px;
2017-07-19 19:48:39 +00:00
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;
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
margin: 45.3px auto;
2017-06-01 17:54:17 +00:00
table-layout: fixed;
}
2017-06-05 14:42: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;
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 {
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 {
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;
width: 640px;
2017-06-06 21:23:10 +00:00
}
2017-07-13 14:05:45 +00:00
#copy-text {
align-self: flex-start;
margin-top: 60px;
margin-bottom: 10px;
color: #0c0c0d;
2017-07-13 14:05:45 +00:00
}
2017-06-06 21:23:10 +00:00
#link {
flex: 1;
2017-07-13 14:05:45 +00:00
height: 56px;
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;
padding-left: 5px;
padding-right: 5px;
2017-07-13 14:05:45 +00:00
}
#link:disabled {
border: 1px solid #05a700;
background: #fff;
2017-06-06 21:23:10 +00:00
}
#copy-btn {
flex: 0 1 165px;
background: #0297f8;
2017-07-13 14:05:45 +00:00
border-radius: 0 6px 6px 0;
border: 1px solid #0297f8;
2017-06-06 21:23:10 +00:00
color: white;
cursor: pointer;
2017-07-13 14:05:45 +00:00
font-size: 15px;
height: 60px;
padding-left: 10px;
padding-right: 10px;
white-space: nowrap;
2017-06-06 21:23:10 +00:00
}
#copy-btn:disabled {
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;
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;
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;
}
#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;
text-align: center;
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;
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;
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;
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 {
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;
text-align: center;
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 {
right: 0;
bottom: 0;
left: 0;
font-size: 15px;
display: flex;
align-items: flex-end;
padding: 50px 10px 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;
}
.github,
.twitter {
2017-07-18 14:50:53 +00:00
width: 32px;
height: 32px;
margin-bottom: -5px;
}
@media (max-width: 768px) {
.description {
margin: 0 auto 25px;
}
#copy {
width: 100%;
}
#link {
font-size: 18px;
}
.mozilla-logo {
margin-left: -7px;
}
.legal-links > * {
display: block;
padding: 10px 0;
}
}
@media (max-width: 520px) {
#copy {
width: 100%;
flex-direction: column;
}
#link {
font-size: 22px;
padding: 15px 10px;
border-radius: 6px 6px 0 0;
}
#copy-btn {
border-radius: 0 0 6px 6px;
flex: 0 1 65px;
}
th {
font-size: 14px;
padding: 0 5px;
}
td {
font-size: 13px;
padding: 17px 5px 0;
}
}