blob: c58a94fd8c3aebf9d0141cf338ac7a2391339366 [file] [log] [blame] [edit]
* {
padding: 10px;
}
textarea {
width: 350px;
height: 180px;
}
button {
touch-action: manipulation;
}
.row ul div span {
padding: 0px;
}
input label {
padding: 0px;
}
#EndGame > div > label {
padding: 0px;
}
.button_row {
display: flex;
width: 90vw;
justify-content: space-between;
}
.qr-container {
width: 100%;
display: flex;
justify-content: center;
padding: 0px;
}
.qrcode-buttons > li.page-item {
padding: 0px;
}
/* Using deprecated ::ng-deep here, but couldn't find a better way to do it.
* The qrcode container generates a canvas without any style markers or
* classes. Angular's view encapsulation prevents this style from applying.
* Maybe https://developer.mozilla.org/en-US/docs/Web/CSS/::slotted ? */
:host ::ng-deep .qr-container canvas {
/* Make the QR code take up as much space as possible. Can't take up more
* than the screen size, however, because you can't scan a QR code while
* scrolling. It needs to be fully visibile. */
width: 100% !important;
height: 100% !important;
aspect-ratio: 1 / 1;
}
/* Make the UI a little more compact. The QR code itself already has a good
* amount of margin. */
.qrcode-nav {
padding: 0px;
}
.qrcode-buttons {
padding: 0px;
margin: 0px;
}
.qrcode {
padding: 0px;
}
.half-button {
width: 46%;
height: 10vh;
margin: 0px 10px 10px 0px;
}
.half-button-container {
display: flex-wrap;
padding: 0;
justify-content: center;
text-align: center;
align-content: center;
margin: 0;
}