Commit d690725e authored by BsmhDev's avatar BsmhDev

- fixed css dependencies issue

parent f7ee2190
@import "{}/imports/ui/stylesheets/game-layout.less";
@import "{}/imports/ui/stylesheets/not-found.less";
@import "{}/imports/ui/stylesheets/home.less";
@import "{}/imports/ui/stylesheets/layout.less";
body {
padding-top: 70px;
padding-bottom: 30px;
}
.container {
width: 970px;
max-width: none !important;
}
......@@ -14,7 +14,7 @@ import '../../ui/pages/create-quiz/create-quiz.js';
FlowRouter.route('/', {
name: 'App.home',
action() {
BlazeLayout.render('game_layout', { main: 'App_home' });
BlazeLayout.render('game_layout', { main: 'home' });
},
});
......
<template name="game_layout">
<div class="container">
<div id="game-layout">
{{> Template.dynamic template=main}}
</div>
</template>
<template name="manage_layout">
<div class="container">
<div id="manage">
{{> Template.dynamic template=main}}
</div>
</template>
<template name="create_quiz">
<h1>צור שאלון</h1>
{{#each questionId in questions}}
{{> question_form removeQuestion=(removeQuestion questionId)}}
{{/each}}
<button type="button" class="add-question btn btn-primary">+</button>
<button type="button" class="save-quiz btn btn-primary">Submit</button>
</template>
<div id="create-quiz">
<h1>צור שאלון</h1>
{{#each questionId in questions}} {{> question_form removeQuestion=(removeQuestion questionId)}} {{/each}}
<button type="button" class="add-question btn btn-primary">+</button>
<button type="button" class="save-quiz btn btn-primary">Submit</button>
</div>
</template>
\ No newline at end of file
<template name="App_home">
<div class="container">
<div class="row">
<div id="logo-area">
<h1>צהו"ל!</h1>
<template name="home">
<div id="home">
<div class="container">
<div class="row">
<div id="logo-area">
<h1>צהו"ל!</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-xl-4 col-xl-offset-4 col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12">
<div>
{{> main_form}}
<div class="row">
<div class="col-xl-4 col-xl-offset-4 col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12">
<div>
{{> main_form}}
</div>
</div>
</div>
</div>
</div>
</template>
</template>
\ No newline at end of file
......@@ -8,4 +8,4 @@
<a href="/" class="gotohomepage">Go to home</a>
</div>
</div>
</template>
</template>
\ No newline at end of file
#game-layout{
height: 100vh;
-webkit-animation: bgcolorchange 8s infinite;
animation: 24s infinite bgcolorchange;
}
@keyframes bgcolorchange {
0% {
background-color: #FF0000;
}
17% {
background-color: #DDDD00;
}
34% {
background-color: #00FF00;
}
51% {
background-color: #00DDDD;
}
68% {
background-color: #0000FF
}
85% {
background-color: #DD00DD
}
100% {
background-color: #FF0000
}
}
\ No newline at end of file
body {
-webkit-animation: bgcolorchange 8s infinite;
animation: 8s infinite bgcolorchange;
}
@keyframes bgcolorchange {
0% {
background-color: red;
}
25% {
background-color: green;
}
50% {
background-color: yellow;
}
75% {
background-color: yellow;
}
100% {
background-color: red;
}
}
@-webkit-keyframes bgcolorchange {
0% {background: red;}
25% {background: yellow;}
75% {background: green;}
100% {background: blue;}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment