From 3d168e99464396be83a5e962d7e94987315f2f7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zsef=20Sallai?= Date: Fri, 17 Jul 2020 01:24:28 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Make=20notifications=20use=20the?= =?UTF-8?q?mable=20classes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/styles/global/modifiers/_theming.scss | 4 ++ .../notifications/OkUserNotifications.vue | 43 ++++++++++++++++--- .../notification/OkUserNotification.vue | 8 +--- .../components/OkNotificationContents.vue | 4 +- 4 files changed, 45 insertions(+), 14 deletions(-) diff --git a/assets/styles/global/modifiers/_theming.scss b/assets/styles/global/modifiers/_theming.scss index 96d57e6e..81067b49 100644 --- a/assets/styles/global/modifiers/_theming.scss +++ b/assets/styles/global/modifiers/_theming.scss @@ -188,6 +188,10 @@ border-top: 1px solid var(--primary-invert-color-80) !important; } +.ok-has-border-bottom-accent { + border-bottom: 1px solid var(--accent-color) !important; +} + .ok-has-border-color-primary-highlight { border-color: var(--primary-highlight-color) !important; } diff --git a/components/notifications/OkUserNotifications.vue b/components/notifications/OkUserNotifications.vue index 234e63b3..f36b63fd 100644 --- a/components/notifications/OkUserNotifications.vue +++ b/components/notifications/OkUserNotifications.vue @@ -1,13 +1,31 @@