Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Add styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Willems committed Mar 22, 2020
1 parent 3ad2622 commit 9816227
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 20 deletions.
7 changes: 4 additions & 3 deletions src/assets/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ h1, h2 ,h3 ,h4 ,h5 ,h6 {
.page-container {
margin: auto;
max-width: 1200px;

&.home main {
margin: 0 auto;

@media #{$desktop} {
max-width: 800px;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}

@media #{$tablet} {
max-width: 600px;
}
Expand Down
1 change: 1 addition & 0 deletions src/components/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default {
padding: 30px 20px;
margin: 0 5px;
text-align: center;
height: 400px;
@include shadow(30);
}
</style>
14 changes: 5 additions & 9 deletions src/components/RegistrationForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,52 +49,48 @@ export default {
<style lang="scss" scoped>
.registation-form {
&__heading {
font-size: 40px;
margin: 0 0 15px;
}
&__input {
border: none;
padding: 5px 28px 5px 5px;
border-radius: 20px;
font-style: italic;
text-align: center;
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
outline: none;
}
&__button {
border: none;
border-radius: 100%;
background: #8FCDC1;
color: #fff;
width: 28px;
height: 28px;
height: 29px;
margin-left: -28px;
}
&__info {
max-width: 300px;
@media #{$desktop} {
max-width: 400px;
}
}
.plus-icon {
vertical-align: middle;
margin-top: -3px;
filter: invert(100%)
sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}
}
.info {
margin: 0 auto;
&__heading {
font-size: 40px;
margin: 0 0 15px;
}
&__text {
font-size: 16px;
margin-bottom: 20px;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default new Vuex.Store({
unassignedTasks: (state) => state.tasks.filter((task) => task.status === 'UNASSIGNED'),
inProgressTasks: (state) => state.tasks.filter((task) => task.status === 'PROGRESS'),
filteredTasks: (state) => state.filteredTasks,
isLoading: (state) => state.isLoading,
},
modules: {},
});
2 changes: 2 additions & 0 deletions src/views/AllTasks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<h2 class="listings-content__title">
{{ $t('dashboard.open_requests')}}
</h2>
<div class="listings-content__loading" v-if="isLoading">Lade Anfragen...</div>
<IssueCard
v-for="task in filteredTasks" :key="task.id"
:taskId="task.id"
Expand All @@ -25,6 +26,7 @@ export default {
computed: {
...mapGetters([
'filteredTasks',
'isLoading',
]),
},
};
Expand Down
5 changes: 5 additions & 0 deletions src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ export default {
padding: 0;
font-size: 36px;
}
&__loading {
font-size: 20px;
margin-top: 50px;
}
}
.filter {
display: inline-block;
Expand Down
14 changes: 6 additions & 8 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,29 @@ export default {
margin: 50px auto;
padding: 0;
max-width: 300px;
@media #{$desktop} {
max-width: 400px;
max-width: 600px;
}
&__logo {
flex: 1 1 100%;
display: flex;
justify-content: center;
}
&__text {
flex: 1 1 100%;
text-align: center;
font-size: 20px;
line-height: 1.5;
margin-top: 40px;
}
}
.logo {
margin-bottom: 10px;
&__image {
max-width: 50%;
@media #{$desktop} {
max-width: 100%;
width: 100%;
max-width: 400px;
}
}
}
Expand Down

0 comments on commit 9816227

Please sign in to comment.