mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-05 13:52:15 +00:00
* user grant filter * add filter input * org domain spinner and reload * user grant filter templates * single selection filter for grants, same dl btn * filter margin * lint style, remove duplicate code * project count as observable * deferred reload on delete * fix user grant formfield * lint styles * fix event propagation on pin, change selection * propagate counter change * admin warn, localstorage, i18n, sidenav impv * overlays * adapt toolbar elevationn, card * color vars, i18n, admin section * fix lint * selection clear on filter * ts lint * Update console/src/assets/i18n/de.json Co-authored-by: Fabi <[email protected]> * Update console/src/assets/i18n/de.json Co-authored-by: Fabi <[email protected]> * Update console/src/assets/i18n/en.json Co-authored-by: Fabi <[email protected]> Co-authored-by: Fabi <[email protected]>
56 lines
1.1 KiB
SCSS
56 lines
1.1 KiB
SCSS
@import '~@angular/material/theming';
|
|
|
|
@mixin card-theme($theme) {
|
|
/* stylelint-disable */
|
|
$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);
|
|
/* stylelint-enable */
|
|
|
|
.card {
|
|
background-color: $primary-dark;
|
|
transition: background-color .3s cubic-bezier(.645, .045, .355, 1);
|
|
border: 1px solid rgba($border-color, .2);
|
|
box-sizing: border-box;
|
|
border-radius: .5rem;
|
|
outline: none;
|
|
height: 100%;
|
|
|
|
.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;
|
|
}
|
|
|
|
.edit-button {
|
|
&:hover {
|
|
color: $border-selected-color;
|
|
}
|
|
}
|
|
}
|
|
}
|