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;
|
|
|
|
|
2020-07-24 09:48:58 +02:00
|
|
|
.sp-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: calc(82px + 2rem);
|
|
|
|
height: calc(82px + 2rem);
|
|
|
|
}
|
|
|
|
|
2020-07-22 14:40:37 +02:00
|
|
|
.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;
|
2020-07-24 09:48:58 +02:00
|
|
|
font-weight: 800;
|
2020-07-22 14:40:37 +02:00
|
|
|
background-color: $primary-dark;
|
2020-07-24 09:48:58 +02:00
|
|
|
transition: background-color .2s ease-in-out;
|
|
|
|
background-image:
|
|
|
|
linear-gradient(transparent 11px, rgba($accent-color,.5) 12px, transparent 12px),
|
|
|
|
linear-gradient(90deg, transparent 11px, rgba($accent-color,.5) 12px, transparent 12px);
|
|
|
|
background-size: 100% 12px, 12px 100%;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba($accent-color,.2);
|
|
|
|
}
|
2020-07-22 14:40:37 +02:00
|
|
|
|
|
|
|
&.add {
|
|
|
|
background: $accent-color;
|
2020-07-24 09:48:58 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba($accent-color,.8);
|
|
|
|
}
|
2020-07-22 14:40:37 +02:00
|
|
|
}
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|