diff --git a/src/App.scss b/src/App.scss
index 6080b0e532..0af05a5430 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -634,11 +634,21 @@ option {
overflow: hidden;
text-overflow: ellipsis;
- &.badge-notification {
- background-color: $fallback--cRed;
- background-color: var(--badgeNotification, $fallback--cRed);
- color: white;
- color: var(--badgeNotificationText, white);
+ &.-dot {
+ border-radius: 100%;
+ min-height: 8px;
+ max-height: 8px;
+ min-width: 8px;
+ max-width: 8px;
+ padding: 0;
+ line-height: 0;
+ margin: 0;
+ font-size: 0;
+ position: absolute;
+ left: calc(50% - 4px);
+ top: calc(50% - 4px);
+ margin-left: 6px;
+ margin-top: -6px;
}
}
@@ -646,39 +656,7 @@ option {
margin: 0 0.35em;
padding: 0 0.25em;
border-radius: var(--roundness);
-
- &.error {
- background-color: $fallback--alertError;
- background-color: var(--alertError, $fallback--alertError);
- color: $fallback--text;
- color: var(--alertErrorText, $fallback--text);
-
- .panel-heading & {
- color: $fallback--text;
- color: var(--alertErrorPanelText, $fallback--text);
- }
- }
-
- &.warning {
- background-color: $fallback--alertWarning;
- background-color: var(--alertWarning, $fallback--alertWarning);
- color: $fallback--text;
- color: var(--alertWarningText, $fallback--text);
-
- .panel-heading & {
- color: $fallback--text;
- color: var(--alertWarningPanelText, $fallback--text);
- }
- }
-
- &.success {
- background-color: var(--alertSuccess, $fallback--alertWarning);
- color: var(--alertSuccessText, $fallback--text);
-
- .panel-heading & {
- color: var(--alertSuccessPanelText, $fallback--text);
- }
- }
+ border: 1px solid var(--border);
}
.faint {
diff --git a/src/components/alert.style.js b/src/components/alert.style.js
index 081031d73e..5881e83318 100644
--- a/src/components/alert.style.js
+++ b/src/components/alert.style.js
@@ -17,9 +17,16 @@ export default {
{
directives: {
background: '--text',
- opacity: 0.8
+ opacity: 0.5
}
},
+ {
+ parent: {
+ component: 'Alert'
+ },
+ component: 'Border',
+ textColor: '--parent'
+ },
{
variant: 'error',
directives: {
diff --git a/src/components/badge.style.js b/src/components/badge.style.js
index 3ac7d8c02d..37833cdb06 100644
--- a/src/components/badge.style.js
+++ b/src/components/badge.style.js
@@ -6,8 +6,7 @@ export default {
'Icon'
],
variants: {
- normal: '.neutral',
- notification: '.notification'
+ notification: '.-notification'
},
defaultRules: [
{
diff --git a/src/components/chat/chat.vue b/src/components/chat/chat.vue
index b1e5468c82..fc94cc71f5 100644
--- a/src/components/chat/chat.vue
+++ b/src/components/chat/chat.vue
@@ -61,7 +61,7 @@
{{ newMessageCount }}
diff --git a/src/components/chat_list_item/chat_list_item.vue b/src/components/chat_list_item/chat_list_item.vue
index 69ad609bb2..cbae2d11ad 100644
--- a/src/components/chat_list_item/chat_list_item.vue
+++ b/src/components/chat_list_item/chat_list_item.vue
@@ -36,7 +36,7 @@
/>
{{ chat.unread }}
diff --git a/src/components/menu_item.style.js b/src/components/menu_item.style.js
index 6475395aab..3c70bd9f45 100644
--- a/src/components/menu_item.style.js
+++ b/src/components/menu_item.style.js
@@ -6,7 +6,8 @@ export default {
'Icon',
'Input',
'Border',
- 'ButtonUnstyled'
+ 'ButtonUnstyled',
+ 'Badge'
],
states: {
hover: ':hover',
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue
index 489f38661e..2e7590b9b8 100644
--- a/src/components/mobile_nav/mobile_nav.vue
+++ b/src/components/mobile_nav/mobile_nav.vue
@@ -20,7 +20,7 @@
/>
@@ -37,14 +37,14 @@
/>