Merge branch 'FTUEPopup' of github.com:ClementVieilly75/workadventure into iframe_api

# Conflicts:
#	front/dist/.gitignore
#	front/src/Phaser/Game/GameScene.ts
This commit is contained in:
David Négrier 2021-03-09 15:35:26 +01:00
commit ed2ce68f37
8 changed files with 79 additions and 10 deletions

View file

@ -1,2 +1,3 @@
index.html
index.tmpl.html.tmp
/js/

View file

@ -29,7 +29,11 @@
<base href="/">
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="https://unpkg.com/nes.css@2.3.0/css/nes.min.css" rel="stylesheet" />
<link rel="stylesheet" href="/resources/style/style.css">
<title>WorkAdventure</title>
</head>
<body id="body" style="margin: 0; background-color: #000">

View file

@ -1175,6 +1175,31 @@ div.action p.action-body{
margin-left: calc(50% - 75px);
border-radius: 15px;
}
.popUpElement{
animation-duration: 1s;
animation-delay: 3s;
animation-name: slidein;
}
.popUpElement p {
font-family: 'Press Start 2P';
text-align: left;
font-size: 10px;
background-color: #727678;
color: white;
}
.popUpElement div {
width: 300px;
height: 120px;
background-color: #727678;
}
.popUpElement button {
font-family: 'Press Start 2P';
position: center;
font-size: 10px;
}
@keyframes mymove {
0% {bottom: 40px;}
50% {bottom: 30px;}