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

284 lines
5.0 KiB
CSS
Raw Normal View History

2018-10-26 01:49:22 +02:00
@tailwind preflight;
@tailwind components;
2019-01-16 21:38:43 +01:00
:not(input) {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2018-10-25 04:07:10 +02:00
a {
color: inherit;
text-decoration: none;
}
2019-02-11 22:48:06 +01:00
body {
background-image: url('../assets/bg.svg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
2019-01-16 21:38:43 +01:00
.btn {
2019-02-11 22:48:06 +01:00
@apply bg-blue-dark;
2019-01-16 21:38:43 +01:00
@apply text-white;
@apply cursor-pointer;
@apply py-2;
@apply px-6;
@apply h-12;
2018-10-25 04:07:10 +02:00
}
2019-01-16 21:38:43 +01:00
.btn:hover {
2019-02-11 22:48:06 +01:00
@apply bg-blue-darker;
2018-11-02 10:27:59 +01:00
}
2019-01-16 21:38:43 +01:00
.btn:focus {
2019-02-11 22:48:06 +01:00
@apply bg-blue-darker;
2018-10-25 04:07:10 +02:00
}
2018-10-30 03:06:15 +01: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-02-11 22:48:06 +01:00
/* @apply bg-grey-lightest; */
2018-10-30 03:06:15 +01:00
@apply border;
@apply rounded-sm;
content: '';
height: 1.5rem;
width: 1.5rem;
margin-right: 0.5rem;
float: left;
}
.checkbox > label:hover::before {
2019-02-11 22:48:06 +01:00
@apply border-blue-dark;
2018-10-30 03:06:15 +01:00
}
.checkbox > input:focus + label::before {
2019-02-11 22:48:06 +01:00
@apply border-blue-dark;
2018-10-30 03:06:15 +01:00
}
.checkbox > input:checked + label::before {
2019-02-11 22:48:06 +01:00
@apply bg-blue-dark;
@apply border-blue-dark;
2018-10-30 03:06:15 +01: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-02-11 22:48:06 +01:00
@apply bg-blue-dark;
@apply border-blue-dark;
2018-10-30 03:06:15 +01:00
background-image: url('../assets/lock.svg');
background-position: center;
background-size: 1.25rem;
background-repeat: no-repeat;
cursor: auto;
}
2019-01-29 21:06:23 +01:00
.delete:hover {
opacity: 0.7;
}
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 21:06:23 +01:00
details[open] {
overflow-y: auto;
}
details[open] > summary > svg {
transform: rotate(90deg);
}
2019-01-29 21:06:23 +01:00
footer li:hover {
text-decoration: underline;
}
2019-01-16 21:38:43 +01:00
.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;
2018-10-30 03:06:15 +01:00
}
2019-02-15 01:16:30 +01:00
.intro {
2019-02-19 20:25:40 +01:00
max-width: 100%;
2019-02-15 01:16:30 +01:00
height: unset;
}
2019-01-16 21:38:43 +01:00
.main {
display: flex;
max-width: 64rem;
width: 100%;
height: 100%;
}
2018-11-02 10:27:59 +01:00
2019-01-16 21:38:43 +01:00
.main > section {
@apply bg-white;
2018-10-25 04:07:10 +02:00
}
2019-01-16 21:38:43 +01:00
.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;
}
2019-01-16 21:38:43 +01:00
#password-msg::after {
content: '\200b';
}
2019-01-16 21:38:43 +01:00
progress {
@apply bg-grey-light;
@apply rounded-sm;
@apply w-full;
@apply h-1;
}
2019-01-16 21:38:43 +01:00
progress::-webkit-progress-bar {
@apply bg-grey-light;
@apply rounded-sm;
@apply w-full;
@apply h-1;
}
2019-01-11 10:15:03 +01:00
2019-01-16 21:38:43 +01:00
progress::-webkit-progress-value {
2019-01-11 10:15:03 +01: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 21:38:43 +01:00
progress::-moz-progress-bar {
2019-01-11 10:15:03 +01: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 20:14:53 +01:00
select {
background-image: url('../assets/select-arrow.svg');
background-position: calc(100% - 0.75rem);
background-repeat: no-repeat;
}
2019-01-16 21:38:43 +01:00
@screen md {
2019-02-19 20:25:40 +01:00
.intro {
max-width: unset;
height: unset;
margin-bottom: -3rem;
margin-right: -7rem;
}
2019-01-16 21:38:43 +01:00
.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);
}
2019-01-11 10:15:03 +01:00
}
2019-01-16 21:38:43 +01:00
@tailwind utilities;
2019-01-17 01:18:23 +01:00
2019-02-11 22:48:06 +01:00
@responsive {
.shadow-light {
box-shadow: 0 0 8px 0 rgba(12, 12, 13, 0.1);
}
.shadow-big {
box-shadow: 0 0 32px 0 rgba(12, 12, 13, 0.1),
0 2px 16px 0 rgba(12, 12, 13, 0.05);
}
}
2019-02-13 20:14:53 +01:00
.word-break-all {
word-break: break-all;
}