fix(console): hide granted project navigation if none, cache zitadel permissions, emit refresh on org change, cleanup contributors, styling (#511)

* fix iam member model

* fix org member model

* fix auth user loading

* copytoclipboard directive

* directive logs, load bar on init, create user

* typo

* welcome section, contributor spinner

* fix home link

* fix stepper flow

* show dialog on invalid token

* fix app table refresh, pin icons light theme

* cleanup contributor

* inherit parent color, animations

* use localized date pipe everywhere

* cmp styles refactor, dont show granted p if none

* fix navitem desc, fixed header

* change permissions, caching

* roles on org emit, use prom instead of hot obs

* dont calc 100vh
This commit is contained in:
Max Peintner
2020-07-28 09:09:18 +02:00
committed by GitHub
parent 2d8f934a07
commit 531060ab67
37 changed files with 442 additions and 296 deletions
@@ -1,3 +1,6 @@
@import '~@angular/material/theming';
.header {
display: block;
margin-bottom: 1rem;
@@ -5,42 +8,53 @@
margin-top: 1rem;
}
.scroll-container {
max-height: 60vh;
overflow-y: scroll;
@mixin changes-theme($theme) {
.item {
box-sizing: border-box;
padding: .5rem;
margin: .25rem 0;
border-radius: .5rem;
display: flex;
flex-direction: column;
.editor {
color: #8795a1;
.scroll-container {
max-height: 60vh;
overflow-y: scroll;
.item {
box-sizing: border-box;
padding: .5rem;
margin: .25rem 0;
border-radius: .5rem;
display: flex;
flex-direction: column;
.editor {
color: #8795a1;
font-size: 12px;
align-self: flex-end;
}
.seq {
color: #8795a1;
font-size: 12px;
align-self: flex-end;
}
.desc {
overflow-x: auto;
font-size: 14px;
}
$primary: map-get($theme, primary);
$primary-dark: mat-color($primary, A800);
&.change-item-back {
background-color: rgba($primary-dark, 0.93);
transition: background-color .4s ease-in-out;
}
}
.sp-wrapper {
padding: .5rem;
display: flex;
justify-content: center;
}
.end-container {
font-size: 12px;
align-self: flex-end;
}
.seq {
color: #8795a1;
font-size: 12px;
align-self: flex-end;
}
.desc {
overflow-x: auto;
font-size: 14px;
}
}
.sp-wrapper {
padding: .5rem;
display: flex;
justify-content: center;
}
.end-container {
font-size: 12px;
color: #8795a1;
}
}
}