fox-send/app/base.css

302 lines
4.6 KiB
CSS
Raw Normal View History

:root {
--pageBGColor: #fff;
2018-07-31 18:09:18 +00:00
--lightControlBGColor: #e6e6e6;
--primaryControlBGColor: #0a84ff;
--primaryControlFGColor: #fff;
2018-07-31 18:09:18 +00:00
--primaryControlHoverColor: #0473e2;
--inputTextColor: #737373;
--errorColor: #d70022;
--linkColor: #0094fb;
--textColor: #0c0c0d;
2018-07-31 18:09:18 +00:00
--lightBorderColor: rgba(12, 12, 12, 0.2);
--lightTextColor: #737373;
2018-07-31 18:09:18 +00: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;
2018-08-09 00:24:58 +00:00
height: 100vh;
}
input,
select,
textarea,
button {
font-family: inherit;
margin: 0;
}
a {
text-decoration: none;
}
2018-02-20 07:10:03 +00:00
.main {
2018-06-20 22:23:15 +00:00
display: flex;
2018-02-20 07:10:03 +00:00
flex: auto;
2018-07-31 18:09:18 +00:00
padding: 0 25px;
box-sizing: border-box;
2018-07-31 18:09:18 +00:00
min-height: 500px;
2018-08-03 19:24:41 +00:00
max-height: 800px;
2018-08-09 00:24:58 +00:00
height: 100%;
2018-06-20 22:23:15 +00:00
}
.stripedBox {
2018-07-31 18:09:18 +00:00
flex: none;
position: relative;
width: 400px;
2018-08-03 19:24:41 +00:00
margin-top: 32px;
2018-06-20 22:23:15 +00:00
background-color: white;
border-radius: 6px;
2018-08-09 00:24:58 +00:00
border: 3px solid rgba(12, 12, 12, 0.2);
background-clip: padding-box;
2018-06-20 22:23:15 +00: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 18:09:18 +00:00
box-sizing: border-box;
2018-06-20 22:23:15 +00:00
margin: 0 10px;
2018-07-31 18:09:18 +00:00
padding: 10px 10px 28px;
display: flex;
flex-direction: column;
2018-06-20 22:23:15 +00:00
}
.spacer {
flex: auto;
}
.uploads {
2018-07-31 18:09:18 +00:00
flex: 0 0 262px;
2018-08-09 00:24:58 +00:00
box-sizing: border-box;
padding-top: 180px;
display: flex;
}
2018-02-20 07:10:03 +00:00
.noscript {
text-align: center;
border: 3px solid var(--errorColor);
border-radius: 6px;
}
.btn {
2018-07-31 18:09:18 +00:00
display: block;
width: 100%;
height: 70px;
line-height: 70px;
font-size: 21px;
font-weight: 500;
2018-07-31 18:09:18 +00:00
text-transform: uppercase;
text-align: center;
2018-07-31 18:09:18 +00:00
letter-spacing: 0.56px;
color: var(--primaryControlFGColor);
background: var(--primaryControlBGColor);
2018-07-31 18:09:18 +00:00
cursor: pointer;
border: 0;
border-radius: 5px;
}
2018-02-19 22:29:13 +00:00
.btn:hover {
background-color: var(--primaryControlHoverColor);
}
2018-07-31 18:09:18 +00: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 18:09:18 +00:00
@keyframes barberpole {
0% {
background-position: 100% 0%;
}
2018-07-31 18:09:18 +00:00
100% {
background-position: 0% 0%;
}
2018-02-19 22:29:13 +00:00
}
2018-07-31 22:19:18 +00:00
.btn--cancel {
font-size: 13px;
font-weight: 700;
background: none;
color: var(--errorColor);
border: none;
}
.input {
2018-07-31 18:09:18 +00: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;
}
2018-07-31 18:09:18 +00:00
.input--error {
border-color: var(--errorColor);
}
.link {
color: var(--linkColor);
text-decoration: none;
}
.link:focus,
.link:active,
.link:hover {
color: var(--primaryControlHoverColor);
}
.link--action {
2018-07-31 18:09:18 +00:00
font-weight: 500;
font-size: 14px;
text-align: center;
}
.page {
2018-07-31 18:09:18 +00:00
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
text-align: center;
}
.effect--fadeOut {
opacity: 0;
animation: fadeout 200ms linear;
}
@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-08-03 19:24:41 +00:00
.goBackButton {
position: absolute;
top: 0;
left: 0;
margin: 18px;
}
2018-02-21 20:35:52 +00:00
.error {
color: var(--errorColor);
2018-07-31 18:09:18 +00:00
font-weight: 600;
2018-02-21 20:35:52 +00:00
}
.title {
2018-08-03 19:24:41 +00:00
color: var(--lightTextColor);
font-size: 18px;
line-height: 40px;
margin: 20px auto;
max-width: 520px;
font-family: 'SF Pro Text', sans-serif;
2018-08-03 19:24:41 +00:00
font-weight: 700;
word-wrap: break-word;
}
.description {
2018-07-31 18:09:18 +00:00
font-size: 13px;
text-align: left;
margin: 14px auto;
color: var(--lightTextColor);
width: 95%;
}
.visible {
visibility: visible !important;
}
.noDisplay {
2018-08-03 19:24:41 +00:00
display: none !important;
}
2018-07-31 18:09:18 +00:00
.flexible {
flex: 1;
}
@media (max-device-width: 750px), (max-width: 750px) {
.description {
margin: 0 auto 25px;
}
2018-07-31 18:09:18 +00:00
.main {
flex-direction: column;
2018-08-03 19:24:41 +00:00
height: 100%;
2018-07-31 18:09:18 +00:00
}
.spacer {
flex: none;
height: 0;
}
.stripedBox {
2018-08-09 00:24:58 +00:00
margin-top: 72px;
2018-08-03 19:24:41 +00:00
min-height: 400px;
2018-07-31 18:09:18 +00:00
flex: 1;
}
2018-07-31 18:09:18 +00:00
.uploads {
flex: none;
2018-08-09 00:24:58 +00:00
padding-top: 6px;
}
2018-07-31 18:09:18 +00:00
.footer {
margin: 15px;
}
}
2018-08-08 18:07:09 +00:00
@media (max-device-width: 700px), (max-width: 700px) {
.stripedBox {
margin-top: 72px;
}
}