319 lines
6.1 KiB
CSS
319 lines
6.1 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%;
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
margin: 0 auto;
|
|
/* height: 100vh;*/
|
|
width: 60vw; /* You can adjust this width as needed */
|
|
max-width: 1200px; /* 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%;
|
|
display: flex;
|
|
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;
|
|
} |