Better transition/transform for FF/Opera too

d3summaryChart
Frank Ronny Larsen 2013-01-25 14:35:02 +01:00
parent 3cfbd5f586
commit 4f11ac94f9
2 changed files with 18 additions and 7 deletions

View File

@ -8,10 +8,16 @@
left: 0; left: 0;
-webkit-transition: top 2s, left 2s, -webkit-transform 2s; -webkit-transition: top 2s, left 2s, -webkit-transform 2s;
-moz-transition: top 2s, left 2s, -moz-transform 2s;
-o-transition: top 2s, left 2s, -o-transform 2s;
transition: top 2s, left 2s, transform 2s;
} }
.questionset.hidden { .questionset.hidden {
-webkit-transform: rotate(-45deg); -webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
top: 525px; top: 525px;
left: 100px; left: 100px;
} }
@ -36,11 +42,11 @@
} }
.intro-page { .intro-page {
/*background-color: rgba(255,255,255,0.9);*/ /*background-color: rgba(255,255,255,0.9);*/
padding: 10px; /*padding: 10px;*/
position: absolute; position: absolute;
z-index: 20; z-index: 20;
height: 100%; height: 100%;
/*width: 100%;*/ width: 100%;
left: 0px; left: 0px;
top: 0px; top: 0px;
} }
@ -48,20 +54,25 @@
font-size: 200%; font-size: 200%;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
margin-bottom: 1em; margin: 1em;
} }
.intro-page .introduction { .intro-page .introduction {
font-size: 125%; font-size: 125%;
margin: 1em 10%; margin: 1em 10%;
} }
.intro-page .buttons { .intro-page .buttons {
position: absolute;
bottom: 0;
right: 100px;
text-align: right; text-align: right;
} }
#qs-startbutton { #qs-startbutton {
position: absolute; /*width: 80px;*/
bottom: 25px; height: 40px;
right: -40px; /* TODO: this is probably not right */ border: 1px solid #bababa;
border-radius: 4px;
} }
.qs-footer { .qs-footer {

View File

@ -3,7 +3,7 @@
"contentType": "question", "contentType": "question",
"majorVersion": 1, "majorVersion": 1,
"minorVersion": 0, "minorVersion": 0,
"patchVersion": 2, "patchVersion": 5,
"runnable": 1, "runnable": 1,
"machineName": "H5P.QuestionSet", "machineName": "H5P.QuestionSet",
"author": "Amendor AS", "author": "Amendor AS",