@tailwind preflight; @tailwind components; :not(input) { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } a { color: inherit; text-decoration: none; } .btn { @apply bg-blue; @apply text-white; @apply font-semibold; @apply cursor-pointer; @apply py-2; @apply px-6; @apply h-12; } .btn:hover { @apply bg-blue-dark; } .btn:focus { @apply bg-blue-dark; } .checkbox { @apply leading-normal; @apply select-none; } .checkbox > input[type='checkbox'] { @apply absolute; @apply opacity-0; } .checkbox > label { @apply cursor-pointer; } .checkbox > label::before { @apply bg-blue-lightest; @apply border; @apply rounded-sm; content: ''; height: 1.5rem; width: 1.5rem; margin-right: 0.5rem; float: left; } .checkbox > label:hover::before { @apply border-blue; } .checkbox > input:focus + label::before { @apply border-blue; } .checkbox > input:checked + label::before { 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 { background-image: url('../assets/lock.svg'); background-position: center; background-size: 1.25rem; background-repeat: no-repeat; cursor: auto; } .feedback-link { background-color: #000; background-image: url('../assets/feedback.svg'); background-position: 0.125rem 0.25rem; background-repeat: no-repeat; background-size: 1.125rem; color: #fff; display: block; font-size: 0.75rem; line-height: 0.75rem; padding: 0.375rem 0.375rem 0.375rem 1.25rem; text-indent: 0.125rem; white-space: nowrap; } .header-logo { background-image: url('../assets/send_logo_white.svg'); background-position: left; background-repeat: no-repeat; background-size: 1.8rem; padding-left: 2.4rem; text-decoration: none; } .main { display: flex; max-width: 64rem; width: 100%; height: 100%; } .main > section { @apply bg-white; } .mozilla-logo { background-image: url('../assets/mozilla-logo.svg'); background-repeat: no-repeat; background-size: 100px, 32px; overflow: hidden; text-indent: 120%; white-space: nowrap; display: inline-block; height: 32px; width: 100px; flex-shrink: 0; } #password-msg::after { content: '\200b'; } progress { @apply bg-grey-light; @apply rounded-sm; @apply w-full; @apply h-1; } progress::-webkit-progress-bar { @apply bg-grey-light; @apply rounded-sm; @apply w-full; @apply h-1; } progress::-webkit-progress-value { /* 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; } progress::-moz-progress-bar { /* 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; } } @screen md { .header-logo { background-image: url('../assets/send_logo.svg'); } .main { @apply flex-1; @apply self-center; @apply items-center; @apply m-auto; @apply py-8; min-height: 33rem; max-height: 40rem; width: calc(100% - 3rem); } .main > section { @apply shadow-md; } } @tailwind utilities;