Skip to content

Commit

Permalink
[/issues/12] Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
RuSaG0 committed Jan 31, 2022
1 parent 31c5714 commit ff365f3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default class {

async installAsync(_app) {
_app.interfaces.configuration = {
modules: [] //["mcdis.webmodules.test.12345"]
modules: []
};
}
}
1 change: 0 additions & 1 deletion src/modules/game/parts/GamePage.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<template>
<h2 class="m-h2">Game </h2>
<div class="GOL">
<section class="hero primary-background">
<div class="hero-body">
Expand Down
31 changes: 17 additions & 14 deletions src/modules/game/parts/parts/Controller.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,22 @@
@click="sendEvent(IButtonActions.speedDown)">
<ArrowDownIcon class="arrowDownIcon arrowDownIcon-down"/>
</div>

<div
class="iconWrapper iconWrapper-up"
@click="sendEvent(IButtonActions.speedUp)">
<ArrowDownIcon class="arrowDownIcon arrowDownIcon-up"/>
</div>

</div>

<div class="buttonWrapper">
<p class="m-p">Evolution: </p>
<div
class="iconWrapper iconWrapper"
@click="sendEvent(IButtonActions.nextStep)">
<ArrowDownIcon class="arrowDownIcon arrowDownIcon-next"/>
</div>

</div>

<template v-if="isRunning">
Expand All @@ -41,13 +50,6 @@
Clear
</button>

<button
class="m-button"
title="togglePlay"
@click="sendEvent(IButtonActions.nextStep)">
Next step
</button>

<button
class="m-button"
title="togglePlay"
Expand Down Expand Up @@ -97,18 +99,19 @@ export default {
.buttonWrapper{
display: flex;
align-content: center;
.iconWrapper{
margin-left: 10px;
width: 30px;
height: 30px;
border-radius: 50%;
.iconWrapper {
margin-left: 5px;
width: 20px;
cursor: pointer;
.arrowDownIcon{
width:12px;
&-down {
transform: rotate(90deg);
transform: rotate(0deg);
}
&-up {
transform: rotate(180deg);
}
&-next{
transform: rotate(-90deg);
}
&:hover {
Expand Down
3 changes: 1 addition & 2 deletions src/modules/game/parts/parts/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export default {

<style scoped lang="scss">
.box {
background-color: #e7eef5;
color:black;
color:var(--text80);
display: flex;
align-items:center;
justify-content: space-between;
Expand Down

0 comments on commit ff365f3

Please sign in to comment.