From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/web/static/src/scss/notification.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 addons/web/static/src/scss/notification.scss (limited to 'addons/web/static/src/scss/notification.scss') diff --git a/addons/web/static/src/scss/notification.scss b/addons/web/static/src/scss/notification.scss new file mode 100644 index 00000000..561f7ab0 --- /dev/null +++ b/addons/web/static/src/scss/notification.scss @@ -0,0 +1,25 @@ + +.o_notification_manager { + @include o-position-absolute(3.5rem, 0); + position: fixed; + z-index: ($zindex-modal + $zindex-popover) / 2; + width: $toast-max-width; + margin-right: 8px; + max-width: 100%; + + .toast:not(:last-child) { + margin-bottom: 5px; + } + .o_notification { + width: 100%; + + .toast-body { + padding: 8px 10px; + + .o_notification_close { + height: 20px; + margin-left: 1rem; + } + } + } +} -- cgit v1.2.3