From dc1520ba62c7bc4b2edbb4cad28ffa829d5c0d7d Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Tue, 13 Feb 2024 02:54:50 +0300 Subject: [PATCH] style: add classes for different types of notifications --- src/styles.css | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/src/styles.css b/src/styles.css index 7e7239a..bfcdc5f 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,4 +1,28 @@ -/* You can add global styles to this file, and also import other style files */ +html, body { + height: 100%; +} -html, body { height: 100%; } -body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; } +body { + margin: 0; + font-family: Roboto, "Helvetica Neue", sans-serif; +} + +.green-snackbar, .mat-mdc-snack-bar-container { + --mdc-snackbar-container-color: #8CBA51; + color: black; +} + +.red-snackbar { + --mdc-snackbar-container-color: #E20338; + color: white; +} + +.yellow-snackbar { + --mdc-snackbar-container-color: #FFD600; + color: black; +} + +.snackbar { + --mdc-snackbar-container-color: inherit; + color: inherit; +}