feat: rehauled console (#3525)

* new console

* move npm ci to angular build

* rel path for assets

* local grpc copy

* login policy, rm clear views, features rel path

* lock

Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
Max Peintner
2022-04-28 10:35:02 +00:00
committed by GitHub
co-authored by Livio Amstutz
parent 00f7dbe875
commit 08ae39ae19
668 changed files with 47746 additions and 19117 deletions
@@ -1,13 +1,13 @@
@use '@angular/material' as mat;
.radio-button-wrapper {
.auth-method-radio-button-wrapper {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
margin: 0;
padding-bottom: .5rem;
padding-bottom: 0.5rem;
padding-top: 1rem;
}
@@ -15,15 +15,24 @@
$primary: map-get($theme, primary);
$primary-color: mat.get-color-from-palette($primary, 500);
$is-dark-theme: map-get($theme, is-dark);
$background: map-get($theme, background);
$border-color: if($is-dark-theme, rgba(#8795a1, 0.2), rgba(#8795a1, 0.2));
input[type="radio"] {
input[type='radio'] {
appearance: none;
opacity: 0;
display: none;
box-sizing: border-box;
&:focus {
border: 1px solid if($is-dark-theme, white, black);
}
}
input:checked + label {
border-color: if($is-dark-theme, white, var(--grey));
border-color: $primary-color;
border-width: 2px;
box-shadow: 0 0 6px rgb(0 0 0 / 10%);
.cnsl-radio-header span {
color: if($is-dark-theme, white, white);
@@ -31,16 +40,17 @@
}
.cnsl-radio-button {
margin: .5rem;
border-radius: .5rem;
border: 1px solid if($is-dark-theme, var(--grey), white);
margin: 0.5rem;
border-radius: 0.5rem;
border: 1px solid $border-color;
display: flex;
flex-direction: column;
background-color: map-get($background, cards);
flex: 0 1 230px;
box-sizing: border-box;
cursor: pointer;
position: relative;
padding-bottom: 1rem;
box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
&.first {
margin-left: 0;
@@ -62,6 +72,7 @@
padding: 3px 1rem;
box-shadow: 0 0 6px rgb(0 0 0 / 10%);
white-space: nowrap;
border: 1px solid $border-color;
&.not {
background: rgb(144 75 75);
@@ -81,11 +92,11 @@
.current {
position: absolute;
bottom: .5rem;
bottom: 0.5rem;
left: 50%;
transform: translateX(-50%);
display: block;
color: #ffffff60;
color: #ffffff90;
white-space: nowrap;
font-size: 12px;
}
@@ -104,7 +115,6 @@
.type-desc {
font-size: 14px;
color: var(--grey);
}
.fill-space {
@@ -121,7 +131,6 @@
justify-content: space-between;
align-items: center;
font-size: 12px;
color: var(--grey);
margin: 3px 0;
span {