send/app/main.css

394 lines
6.2 KiB
CSS
Raw Normal View History

2019-06-14 18:30:43 +00:00
@tailwind base;
html {
line-height: 1.15;
}
2018-10-25 23:49:22 +00:00
@tailwind components;
2019-01-16 20:38:43 +00:00
:not(input) {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2018-10-25 02:07:10 +00:00
:root {
--violet-gradient: linear-gradient(
-180deg,
rgba(144, 89, 255, 0.8) 0%,
rgba(144, 89, 255, 0.4) 100%
);
}
2018-10-25 02:07:10 +00:00
a {
color: inherit;
text-decoration: none;
}
2019-02-20 23:58:44 +00:00
a:focus {
outline: 1px dotted grey;
}
2019-02-11 21:48:06 +00:00
body {
background-image: url('../assets/bg.svg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
2019-03-12 20:35:25 +00:00
overflow-x: hidden;
2019-02-11 21:48:06 +00:00
}
2019-01-16 20:38:43 +00:00
.btn {
2019-09-09 17:34:55 +00:00
@apply bg-blue-60;
2019-01-16 20:38:43 +00:00
@apply text-white;
@apply cursor-pointer;
2019-02-22 21:59:57 +00:00
@apply py-4;
2019-01-16 20:38:43 +00:00
@apply px-6;
2019-05-03 16:26:10 +00:00
@apply font-semibold;
2018-10-25 02:07:10 +00:00
}
2019-01-16 20:38:43 +00:00
.btn:hover {
2019-09-09 17:34:55 +00:00
@apply bg-blue-70;
2018-11-02 09:27:59 +00:00
}
2019-01-16 20:38:43 +00:00
.btn:focus {
2019-09-09 17:34:55 +00:00
@apply bg-blue-70;
2018-10-25 02:07:10 +00:00
}
.btn:disabled {
@apply bg-grey-transparent;
cursor: not-allowed;
}
2018-10-30 02:06:15 +00:00
.checkbox {
@apply leading-normal;
@apply select-none;
}
.checkbox > input[type='checkbox'] {
@apply absolute;
@apply opacity-0;
}
.checkbox > label {
@apply cursor-pointer;
}
.checkbox > label::before {
2019-09-09 17:34:55 +00:00
/* @apply bg-grey-10; */
2018-10-30 02:06:15 +00:00
@apply border;
@apply rounded-sm;
content: '';
height: 1.5rem;
width: 1.5rem;
margin-right: 0.5rem;
float: left;
}
.checkbox > label:hover::before {
2019-09-09 17:34:55 +00:00
@apply border-blue-50;
2018-10-30 02:06:15 +00:00
}
.checkbox > input:focus + label::before {
2019-09-09 17:34:55 +00:00
@apply border-blue-50;
2018-10-30 02:06:15 +00:00
}
.checkbox > input:checked + label::before {
2019-09-09 17:34:55 +00:00
@apply bg-blue-50;
@apply border-blue-50;
2019-02-11 21:48:06 +00:00
2018-10-30 02:06:15 +00:00
background-image: url('../assets/lock.svg');
background-position: center;
background-size: 1.25rem;
background-repeat: no-repeat;
}
.checkbox > input:disabled + label {
cursor: auto;
}
.checkbox > input:disabled + label::before {
2019-09-09 17:34:55 +00:00
@apply bg-blue-50;
@apply border-blue-50;
2019-02-11 21:48:06 +00:00
2018-10-30 02:06:15 +00:00
background-image: url('../assets/lock.svg');
background-position: center;
background-size: 1.25rem;
background-repeat: no-repeat;
cursor: auto;
}
2019-01-29 20:06:23 +00:00
details {
overflow: hidden;
}
details > summary::-webkit-details-marker {
display: none;
}
details > summary > svg {
transition: all 0.25s cubic-bezier(0.07, 0.95, 0, 1);
}
2019-01-29 20:06:23 +00:00
details[open] {
overflow-y: auto;
}
details[open] > summary > svg {
transform: rotate(90deg);
}
2019-01-29 20:06:23 +00:00
footer li:hover {
text-decoration: underline;
}
2019-09-09 17:34:55 +00:00
.link-blue {
@apply text-blue-60;
}
.link-blue:hover {
@apply text-blue-70;
}
.link-blue:focus {
@apply text-blue-70;
}
2019-05-03 16:26:10 +00:00
.main-header img {
height: 32px;
2019-09-09 17:34:55 +00:00
width: auto;
2019-05-03 16:26:10 +00:00
}
2019-02-15 00:16:30 +00:00
.intro {
2019-02-19 19:25:40 +00:00
max-width: 100%;
2019-02-15 00:16:30 +00:00
height: unset;
}
.dl-bg {
filter: grayscale(1) opacity(0.15);
}
2019-01-16 20:38:43 +00:00
.main {
display: flex;
2019-02-22 21:31:54 +00:00
position: relative;
2019-01-16 20:38:43 +00:00
max-width: 64rem;
width: 100%;
height: 100%;
}
2018-11-02 09:27:59 +00:00
2019-01-16 20:38:43 +00:00
.main > section {
@apply bg-white;
2018-10-25 02:07:10 +00:00
}
2019-01-16 20:38:43 +00:00
.mozilla-logo {
background-image: url('../assets/mozilla-logo.svg');
background-repeat: no-repeat;
2019-05-03 16:26:10 +00:00
background-size: 100px, 48px;
2019-01-16 20:38:43 +00:00
overflow: hidden;
text-indent: 120%;
white-space: nowrap;
display: inline-block;
height: 32px;
width: 100px;
flex-shrink: 0;
}
2019-01-16 20:38:43 +00:00
#password-msg::after {
content: '\200b';
}
2019-01-16 20:38:43 +00:00
progress {
2019-09-09 17:34:55 +00:00
@apply bg-grey-30;
2019-01-16 20:38:43 +00:00
@apply rounded-sm;
@apply w-full;
@apply h-1;
}
2019-01-16 20:38:43 +00:00
progress::-webkit-progress-bar {
2019-09-09 17:34:55 +00:00
@apply bg-grey-30;
2019-01-16 20:38:43 +00:00
@apply rounded-sm;
@apply w-full;
@apply h-1;
}
2019-01-11 09:15:03 +00:00
2019-01-16 20:38:43 +00:00
progress::-webkit-progress-value {
2019-01-11 09:15:03 +00:00
/* stylelint-disable */
background-image: -webkit-linear-gradient(
-45deg,
transparent 20%,
rgba(255, 255, 255, 0.4) 20%,
rgba(255, 255, 255, 0.4) 40%,
transparent 40%,
transparent 60%,
rgba(255, 255, 255, 0.4) 60%,
rgba(255, 255, 255, 0.4) 80%,
transparent 80%
),
-webkit-linear-gradient(left, #0a84ff, #0a84ff);
/* stylelint-enable */
border-radius: 2px;
background-size: 21px 20px, 100% 100%, 100% 100%;
-webkit-animation: animate-stripes 1s linear infinite;
}
2019-01-16 20:38:43 +00:00
progress::-moz-progress-bar {
2019-01-11 09:15:03 +00:00
/* stylelint-disable */
background-image: -moz-linear-gradient(
135deg,
transparent 20%,
rgba(255, 255, 255, 0.4) 20%,
rgba(255, 255, 255, 0.4) 40%,
transparent 40%,
transparent 60%,
rgba(255, 255, 255, 0.4) 60%,
rgba(255, 255, 255, 0.4) 80%,
transparent 80%
),
-moz-linear-gradient(left, #0a84ff, #0a84ff);
/* stylelint-enable */
border-radius: 2px;
background-size: 21px 20px, 100% 100%, 100% 100%;
animation: animate-stripes 1s linear infinite;
}
@-webkit-keyframes animate-stripes {
100% {
background-position: -21px 0;
}
}
@keyframes animate-stripes {
100% {
background-position: -21px 0;
}
}
2019-02-13 19:14:53 +00:00
select {
background-image: url('../assets/select-arrow.svg');
background-position: calc(100% - 0.75rem);
background-repeat: no-repeat;
}
2019-01-16 20:38:43 +00:00
@screen md {
2019-05-03 16:26:10 +00:00
.main-header img {
height: 48px;
width: auto;
}
2019-02-19 19:25:40 +00:00
.intro {
max-width: unset;
height: unset;
margin-bottom: -3rem;
margin-right: -7rem;
}
2019-01-16 20:38:43 +00:00
.main {
@apply flex-1;
@apply self-center;
@apply items-center;
@apply m-auto;
@apply py-8;
2020-07-31 15:24:21 +00:00
min-height: 42rem;
2019-05-03 16:26:10 +00:00
max-height: 42rem;
2019-01-16 20:38:43 +00:00
width: calc(100% - 3rem);
}
2019-01-11 09:15:03 +00:00
}
2019-01-16 20:38:43 +00:00
2019-09-09 17:34:55 +00:00
@screen dark {
body {
@apply text-grey-10;
background-image: unset;
}
.btn {
@apply bg-blue-40;
@apply text-white;
}
.btn:hover {
@apply bg-blue-50;
}
.btn:focus {
@apply bg-blue-50;
}
.btn:disabled {
@apply bg-grey-80;
}
2019-09-09 17:34:55 +00:00
.link-blue {
@apply text-blue-40;
}
.link-blue:hover {
@apply text-blue-50;
}
.link-blue:focus {
@apply text-blue-50;
}
.main > section {
@apply bg-grey-90;
}
.mozilla-logo {
background-color: white;
border: 1px solid white;
}
@screen md {
.main > section {
@apply border;
@apply border-grey-80;
}
}
}
2019-01-16 20:38:43 +00:00
@tailwind utilities;
2019-01-17 00:18:23 +00:00
2019-02-11 21:48:06 +00:00
@responsive {
.shadow-light {
box-shadow: 0 0 8px 0 rgba(12, 12, 13, 0.1);
}
.shadow-big {
2019-05-03 16:26:10 +00:00
box-shadow: 0 12px 18px 2px rgba(34, 0, 51, 0.04),
0 6px 22px 4px rgba(7, 48, 114, 0.12),
0 6px 10px -4px rgba(14, 13, 26, 0.12);
2019-02-11 21:48:06 +00:00
}
}
2019-02-13 19:14:53 +00:00
2019-02-20 23:58:44 +00:00
@variants focus {
.outline {
outline: 1px dotted grey;
}
}
2019-02-13 19:14:53 +00:00
.word-break-all {
word-break: break-all;
line-break: anywhere;
2019-02-13 19:14:53 +00:00
}
.signin {
backface-visibility: hidden;
border-radius: 6px;
transition-property: transform, background-color;
transition-duration: 250ms;
transition-timing-function: cubic-bezier(0.07, 0.95, 0, 1);
}
.signin:hover,
.signin:focus {
transform: scale(1.0625);
}
.signin:hover:active {
transform: scale(0.9375);
}