@appscode/design-system 2.0.18 → 2.0.19-alpha.10

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 (160) hide show
  1. package/main.scss +4 -18
  2. package/package.json +1 -1
  3. package/{base → vue-components/styles/base}/utilities/_grid.scss +1 -1
  4. package/vue-components/styles/components/_accordion.scss +117 -0
  5. package/vue-components/styles/components/_add-card.scss +70 -0
  6. package/vue-components/styles/components/_all.scss +38 -0
  7. package/vue-components/styles/components/_breadcrumb.scss +32 -0
  8. package/vue-components/styles/components/_button.scss +110 -0
  9. package/vue-components/styles/components/_card-body-wrapper.scss +54 -0
  10. package/vue-components/styles/components/_direct-deploy.scss +69 -0
  11. package/vue-components/styles/components/_dropdown.scss +32 -0
  12. package/vue-components/styles/components/_modal.scss +216 -0
  13. package/vue-components/styles/components/_options.scss +134 -0
  14. package/vue-components/styles/components/_table.scss +430 -0
  15. package/vue-components/styles/components/_tabs.scss +338 -0
  16. package/vue-components/styles/components/alert/_alert-message.scss +16 -0
  17. package/vue-components/styles/components/alert/_alert.scss +123 -0
  18. package/vue-components/styles/components/alert/_all.scss +3 -0
  19. package/vue-components/styles/components/alert/_toast.scss +50 -0
  20. package/vue-components/styles/components/cards/_all.scss +8 -0
  21. package/vue-components/styles/components/cards/_cluster.scss +97 -0
  22. package/vue-components/styles/components/cards/_features.scss +26 -0
  23. package/vue-components/styles/components/cards/_info.scss +83 -0
  24. package/vue-components/styles/components/cards/_monitoring.scss +24 -0
  25. package/vue-components/styles/components/cards/_org.scss +59 -0
  26. package/vue-components/styles/components/cards/_vendor.scss +58 -0
  27. package/vue-components/styles/components/content/_all.scss +2 -0
  28. package/vue-components/styles/components/content/_content-header.scss +14 -0
  29. package/vue-components/styles/components/content/_content-layout.scss +4 -0
  30. package/vue-components/styles/components/editor/_all.scss +2 -0
  31. package/vue-components/styles/components/editor/_filtered-file-editor.scss +195 -0
  32. package/vue-components/styles/components/footer/_all.scss +3 -0
  33. package/vue-components/styles/components/footer/_footer-area.scss +26 -0
  34. package/vue-components/styles/components/footer/_footer-item.scss +14 -0
  35. package/vue-components/styles/components/footer/_footer-items.scss +5 -0
  36. package/vue-components/styles/components/form-fields/_all.scss +4 -0
  37. package/vue-components/styles/components/form-fields/_file-upload.scss +42 -0
  38. package/vue-components/styles/components/form-fields/_form-footer.scss +9 -0
  39. package/{components → vue-components/styles/components/form-fields}/_input.scss +47 -32
  40. package/vue-components/styles/components/header/_header-item.scss +13 -0
  41. package/vue-components/styles/components/header/_header.scss +7 -0
  42. package/vue-components/styles/components/navbar/_all.scss +2 -0
  43. package/vue-components/styles/components/navbar/_menu-content.scss +527 -0
  44. package/vue-components/styles/components/navbar/_navbar.scss +73 -0
  45. package/vue-components/styles/components/navbar/_notification.scss +103 -0
  46. package/vue-components/styles/components/select-box/_ac-select-box.scss +49 -0
  47. package/vue-components/styles/components/select-box/_all.scss +2 -0
  48. package/vue-components/styles/components/sidebar/_all.scss +1 -0
  49. package/vue-components/styles/components/sidebar/_left-sidebar.scss +222 -0
  50. package/{components → vue-components/styles/components}/ui-builder/_ui-builder.scss +6 -39
  51. package/vue-components/v3/accordion/Accordion.vue +1 -117
  52. package/vue-components/v3/alert/Alert.vue +1 -218
  53. package/vue-components/v3/alert/AlertMessage.vue +46 -0
  54. package/vue-components/v3/alert/Toast.vue +1 -50
  55. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +1 -33
  56. package/vue-components/v3/button/Button.vue +2 -63
  57. package/vue-components/v3/button/Buttons.vue +0 -8
  58. package/vue-components/v3/cards/Cluster.vue +2 -93
  59. package/vue-components/v3/cards/FeatureCard.vue +1 -25
  60. package/vue-components/v3/cards/FeatureCards.vue +5 -1
  61. package/vue-components/v3/cards/InfoCard.vue +1 -80
  62. package/vue-components/v3/cards/Monitoring.vue +1 -24
  63. package/vue-components/v3/cards/OrgCard.vue +1 -59
  64. package/vue-components/v3/cards/Payment.vue +3 -0
  65. package/vue-components/v3/cards/Vendor.vue +2 -58
  66. package/vue-components/v3/content/ContentHeader.vue +1 -14
  67. package/vue-components/v3/content/ContentLayout.vue +1 -7
  68. package/vue-components/v3/dropdown/DropdownAction.vue +1 -32
  69. package/vue-components/v3/editor/FilteredFileEditor.vue +2 -196
  70. package/vue-components/v3/footer/FooterArea.vue +2 -27
  71. package/vue-components/v3/footer/FooterItem.vue +1 -15
  72. package/vue-components/v3/footer/FooterItems.vue +2 -7
  73. package/vue-components/v3/form/FormFooter.vue +1 -9
  74. package/vue-components/v3/form-fields/AcSingleInput.vue +3 -1
  75. package/vue-components/v3/form-fields/FileUpload.vue +1 -42
  76. package/vue-components/v3/header/Header.vue +1 -7
  77. package/vue-components/v3/header/HeaderItem.vue +1 -13
  78. package/vue-components/v3/modal/Modal.vue +1 -216
  79. package/vue-components/v3/navbar/Appdrawer.vue +1 -121
  80. package/vue-components/v3/navbar/Navbar.vue +2 -92
  81. package/vue-components/v3/navbar/NavbarItem.vue +0 -65
  82. package/vue-components/v3/navbar/NavbarItemContent.vue +0 -275
  83. package/vue-components/v3/navbar/Notification.vue +1 -103
  84. package/vue-components/v3/navbar/User.vue +6 -175
  85. package/vue-components/v3/option-dots/Options.vue +1 -144
  86. package/vue-components/v3/sidebar/ClusterSwitcher.vue +3 -1
  87. package/vue-components/v3/sidebar/Sidebar.vue +1 -201
  88. package/vue-components/v3/tab/Tabs.vue +1 -24
  89. package/vue-components/v3/table/Table.vue +1 -453
  90. package/components/_ac-alert-box.scss +0 -205
  91. package/components/_ac-content-layout.scss +0 -165
  92. package/components/_ac-modal.scss +0 -212
  93. package/components/_ac-options.scss +0 -122
  94. package/components/_ac-select-box.scss +0 -49
  95. package/components/_ac-table.scss +0 -503
  96. package/components/_ac-tabs.scss +0 -313
  97. package/components/_accordion.scss +0 -117
  98. package/components/_add-card.scss +0 -70
  99. package/components/_all.scss +0 -35
  100. package/components/_buttons.scss +0 -779
  101. package/components/_card-body-wrapper.scss +0 -54
  102. package/components/_direct-deploy.scss +0 -69
  103. package/components/_left-sidebar-menu.scss +0 -482
  104. package/components/_navbar.scss +0 -786
  105. /package/{base → vue-components/styles/base}/_video-player.scss +0 -0
  106. /package/{base → vue-components/styles/base}/utilities/_all.scss +0 -0
  107. /package/{base → vue-components/styles/base}/utilities/_colors.scss +0 -0
  108. /package/{base → vue-components/styles/base}/utilities/_customize-bulma.scss +0 -0
  109. /package/{base → vue-components/styles/base}/utilities/_extended.scss +0 -0
  110. /package/{base → vue-components/styles/base}/utilities/_global.scss +0 -0
  111. /package/{base → vue-components/styles/base}/utilities/_layouts.scss +0 -0
  112. /package/{base → vue-components/styles/base}/utilities/_mixin.scss +0 -0
  113. /package/{base → vue-components/styles/base}/utilities/_spacing.scss +0 -0
  114. /package/{base → vue-components/styles/base}/utilities/_typography.scss +0 -0
  115. /package/{components → vue-components/styles/components}/_ac-calendar.scss +0 -0
  116. /package/{components → vue-components/styles/components}/_ac-code-highlight.scss +0 -0
  117. /package/{components → vue-components/styles/components}/_ac-drag.scss +0 -0
  118. /package/{components → vue-components/styles/components}/_ac-tags.scss +0 -0
  119. /package/{components → vue-components/styles/components}/_breadcumb.scss +0 -0
  120. /package/{components → vue-components/styles/components}/_dashboard-header.scss +0 -0
  121. /package/{components → vue-components/styles/components}/_getkeeper.scss +0 -0
  122. /package/{components → vue-components/styles/components}/_go-to-top.scss +0 -0
  123. /package/{components → vue-components/styles/components}/_graph.scss +0 -0
  124. /package/{components → vue-components/styles/components}/_nested-list.scss +0 -0
  125. /package/{components → vue-components/styles/components}/_overview-info.scss +0 -0
  126. /package/{components → vue-components/styles/components}/_overview-page.scss +0 -0
  127. /package/{components → vue-components/styles/components}/_pagination.scss +0 -0
  128. /package/{components → vue-components/styles/components}/_preloader.scss +0 -0
  129. /package/{components → vue-components/styles/components}/_preview-modal.scss +0 -0
  130. /package/{components → vue-components/styles/components}/_pricing-table.scss +0 -0
  131. /package/{components → vue-components/styles/components}/_progress-bar.scss +0 -0
  132. /package/{components → vue-components/styles/components}/_report.scss +0 -0
  133. /package/{components → vue-components/styles/components}/_table-of-content.scss +0 -0
  134. /package/{components → vue-components/styles/components}/_terminal.scss +0 -0
  135. /package/{components → vue-components/styles/components}/_tfa.scss +0 -0
  136. /package/{components → vue-components/styles/components}/_transitions.scss +0 -0
  137. /package/{components → vue-components/styles/components}/_widget-menu.scss +0 -0
  138. /package/{components → vue-components/styles/components}/_wizard.scss +0 -0
  139. /package/{components → vue-components/styles/components}/ac-toaster/_ac-toasted.scss +0 -0
  140. /package/{components → vue-components/styles/components}/bbum/_activities-header.scss +0 -0
  141. /package/{components → vue-components/styles/components}/bbum/_all.scss +0 -0
  142. /package/{components → vue-components/styles/components}/bbum/_card-team.scss +0 -0
  143. /package/{components → vue-components/styles/components}/bbum/_information-center.scss +0 -0
  144. /package/{components → vue-components/styles/components}/bbum/_left-sidebar.scss +0 -0
  145. /package/{components → vue-components/styles/components}/bbum/_mobile-desktop.scss +0 -0
  146. /package/{components → vue-components/styles/components}/bbum/_post.scss +0 -0
  147. /package/{components → vue-components/styles/components}/bbum/_sign-up-notification.scss +0 -0
  148. /package/{components → vue-components/styles/components}/bbum/_single-post-preview.scss +0 -0
  149. /package/{components → vue-components/styles/components}/bbum/_user-profile.scss +0 -0
  150. /package/{components → vue-components/styles/components/cards}/_payment-card.scss +0 -0
  151. /package/{components → vue-components/styles/components/cards}/_subscription-card.scss +0 -0
  152. /package/{components → vue-components/styles/components/editor}/_monaco-editor.scss +0 -0
  153. /package/{components → vue-components/styles/components/form-fields}/_image-upload.scss +0 -0
  154. /package/{components → vue-components/styles/components/form-fields}/_input-card.scss +0 -0
  155. /package/{components/_app-drawer.scss → vue-components/styles/components/header/_all.scss} +0 -0
  156. /package/{components → vue-components/styles/components/select-box}/_multi-select.scss +0 -0
  157. /package/{components → vue-components/styles/components}/ui-builder/_vue-open-api.scss +0 -0
  158. /package/{layouts → vue-components/styles/layouts}/_404.scss +0 -0
  159. /package/{layouts → vue-components/styles/layouts}/_all.scss +0 -0
  160. /package/{layouts → vue-components/styles/layouts}/_code-preview.scss +0 -0
@@ -63,7 +63,7 @@ const NavbarItemContent = defineAsyncComponent(
63
63
  </template>
64
64
  <template #navbar-content>
65
65
  <navbar-item-content class="navbar-dropdown-wrapper" style="right: -30px">
66
- <ul class="ac-scrollbar p-0">
66
+ <ul class="ac-scrollbar p-0 app-drawer">
67
67
  <li v-for="app in apps" :key="app.url">
68
68
  <a :href="app.url">
69
69
  <article class="media">
@@ -88,123 +88,3 @@ const NavbarItemContent = defineAsyncComponent(
88
88
  </template>
89
89
  </navbar-item>
90
90
  </template>
91
-
92
- <style lang="scss" scoped>
93
- .ac-menu-content.app-drawer-dropdown {
94
- li {
95
- border-bottom: 1px solid $primary-90;
96
- }
97
- }
98
-
99
- .ac-menu-content {
100
- ul {
101
- border-radius: 4px;
102
- overflow: hidden;
103
- background-color: $white-100;
104
- border: 1px solid $primary-90;
105
- // box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
106
- max-height: calc(100vh - 100px);
107
- overflow-y: auto;
108
-
109
- li {
110
- display: block;
111
- font-size: 13px;
112
- a {
113
- display: block;
114
- color: $primary-10 !important;
115
- padding: 10px 20px !important;
116
- font-size: 13px !important;
117
- transition: 0.2s;
118
- border-bottom: 1px solid $primary-90;
119
-
120
- &:hover {
121
- background-color: $primary-97 !important;
122
- }
123
-
124
- span {
125
- margin-top: -3px;
126
- }
127
-
128
- &:hover {
129
- .media-content {
130
- .content {
131
- p {
132
- color: $primary-20;
133
- }
134
- }
135
- }
136
- }
137
-
138
- .media {
139
- .media-left {
140
- .image {
141
- img {
142
- height: 24px;
143
- width: auto;
144
- }
145
- }
146
- }
147
-
148
- .media-content {
149
- overflow: hidden;
150
-
151
- .content {
152
- p {
153
- vertical-align: middle;
154
- line-height: 1;
155
- transition: 0.3s;
156
-
157
- strong {
158
- font-weight: 600;
159
- font-size: 14px;
160
- // font-family: $font-heading;
161
- }
162
-
163
- span {
164
- display: block;
165
- font-size: 13px;
166
- margin-top: 4px;
167
- line-height: 150%;
168
- }
169
- }
170
- }
171
- }
172
- }
173
- }
174
-
175
- &:hover {
176
- > a {
177
- background-color: $white-100;
178
- }
179
- }
180
-
181
- &:first-child {
182
- &:hover {
183
- > a {
184
- border-radius: 4px 4px 0 0;
185
- }
186
- }
187
- }
188
-
189
- &:last-child {
190
- &:hover {
191
- > a {
192
- border-radius: 0 0 4px 4px;
193
- }
194
- }
195
- }
196
- }
197
- }
198
-
199
- position: absolute;
200
- z-index: 99;
201
- right: -154px;
202
- top: 50px;
203
- display: block;
204
- transition: all 0.3s ease-in-out;
205
-
206
- hr {
207
- margin: 0;
208
- }
209
- }
210
- </style>
@@ -44,96 +44,6 @@ withDefaults(defineProps<Props>(), {
44
44
  </div>
45
45
  </template>
46
46
 
47
- <style lang="scss" scoped>
48
- .ac-navbar-area {
49
- position: fixed;
50
- margin-left: 250px;
51
- width: 100%;
52
- top: 0;
53
- z-index: 999;
54
- background-color: $primary-97;
55
- border-bottom: 1px solid $primary-90;
56
-
57
- &.is-full {
58
- margin-left: 0;
59
-
60
- .ac-navbar {
61
- grid-template-columns: 250px auto auto;
62
- width: 100%;
63
- gap: 20px;
64
- .ac-navbar-brand {
65
- padding-left: 15px;
66
- }
67
- }
68
- }
69
-
70
- .ac-navbar {
71
- display: inline-grid;
72
- grid-template-columns: auto auto;
73
- // margin-left: 255px;
74
- grid-gap: 0px;
75
- align-items: center;
76
- width: calc(100% - 255px);
77
- height: 50px;
78
- // padding: 0 15px;
79
-
80
- .ac-navbar-brand {
81
- display: flex;
82
- align-items: center;
83
- .logo {
84
- font-size: 20px;
85
- font-weight: 600;
86
- color: $white-100;
87
- }
88
-
89
- img {
90
- height: 30px;
91
- }
92
- }
93
- .ac-navbar-cluster-switcher {
94
- max-width: 350px;
95
- }
96
- .ac-navbar-menu {
97
- display: flex;
98
- align-items: center;
99
- justify-content: flex-end;
100
-
101
- .ac-menu-item {
102
- position: relative;
103
- z-index: 1;
104
- }
105
- }
106
- }
107
- }
108
- // for sidebar-collapsed
109
- .sidebar-collapsed {
110
- .ac-navbar {
111
- .ac-navbar-brand {
112
- padding-left: 70px !important;
113
- }
114
- }
115
- }
116
-
117
- /****************************************
118
- Responsive Classes
119
- *****************************************/
120
- // Extra small devices (portrait phones, less than 576px)
121
- @media (max-width: 575.98px) {
122
- }
123
-
124
- // Small devices (landscape phones, 576px and up)
125
- @media (min-width: 576px) and (max-width: 767.98px) {
126
- }
127
-
128
- // Medium devices (tablets, 768px and up)
129
- @media (min-width: 768px) and (max-width: 991.98px) {
130
- }
131
-
132
- // Large devices (desktops, 992px and up)
133
- @media (min-width: 992px) and (max-width: 1199.98px) {
134
- }
135
-
136
- // Extra large devices (large desktops, 1200px and up)
137
- @media (min-width: 1200px) {
138
- }
47
+ <style lang="scss">
48
+ @import "../../../vue-components/styles/components/navbar/navbar";
139
49
  </style>
@@ -36,68 +36,3 @@ onClickOutside(navbarItem, () => (isActive.value = ""));
36
36
  <slot name="navbar-content" />
37
37
  </div>
38
38
  </template>
39
-
40
- <style lang="scss" scoped>
41
- .ac-menu-item {
42
- margin-left: 8px;
43
- position: relative;
44
-
45
- &.is-active {
46
- .ac-nav-button {
47
- &::after {
48
- background-color: $primary-90;
49
- }
50
- }
51
- }
52
-
53
- &:first-child {
54
- margin-left: 0;
55
- }
56
- &.ac-profile-button {
57
- button.button.ac-nav-button {
58
- width: 100%;
59
- background-color: transparent;
60
- border-radius: 0;
61
- font-weight: 500;
62
- border: none;
63
- &::after {
64
- border-radius: 0;
65
- border: none;
66
- background-color: transparent;
67
- }
68
- }
69
- }
70
- .ac-nav-button {
71
- width: 32px;
72
- height: 32px;
73
- border-radius: 50%;
74
- padding: 5px;
75
- transition: all 0.3s ease-in-out;
76
- position: relative;
77
- z-index: 99;
78
- user-select: none;
79
- border: 1px solid $primary-80;
80
- cursor: pointer;
81
- &:after {
82
- position: absolute;
83
- content: "";
84
- left: 0;
85
- top: 0;
86
- opacity: 1;
87
- z-index: -1;
88
- width: 100%;
89
- height: 100%;
90
- border-radius: 50%;
91
- transition: 0.3s ease-in-out;
92
- }
93
- &:focus {
94
- box-shadow: none;
95
- }
96
- &:hover {
97
- &:after {
98
- background-color: $primary-90;
99
- }
100
- }
101
- }
102
- }
103
- </style>
@@ -5,278 +5,3 @@
5
5
  <slot />
6
6
  </div>
7
7
  </template>
8
-
9
- <style lang="scss" scoped>
10
- .ac-menu-content {
11
- position: absolute;
12
- right: 0;
13
- top: 80px;
14
- min-width: 180px;
15
- opacity: 0;
16
- visibility: hidden;
17
- transition: 0.3s ease-in;
18
- width: 260px;
19
- box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
20
- 0 0px 0 1px rgba(10, 10, 10, 0.02);
21
-
22
- &.quick-access {
23
- background-color: $white-100;
24
- padding: 20px;
25
- min-width: 260px !important;
26
- max-height: 250px;
27
- overflow-y: auto;
28
- border-radius: 4px;
29
-
30
- .header {
31
- display: flex;
32
- justify-content: space-between;
33
- align-items: center;
34
- border-bottom: 1px solid $primary-90;
35
- padding-bottom: 20px;
36
-
37
- p {
38
- font-size: 13px;
39
- color: $primary-10;
40
- }
41
-
42
- button {
43
- background-color: transparent;
44
- border: none;
45
- cursor: pointer;
46
- color: $primary-20;
47
- }
48
- }
49
-
50
- .body-content {
51
- margin-top: 20px;
52
-
53
- p {
54
- font-size: 13px;
55
- color: $primary-10;
56
- }
57
-
58
- .organizations {
59
- .organization {
60
- display: flex;
61
- align-items: center;
62
- justify-content: space-between;
63
- padding: 5px 0;
64
-
65
- .org-info {
66
- display: flex;
67
- align-items: center;
68
-
69
- img {
70
- max-width: 30px;
71
- margin-right: 10px;
72
- object-fit: cover;
73
- }
74
- }
75
-
76
- .remove {
77
- border: none;
78
- padding: 0;
79
- font-size: 11px;
80
- color: $danger;
81
- background-color: transparent;
82
- }
83
- }
84
- }
85
- }
86
- }
87
-
88
- &::-webkit-scrollbar {
89
- width: 7px;
90
- }
91
-
92
- /* Track */
93
- &::-webkit-scrollbar-track {
94
- background-color: #d1d4de;
95
- border-radius: 10px;
96
- }
97
-
98
- /* Handle */
99
- &::-webkit-scrollbar-thumb {
100
- background-color: $primary-80;
101
- border-radius: 10px;
102
- }
103
-
104
- /* Handle on hover */
105
- &::-webkit-scrollbar-thumb:hover {
106
- background-color: $primary-80;
107
- }
108
-
109
- // &:last-child {
110
- // right: 0;
111
- // }
112
-
113
- &.is-notification {
114
- right: 0;
115
- background-color: $white-100;
116
- box-shadow: 0px 4px 8px rgba(84, 101, 126, 0.2);
117
- border-radius: 4px;
118
- min-width: 330px;
119
- max-height: 400px;
120
- overflow-y: auto;
121
-
122
- .notification-header {
123
- padding: 20px 20px 6px 20px;
124
- display: flex;
125
- justify-content: space-between;
126
- align-items: baseline;
127
-
128
- .left-content {
129
- p {
130
- font-weight: 500;
131
- font-size: 13px;
132
- line-height: 19px;
133
- margin-bottom: 15px;
134
-
135
- span {
136
- font-weight: normal;
137
- }
138
-
139
- &.date {
140
- font-size: 11px;
141
- line-height: 14px;
142
- font-weight: normal;
143
- margin-bottom: 0;
144
- }
145
- }
146
- }
147
-
148
- .right-content {
149
- .button {
150
- border: none;
151
- margin: 0;
152
- padding: 10px;
153
- font-size: 13px;
154
-
155
- &.is-active {
156
- background-color: $primary;
157
- color: $white-100;
158
-
159
- img {
160
- filter: brightness(100);
161
- }
162
- }
163
-
164
- &:hover {
165
- background-color: $primary;
166
- color: $white-100;
167
-
168
- img {
169
- filter: brightness(100);
170
- }
171
- }
172
- }
173
- }
174
- }
175
-
176
- .notification-body {
177
- .single-notification-item {
178
- display: block;
179
- border-top: 1px solid $primary-90;
180
- padding: 15px 20px;
181
- font-weight: 500;
182
-
183
- &.is-complete {
184
- font-weight: 400;
185
- }
186
-
187
- &:hover {
188
- background-color: #d1e3f2;
189
- }
190
-
191
- p {
192
- color: $primary-10;
193
- font-size: 11px;
194
- }
195
-
196
- .notification-status {
197
- margin-top: 10px;
198
- display: flex;
199
- align-items: center;
200
- justify-content: space-between;
201
-
202
- p {
203
- font-size: 11px;
204
- color: $primary-20;
205
-
206
- &.is-success {
207
- color: $success;
208
- }
209
-
210
- &.is-danger {
211
- color: $danger;
212
- }
213
-
214
- &.is-warning {
215
- color: $warning;
216
- }
217
- }
218
- }
219
- }
220
- }
221
-
222
- .see-all-message {
223
- border-top: 1px solid $primary-90;
224
- text-align: center;
225
- font-weight: 500;
226
- font-size: 13px;
227
- color: $primary-10;
228
- display: block;
229
- padding: 10px 20px;
230
- }
231
- }
232
-
233
- ul {
234
- background-color: $white-100;
235
- padding: 0;
236
- // border-radius: 4px;
237
- overflow: hidden;
238
-
239
- li {
240
- a {
241
- display: block;
242
- padding: 8px 15px;
243
- color: $primary-10;
244
- transition: 0.3s ease-in-out;
245
- font-size: 13px;
246
-
247
- &:hover {
248
- background-color: $primary-95;
249
-
250
- p {
251
- color: $primary !important;
252
- }
253
- }
254
- }
255
- }
256
- }
257
- }
258
-
259
- .ac-menu-item {
260
- &.is-active {
261
- .ac-menu-content {
262
- opacity: 1;
263
- visibility: visible;
264
- top: 35px;
265
- z-index: 99;
266
-
267
- &::after {
268
- position: absolute;
269
- content: "";
270
- right: 38px;
271
- top: -6px;
272
- background-color: $white-100;
273
- width: 15px;
274
- height: 15px;
275
- transform: rotate(45deg);
276
- box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.16);
277
- z-index: -1;
278
- }
279
- }
280
- }
281
- }
282
- </style>
@@ -101,107 +101,5 @@ function notificationTime(time: number) {
101
101
  </template>
102
102
 
103
103
  <style lang="scss" scoped>
104
- .notification-count {
105
- position: absolute;
106
- background-color: $primary;
107
- color: $white-100;
108
- padding: 4px;
109
- font-size: 11px;
110
- line-height: 1;
111
- border-radius: 50px;
112
- min-width: 20px;
113
- height: 20px;
114
- right: -10px;
115
- top: -8px;
116
- border: 1px solid $primary-97;
117
- opacity: 1;
118
- z-index: 9;
119
- }
120
- .dropdown-inner {
121
- border-radius: 4px;
122
- overflow: hidden;
123
- background-color: $white-100;
124
- border: 1px solid $primary-90;
125
- }
126
- .notification-header {
127
- display: flex;
128
- align-items: center;
129
- justify-content: space-between;
130
- border-bottom: 1px solid $primary-90;
131
- padding: 8px 16px;
132
- h5 {
133
- color: $primary-5;
134
- }
135
- span {
136
- display: flex;
137
- color: $primary-30;
138
- padding: 2px 8px;
139
- border-radius: 4px;
140
- background-color: $primary-95;
141
- }
142
- }
143
- .notification-body {
144
- max-height: calc(100vh - 100px);
145
- overflow-y: auto;
146
- a {
147
- display: flex;
148
- color: $primary-20;
149
- padding: 16px;
150
- border-bottom: 1px solid $primary-95;
151
- transition: 0.3s ease-in-out;
152
- justify-content: space-between;
153
-
154
- &:hover {
155
- background-color: $primary-97;
156
- }
157
- .round-icon {
158
- width: 36px;
159
- height: 36px;
160
- background-color: $primary-95;
161
- color: $primary;
162
- font-size: 14px;
163
- display: flex;
164
- align-items: center;
165
- justify-content: center;
166
- border-radius: 50%;
167
- margin-right: 8px;
168
- line-height: 1;
169
- font-weight: 500;
170
- }
171
-
172
- .notification-content {
173
- width: calc(100% - 60px);
174
- h6 {
175
- font-size: 14px;
176
- font-weight: 500;
177
- }
178
-
179
- p {
180
- font-size: 12px;
181
- }
182
- }
183
-
184
- span {
185
- font-size: 11px;
186
- color: $primary-30;
187
- }
188
- }
189
- }
190
- .notification-footer {
191
- button {
192
- background-color: transparent;
193
- border: none;
194
- display: flex;
195
- align-items: center;
196
- justify-content: center;
197
- width: 100%;
198
- padding: 8px;
199
- color: $primary;
200
- cursor: pointer;
201
- transition: 0.3s ease-in-out;
202
- &:hover {
203
- text-decoration: underline;
204
- }
205
- }
206
- }
104
+ @import "../../../vue-components/styles/components/navbar/notification";
207
105
  </style>