zitadel/console/src/styles.scss

213 lines
5.1 KiB
SCSS
Raw Normal View History

// 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,
A700: #81868a,
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: (
50: mat-color($mat-indigo, 50),
100: mat-color($mat-indigo, 100),
200: mat-color($mat-indigo, 200),
300: mat-color($mat-indigo, 300),
400: mat-color($mat-indigo, 400),
500: mat-color($mat-indigo, 500),
600: mat-color($mat-indigo, 600),
700: mat-color($mat-indigo, 700),
800: mat-color($mat-indigo, 800),
900: mat-color($mat-indigo, 900),
A100: mat-color($mat-indigo, A100),
A200: mat-color($mat-indigo, A200),
A300: mat-color($mat-indigo, A300),
A400: mat-color($mat-indigo, A400),
A500:#333333,
A600: #000000,
A700: #dadce0,
A800: #ffffff,
A900: #ffffff,
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-custom: (
500: rgb(144,212,210),
700: rgb(176, 241, 239),
A700: rgb(96, 139, 138),
contrast: (
50: $black-87-opacity,
100: $black-87-opacity,
200: $black-87-opacity,
300: $black-87-opacity,
400: $black-87-opacity,
500: #000000,
600: white,
700: white,
800: white,
900: white,
A100: $black-87-opacity,
A200: $black-87-opacity,
A400: $black-87-opacity,
A700: white,
)
);
// 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);
$light-accent: mat-palette($mat-indigo);
$light-warn: mat-palette($mat-red);
$dark-primary: mat-palette($caos-dark-brand);
$dark-accent: mat-palette($caos-dark-brand, 500, 700, A700);
$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);
// 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;
.crescent {
background-color:white !important;
}
mat-card, .side, .main-container {
background-color: white;
}
}
.dark-theme {
@include component-themes($dark-theme);
@include angular-material-theme($dark-theme);
.crescent {
background-color: #212224;
}
mat-card, .side, .main-container {
background-color: #212224;
}
.mat-dialog-container {
background-color: #2d2e30;
}
}
.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;
font-family: 'Rubik', -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
}
.max-width-container {
max-width: 1350px;
padding: 0 1.5rem;
padding-top: 4rem;
padding-left: 4rem;
@media only screen and (min-width: 1024px) {
max-width: 1120px;
}
@media only screen and (min-width: 899px) {
max-width: 899px;
}
}
.enlarged-container {
padding: 0 1.5rem;
padding-top: 4rem;
padding-left: 4rem;
}
.mat-dialog-container {
border-radius: 0.5rem;
background-color: #212224;
}
fix(console): refactoring (#197) * return error from changes * project member context, org-policies, state * project type seperation * chore(deps): bump grpc from 1.24.2 to 1.24.3 in /console (#183) Bumps [grpc](https://github.com/grpc/grpc-node) from 1.24.2 to 1.24.3. - [Release notes](https://github.com/grpc/grpc-node/releases) - [Commits](https://github.com/grpc/grpc-node/compare/grpc@1.24.2...grpc@1.24.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump google-proto-files from 1.1.2 to 2.1.0 in /console (#176) Bumps [google-proto-files](https://github.com/googleapis/nodejs-proto-files) from 1.1.2 to 2.1.0. - [Release notes](https://github.com/googleapis/nodejs-proto-files/releases) - [Changelog](https://github.com/googleapis/nodejs-proto-files/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-proto-files/compare/v1.1.2...v2.1.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump karma-coverage-istanbul-reporter in /console (#169) Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 3.0.2 to 3.0.3. - [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases) - [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md) - [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v3.0.2...v3.0.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update packages * update deps * lint * replace assets * add key, creationdate for roles * project grant members Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-10 12:59:12 +02:00
i {
font-size: 1.5rem;
}