2020-05-13 12:41:43 +00:00
|
|
|
// Custom Theming for Angular Material
|
|
|
|
// For more information: https://material.angular.io/guide/theming
|
|
|
|
@import '~@angular/material/theming';
|
|
|
|
@import './component-themes';
|
|
|
|
|
|
|
|
// Plus imports for other components in your app.
|
|
|
|
|
|
|
|
// Include the common styles for Angular Material. We include this here so that you only
|
|
|
|
// have to load a single css file for Angular Material in your app.
|
|
|
|
// Be sure that you only ever include this mixin once!
|
|
|
|
@include mat-core();
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: ailerons;
|
|
|
|
font-display: auto;
|
|
|
|
src: url(assets/ailerons.otf) format('opentype');
|
|
|
|
}
|
|
|
|
|
|
|
|
$caos-dark-brand: (
|
|
|
|
50: #ffffff,
|
|
|
|
100: #dde6f3,
|
|
|
|
200: #b4c9e4,
|
|
|
|
300: #7fa3d1,
|
|
|
|
400: #6992c9,
|
|
|
|
500: #5282c1,
|
|
|
|
600: #4072b4,
|
|
|
|
700: #38649d,
|
|
|
|
800: #305687,
|
|
|
|
900: #284770,
|
|
|
|
A100: #ffffff,
|
|
|
|
A200: #dde6f3,
|
|
|
|
A300: #6992c9,
|
|
|
|
A400: #38649d,
|
|
|
|
A500: #666666,
|
|
|
|
A600: #ffffff,
|
2020-07-01 15:48:34 +00:00
|
|
|
A700: #8795a1,
|
2020-05-13 12:41:43 +00:00
|
|
|
A800: #2d2e30,
|
|
|
|
A900: #212224,
|
|
|
|
contrast: (
|
|
|
|
50: $black-87-opacity,
|
|
|
|
100: $black-87-opacity,
|
|
|
|
200: $black-87-opacity,
|
|
|
|
300: $black-87-opacity,
|
|
|
|
400: $black-87-opacity,
|
|
|
|
500: white,
|
|
|
|
600: white,
|
|
|
|
700: white,
|
|
|
|
800: white,
|
|
|
|
900: white,
|
|
|
|
A100: $black-87-opacity,
|
|
|
|
A200: $black-87-opacity,
|
|
|
|
A400: $black-87-opacity,
|
|
|
|
A700: white,
|
|
|
|
)
|
|
|
|
);
|
|
|
|
|
|
|
|
$caos-light-brand: (
|
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations
* project grant detail, state update, user-list pad
* rm entry components
* members nav, i18n, disable actions on non active
* add org domain dialog
* mv password policy rm to detail view
* prefix pinned orgs for userid, fix collapsed pad
* fix app back navigation
* rem pwd required validator
* fix org item overflow
* routing
* move users modules to users page
* reorganize projects
* remove child init of translate
* hide same preferred loginname
2020-07-13 11:38:49 +00:00
|
|
|
50: #ffffff,
|
|
|
|
100: #dde6f3,
|
|
|
|
200: #b4c9e4,
|
|
|
|
300: #7fa3d1,
|
|
|
|
400: #6992c9,
|
|
|
|
500: #5282c1,
|
|
|
|
600: #4072b4,
|
|
|
|
700: #38649d,
|
|
|
|
800: #305687,
|
|
|
|
900: #284770,
|
|
|
|
A100: #ffffff,
|
|
|
|
A200: #dde6f3,
|
|
|
|
A300: #6992c9,
|
|
|
|
A400: #38649d,
|
2020-05-13 12:41:43 +00:00
|
|
|
A500:#333333,
|
|
|
|
A600: #000000,
|
2020-07-01 15:48:34 +00:00
|
|
|
A700: #8795a1,
|
fix(console): cleanup contributor module, move loading state to shared module, button visibility in light theme (#504)
* refreshtable component
* project grant refresh table
* project role refresh, user grant, i18n
* lint
* auth user mfa table
* auth mfa table
* rm unused 404 page, add mgmt mfa table
* change light accent color
* add actions to mfa table
* user detail mfa table
* clear selection on refresh, bind data length
* member table
* fix padding mfa table
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* z-index, new colors
* new senf color
* create stepper
* app create stepper
* i18n
* i18n sections, header titles
* lint
* add pro mode
* main contributor component
* drop project members shared module
* project detail members
* org contributors, iam contributors
* invert card and background colors in light design
* changes card design
* lighten meta background
* account card radius
* fix imports, global user email link
* move spinner to refresh-table component
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* light background on light design
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-22 11:47:31 +00:00
|
|
|
A800: white,
|
2020-07-01 15:48:34 +00:00
|
|
|
A900: #fafafa,
|
2020-05-13 12:41:43 +00:00
|
|
|
contrast: (
|
2020-07-01 15:48:34 +00:00
|
|
|
50: #3d4852,
|
|
|
|
100: #3d4852,
|
|
|
|
200: #3d4852,
|
|
|
|
300: #3d4852,
|
|
|
|
400: #3d4852,
|
2020-05-13 12:41:43 +00:00
|
|
|
500: white,
|
|
|
|
600: white,
|
|
|
|
700: white,
|
|
|
|
800: white,
|
|
|
|
900: white,
|
2020-07-01 15:48:34 +00:00
|
|
|
A100: #3d4852,
|
|
|
|
A200: #3d4852,
|
|
|
|
A400: #3d4852,
|
2020-05-13 12:41:43 +00:00
|
|
|
A700: white,
|
|
|
|
)
|
|
|
|
);
|
2020-07-20 13:23:29 +00:00
|
|
|
|
|
|
|
$caos-accent-color: (
|
|
|
|
50: #ebf4f2,
|
|
|
|
100: #cce3de,
|
|
|
|
200: #abd1c9,
|
|
|
|
300: #89bfb3,
|
|
|
|
400: #6fb1a2,
|
|
|
|
500: #56a392,
|
|
|
|
600: #4f9b8a,
|
|
|
|
700: #45917f,
|
|
|
|
800: #3c8875,
|
|
|
|
900: #2b7763,
|
|
|
|
A100: #beffed,
|
|
|
|
A200: #8bffde,
|
|
|
|
A400: #58ffd0,
|
|
|
|
A700: #3effc9,
|
|
|
|
contrast: (
|
|
|
|
50: $black-87-opacity,
|
|
|
|
100: $black-87-opacity,
|
|
|
|
200: $black-87-opacity,
|
|
|
|
300: $black-87-opacity,
|
|
|
|
400: $black-87-opacity,
|
|
|
|
500: white,
|
|
|
|
600: white,
|
|
|
|
700: white,
|
|
|
|
800: white,
|
|
|
|
900: white,
|
|
|
|
A100: $black-87-opacity,
|
|
|
|
A200: $black-87-opacity,
|
|
|
|
A400: $black-87-opacity,
|
|
|
|
A700: white,
|
|
|
|
)
|
|
|
|
);
|
2020-05-13 12:41:43 +00:00
|
|
|
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
|
|
|
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
|
|
|
// hue. Available color palettes: https://material.io/design/color/
|
|
|
|
|
|
|
|
$light-primary: mat-palette($caos-light-brand);
|
2020-07-20 13:23:29 +00:00
|
|
|
$light-accent:mat-palette($caos-accent-color);
|
2020-05-13 12:41:43 +00:00
|
|
|
$light-warn: mat-palette($mat-red);
|
|
|
|
|
|
|
|
$dark-primary: mat-palette($caos-dark-brand);
|
2020-07-20 13:23:29 +00:00
|
|
|
$dark-accent: mat-palette($mat-pink);
|
2020-05-13 12:41:43 +00:00
|
|
|
$dark-warn: mat-palette($mat-red);
|
|
|
|
|
|
|
|
$light-theme: mat-light-theme($light-primary, $light-accent, $light-warn);
|
|
|
|
|
|
|
|
$dark-theme: mat-dark-theme($dark-primary, $dark-accent, $dark-warn);
|
|
|
|
|
2020-06-23 16:56:29 +00:00
|
|
|
|
|
|
|
$custom-typography: mat-typography-config(
|
2020-07-03 08:26:43 +00:00
|
|
|
$font-family: 'Lato'
|
2020-06-23 16:56:29 +00:00
|
|
|
);
|
|
|
|
@include mat-core($custom-typography);
|
|
|
|
|
2020-05-13 12:41:43 +00:00
|
|
|
// default theme
|
|
|
|
@include component-themes($dark-theme);
|
|
|
|
@include angular-material-theme($dark-theme);
|
|
|
|
.light-theme {
|
|
|
|
@include component-themes($light-theme);
|
|
|
|
@include angular-material-theme($light-theme);
|
|
|
|
color: #202124;
|
|
|
|
|
2020-07-24 07:48:58 +00:00
|
|
|
.sidenav, .main-container, .mat-dialog-container {
|
fix(console): cleanup contributor module, move loading state to shared module, button visibility in light theme (#504)
* refreshtable component
* project grant refresh table
* project role refresh, user grant, i18n
* lint
* auth user mfa table
* auth mfa table
* rm unused 404 page, add mgmt mfa table
* change light accent color
* add actions to mfa table
* user detail mfa table
* clear selection on refresh, bind data length
* member table
* fix padding mfa table
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* z-index, new colors
* new senf color
* create stepper
* app create stepper
* i18n
* i18n sections, header titles
* lint
* add pro mode
* main contributor component
* drop project members shared module
* project detail members
* org contributors, iam contributors
* invert card and background colors in light design
* changes card design
* lighten meta background
* account card radius
* fix imports, global user email link
* move spinner to refresh-table component
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* light background on light design
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-22 11:47:31 +00:00
|
|
|
background-color: #fafafa;
|
|
|
|
transition: background-color .4s ease-in-out;
|
2020-05-13 12:41:43 +00:00
|
|
|
}
|
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations
* project grant detail, state update, user-list pad
* rm entry components
* members nav, i18n, disable actions on non active
* add org domain dialog
* mv password policy rm to detail view
* prefix pinned orgs for userid, fix collapsed pad
* fix app back navigation
* rem pwd required validator
* fix org item overflow
* routing
* move users modules to users page
* reorganize projects
* remove child init of translate
* hide same preferred loginname
2020-07-13 11:38:49 +00:00
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
|
|
|
box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
|
|
|
background-color: #fafafa;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
background-color: #fafafa;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2020-07-20 13:23:29 +00:00
|
|
|
background-color: #737C8850;
|
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations
* project grant detail, state update, user-list pad
* rm entry components
* members nav, i18n, disable actions on non active
* add org domain dialog
* mv password policy rm to detail view
* prefix pinned orgs for userid, fix collapsed pad
* fix app back navigation
* rem pwd required validator
* fix org item overflow
* routing
* move users modules to users page
* reorganize projects
* remove child init of translate
* hide same preferred loginname
2020-07-13 11:38:49 +00:00
|
|
|
border-radius: 8px;
|
2020-07-20 13:23:29 +00:00
|
|
|
cursor: pointer;
|
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations
* project grant detail, state update, user-list pad
* rm entry components
* members nav, i18n, disable actions on non active
* add org domain dialog
* mv password policy rm to detail view
* prefix pinned orgs for userid, fix collapsed pad
* fix app back navigation
* rem pwd required validator
* fix org item overflow
* routing
* move users modules to users page
* reorganize projects
* remove child init of translate
* hide same preferred loginname
2020-07-13 11:38:49 +00:00
|
|
|
}
|
2020-05-13 12:41:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark-theme {
|
|
|
|
@include component-themes($dark-theme);
|
|
|
|
@include angular-material-theme($dark-theme);
|
|
|
|
|
2020-07-24 07:48:58 +00:00
|
|
|
.sidenav, .main-container, .mat-dialog-container {
|
2020-07-02 15:16:47 +00:00
|
|
|
background-color: #212224;
|
fix(console): cleanup contributor module, move loading state to shared module, button visibility in light theme (#504)
* refreshtable component
* project grant refresh table
* project role refresh, user grant, i18n
* lint
* auth user mfa table
* auth mfa table
* rm unused 404 page, add mgmt mfa table
* change light accent color
* add actions to mfa table
* user detail mfa table
* clear selection on refresh, bind data length
* member table
* fix padding mfa table
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* z-index, new colors
* new senf color
* create stepper
* app create stepper
* i18n
* i18n sections, header titles
* lint
* add pro mode
* main contributor component
* drop project members shared module
* project detail members
* org contributors, iam contributors
* invert card and background colors in light design
* changes card design
* lighten meta background
* account card radius
* fix imports, global user email link
* move spinner to refresh-table component
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* light background on light design
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-22 11:47:31 +00:00
|
|
|
transition: background-color .4s ease-in-out;
|
2020-05-13 12:41:43 +00:00
|
|
|
}
|
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations
* project grant detail, state update, user-list pad
* rm entry components
* members nav, i18n, disable actions on non active
* add org domain dialog
* mv password policy rm to detail view
* prefix pinned orgs for userid, fix collapsed pad
* fix app back navigation
* rem pwd required validator
* fix org item overflow
* routing
* move users modules to users page
* reorganize projects
* remove child init of translate
* hide same preferred loginname
2020-07-13 11:38:49 +00:00
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
|
|
|
box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
|
|
|
background-color: #2d2e30;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
background-color: #2d2e30;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2020-07-20 13:23:29 +00:00
|
|
|
background-color: #737C8870;
|
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations
* project grant detail, state update, user-list pad
* rm entry components
* members nav, i18n, disable actions on non active
* add org domain dialog
* mv password policy rm to detail view
* prefix pinned orgs for userid, fix collapsed pad
* fix app back navigation
* rem pwd required validator
* fix org item overflow
* routing
* move users modules to users page
* reorganize projects
* remove child init of translate
* hide same preferred loginname
2020-07-13 11:38:49 +00:00
|
|
|
border-radius: 8px;
|
2020-07-20 13:23:29 +00:00
|
|
|
cursor: pointer;
|
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations
* project grant detail, state update, user-list pad
* rm entry components
* members nav, i18n, disable actions on non active
* add org domain dialog
* mv password policy rm to detail view
* prefix pinned orgs for userid, fix collapsed pad
* fix app back navigation
* rem pwd required validator
* fix org item overflow
* routing
* move users modules to users page
* reorganize projects
* remove child init of translate
* hide same preferred loginname
2020-07-13 11:38:49 +00:00
|
|
|
}
|
2020-05-13 12:41:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mat-dialog-container {
|
|
|
|
border-radius: .5rem !important;
|
|
|
|
}
|
|
|
|
// @include mat-checkbox-theme($candy-app-theme);
|
|
|
|
|
|
|
|
/* You can add global styles to this file, and also import other style files */
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
margin: 0;
|
2020-07-03 08:26:43 +00:00
|
|
|
font-family: 'Lato', -apple-system, BlinkMacSystemFont,
|
2020-05-13 12:41:43 +00:00
|
|
|
"Segoe UI", "Roboto", "Oxygen",
|
|
|
|
"Ubuntu", "Cantarell", "Fira Sans",
|
|
|
|
"Droid Sans", "Helvetica Neue", sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-26 14:45:18 +00:00
|
|
|
.max-width-container {
|
|
|
|
max-width: 1350px;
|
2020-05-13 12:41:43 +00:00
|
|
|
padding: 0 1.5rem;
|
|
|
|
padding-top: 4rem;
|
|
|
|
padding-left: 4rem;
|
2020-06-26 14:45:18 +00:00
|
|
|
|
|
|
|
@media only screen and (min-width: 1024px) {
|
|
|
|
max-width: 1120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 899px) {
|
|
|
|
max-width: 899px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 500px) {
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.enlarged-container {
|
|
|
|
padding: 0 1.5rem;
|
|
|
|
padding-top: 4rem;
|
|
|
|
padding-left: 4rem;
|
|
|
|
|
|
|
|
@media only screen and (max-width: 500px) {
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
2020-05-13 12:41:43 +00:00
|
|
|
|
|
|
|
.mat-dialog-container {
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
background-color: #212224;
|
|
|
|
}
|
2020-06-10 10:59:12 +00:00
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|