@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
@@ -0,0 +1,49 @@
1
+ // .ac-select-box {
2
+ // select {
3
+ // background-color: $info-light;
4
+ // border: 1px solid $primary-10;
5
+ // font-size: 13px;
6
+ // height: 42px;
7
+ // padding-left: 20px;
8
+
9
+ // option {
10
+ // box-shadow: $ac-shadow-1;
11
+ // }
12
+
13
+ // &:hover {
14
+ // border: 1px solid $black-80;
15
+ // }
16
+
17
+ // &:focus {
18
+ // outline: none;
19
+ // box-shadow: none;
20
+ // border: 1px solid $primary;
21
+ // }
22
+ // }
23
+
24
+ // &.is-small {
25
+ // select {
26
+ // height: 36px;
27
+ // padding-left: 15px;
28
+ // }
29
+
30
+ // &.select:not(.is-multiple):not(.is-loading)::after {
31
+ // top: 50%;
32
+ // margin-top: 0px;
33
+ // }
34
+ // }
35
+
36
+ // &.select:not(.is-multiple):not(.is-loading)::after {
37
+ // border-color: $primary-10;
38
+ // }
39
+ // }
40
+
41
+ // .is-dark-theme {
42
+ // .select {
43
+ // select {
44
+ // background-color: $black-80;
45
+ // color: $white-100;
46
+ // border: 1px solid $primary-90;
47
+ // }
48
+ // }
49
+ // }
@@ -0,0 +1,2 @@
1
+ @import "ac-select-box";
2
+ @import "multi-select";
@@ -0,0 +1 @@
1
+ @import "left-sidebar";
@@ -0,0 +1,222 @@
1
+ .ac-left-sidebar-wrapper {
2
+ position: fixed;
3
+ top: 0px;
4
+ z-index: 9999;
5
+ background-color: $primary-20;
6
+ width: 250px;
7
+ transition: 0.3s ease-in-out;
8
+ }
9
+
10
+ .ac-left-sidebar {
11
+ .menu-list {
12
+ &.ac-menu-list {
13
+ height: calc(100vh - 80px);
14
+ overflow-y: auto;
15
+ padding-top: 4px;
16
+ scrollbar-color: $white-100 transparent;
17
+
18
+ /* width */
19
+ &::-webkit-scrollbar {
20
+ display: none;
21
+ }
22
+
23
+ &::-webkit-scrollbar {
24
+ display: none;
25
+ }
26
+
27
+ li {
28
+ &.is-open {
29
+ a {
30
+ &.ac-dropdown-button {
31
+ .ac-arrow-down {
32
+ transform: rotate(-180deg);
33
+ transform-origin: 5px;
34
+ }
35
+ }
36
+ }
37
+
38
+ ul {
39
+ li {
40
+ a {
41
+ strong {
42
+ font-weight: 500;
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+
49
+ a {
50
+ font-style: normal;
51
+ font-weight: 500;
52
+ font-size: 13px;
53
+ line-height: 16px;
54
+ color: $primary-97;
55
+ position: relative;
56
+ z-index: 1;
57
+ padding: 10px 15px 10px 24px;
58
+ transition: 0.3s ease-in-out;
59
+ display: flex;
60
+ align-items: center;
61
+
62
+ &:after {
63
+ position: absolute;
64
+ content: "";
65
+ left: 10px;
66
+ top: 0;
67
+ width: calc(100% - 20px);
68
+ height: 100%;
69
+ background: $primary;
70
+ border-radius: 4px;
71
+ z-index: -1;
72
+ transition: 0.3s ease-in-out;
73
+ opacity: 0;
74
+ visibility: hidden;
75
+ }
76
+
77
+ strong {
78
+ max-width: calc(100% - 65px);
79
+ // line-break: anywhere;
80
+ white-space: break-spaces;
81
+ display: flex;
82
+ align-items: center;
83
+ overflow: hidden;
84
+ font-weight: 500;
85
+ transition: 0.3s ease-in-out;
86
+ text-overflow: ellipsis;
87
+ display: -webkit-box;
88
+ line-clamp: 1;
89
+ -webkit-line-clamp: 1;
90
+ box-orient: vertical;
91
+ -webkit-box-orient: vertical;
92
+ transition: 0.3s ease-in-out;
93
+ }
94
+
95
+ &.ac-dropdown-button {
96
+ user-select: none;
97
+
98
+ .ac-arrow-down {
99
+ position: absolute;
100
+ margin-right: 0;
101
+ right: 20px;
102
+ transition: transform 0.3s;
103
+ transform-origin: 4px;
104
+ color: $black-70;
105
+ }
106
+ }
107
+
108
+ &:hover {
109
+ background-color: transparent;
110
+
111
+ &:after {
112
+ color: $primary;
113
+ opacity: 0.2;
114
+ visibility: visible;
115
+ }
116
+
117
+ span {
118
+ color: $primary-97;
119
+
120
+ img {
121
+ filter: brightness(10);
122
+ }
123
+ }
124
+ }
125
+
126
+ span {
127
+ margin-right: 12px;
128
+ width: 16px;
129
+ height: 16px;
130
+ color: $black-30;
131
+ font-size: 16px;
132
+
133
+ img {
134
+ width: 100%;
135
+ filter: brightness(10);
136
+ transition: 0.3s ease-in-out;
137
+ }
138
+ }
139
+ }
140
+
141
+ ul {
142
+ max-height: 0;
143
+ transition: max-height 0.2s ease-out;
144
+ margin: 0;
145
+ padding: 0;
146
+ border-left: none;
147
+ overflow: hidden;
148
+
149
+ li {
150
+ a {
151
+ padding-left: 52px;
152
+ font-size: 12px;
153
+ padding-top: 10px;
154
+ padding-bottom: 10px;
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ a {
161
+ &.is-active {
162
+ background-color: transparent;
163
+ &::after {
164
+ opacity: 1 !important;
165
+ visibility: visible !important;
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+
172
+ .sidebar-collapsed:not(.is-hoverable) {
173
+ .ac-left-sidebar-wrapper {
174
+ width: 60px;
175
+ .ac-left-sidebar {
176
+ .menu-list {
177
+ &.ac-menu-list {
178
+ li {
179
+ a {
180
+ padding: 10px 15px;
181
+ display: flex;
182
+ align-items: center;
183
+ justify-content: center;
184
+
185
+ span {
186
+ margin: 0;
187
+ }
188
+ .ac-arrow-down {
189
+ display: none;
190
+ // change
191
+ }
192
+ strong {
193
+ opacity: 0;
194
+ visibility: hidden;
195
+ display: none;
196
+ overflow: hidden;
197
+ text-overflow: ellipsis;
198
+ display: -webkit-box;
199
+ line-clamp: 1;
200
+ -webkit-line-clamp: 1;
201
+ box-orient: vertical;
202
+ -webkit-box-orient: vertical;
203
+ transition: 0.3s ease-in-out;
204
+ // change
205
+ }
206
+ }
207
+ ul {
208
+ li {
209
+ a {
210
+ padding-left: 15px;
211
+ display: flex;
212
+ justify-content: center;
213
+ align-items: center;
214
+ }
215
+ }
216
+ }
217
+ }
218
+ }
219
+ }
220
+ }
221
+ }
222
+ }
@@ -1,4 +1,4 @@
1
- @import "../input-card";
1
+ @import "../../components/form-fields/input-card";
2
2
 
3
3
  .ac-object-field-wrapper {
4
4
  display: grid;
@@ -369,39 +369,6 @@
369
369
  }
370
370
  }
371
371
 
372
- .up-down-buttons {
373
- border-radius: 4px;
374
- overflow: hidden;
375
- position: relative;
376
- z-index: 1;
377
- max-width: 36px;
378
- margin-bottom: 0 !important;
379
- button {
380
- width: 36px;
381
- height: 18px;
382
- cursor: pointer;
383
- border: none;
384
- color: $primary;
385
- background-color: $primary-90;
386
- transition: 0.3s ease-in-out;
387
- &:hover {
388
- background-color: $primary-80;
389
- }
390
- &.is-primary {
391
- background-color: $primary;
392
- color: $white-100;
393
- &:hover {
394
- background-color: $primary-30;
395
- }
396
- }
397
- .icon {
398
- margin: 0;
399
- padding: 0;
400
- width: auto;
401
- height: auto;
402
- }
403
- }
404
- }
405
372
  // buttons
406
373
  .button {
407
374
  &.ac-button {
@@ -421,11 +388,11 @@
421
388
  }
422
389
  }
423
390
 
424
- .button[disabled] {
425
- &.is-ghost {
426
- border-color: transparent !important;
427
- }
428
- }
391
+ // .button[disabled] {
392
+ // &.is-ghost {
393
+ // border-color: transparent !important;
394
+ // }
395
+ // }
429
396
 
430
397
  p.is-error,
431
398
  span.is-error {
@@ -31,121 +31,5 @@ withDefaults(defineProps<Props>(), {
31
31
  </div>
32
32
  </template>
33
33
  <style lang="scss" scoped>
34
- .ac-accordion-wrapper {
35
- &.is-marginless {
36
- .single-accordion-item {
37
- margin: 0;
38
- padding: 0;
39
-
40
- .accordion-heading {
41
- padding: 10px 20px;
42
- position: relative;
43
- z-index: 1;
44
-
45
- &::after {
46
- position: absolute;
47
- content: "";
48
- left: 0;
49
- top: 0;
50
- width: 4px;
51
- height: 100%;
52
- background-color: $primary;
53
- }
54
- }
55
- }
56
- }
57
-
58
- .single-accordion-item {
59
- background-color: $white-100;
60
- padding: 15px 20px;
61
- margin-bottom: 15px;
62
- border-radius: 4px;
63
- border: 1px solid $primary-90;
64
-
65
- &.open {
66
- .accordion-heading {
67
- margin-bottom: 10px;
68
- }
69
- }
70
-
71
- &:last-child {
72
- margin-bottom: 0;
73
- }
74
-
75
- .accordion-heading {
76
- display: flex;
77
- align-items: center;
78
- justify-content: space-between;
79
-
80
- h3 {
81
- cursor: pointer;
82
- }
83
-
84
- button {
85
- font-size: 12px;
86
- letter-spacing: 0.1px;
87
- }
88
-
89
- .icon {
90
- width: 20px;
91
- height: 20px;
92
- border: 1px solid $primary-90;
93
- line-height: 20px;
94
- display: flex;
95
- justify-content: center;
96
- align-items: center;
97
- font-size: 10px;
98
- border-radius: 50%;
99
- cursor: pointer;
100
- }
101
- }
102
-
103
- .accordion-body {
104
- max-height: 0;
105
- transition: max-height 0.2s ease-out;
106
- overflow: hidden;
107
-
108
- p {
109
- font-size: 13px;
110
- color: $primary-20;
111
- line-height: 1.6;
112
- }
113
- }
114
- }
115
- }
116
-
117
- .overview-body {
118
- .ac-accordion-wrapper {
119
- &.is-marginless {
120
- .single-accordion-item {
121
- .accordion-heading {
122
- padding-bottom: 0;
123
- }
124
- }
125
- }
126
- }
127
- }
128
-
129
- /****************************************
130
- Responsive Classes
131
- *****************************************/
132
- // Extra small devices (portrait phones, less than 576px)
133
- @media (max-width: 575.98px) {
134
- }
135
-
136
- // Small devices (landscape phones, 576px and up)
137
- @media (min-width: 576px) and (max-width: 767.98px) {
138
- }
139
-
140
- // Medium devices (tablets, 768px and up)
141
- @media (min-width: 768px) and (max-width: 991.98px) {
142
- }
143
-
144
- // Large devices (desktops, 992px and up)
145
- @media (min-width: 992px) and (max-width: 1199.98px) {
146
- }
147
-
148
- // Extra large devices (large desktops, 1200px and up)
149
- @media (min-width: 1200px) {
150
- }
34
+ @import "../../../vue-components/styles/components/accordion";
151
35
  </style>
@@ -17,222 +17,5 @@ withDefaults(defineProps<Props>(), {
17
17
  </template>
18
18
 
19
19
  <style lang="scss" scoped>
20
- // for alert message
21
- .ac-notification {
22
- background-color: #dee7f5;
23
- font-size: 13px;
24
- color: $primary;
25
- min-height: 36px;
26
- display: flex;
27
- align-items: center;
28
- padding: 8px 16px;
29
- overflow: hidden;
30
- border: 1px solid $primary;
31
- border-radius: 4px;
32
- justify-content: flex-start;
33
- position: relative;
34
- z-index: 1;
35
- min-width: 280px;
36
-
37
- p {
38
- color: $primary;
39
-
40
- .close-icon {
41
- padding-right: 10px;
42
- font-size: 15px;
43
- }
44
-
45
- a {
46
- text-decoration: underline;
47
- color: $primary;
48
-
49
- &:hover {
50
- color: hsla(
51
- var(--hsl-hue),
52
- var(--hsl-saturation),
53
- calc(var(--hsl-lightness) - 10%),
54
- 1
55
- );
56
- }
57
- }
58
- }
59
-
60
- button.close {
61
- background-color: transparent;
62
- cursor: pointer;
63
- right: 0px;
64
- position: absolute;
65
- box-shadow: none;
66
- border: none;
67
- font-size: 14px;
68
- color: $danger;
69
- width: 40px;
70
- height: 100%;
71
- display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- }
75
- }
76
-
77
- // mixin for .ac-notification
78
- @mixin acNotification($colorName) {
79
- background-color: scale-color($color: $colorName, $lightness: 80%);
80
- color: $white-100;
81
- border-color: $colorName;
82
-
83
- p {
84
- color: $colorName;
85
-
86
- a {
87
- color: $colorName;
88
-
89
- &:hover {
90
- color: $colorName;
91
- opacity: 0.8;
92
- }
93
- }
94
- }
95
- }
96
- @mixin acPrimaryNotification() {
97
- background-color: hsla(
98
- var(--hsl-hue),
99
- var(--hsl-saturation),
100
- var(--hsl-lightness),
101
- 0.2
102
- );
103
- color: $white-100;
104
- border-color: $primary;
105
-
106
- p {
107
- color: $primary;
108
-
109
- a {
110
- color: $primary;
111
-
112
- &:hover {
113
- color: $primary;
114
- opacity: 0.8;
115
- }
116
- }
117
- }
118
- }
119
-
120
- // is-primary
121
- .ac-notification.is-primary {
122
- @include acPrimaryNotification();
123
- }
124
-
125
- // is.info
126
- .ac-notification.is-info {
127
- @include acNotification($info);
128
- }
129
-
130
- // is.success
131
- .ac-notification.is-success {
132
- @include acNotification($success);
133
- }
134
-
135
- // is-danger
136
- .ac-notification.is-danger {
137
- @include acNotification($danger);
138
- }
139
-
140
- // is-warning
141
- .ac-notification.is-warning {
142
- @include acNotification($warning);
143
- }
144
-
145
- /*====================================
146
- AC Toast
147
- =====================================*/
148
-
149
- .ac-toast {
150
- width: 350px;
151
- display: flex;
152
- align-items: center;
153
- justify-content: space-between;
154
- font-size: 13px;
155
- border-radius: 4px;
156
- position: relative;
157
- padding-right: 30px;
158
- margin-bottom: 10px;
159
-
160
- * {
161
- color: $white-100;
162
- }
163
-
164
- p {
165
- padding-left: 16px;
166
-
167
- i.fa {
168
- padding-right: 0 !important;
169
- margin-right: 4px;
170
- }
171
- }
172
-
173
- a {
174
- font-weight: 500;
175
- text-decoration: underline;
176
- padding: 0 15px;
177
-
178
- &:hover {
179
- color: $black-70;
180
- }
181
- }
182
-
183
- button.close-button {
184
- border-radius: 0px;
185
- background-color: transparent;
186
- border: none;
187
- color: $white-100;
188
- position: absolute;
189
- right: 0;
190
- top: 0;
191
- padding: 5px;
192
- height: 100%;
193
- width: 30px;
194
- z-index: 1;
195
- cursor: pointer;
196
- border-left: 1px solid #dddddd;
197
- }
198
- }
199
-
200
- // mixin for .ac-toast
201
- @mixin acToast($colorName) {
202
- background-color: $colorName;
203
- color: $white-100;
204
- border-color: $colorName;
205
- }
206
-
207
- // is-primary
208
- .ac-toast.is-primary {
209
- @include acToast($primary);
210
- }
211
-
212
- // is-info
213
- .ac-toast.is-info {
214
- @include acToast($info);
215
- }
216
-
217
- // is.success
218
- .ac-toast.is-success {
219
- @include acToast($success);
220
- }
221
-
222
- // is-danger
223
- .ac-toast.is-danger {
224
- @include acToast($danger);
225
- }
226
-
227
- // is-warning
228
- .ac-toast.is-warning {
229
- @include acToast($warning);
230
- }
231
-
232
- // dark theme start
233
- // .is-dark-theme {
234
- // .ac-notification.is-danger {
235
- // background-color: $black-80;
236
- // }
237
- // }
20
+ @import "../../../vue-components/styles/components/alert/alert";
238
21
  </style>