drop.chapril.org-firefoxsend/app/base.css

315 lines
4.8 KiB
CSS
Raw Normal View History

:root {
--pageBGColor: #fff;
2018-07-31 20:09:18 +02:00
--lightControlBGColor: #e6e6e6;
--primaryControlBGColor: #0a84ff;
--primaryControlFGColor: #fff;
2018-07-31 20:09:18 +02:00
--primaryControlHoverColor: #0473e2;
--inputTextColor: #737373;
--errorColor: #d70022;
--linkColor: #0094fb;
--textColor: #0c0c0d;
2018-07-31 20:09:18 +02:00
--lightBorderColor: rgba(12, 12, 12, 0.2);
--lightTextColor: #737373;
2018-07-31 20:09:18 +02:00
--successControlBGColor: #12bc00;
--successControlFGColor: #fff;
}
html {
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'segoe ui',
'helvetica neue', helvetica, ubuntu, roboto, noto, arial, sans-serif;
font-weight: 200;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'segoe ui',
'helvetica neue', helvetica, ubuntu, roboto, noto, arial, sans-serif;
display: flex;
flex-direction: column;
margin: 0;
min-height: 100vh;
}
input,
select,
textarea,
button {
font-family: inherit;
margin: 0;
}
a {
text-decoration: none;
}
2018-02-20 08:10:03 +01:00
.main {
2018-06-21 00:23:15 +02:00
display: flex;
2018-02-20 08:10:03 +01:00
flex: auto;
2018-07-31 20:09:18 +02:00
padding: 0 25px;
box-sizing: border-box;
2018-07-31 20:09:18 +02:00
min-height: 500px;
max-height: 630px;
height: 100px;
2018-06-21 00:23:15 +02:00
}
.stripedBox {
2018-07-31 20:09:18 +02:00
flex: none;
position: relative;
width: 400px;
2018-06-21 00:23:15 +02:00
background-color: white;
border-radius: 6px;
2018-07-31 20:09:18 +02:00
box-shadow: 0 0 0 3px rgba(12, 12, 13, 0.2);
2018-06-21 00:23:15 +02:00
background-image: repeating-linear-gradient(
45deg,
white,
white 5px,
#ea000e 5px,
#ea000e 25px,
white 25px,
white 30px,
#0083ff 30px,
#0083ff 50px
);
}
.mainContent {
height: 100%;
background-color: white;
2018-07-31 20:09:18 +02:00
box-sizing: border-box;
2018-06-21 00:23:15 +02:00
margin: 0 10px;
2018-07-31 20:09:18 +02:00
padding: 10px 10px 28px;
display: flex;
flex-direction: column;
2018-06-21 00:23:15 +02:00
}
.spacer {
flex: auto;
}
.uploads {
2018-07-31 20:09:18 +02:00
flex: 0 0 262px;
position: relative;
}
2018-02-20 08:10:03 +01:00
.noscript {
text-align: center;
border: 3px solid var(--errorColor);
border-radius: 6px;
}
.btn {
2018-07-31 20:09:18 +02:00
display: block;
width: 100%;
height: 70px;
line-height: 70px;
font-size: 21px;
font-weight: 500;
2018-07-31 20:09:18 +02:00
text-transform: uppercase;
text-align: center;
2018-07-31 20:09:18 +02:00
letter-spacing: 0.56px;
color: var(--primaryControlFGColor);
background: var(--primaryControlBGColor);
2018-07-31 20:09:18 +02:00
cursor: pointer;
border: 0;
border-radius: 5px;
}
2018-02-19 23:29:13 +01:00
.btn:hover {
background-color: var(--primaryControlHoverColor);
}
2018-07-31 20:09:18 +02:00
.btn--stripes {
background: repeating-linear-gradient(
-65deg,
#7c7c7c 0,
#7c7c7c 17px,
#737373 17px,
#737373 30px
);
background-size: 300% 300%;
animation: barberpole 12s linear infinite;
}
2018-07-31 20:09:18 +02:00
@keyframes barberpole {
0% {
background-position: 100% 0%;
}
2018-07-31 20:09:18 +02:00
100% {
background-position: 0% 0%;
}
2018-02-19 23:29:13 +01:00
}
.input {
2018-07-31 20:09:18 +02:00
border: 1px solid var(--lightBorderColor);
font-size: 20px;
color: var(--inputTextColor);
font-family: 'SF Pro Text', sans-serif;
font-weight: 300;
padding-left: 10px;
padding-right: 10px;
}
.input--noBtn {
border-radius: 6px;
}
2018-07-31 20:09:18 +02:00
.input--error {
border-color: var(--errorColor);
}
2018-07-31 20:09:18 +02:00
.inputBtn.inputError {
background-color: var(--errorColor);
}
2018-07-31 20:09:18 +02:00
.inputBtn.inputError:hover {
background-color: var(--errorColor);
}
.cursor--pointer {
cursor: pointer;
}
.link {
color: var(--linkColor);
text-decoration: none;
}
.link:focus,
.link:active,
.link:hover {
color: var(--primaryControlHoverColor);
}
.link--action {
2018-07-31 20:09:18 +02:00
font-weight: 500;
font-size: 14px;
text-align: center;
}
.page {
2018-07-31 20:09:18 +02:00
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
text-align: center;
}
.progressSection {
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
font-size: 15px;
}
.progressSection__text {
2018-02-16 21:56:53 +01:00
color: var(--lightTextColor);
letter-spacing: -0.4px;
margin-top: 24px;
margin-bottom: 74px;
}
.effect--fadeOut {
opacity: 0;
animation: fadeout 200ms linear;
}
2018-07-31 20:09:18 +02:00
.goBackButton {
position: absolute;
top: 0;
left: 0;
margin: 18px;
}
@keyframes fadeout {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.effect--fadeIn {
opacity: 1;
animation: fadein 200ms linear;
}
@keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
2018-02-21 21:35:52 +01:00
.error {
color: var(--errorColor);
2018-07-31 20:09:18 +02:00
font-weight: 600;
2018-02-21 21:35:52 +01:00
}
.title {
2018-06-19 21:58:42 +02:00
color: var(--textColor);
font-size: 33px;
line-height: 40px;
margin: 20px auto;
text-align: center;
max-width: 520px;
font-family: 'SF Pro Text', sans-serif;
word-wrap: break-word;
}
.description {
2018-07-31 20:09:18 +02:00
font-size: 13px;
text-align: left;
margin: 14px auto;
color: var(--lightTextColor);
width: 95%;
}
.visible {
visibility: visible !important;
}
.noDisplay {
display: none;
}
2018-07-31 20:09:18 +02:00
.flexible {
flex: 1;
}
@media (max-device-width: 750px), (max-width: 750px) {
.description {
margin: 0 auto 25px;
}
2018-07-31 20:09:18 +02:00
.main {
flex-direction: column;
min-height: 700px;
}
.spacer {
flex: none;
height: 0;
}
.stripedBox {
max-height: 550px;
flex: 1;
}
2018-07-31 20:09:18 +02:00
.uploads {
flex: none;
}
2018-07-31 20:09:18 +02:00
.footer {
margin: 15px;
}
}