Files
zitadel/console/src/app/app.component.scss
Max Peintner 0a488eb1fb feat(console): split granted from owned project modules, general ui ux fixes (#286)
* 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
2020-06-26 14:15:05 +02:00

220 lines
4.4 KiB
SCSS

.root-header {
position: relative;
z-index: 100;
display: flex;
height: 60px;
align-items: center;
padding: 0 1rem;
.logo {
height: 40px;
width: auto;
}
.title {
text-decoration: none;
color: white;
font-size: 1.2rem;
font-weight: 400;
margin-left: 1rem;
line-height: 1.2rem;
font-family: 'Rubik';
margin-right: 1rem;
}
.context-menu {
border-radius: .5rem;
background-color: #2d2e30;
}
.fill-space {
flex: 1;
}
.icon-container {
display: flex;
justify-content: space-between;
position: relative;
user-select: none;
.docs {
text-decoration: none;
font-size: 1.4rem;
font-family: 'ailerons', sans-serif;
}
.avatar {
display: block;
margin: auto;
cursor: pointer;
}
.name {
font-size: 1rem;
font-weight: 400;
}
.a_card {
position: absolute;
top: 60px;
right: 0;
overflow: hidden;
}
}
}
.admin-line {
font-size: 12px;
padding: 4px 2rem;
position: relative;
}
.main-container {
display: flex;
flex-direction: column;
height: calc(100vh - 60px);
width: 100%;
.side {
width: 300px;
border-right: none;
.side-column {
height: calc(100vh - 70px);
display: flex;
flex-direction: column;
align-items: stretch;
.list {
width: 100%;
display: flex;
flex-direction: column;
height: 100%;
margin-top: 2rem;
.logout-icon {
margin-left: 1rem;
}
.fill-space {
flex: 1;
}
.nav-item {
display: flex;
align-items: center;
text-decoration: none;
cursor: pointer;
padding: 0.2rem 1rem;
// color: inherit;
margin-right: 0.5rem;
padding-right: 2rem;
.icon {
margin: 0.5rem 1rem;
}
.label {
margin-bottom: 0;
font-family: 'Rubik';
font-weight: 500;
font-size: .9rem;
}
&:hover {
background-color: #00000010;
border-top-right-radius: 1.5rem;
border-bottom-right-radius: 1.5rem;
}
&.active {
border-top-right-radius: 1.5rem;
border-bottom-right-radius: 1.5rem;
}
}
.project-status {
padding: 1rem;
}
}
.fill-space {
flex: 1 1 auto;
}
.logout-button {
margin-bottom: 1rem;
}
}
.primary-button {
margin: 1rem;
border-radius: 1.5rem;
height: 2.5rem;
padding: 0 1rem;
}
}
.content {
display: flex;
flex-direction: column;
.router {
height: 100%;
overflow: auto;
}
}
.theme-section {
display: block;
padding: 0 .5rem;
margin-top: 2rem;
align-self: flex-start;
border-radius: 1rem;
.round-light {
display: inline-block;
border-radius: 50%;
height: 30px;
width: 30px;
margin: .5rem;
cursor: pointer;
background: linear-gradient(315deg, #e6e6e6, #ffffff);
}
.round-dark {
display: inline-block;
border-radius: 50%;
height: 30px;
width: 30px;
margin: .5rem;
cursor: pointer;
background: linear-gradient(315deg, #000000, #000000);
}
}
}
.footer {
padding: 1rem;
a {
cursor: pointer;
text-decoration: none;
color: #81868a;
font-size: .8rem;
display: block;
margin-bottom: 1px;
font-weight: 300;
&:hover {
text-decoration: underline;
}
}
}
.divider {
display: block;
background-color: #ffffff10;
height: 1px;
margin: .5rem 0;
}