24
1
Fork 0
drop.chapril.org-firefoxsend/app/main.css

168 lines
2.8 KiB
CSS
Raw Normal View History

2018-10-26 01:49:22 +02:00
@tailwind preflight;
@tailwind components;
@tailwind utilities;
2018-10-25 04:07:10 +02:00
a {
color: inherit;
text-decoration: none;
}
progress {
@apply bg-grey-light;
@apply rounded-sm;
@apply w-full;
@apply h-1;
}
progress::-moz-progress-bar {
@apply bg-blue;
@apply rounded-sm;
}
progress::-webkit-progress-bar {
@apply bg-grey-light;
@apply rounded-sm;
@apply w-full;
@apply h-1;
}
progress::-webkit-progress-value {
@apply bg-blue;
@apply rounded-sm;
}
2018-11-06 00:46:49 +01:00
.word-break-all {
word-break: break-all;
}
2018-10-25 04:07:10 +02:00
.main {
2018-11-02 10:27:59 +01:00
display: flex;
2018-11-02 19:28:56 +01:00
max-width: 64rem;
2018-11-02 10:27:59 +01:00
width: 100%;
2018-11-05 09:12:40 +01:00
height: 100%;
2018-11-02 10:27:59 +01:00
}
.main > section {
@apply bg-white;
2018-11-05 09:12:40 +01:00
}
2018-10-25 04:07:10 +02:00
.header-logo {
2018-11-05 09:12:40 +01:00
background-image: url('../assets/send_logo_white.svg');
2018-10-25 04:07:10 +02:00
background-position: left;
background-repeat: no-repeat;
2018-11-02 10:27:59 +01:00
background-size: 1.8rem;
padding-left: 2.4rem;
2018-10-25 04:07:10 +02:00
text-decoration: none;
}
2018-11-02 10:27:59 +01:00
.header-logo h1 {
font-size: 1.5rem;
}
.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;
}
2018-10-25 04:07:10 +02: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
.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;
}
#password-msg::after {
content: '\200b';
}
2018-10-25 04:07:10 +02:00
@screen md {
.main {
@apply flex-1;
@apply self-center;
2018-11-02 10:27:59 +01:00
@apply items-center;
2018-11-05 23:19:26 +01:00
@apply m-auto;
@apply py-8;
2018-10-25 04:07:10 +02:00
2018-11-05 23:19:26 +01:00
min-height: 33rem;
2018-10-25 22:28:06 +02:00
max-height: 40rem;
2018-11-05 09:12:40 +01:00
width: calc(100% - 3rem);
}
.header-logo {
background-image: url('../assets/send_logo.svg');
2018-10-25 04:07:10 +02:00
}
2018-11-02 10:27:59 +01:00
.main > section {
@apply shadow-md;
}
2018-10-25 04:07:10 +02:00
}