Files
snikket-web-portal/snikket_web/scss/invite.scss
Jonas Schäfer 2e224d96ce Remove XMPP URI QR code
At the same time, we can also drop the CSS used for that makeshift tab
box. I always felt a bit uneasy about it, a11y-wise, so it's good
riddance.

Fixes #99.
2022-06-07 22:31:40 +02:00

148 lines
1.9 KiB
SCSS

@import "_theme.scss";
div.powered-by {
text-align: right;
line-height: 1.5;
> img {
height: 1.5em;
vertical-align: -0.2em;
margin-left: 0.2em;
}
}
div.modal {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
background: rgba(0, 0, 0, 0.5);
z-index: 1024;
width: 100%;
height: 100%;
> div {
padding: $w-l1;
margin-left: auto;
max-width: 40rem;
margin-right: auto;
> header {
display: flex;
flex-direction: row;
> span {
display: inline-block;
flex: 1 1 auto;
}
> a.button {
flex: 0 0 auto;
}
}
}
}
div.install-buttons {
display: flex;
flex-direction: column;
align-items: center;
ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
list-style-type: none;
margin: $w-l1 0;
padding: 0;
}
li {
margin: 0;
padding: 0;
}
}
img.apple {
height: $w-l2;
margin: $w-s2;
}
img.play {
height: $w-l3;
}
img.fdroid {
height: $w-l3;
}
.qr {
margin: $w-l1 0;
display: flex;
flex-direction: row;
justify-content: center;
> img {
padding: $w-0;
background: white;
}
}
.float-right {
float: right;
}
#tutorial-scan {
width: $w-l5;
margin: $w-l1;
box-shadow:
0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
}
div.form.layout-expanded .lwrap {
display: flex;
flex-direction: row;
input.localpart-magic {
display: inline-block;
width: auto;
flex: 1 0 auto;
}
span {
display: inline-block;
flex: 0 0 auto;
background: $gray-900;
border: none;
border-bottom: $w-s4 solid $primary-500;
margin-bottom: -$w-s4;
padding: 0 $w-s3;
}
}
.fullwidth {
width: 100%;
}
#invite {
background: url('../img/invite-bg.jpg');
background-attachment: fixed;
background-size: cover;
}
/* dark mode */
@media (prefers-color-scheme: dark) {
div.form.layout-expanded .lwrap {
span {
background: $gray-200;
}
}
}