Add files via upload

This commit is contained in:
SensoryEnvironmentTool 2022-07-22 15:38:26 +01:00 committed by GitHub
parent 6ed484c49d
commit 4b5e4dfe9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1659 additions and 1658 deletions

2535
index.html

File diff suppressed because it is too large Load diff

View file

@ -1,391 +1,391 @@
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
@media print { @media print {
*{ *{
margin-bottom:0; margin-bottom:0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
font-family: 'Source Sans Pro', sans-serif; font-family: 'Source Sans Pro', sans-serif;
} }
.graphicSlider,.print,.buttons,h4,legend, #intro-heading{ .graphicSlider,.print,.buttons,h4,legend, #intro-heading{
display: none; display: none;
} }
fieldset{ fieldset{
border: none; border: none;
} }
h2,h3{ h2,h3{
font-weight: bold; font-weight: bold;
} }
.part{ .part{
font-weight: normal; font-weight: normal;
} }
.logo{ .logo{
display:none; display:none;
} }
.logoprint{ .logoprint{
height: 10vh; height: 10vh;
} }
} }
@media only screen { @media only screen {
*{ *{
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
font-family: 'Source Sans Pro', sans-serif; font-family: 'Source Sans Pro', sans-serif;
} }
html,body{ html,body{
display: flex; display: flex;
flex-flow: column; flex-flow: column;
text-align: center; text-align: center;
background: #FFF8F0; background: #FFF8F0;
color: #392F5A; color: #392F5A;
/*background-image: linear-gradient(#FFF8F0,#59BEB3,#FFF8F0);*/ /*background-image: linear-gradient(#FFF8F0,#59BEB3,#FFF8F0);*/
/*overflow: scroll;*/ /*overflow: scroll;*/
} }
input{ input{
margin-bottom:2vh; margin-bottom:2vh;
} }
.scrollindicator{ .scrollindicator{
width: 100%; width: 100%;
height: 2vh; /* height of progress bar */ height: 2vh; /* height of progress bar */
display: block; display: block;
background: white; background: white;
left: 0; left: 0;
top: 0; /* dock progress bar to bottom of page (change to "top" for top instead) */ top: 0; /* dock progress bar to bottom of page (change to "top" for top instead) */
cursor: pointer; cursor: pointer;
position: fixed; position: fixed;
z-index: 1000000; z-index: 1000000;
visibility: hidden; visibility: hidden;
-webkit-transition: height .2s ease; -webkit-transition: height .2s ease;
transition: height .2s ease; transition: height .2s ease;
} }
.scrollprogress{ .scrollprogress{
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: #59BEB3; /* background color of progress bar */ background: #59BEB3; /* background color of progress bar */
-webkit-transform: translate3d(-100%,0,0); -webkit-transform: translate3d(-100%,0,0);
transform: translate3d(-100%,0,0); transform: translate3d(-100%,0,0);
=-webkit-transition: -webkit-transform .4s ease; =-webkit-transition: -webkit-transform .4s ease;
transition: transform .4s ease; /* animate progress bar? Remove to disable */ transition: transform .4s ease; /* animate progress bar? Remove to disable */
} }
header{ header{
position: fixed; position: fixed;
z-index: 5; z-index: 5;
background: #FFF8F0; background: #FFF8F0;
margin-top: 1vh; margin-top: 1vh;
height:15vh; height:15vh;
} }
/*columns, buttons have a container*/ /*columns, buttons have a container*/
.cont0, .cont1,.cont2,.cont2a, .cont3,.subtitle,.multiple-choice{ .cont0, .cont1,.cont2,.cont2a, .cont3,.subtitle,.multiple-choice{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.cont0{ .cont0{
width:100%; width:100%;
align-items: center; align-items: center;
} }
.cont1 { .cont1 {
width: 30%; width: 30%;
align-items: flex-end; align-items: flex-end;
height: 100%; height: 100%;
} }
.cont2{ .cont2{
width:100%; width:100%;
align-items: flex-start; align-items: flex-start;
padding-left: 4vh; padding-left: 4vh;
text-align: left; text-align: left;
} }
.form{ .form{
width:100%; width:100%;
align-items:center; align-items:center;
} }
.cont2a{ .cont2a{
width:100%; width:100%;
/*align-items:center;*/ /*align-items:center;*/
height: auto; height: auto;
padding-left: 2rem; padding-left: 2rem;
} }
.cont3 { .cont3 {
width: 25%; width: 25%;
align-items: flex-start; align-items: flex-start;
height: auto; height: auto;
} }
.buttons{ .buttons{
display: inline-flex; display: inline-flex;
justify-content: space-between; justify-content: space-between;
/*position: relative;*/ /*position: relative;*/
margin-top:3vh; margin-top:3vh;
width:60%; width:60%;
} }
.pad{ .pad{
height: 10vh; height: 10vh;
} }
.logo{ .logo{
height: 10vh; height: 10vh;
} }
.logoprint{ .logoprint{
display:none; display:none;
} }
.space{ .space{
height:15vh; height:15vh;
} }
.intro{ .intro{
text-align: left; text-align: left;
} }
.multiple-choice{ .multiple-choice{
text-align: left; text-align: left;
} }
/* progress bar */ /* progress bar */
h1{ h1{
font-weight: bolder; font-weight: bolder;
margin-bottom: 0; margin-bottom: 0;
margin-top: 1.33rem; margin-top: 1.33rem;
} }
#textprogress{ #textprogress{
display: none; display: none;
} }
progress { progress {
appearance:none; appearance:none;
height:.66rem; height:.66rem;
margin-top: .66rem; margin-top: .66rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
progress::-webkit-progress-bar { progress::-webkit-progress-bar {
background-color: white; background-color: white;
border-radius:.33rem; border-radius:.33rem;
} }
progress::-webkit-progress-value { progress::-webkit-progress-value {
background-color: #59BEB3; background-color: #59BEB3;
border-radius:.33rem; border-radius:.33rem;
} }
fieldset{ fieldset{
border: none; border: none;
} }
legend{ legend{
display: none; display: none;
} }
/*subtitle*/ /*subtitle*/
.subtitle{ .subtitle{
margin-top: 1vh; margin-top: 1vh;
margin-bottom: auto; margin-bottom: auto;
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
width:80%; width:80%;
} }
h2 { h2 {
font-weight: bold; font-weight: bold;
} }
/*questions*/ /*questions*/
/*includes environment and participation*/ /*includes environment and participation*/
.block-question, .block-question2{ .block-question, .block-question2{
/*align-items: center;*/ /*align-items: center;*/
padding-top:1rem; padding-top:1rem;
margin-bottom: 2rem; margin-bottom: 2rem;
/*display: inline-flex;*/ /*display: inline-flex;*/
width:80%; width:80%;
display: flex; display: flex;
flex-flow: column; flex-flow: column;
align-items: flex-end; align-items: flex-end;
} }
.block-question2{ .block-question2{
/*background: #FEF9ED;*/ /*background: #FEF9ED;*/
} }
h3{ h3{
font-weight: bold; font-weight: bold;
/*display: inline-flex;*/ /*display: inline-flex;*/
margin-bottom: auto; margin-bottom: auto;
text-align: left; text-align: left;
/*align-items: flex-start;*/ /*align-items: flex-start;*/
} }
.part{ .part{
margin-top:1vh; margin-top:1vh;
margin-bottom: 1vh; margin-bottom: 1vh;
font-weight: normal; font-weight: normal;
} }
h4{ h4{
text-align: left; text-align: left;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
} }
.questionText,.phrase{ .questionText,.phrase{
width:80%; width:80%;
padding:0; padding:0;
} }
.questionText{ .questionText{
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
display: block; display: block;
} }
.phrase{ .phrase{
display: inline-flex; display: inline-flex;
margin-bottom: 1rem; margin-bottom: 1rem;
position: relative; position: relative;
justify-content: center; justify-content: center;
height: 6vh; height: 6vh;
} }
/* slider */ /* slider */
.graphicSlider{ .graphicSlider{
display: inline-flex; display: inline-flex;
flex-flow: row; flex-flow: row;
width:80%; width:80%;
padding: 0; padding: 0;
} }
.range{ .range{
/*display: inline-grid;*/ /*display: inline-grid;*/
margin-bottom: 3vh; margin-bottom: 3vh;
width:100%; width:100%;
} }
/*emojis and signs*/ /*emojis and signs*/
.sign-left, .sign-right{ .sign-left, .sign-right{
font-size: 6vh; font-size: 6vh;
color: #ED7600; color: #ED7600;
/*line-height: 5%;*/ /*line-height: 5%;*/
/*top:.66rem;*/ /*top:.66rem;*/
} }
.sign-left,.emoji-left{ .sign-left,.emoji-left{
text-align: left; text-align: left;
margin-right: .5rem; margin-right: .5rem;
} }
.sign-right,.emoji-right{ .sign-right,.emoji-right{
text-align: right; text-align: right;
margin-left:.5rem; margin-left:.5rem;
} }
.emoji-right, .emoji-left{ .emoji-right, .emoji-left{
font-size: 3vh; font-size: 3vh;
} }
.range input{ .range input{
-webkit-appearance: none; -webkit-appearance: none;
width: 100%; width: 100%;
height: .8vh; height: .8vh;
background: #ED7600;/*naranja*/ background: #ED7600;/*naranja*/
border-radius: .33rem; border-radius: .33rem;
outline: none; outline: none;
border: none; border: none;
z-index: 2222; z-index: 2222;
margin-top: 2.1rem; margin-top: 2.1rem;
} }
.range input:hover{ .range input:hover{
cursor: pointer; cursor: pointer;
} }
.range input::-webkit-slider-thumb{ .range input::-webkit-slider-thumb{
-webkit-appearance: none; -webkit-appearance: none;
cursor: pointer; cursor: pointer;
height:2.5rem; height:2.5rem;
width:2.5rem; width:2.5rem;
background: #59BEB3; background: #59BEB3;
border: .2rem solid white; border: .2rem solid white;
/*z-index: -1;*/ /*z-index: -1;*/
transform: translateY(-80%)rotate(45deg); transform: translateY(-80%)rotate(45deg);
box-shadow: 3px 3px 2px rgba(0,0,0,0.1); box-shadow: 3px 3px 2px rgba(0,0,0,0.1);
border-bottom-left-radius:50%; border-bottom-left-radius:50%;
border-top-left-radius: 50%; border-top-left-radius: 50%;
border-top-right-radius: 50%; border-top-right-radius: 50%;
} }
.range input::-moz-range-thumb{ .range input::-moz-range-thumb{
-webkit-appearance: none; -webkit-appearance: none;
width: 1.33rem; width: 1.33rem;
height: 1.33rem; height: 1.33rem;
background: red; background: red;
border-radius: 50%; border-radius: 50%;
/*background-image: radial-gradient(#59BEB3,#59BEB3,#59BEB3,#FFF8F0);*/ /*background-image: radial-gradient(#59BEB3,#59BEB3,#59BEB3,#FFF8F0);*/
background: #59BEB3; background: #59BEB3;
border: .0667rem solid #59BEB3; border: .0667rem solid #59BEB3;
cursor: pointer; cursor: pointer;
} }
.range input::-moz-range-progress{ .range input::-moz-range-progress{
background: #664AFF; //this progress background is only shown on Firefox background: #664AFF; //this progress background is only shown on Firefox
} }
/*buttons*/ /*buttons*/
/*footer{ /*footer{
display: flex; display: flex;
flex-flow: column; flex-flow: column;
}*/ }*/
button{ button{
appearance:none; appearance:none;
padding:1vh; padding:1vh;
width: auto; width: auto;
/*background-image: radial-gradient(#59BEB3,#59BEB3,#59BEB3,#FFF8F0);*/ /*background-image: radial-gradient(#59BEB3,#59BEB3,#59BEB3,#FFF8F0);*/
} }
.previous, .next,.start{ .previous, .next,.start{
margin-top: auto; margin-top: auto;
margin-bottom: 1rem; margin-bottom: 1rem;
font-size: 1.33rem; font-size: 1.33rem;
height:2rem; height:2rem;
line-height: 1rem; line-height: 1rem;
} }
.previous{ .previous{
/*position: absolute; /*position: absolute;
left:6.66rem;*/ left:6.66rem;*/
background-color: none; background-color: none;
background: none; background: none;
border: none; border: none;
/*float:left;*/ /*float:left;*/
/*margin-left: 1rem;*/ /*margin-left: 1rem;*/
} }
.previous a{ .previous a{
color:#59BEB3; color:#59BEB3;
background-color: none; background-color: none;
} }
.next, #start{ .next, #start{
appearance:none; appearance:none;
background-color:#59BEB3; background-color:#59BEB3;
border-color: #59BEB3; border-color: #59BEB3;
border-radius:3vh; border-radius:3vh;
padding:1vh; padding:1vh;
box-shadow: none; box-shadow: none;
text-decoration-line: none; text-decoration-line: none;
font-weight: bold; font-weight: bold;
color:white; color:white;
/*float: right;*/ /*float: right;*/
/*margin-right: 1rem;*/ /*margin-right: 1rem;*/
} }
#start{ #start{
width:20vh; width:20vh;
font-size: 3vh; font-size: 3vh;
} }
button a{ button a{
text-decoration-line: none; text-decoration-line: none;
font-weight: bold; font-weight: bold;
color:white; color:white;
} }
button:active { button:active {
transform: translateY(.33rem); transform: translateY(.33rem);
} }
} }