Files
zitadel/console/src/styles/morph-card.scss
T
Max PeintnerandGitHub c8e2db3287 feat(console): show and clear admin views, fix iam member (#334)
* gen auth, get my user changes

* iam view

* use table for admin views

* fix pagination for views

* fix themeing transition

* transition

* lint
2020-07-02 17:16:47 +02:00

30 lines
803 B
SCSS

@import '~@angular/material/theming';
@mixin morph-card-theme($theme) {
$accent: map-get($theme, accent);
$background: map-get($theme, background);
$background-color: mat-color($background, card);
$primary: map-get($theme, primary);
$primary-dark: mat-color($primary, A900);
$secondary-dark: mat-color($primary, A800);
$accent: map-get($theme, accent);
$accent-color: mat-color($accent, 500);
.morph-card {
cursor: pointer;
animation: all .2s;
height: 80px;
width: 80px;
margin: 1rem;
border-radius: 16px;
border: 1px solid $accent-color;
background-color: $primary-dark;
transition: background-color .5s ease-in-out;
&.add {
background: $accent-color;
}
}
}