@appscode/design-system 1.1.0-alpha.9 → 1.1.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/base/_video-player.scss +65 -0
  2. package/base/utilities/_all.scss +6 -5
  3. package/base/utilities/_colors.scss +446 -0
  4. package/base/utilities/_customize-bulma.scss +23 -27
  5. package/base/utilities/_extended.scss +3 -2
  6. package/base/utilities/{_default.scss → _global.scss} +171 -323
  7. package/base/utilities/_layouts.scss +157 -0
  8. package/base/utilities/_mixin.scss +11 -11
  9. package/base/utilities/_spacing.scss +96 -0
  10. package/base/utilities/_typography.scss +56 -24
  11. package/base/utilities/dark-theme.scss +1 -1
  12. package/components/_ac-accordion.scss +117 -117
  13. package/components/_ac-alert-box.scss +205 -263
  14. package/components/_ac-calendar.scss +4 -4
  15. package/components/_ac-card.scss +122 -130
  16. package/components/_ac-code-highlight.scss +6 -6
  17. package/components/_ac-content-layout.scss +165 -165
  18. package/components/_ac-drag.scss +11 -11
  19. package/components/_ac-input.scss +38 -520
  20. package/components/_ac-modal.scss +212 -212
  21. package/components/_ac-multi-select.scss +780 -751
  22. package/components/_ac-options.scss +122 -123
  23. package/components/_ac-select-box.scss +5 -5
  24. package/components/_ac-table.scss +503 -502
  25. package/components/_ac-tabs.scss +39 -38
  26. package/components/_ac-tags.scss +116 -116
  27. package/components/_ac-terminal.scss +95 -51
  28. package/components/_add-card.scss +3 -3
  29. package/components/_all.scss +31 -28
  30. package/components/_app-drawer.scss +0 -134
  31. package/components/_breadcumb.scss +0 -71
  32. package/components/_buttons.scss +779 -779
  33. package/components/_card-body-wrapper.scss +5 -5
  34. package/components/_dashboard-header.scss +0 -115
  35. package/components/_direct-deploy.scss +8 -8
  36. package/components/_go-to-top.scss +1 -1
  37. package/components/_image-upload.scss +3 -3
  38. package/components/_left-sidebar-menu.scss +448 -579
  39. package/components/_monaco-editor.scss +1 -1
  40. package/components/_navbar.scss +786 -752
  41. package/components/_nested-list.scss +1 -1
  42. package/components/_overview-info.scss +7 -7
  43. package/components/_overview-page.scss +4 -4
  44. package/components/_pagination.scss +106 -124
  45. package/components/_payment-card.scss +21 -21
  46. package/components/_preloader.scss +1 -1
  47. package/components/_preview-modal.scss +18 -18
  48. package/components/_pricing-table.scss +10 -10
  49. package/components/_progress-bar.scss +12 -12
  50. package/components/_subscription-card.scss +14 -14
  51. package/components/_table-of-content.scss +4 -4
  52. package/components/_tfa.scss +9 -9
  53. package/components/_widget-menu.scss +247 -247
  54. package/components/_wizard.scss +82 -82
  55. package/components/ac-toaster/_ac-toasted.scss +1 -1
  56. package/components/bbum/_activities-header.scss +1 -1
  57. package/components/bbum/_card-team.scss +12 -12
  58. package/components/bbum/_information-center.scss +13 -13
  59. package/components/bbum/_left-sidebar.scss +8 -8
  60. package/components/bbum/_mobile-desktop.scss +7 -7
  61. package/components/bbum/_post.scss +5 -5
  62. package/components/bbum/_sign-up-notification.scss +10 -10
  63. package/components/bbum/_single-post-preview.scss +21 -21
  64. package/components/bbum/_user-profile.scss +10 -10
  65. package/components/ui-builder/_ui-builder.scss +15 -15
  66. package/components/ui-builder/_vue-open-api.scss +514 -2
  67. package/layouts/_code-preview.scss +11 -11
  68. package/main.scss +26 -10
  69. package/package.json +1 -1
  70. package/vue-components/plugins/time-convert.js +49 -0
  71. package/vue-components/text.vue +1 -0
  72. package/vue-components/types/cluster.ts +6 -0
  73. package/vue-components/types/longRunningTasks.ts +20 -0
  74. package/vue-components/types/notification.ts +6 -0
  75. package/vue-components/types/previewYaml.ts +8 -0
  76. package/vue-components/types/table.ts +54 -0
  77. package/vue-components/types/theme.ts +10 -0
  78. package/vue-components/types/user.ts +22 -0
  79. package/vue-components/v2/card/Card.vue +1 -1
  80. package/vue-components/v2/card/OverviewCards.vue +17 -2
  81. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +21 -21
  82. package/vue-components/v2/icons/Ellipsis.vue +2 -1
  83. package/vue-components/v2/modal/Modal.vue +0 -5
  84. package/vue-components/v2/navbar/Appdrawer.vue +37 -12
  85. package/vue-components/v2/navbar/Navbar.vue +3 -3
  86. package/vue-components/v2/navbar/NavbarItem.vue +3 -1
  87. package/vue-components/v2/navbar/NavbarItemContent.vue +1 -1
  88. package/vue-components/v2/navbar/User.vue +5 -22
  89. package/vue-components/v2/pagination/Pagination.vue +65 -0
  90. package/vue-components/v2/sidebar/SidebarItem.vue +10 -7
  91. package/vue-components/v3/accordion/Accordion.vue +151 -0
  92. package/vue-components/v3/alert/Alert.vue +238 -0
  93. package/vue-components/v3/alert/Toast.vue +79 -0
  94. package/vue-components/v3/banner/Banner.vue +10 -0
  95. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +104 -0
  96. package/vue-components/v3/button/Button.vue +831 -58
  97. package/vue-components/v3/button/Buttons.vue +6 -0
  98. package/vue-components/v3/button/DownloadBtn.vue +31 -0
  99. package/vue-components/v3/cards/Card.vue +32 -0
  100. package/vue-components/v3/cards/CardContent.vue +7 -0
  101. package/vue-components/v3/cards/CardHeader.vue +14 -0
  102. package/vue-components/v3/cards/Cards.vue +7 -0
  103. package/vue-components/v3/cards/Cluster.vue +150 -0
  104. package/vue-components/v3/cards/Counter.vue +27 -0
  105. package/vue-components/v3/cards/FeatureCard.vue +40 -0
  106. package/vue-components/v3/cards/FeatureCards.vue +6 -0
  107. package/vue-components/v3/cards/InfoCard.vue +248 -0
  108. package/vue-components/v3/cards/Monitoring.vue +94 -0
  109. package/vue-components/v3/cards/OverviewCard.vue +24 -0
  110. package/vue-components/v3/cards/OverviewCards.vue +31 -0
  111. package/vue-components/v3/cards/Payment.vue +62 -0
  112. package/vue-components/v3/cards/Vendor.vue +23 -0
  113. package/vue-components/v3/content/ContentHeader.vue +39 -30
  114. package/vue-components/v3/content/ContentLayout.vue +20 -0
  115. package/vue-components/v3/content/ContentTable.vue +37 -61
  116. package/vue-components/v3/dropdown/DropdownDivider.vue +2 -0
  117. package/vue-components/v3/dropdown/DropdownItem.vue +2 -0
  118. package/vue-components/v3/dropdown/DropdownMenu.vue +85 -91
  119. package/vue-components/v3/editor/Editor.vue +100 -113
  120. package/vue-components/v3/editor/FilteredFileEditor.vue +124 -127
  121. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +70 -94
  122. package/vue-components/v3/footer/FooterArea.vue +34 -0
  123. package/vue-components/v3/footer/FooterItem.vue +32 -0
  124. package/vue-components/v3/footer/FooterItems.vue +15 -0
  125. package/vue-components/v3/footer/Info.vue +23 -0
  126. package/vue-components/v3/footer/Status.vue +42 -0
  127. package/vue-components/v3/footer/Usage.vue +44 -0
  128. package/vue-components/v3/form/Form.vue +24 -33
  129. package/vue-components/v3/form/FormFooterControl.vue +7 -0
  130. package/vue-components/v3/form/FormFooterControls.vue +7 -0
  131. package/vue-components/v3/form-fields/AcSingleInput.vue +520 -0
  132. package/vue-components/v3/form-fields/Input.vue +19 -14
  133. package/vue-components/v3/header/Header.vue +117 -24
  134. package/vue-components/v3/header/HeaderItem.vue +18 -0
  135. package/vue-components/v3/header/HeaderItems.vue +4 -0
  136. package/vue-components/v3/icons/Ellipsis.vue +2 -0
  137. package/vue-components/v3/loaders/ResourceLoader.vue +4 -12
  138. package/vue-components/v3/loaders/SidebarLoader.vue +4 -12
  139. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +17 -15
  140. package/vue-components/v3/modal/Modal.vue +292 -96
  141. package/vue-components/v3/modals/DeleteConfirmationModal.vue +37 -50
  142. package/vue-components/v3/modals/JsonShowModal.vue +62 -68
  143. package/vue-components/v3/modals/LongRunningTasksModal.vue +145 -143
  144. package/vue-components/v3/navbar/Appdrawer.vue +196 -51
  145. package/vue-components/v3/navbar/Navbar.vue +296 -0
  146. package/vue-components/v3/navbar/NavbarItem.vue +81 -0
  147. package/vue-components/v3/navbar/NavbarItemContent.vue +284 -0
  148. package/vue-components/v3/navbar/Notification.vue +179 -0
  149. package/vue-components/v3/navbar/ThemeMode.vue +128 -112
  150. package/vue-components/v3/navbar/User.vue +383 -268
  151. package/vue-components/v3/notification/AlertBox.vue +39 -42
  152. package/vue-components/v3/notification/Notification.vue +49 -43
  153. package/vue-components/v3/notification/NotificationItem.vue +51 -19
  154. package/vue-components/v3/option-dots/Options.vue +188 -0
  155. package/vue-components/v3/pagination/Pagination.vue +203 -99
  156. package/vue-components/v3/preloader/Preloader.vue +23 -0
  157. package/vue-components/v3/searchbars/SearchBar.vue +51 -34
  158. package/vue-components/v3/sidebar/AccentColorPicker.vue +97 -0
  159. package/vue-components/v3/sidebar/ClusterSwitcher.vue +834 -81
  160. package/vue-components/v3/sidebar/Sidebar.vue +271 -0
  161. package/vue-components/v3/sidebar/SidebarBody.vue +7 -0
  162. package/vue-components/v3/sidebar/SidebarFooter.vue +80 -0
  163. package/vue-components/v3/sidebar/SidebarHeader.vue +124 -0
  164. package/vue-components/v3/sidebar/SidebarItem.vue +62 -0
  165. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +101 -104
  166. package/vue-components/v3/sidebar/SidebarMenuList.vue +9 -0
  167. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +128 -0
  168. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +29 -0
  169. package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +99 -0
  170. package/vue-components/v3/tab/TabItem.vue +10 -12
  171. package/vue-components/v3/tab/Tabs.vue +9 -0
  172. package/vue-components/v3/tab/TabsBody.vue +7 -0
  173. package/vue-components/v3/table/EmptyTableInfo.vue +8 -0
  174. package/vue-components/v3/table/FakeTableCell.vue +22 -31
  175. package/vue-components/v3/table/InfoTable.vue +85 -59
  176. package/vue-components/v3/table/MultiInfoTable.vue +72 -95
  177. package/vue-components/v3/table/Table.vue +582 -151
  178. package/vue-components/v3/table/TableCell.vue +20 -23
  179. package/vue-components/v3/table/TableContainer.vue +50 -28
  180. package/vue-components/v3/table/TableRow.vue +63 -85
  181. package/vue-components/v3/table/table-cell/ArrayCell.vue +67 -79
  182. package/vue-components/v3/table/table-cell/CellValue.vue +97 -103
  183. package/vue-components/v3/table/table-cell/GenericCell.vue +43 -42
  184. package/vue-components/v3/table/table-cell/ObjectCell.vue +67 -79
  185. package/vue-components/v3/table/table-cell/ValueWithModal.vue +22 -31
  186. package/vue-components/v3/tabs/EditorTabs.vue +18 -24
  187. package/vue-components/v3/tag/Tag.vue +15 -12
  188. package/vue-components/v3/tag/Tags.vue +7 -0
  189. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +26 -23
  190. package/base/utilities/_derived-variables.scss +0 -25
  191. package/base/utilities/_initial-variables.scss +0 -215
  192. package/components/_basic-card.scss +0 -128
  193. package/mixins/stickyContent.js +0 -141
  194. package/plugins/caching.ts +0 -243
@@ -0,0 +1,284 @@
1
+ <script setup lang="ts"></script>
2
+
3
+ <template>
4
+ <div class="ac-menu-content">
5
+ <slot />
6
+ </div>
7
+ </template>
8
+
9
+ <style lang="scss" scoped>
10
+ .ac-menu-content {
11
+ position: absolute;
12
+ right: 0;
13
+ top: 80px;
14
+ // box-shadow: $ac-shadow-1;
15
+ min-width: 180px;
16
+ opacity: 0;
17
+ visibility: hidden;
18
+ transition: 0.3s ease-in;
19
+ width: 260px;
20
+
21
+ // &.theme-choice {
22
+ // left: 0;
23
+ // }
24
+
25
+ &.quick-access {
26
+ background-color: $white-100;
27
+ padding: 20px;
28
+ min-width: 260px !important;
29
+ max-height: 250px;
30
+ overflow-y: auto;
31
+ border-radius: 4px;
32
+
33
+ .header {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ align-items: center;
37
+ border-bottom: 1px solid $primary-90;
38
+ padding-bottom: 20px;
39
+
40
+ p {
41
+ font-size: 13px;
42
+ color: $primary-10;
43
+ }
44
+
45
+ button {
46
+ background-color: transparent;
47
+ border: none;
48
+ cursor: pointer;
49
+ color: $primary-20;
50
+ }
51
+ }
52
+
53
+ .body-content {
54
+ margin-top: 20px;
55
+
56
+ p {
57
+ font-size: 13px;
58
+ color: $primary-10;
59
+ }
60
+
61
+ .organizations {
62
+ .organization {
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: space-between;
66
+ padding: 5px 0;
67
+
68
+ .org-info {
69
+ display: flex;
70
+ align-items: center;
71
+
72
+ img {
73
+ max-width: 30px;
74
+ margin-right: 10px;
75
+ object-fit: cover;
76
+ }
77
+ }
78
+
79
+ .remove {
80
+ border: none;
81
+ padding: 0;
82
+ font-size: 11px;
83
+ color: #eb5757;
84
+ background-color: transparent;
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+
91
+ &::-webkit-scrollbar {
92
+ width: 7px;
93
+ }
94
+
95
+ /* Track */
96
+ &::-webkit-scrollbar-track {
97
+ background-color: #d1d4de;
98
+ border-radius: 10px;
99
+ }
100
+
101
+ /* Handle */
102
+ &::-webkit-scrollbar-thumb {
103
+ background-color: $primary-80;
104
+ border-radius: 10px;
105
+ }
106
+
107
+ /* Handle on hover */
108
+ &::-webkit-scrollbar-thumb:hover {
109
+ background-color: $primary-80;
110
+ }
111
+
112
+ // &:last-child {
113
+ // right: 0;
114
+ // }
115
+
116
+ &.is-notification {
117
+ right: 0;
118
+ background-color: $white-100;
119
+ box-shadow: 0px 4px 8px rgba(84, 101, 126, 0.2);
120
+ border-radius: 4px;
121
+ min-width: 330px;
122
+ max-height: 400px;
123
+ overflow-y: auto;
124
+
125
+ .notification-header {
126
+ padding: 20px 20px 6px 20px;
127
+ display: flex;
128
+ justify-content: space-between;
129
+ align-items: baseline;
130
+
131
+ .left-content {
132
+ p {
133
+ font-weight: 500;
134
+ font-size: 13px;
135
+ line-height: 19px;
136
+ margin-bottom: 15px;
137
+
138
+ span {
139
+ font-weight: normal;
140
+ }
141
+
142
+ &.date {
143
+ font-size: 11px;
144
+ line-height: 14px;
145
+ font-weight: normal;
146
+ margin-bottom: 0;
147
+ }
148
+ }
149
+ }
150
+
151
+ .right-content {
152
+ .button {
153
+ border: none;
154
+ margin: 0;
155
+ padding: 10px;
156
+ font-size: 13px;
157
+
158
+ &.is-active {
159
+ background-color: $primary;
160
+ color: $white-100;
161
+
162
+ img {
163
+ filter: brightness(100);
164
+ }
165
+ }
166
+
167
+ &:hover {
168
+ background-color: $primary;
169
+ color: $white-100;
170
+
171
+ img {
172
+ filter: brightness(100);
173
+ }
174
+ }
175
+ }
176
+ }
177
+ }
178
+
179
+ .notification-body {
180
+ .single-notification-item {
181
+ display: block;
182
+ border-top: 1px solid $primary-90;
183
+ padding: 15px 20px;
184
+ font-weight: 500;
185
+
186
+ &.is-complete {
187
+ font-weight: 400;
188
+ }
189
+
190
+ &:hover {
191
+ background-color: #d1e3f2;
192
+ }
193
+
194
+ p {
195
+ color: $primary-10;
196
+ font-size: 11px;
197
+ }
198
+
199
+ .notification-status {
200
+ margin-top: 10px;
201
+ display: flex;
202
+ align-items: center;
203
+ justify-content: space-between;
204
+
205
+ p {
206
+ font-size: 11px;
207
+ color: $primary-20;
208
+
209
+ &.is-success {
210
+ color: $success;
211
+ }
212
+
213
+ &.is-danger {
214
+ color: $danger;
215
+ }
216
+
217
+ &.is-warning {
218
+ color: $warning;
219
+ }
220
+ }
221
+ }
222
+ }
223
+ }
224
+
225
+ .see-all-message {
226
+ border-top: 1px solid $primary-90;
227
+ text-align: center;
228
+ font-weight: 500;
229
+ font-size: 13px;
230
+ color: $primary-10;
231
+ display: block;
232
+ padding: 10px 20px;
233
+ }
234
+ }
235
+
236
+ ul {
237
+ background-color: $white-100;
238
+ padding: 0;
239
+ // border-radius: 4px;
240
+ overflow: hidden;
241
+
242
+ li {
243
+ a {
244
+ display: block;
245
+ padding: 8px 15px;
246
+ color: $primary-10;
247
+ transition: 0.3s ease-in-out;
248
+ font-size: 13px;
249
+
250
+ &:hover {
251
+ background-color: $primary-95;
252
+
253
+ p {
254
+ color: $primary !important;
255
+ }
256
+ }
257
+ }
258
+ }
259
+ }
260
+ }
261
+
262
+ .ac-menu-item {
263
+ &:hover {
264
+ .ac-menu-content {
265
+ opacity: 1;
266
+ visibility: visible;
267
+ top: 40px;
268
+
269
+ &::after {
270
+ position: absolute;
271
+ content: "";
272
+ right: 38px;
273
+ top: -6px;
274
+ background-color: $white-100;
275
+ width: 15px;
276
+ height: 15px;
277
+ transform: rotate(45deg);
278
+ box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.16);
279
+ z-index: -1;
280
+ }
281
+ }
282
+ }
283
+ }
284
+ </style>
@@ -0,0 +1,179 @@
1
+ <script setup lang="ts">
2
+ import { defineAsyncComponent } from "vue";
3
+ import TimeConvert from "../../plugins/time-convert";
4
+ import type { Notification } from "../../types/notification";
5
+ const NavbarItem = defineAsyncComponent(() => import("./NavbarItem.vue"));
6
+ const NavbarItemContent = defineAsyncComponent(
7
+ () => import("./NavbarItemContent.vue")
8
+ );
9
+ defineProps<{
10
+ notifications: Notification[];
11
+ }>();
12
+
13
+ function notificationTime(time: number) {
14
+ return TimeConvert.getDayDifferences({ past: time });
15
+ }
16
+ </script>
17
+ <template>
18
+ <navbar-item v-if="true">
19
+ <template #navbar-item>
20
+ <svg
21
+ width="16"
22
+ height="16"
23
+ viewBox="0 0 16 16"
24
+ fill="none"
25
+ xmlns="http://www.w3.org/2000/svg"
26
+ >
27
+ <g clip-path="url(#clip0_534_14009)">
28
+ <path
29
+ d="M9.15331 14C9.03611 14.2021 8.86787 14.3698 8.66546 14.4864C8.46305 14.603 8.23357 14.6643 7.99998 14.6643C7.76639 14.6643 7.53691 14.603 7.3345 14.4864C7.13208 14.3698 6.96385 14.2021 6.84665 14M14.6666 11.3334H1.33331C1.86375 11.3334 2.37245 11.1227 2.74753 10.7476C3.1226 10.3725 3.33331 9.86381 3.33331 9.33337V6.00004C3.33331 4.76236 3.82498 3.57538 4.70015 2.70021C5.57532 1.82504 6.7623 1.33337 7.99998 1.33337C9.23766 1.33337 10.4246 1.82504 11.2998 2.70021C12.175 3.57538 12.6666 4.76236 12.6666 6.00004V9.33337C12.6666 9.86381 12.8774 10.3725 13.2524 10.7476C13.6275 11.1227 14.1362 11.3334 14.6666 11.3334Z"
30
+ stroke="#061B2D"
31
+ stroke-width="1.5"
32
+ stroke-linecap="round"
33
+ stroke-linejoin="round"
34
+ />
35
+ </g>
36
+ <defs>
37
+ <clipPath id="clip0_534_14009">
38
+ <rect width="16" height="16" fill="white" />
39
+ </clipPath>
40
+ </defs>
41
+ </svg>
42
+ </template>
43
+
44
+ <template #navbar-content>
45
+ <navbar-item-content
46
+ class="navbar-dropdown-wrapper"
47
+ style="width: 320px; right: -30px"
48
+ >
49
+ <div class="dropdown-inner">
50
+ <div class="notification-header">
51
+ <h5>Notification</h5>
52
+ <span>{{ notifications.length }}</span>
53
+ </div>
54
+
55
+ <div class="notification-body">
56
+ <a
57
+ v-for="data in notifications"
58
+ href="#"
59
+ class="single-notification"
60
+ :key="data.id"
61
+ >
62
+ <!-- <span class="round-icon">Z</span> -->
63
+ <div class="notification-content">
64
+ <h6>{{ data.msg }}</h6>
65
+ <p>{{ data.status }}</p>
66
+ </div>
67
+ <span>{{ notificationTime(data.time) }}</span>
68
+ </a>
69
+
70
+ <a
71
+ v-if="!notifications.length"
72
+ href="#"
73
+ class="single-notification"
74
+ >
75
+ <!-- <span class="round-icon">Y</span> -->
76
+ <div class="notification-content">
77
+ <h6>No New Notification</h6>
78
+ <p></p>
79
+ </div>
80
+ <span> </span>
81
+ </a>
82
+ </div>
83
+
84
+ <div class="notification-footer">
85
+ <button class="">See More</button>
86
+ </div>
87
+ </div>
88
+ </navbar-item-content>
89
+ </template>
90
+ </navbar-item>
91
+ </template>
92
+
93
+ <style lang="scss" scoped>
94
+ .dropdown-inner {
95
+ border-radius: 4px;
96
+ overflow: hidden;
97
+ background-color: $white-100;
98
+ border: 1px solid $primary-90;
99
+ }
100
+ .notification-header {
101
+ display: flex;
102
+ align-items: center;
103
+ justify-content: space-between;
104
+ border-bottom: 1px solid $primary-90;
105
+ padding: 8px 16px;
106
+ h5 {
107
+ color: $primary-5;
108
+ }
109
+ span {
110
+ display: flex;
111
+ color: $primary-30;
112
+ padding: 2px 8px;
113
+ border-radius: 4px;
114
+ background-color: $primary-95;
115
+ }
116
+ }
117
+ .notification-body {
118
+ a {
119
+ display: flex;
120
+ color: $primary-20;
121
+ padding: 16px;
122
+ border-bottom: 1px solid $primary-95;
123
+ transition: 0.3s ease-in-out;
124
+ justify-content: space-between;
125
+
126
+ &:hover {
127
+ background-color: $primary-97;
128
+ }
129
+ .round-icon {
130
+ width: 36px;
131
+ height: 36px;
132
+ background-color: $primary-95;
133
+ color: $primary;
134
+ font-size: 14px;
135
+ display: flex;
136
+ align-items: center;
137
+ justify-content: center;
138
+ border-radius: 50%;
139
+ margin-right: 8px;
140
+ line-height: 1;
141
+ font-weight: 500;
142
+ }
143
+
144
+ .notification-content {
145
+ width: calc(100% - 100px);
146
+ h6 {
147
+ font-size: 14px;
148
+ font-weight: 500;
149
+ }
150
+
151
+ p {
152
+ font-size: 12px;
153
+ }
154
+ }
155
+
156
+ span {
157
+ font-size: 11px;
158
+ color: $primary-30;
159
+ }
160
+ }
161
+ }
162
+ .notification-footer {
163
+ button {
164
+ background-color: transparent;
165
+ border: none;
166
+ display: flex;
167
+ align-items: center;
168
+ justify-content: center;
169
+ width: 100%;
170
+ padding: 8px;
171
+ color: $primary;
172
+ cursor: pointer;
173
+ transition: 0.3s ease-in-out;
174
+ &:hover {
175
+ text-decoration: underline;
176
+ }
177
+ }
178
+ }
179
+ </style>