2020-07-22 14:40:37 +02:00
|
|
|
@import '~@angular/material/theming';
|
2020-05-13 14:41:43 +02:00
|
|
|
|
2020-07-22 14:40:37 +02:00
|
|
|
@mixin application-grid-theme($theme) {
|
|
|
|
$primary: map-get($theme, primary);
|
|
|
|
$primary-dark: mat-color($primary, A900);
|
|
|
|
$accent: map-get($theme, accent);
|
|
|
|
$accent-color: mat-color($accent, 500);
|
2020-05-13 14:41:43 +02:00
|
|
|
|
2020-07-22 14:40:37 +02:00
|
|
|
.app-grid-header {
|
2020-05-13 14:41:43 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2020-07-22 14:40:37 +02:00
|
|
|
.fill-space {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-container {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 0 -1rem;
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
|
|
|
|
.app-wrap {
|
|
|
|
outline: none;
|
2020-05-13 14:41:43 +02:00
|
|
|
display: flex;
|
2020-07-22 14:40:37 +02:00
|
|
|
flex-direction: column;
|
2020-05-13 14:41:43 +02:00
|
|
|
align-items: center;
|
2020-07-22 14:40:37 +02:00
|
|
|
max-width: 150px;
|
|
|
|
|
|
|
|
.morph-card {
|
|
|
|
cursor: pointer;
|
|
|
|
animation: all .2s;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 2rem;
|
|
|
|
height: 80px;
|
|
|
|
width: 80px;
|
|
|
|
margin: 1rem;
|
|
|
|
border-radius: .5rem;
|
|
|
|
border: 1px solid $accent-color;
|
|
|
|
background-color: $primary-dark;
|
|
|
|
transition: background-color .4s ease-in-out;
|
|
|
|
|
|
|
|
&.add {
|
|
|
|
background: $accent-color;
|
|
|
|
}
|
|
|
|
}
|
2020-05-13 14:41:43 +02:00
|
|
|
|
2020-07-22 14:40:37 +02:00
|
|
|
.name {
|
|
|
|
font-size: .8rem;
|
|
|
|
color: #8a868a;
|
|
|
|
}
|
2020-05-13 14:41:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|