413 lines
7.4 KiB
CSS
413 lines
7.4 KiB
CSS
body {
|
|
margin: 0;
|
|
background-color: #a4b5ff;
|
|
color: #000000;
|
|
font-family: Tahoma;
|
|
font-size: 16px;
|
|
}
|
|
|
|
|
|
::backdrop {
|
|
background-color: grey;
|
|
opacity: 1;
|
|
}
|
|
|
|
dialog {
|
|
width: 66%;
|
|
}
|
|
|
|
dialog .iframe-container {
|
|
border-top: 1px solid #ccc;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.dialog-content {
|
|
width: 300px;
|
|
height: 200px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dialogTextContainer {
|
|
font-size: 25px;
|
|
}
|
|
|
|
.dialogBtn {
|
|
width: 90px;
|
|
height: 90px;
|
|
padding: 8px;
|
|
position: fixed;
|
|
top: 30px;
|
|
left: min(calc(66vw + 30px + 34vw / 2), calc(1720px + calc(100vw - 1690px) / 2));
|
|
/*first is the normal case, second if 66vw is more than 1690 */
|
|
}
|
|
|
|
.infoButtonIcon {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
|
|
.login-container {
|
|
width: 300px;
|
|
background: #6cd1e1;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
align-content: center;
|
|
margin-top: 40vh;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 50vh;
|
|
text-align: center;
|
|
}
|
|
|
|
.login-elements {
|
|
display: inline-block;
|
|
width: 90%;
|
|
}
|
|
#loginbutton {
|
|
cursor: pointer;
|
|
padding: 12px 24px;
|
|
/* Increased padding for a bigger button */
|
|
font-size: 25px;
|
|
/* Increased font size */
|
|
border: none;
|
|
/* Removes default border */
|
|
border-radius: 8px;
|
|
/* Optional: rounds the corners of the button */
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
margin: 0 auto;
|
|
/* height: 100vh;*/
|
|
width: 66vw;
|
|
/* You can adjust this width as needed */
|
|
max-width: 1690px;
|
|
/* Maximum width to keep it from getting too wide on large screens */
|
|
padding: 20px;
|
|
background-color: #7b8cdb;
|
|
/* Just for visual differentiation */
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.textblock {
|
|
width: 60%;
|
|
margin: auto;
|
|
text-align: left;
|
|
}
|
|
|
|
/* Form */
|
|
form {
|
|
min-width: 300px;
|
|
margin: 0 auto;
|
|
padding-bottom: 2em;
|
|
}
|
|
|
|
|
|
.dsgvoform {
|
|
text-align: right;
|
|
width: 60%;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select {
|
|
margin: 10px 0 0 0;
|
|
width: 60%;
|
|
min-height: 2em;
|
|
display: block;
|
|
}
|
|
|
|
.button-container input {
|
|
display: block;
|
|
width: 100%;
|
|
margin-top: 30px;
|
|
/* Adjust as needed for spacing */
|
|
margin-right: 0;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.button-container {
|
|
margin: 0 auto;
|
|
width: 60%;
|
|
}
|
|
|
|
/* buttons */
|
|
.buttondisable {
|
|
filter: invert(65%);
|
|
}
|
|
|
|
#submitbutton {
|
|
cursor: pointer;
|
|
padding: 12px 24px;
|
|
/* Increased padding for a bigger button */
|
|
font-size: 25px;
|
|
/* Increased font size */
|
|
border: none;
|
|
/* Removes default border */
|
|
border-radius: 8px;
|
|
/* Optional: rounds the corners of the button */
|
|
width: auto;
|
|
}
|
|
|
|
#submitbutton:hover {
|
|
background-color: #0056b3;
|
|
/* Darker shade for hover effect */
|
|
}
|
|
|
|
|
|
.textarea-container {
|
|
margin: auto;
|
|
width: 60%;
|
|
}
|
|
|
|
.textarea-container textarea {
|
|
width: 100%;
|
|
margin: 1.5rem auto;
|
|
}
|
|
|
|
.textarea-label {
|
|
align-self: flex-start;
|
|
/* Aligns the label to the start of the container */
|
|
}
|
|
|
|
/* Helper */
|
|
.spacer {
|
|
clear: both;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.centertext {
|
|
text-align: center;
|
|
}
|
|
|
|
h2,
|
|
h3 {
|
|
text-align: center;
|
|
}
|
|
|
|
.inline {
|
|
display: inline;
|
|
width: unset;
|
|
margin: 0 0.5em 0 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.compressWidth {
|
|
width: 60%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
|
|
/* Video recording controls */
|
|
.videocontrols {
|
|
width: 100px;
|
|
/* Set a specific width for the buttons */
|
|
height: 70px;
|
|
/* Set a specific height for the buttons */
|
|
background-color: #cae4ff;
|
|
border: none;
|
|
color: white;
|
|
padding: 10px 20px;
|
|
margin: 0 10px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
display: inline-flex;
|
|
/* Display button contents as a flexbox */
|
|
justify-content: center;
|
|
/* Center contents horizontally */
|
|
align-items: center;
|
|
/* Center contents vertically */
|
|
text-align: center;
|
|
}
|
|
|
|
.videocontrols img {
|
|
max-width: 65%;
|
|
max-height: 65%;
|
|
text-align: center;
|
|
margin: auto;
|
|
width: auto;
|
|
/* Make the image fill its container */
|
|
height: auto;
|
|
/* Make the image fill its container */
|
|
display: block;
|
|
/* Remove any extra space around the image */
|
|
}
|
|
|
|
.columncontainer {
|
|
display: flex;
|
|
}
|
|
|
|
.columnleft {
|
|
width: 100%;
|
|
border: 3px solid black;
|
|
}
|
|
|
|
.columnright {
|
|
width: 100%;
|
|
border: 3px solid black;
|
|
}
|
|
|
|
/* Video recording video and youtube iframe */
|
|
video {
|
|
/* Video should not be bigger than 100% */
|
|
max-width: 100%;
|
|
width: auto;
|
|
height: auto;
|
|
margin: auto auto;
|
|
}
|
|
|
|
iframe {
|
|
/* center the iframe, mostly unnecessary */
|
|
display: block;
|
|
}
|
|
|
|
.iframe-container iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.iframe-container {
|
|
position: relative;
|
|
padding-bottom: 56.25%;
|
|
/* 16:9 */
|
|
height: 0;
|
|
}
|
|
|
|
.video-container {
|
|
max-width: 100%;
|
|
position: relative;
|
|
padding-bottom: 56.25%;
|
|
/* 16:9 */
|
|
height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.videomirror {
|
|
transform: rotateY(180deg);
|
|
/* Safari and Chrome */
|
|
-webkit-transform: rotateY(180deg);
|
|
/* Firefox */
|
|
-moz-transform: rotateY(180deg);
|
|
}
|
|
|
|
/* Double Video */
|
|
.dv_button {
|
|
display: inline-block;
|
|
width: 10%;
|
|
padding: 20px 5px;
|
|
margin: auto 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.dv_half {
|
|
display: inline-block;
|
|
width: 45%;
|
|
margin: auto;
|
|
}
|
|
|
|
.double_video_container {
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
/* Likert stuff */
|
|
.likert {
|
|
/* --likert-rows: 5;*/
|
|
margin: auto;
|
|
text-align: center;
|
|
display: inline-grid;
|
|
max-width: 900px;
|
|
grid-auto-rows: 1fr;
|
|
gap: 2em;
|
|
grid-template-columns: repeat(var(--likert-rows), minmax(0, 1fr));
|
|
}
|
|
|
|
.likert input {
|
|
max-width: 250px;
|
|
position: fixed;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.likert label {
|
|
aspect-ratio: 1.5 / 1;
|
|
}
|
|
|
|
.likercontainer {
|
|
margin: 30px auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.likert span {
|
|
border-radius: 5px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 20px;
|
|
background: #dcdcdc;
|
|
transition: background .2s ease-in-out;
|
|
}
|
|
|
|
.likert input:checked+span {
|
|
outline: black auto 1px;
|
|
background: transparent;
|
|
}
|
|
|
|
.likert input:focus+span {
|
|
outline: auto 1px;
|
|
/*-webkit-focus-ring-color*/
|
|
}
|
|
|
|
.likert span:hover {
|
|
background: #f1f1f1;
|
|
outline: lightgrey auto 0.5px;
|
|
}
|
|
|
|
@media only screen and (max-width: 680px) {
|
|
.likert {
|
|
grid-template-columns: minmax(0, 400px);
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
|
|
/* Table display stuff */
|
|
table {
|
|
border-collapse: collapse;
|
|
margin: 20px 0;
|
|
table-layout: auto;
|
|
/* Allows columns to adjust to their content */
|
|
width: auto;
|
|
/* Adjusts the table width to the content */
|
|
}
|
|
|
|
th,
|
|
td {
|
|
border: 1px solid #dddddd;
|
|
text-align: left;
|
|
padding: 8px;
|
|
word-wrap: break-word;
|
|
/* Ensures content wraps and doesn't overflow */
|
|
}
|
|
|
|
th {
|
|
background-color: #f2f2f2;
|
|
} |