mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-05 22:02:15 +00:00
* add iam label, user avatar * avatar component * split granted and owned modules * move components to resp module * refactor project contributors, g project nav * rem console logs, add avatar for org members * fix changes loading, auth user page * refactor home, i18n * fix changes side overflow * lint
48 lines
1.2 KiB
SCSS
48 lines
1.2 KiB
SCSS
@import '~@angular/material/theming';
|
|
|
|
@mixin 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-color: mat-color($primary, 500);
|
|
$primary-dark: mat-color($primary, A800);
|
|
$border-color: mat-color($primary, A700);
|
|
$border-selected-color: mat-color($primary, A600);
|
|
|
|
.card {
|
|
background-color: $primary-dark;
|
|
border: 1px solid $border-color;
|
|
box-sizing: border-box;
|
|
border-radius: .5rem;
|
|
outline: none;
|
|
|
|
.selection-icon {
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: -12px;
|
|
left: -12px;
|
|
color: $border-color;
|
|
}
|
|
|
|
&.selected {
|
|
background-color: #ffffff25;
|
|
border: 1px solid $border-selected-color;
|
|
.text-part {
|
|
.icons {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.selection-icon {
|
|
color: $border-selected-color;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.iamuser {
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
}
|