@appscode/design-system 1.1.0 → 2.0.1

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 (215) hide show
  1. package/base/_video-player.scss +65 -0
  2. package/base/utilities/_all.scss +7 -5
  3. package/base/utilities/_colors.scss +377 -0
  4. package/base/utilities/_customize-bulma.scss +23 -27
  5. package/base/utilities/_extended.scss +39 -0
  6. package/base/utilities/{_default.scss → _global.scss} +192 -333
  7. package/base/utilities/_layouts.scss +19 -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/components/_ac-alert-box.scss +205 -263
  12. package/components/_ac-calendar.scss +4 -4
  13. package/components/_ac-code-highlight.scss +13 -16
  14. package/components/_ac-content-layout.scss +165 -165
  15. package/components/_ac-drag.scss +13 -13
  16. package/components/_ac-modal.scss +212 -212
  17. package/components/_ac-options.scss +122 -123
  18. package/components/_ac-select-box.scss +10 -10
  19. package/components/_ac-table.scss +503 -502
  20. package/components/_ac-tabs.scss +65 -61
  21. package/components/_ac-tags.scss +116 -116
  22. package/components/_accordion.scss +117 -0
  23. package/components/_add-card.scss +3 -3
  24. package/components/_all.scss +35 -28
  25. package/components/_app-drawer.scss +0 -134
  26. package/components/_breadcumb.scss +0 -71
  27. package/components/_buttons.scss +779 -779
  28. package/components/_card-body-wrapper.scss +5 -5
  29. package/components/_dashboard-header.scss +0 -115
  30. package/components/_direct-deploy.scss +8 -8
  31. package/components/_getkeeper.scss +110 -0
  32. package/components/_go-to-top.scss +1 -1
  33. package/components/_graph.scss +10 -10
  34. package/components/_image-upload.scss +9 -9
  35. package/components/_input-card.scss +232 -0
  36. package/components/_input.scss +573 -0
  37. package/components/_left-sidebar-menu.scss +452 -587
  38. package/components/_monaco-editor.scss +2 -2
  39. package/components/{_ac-multi-select.scss → _multi-select.scss} +89 -251
  40. package/components/_navbar.scss +786 -752
  41. package/components/_nested-list.scss +3 -3
  42. package/components/_overview-info.scss +10 -10
  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 +14 -14
  49. package/components/_progress-bar.scss +73 -86
  50. package/components/_subscription-card.scss +22 -24
  51. package/components/_table-of-content.scss +8 -8
  52. package/components/{_ac-terminal.scss → _terminal.scss} +114 -81
  53. package/components/_tfa.scss +9 -9
  54. package/components/_transitions.scss +35 -0
  55. package/components/_widget-menu.scss +252 -257
  56. package/components/_wizard.scss +518 -793
  57. package/components/ac-toaster/_ac-toasted.scss +11 -16
  58. package/components/bbum/_activities-header.scss +1 -1
  59. package/components/bbum/_card-team.scss +12 -12
  60. package/components/bbum/_information-center.scss +21 -23
  61. package/components/bbum/_left-sidebar.scss +8 -8
  62. package/components/bbum/_mobile-desktop.scss +16 -21
  63. package/components/bbum/_post.scss +5 -5
  64. package/components/bbum/_sign-up-notification.scss +10 -10
  65. package/components/bbum/_single-post-preview.scss +29 -29
  66. package/components/bbum/_user-profile.scss +10 -10
  67. package/components/ui-builder/_ui-builder.scss +221 -31
  68. package/components/ui-builder/_vue-open-api.scss +565 -7
  69. package/icons/close-icon.svg +3 -0
  70. package/layouts/_code-preview.scss +17 -18
  71. package/main.scss +26 -10
  72. package/package.json +1 -1
  73. package/plugins/theme.js +11 -9
  74. package/plugins/vue-toaster.js +1 -1
  75. package/vue-components/images/icons/cluster-icon.svg +10 -0
  76. package/vue-components/images/icons/org-icon.svg +10 -0
  77. package/vue-components/plugins/time-convert.js +49 -0
  78. package/vue-components/types/cluster.ts +6 -0
  79. package/vue-components/types/importFlow.ts +16 -0
  80. package/vue-components/types/notification.ts +6 -0
  81. package/vue-components/types/previewYaml.ts +8 -0
  82. package/vue-components/types/table.ts +55 -0
  83. package/vue-components/types/theme.ts +10 -0
  84. package/vue-components/types/user.ts +22 -0
  85. package/vue-components/v2/banner/Banner.vue +1 -1
  86. package/vue-components/v2/button/Buttons.vue +1 -1
  87. package/vue-components/v2/card/Card.vue +1 -1
  88. package/vue-components/v2/card/OverviewCards.vue +17 -2
  89. package/vue-components/v2/content/ContentTable.vue +14 -9
  90. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  91. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +21 -21
  92. package/vue-components/v2/icons/Ellipsis.vue +2 -1
  93. package/vue-components/v2/modal/Modal.vue +2 -6
  94. package/vue-components/v2/navbar/Appdrawer.vue +37 -12
  95. package/vue-components/v2/navbar/Navbar.vue +3 -3
  96. package/vue-components/v2/navbar/NavbarItem.vue +3 -1
  97. package/vue-components/v2/navbar/NavbarItemContent.vue +1 -1
  98. package/vue-components/v2/navbar/User.vue +5 -22
  99. package/vue-components/v2/pagination/Pagination.vue +66 -0
  100. package/vue-components/v2/sidebar/SidebarItem.vue +10 -7
  101. package/{components/_ac-accordion.scss → vue-components/v3/accordion/Accordion.vue} +40 -6
  102. package/vue-components/v3/alert/Alert.vue +238 -0
  103. package/vue-components/v3/alert/Toast.vue +79 -0
  104. package/vue-components/v3/banner/Banner.vue +10 -0
  105. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +166 -0
  106. package/vue-components/v3/button/Button.vue +110 -57
  107. package/vue-components/v3/button/Buttons.vue +22 -0
  108. package/vue-components/v3/button/DownloadBtn.vue +31 -0
  109. package/vue-components/v3/cards/Card.vue +32 -0
  110. package/vue-components/v3/cards/CardContent.vue +7 -0
  111. package/vue-components/v3/cards/CardHeader.vue +14 -0
  112. package/vue-components/v3/cards/Cards.vue +7 -0
  113. package/vue-components/v3/cards/Cluster.vue +159 -0
  114. package/vue-components/v3/cards/Counter.vue +39 -0
  115. package/vue-components/v3/cards/FeatureCard.vue +67 -0
  116. package/vue-components/v3/cards/FeatureCards.vue +6 -0
  117. package/vue-components/v3/cards/InfoCard.vue +242 -0
  118. package/vue-components/v3/cards/Monitoring.vue +90 -0
  119. package/vue-components/v3/cards/OrgClusterCard.vue +86 -0
  120. package/vue-components/v3/cards/OverviewCard.vue +28 -0
  121. package/vue-components/v3/cards/OverviewCards.vue +39 -0
  122. package/vue-components/v3/cards/Payment.vue +62 -0
  123. package/vue-components/v3/cards/Vendor.vue +89 -0
  124. package/vue-components/v3/content/ContentHeader.vue +39 -30
  125. package/vue-components/v3/content/ContentLayout.vue +20 -0
  126. package/vue-components/v3/content/ContentTable.vue +44 -58
  127. package/vue-components/v3/dropdown/DropdownAction.vue +95 -0
  128. package/vue-components/v3/dropdown/DropdownDivider.vue +2 -0
  129. package/vue-components/v3/dropdown/DropdownItem.vue +2 -0
  130. package/vue-components/v3/dropdown/DropdownMenu.vue +85 -91
  131. package/vue-components/v3/editor/Editor.vue +117 -115
  132. package/vue-components/v3/editor/FilteredFileEditor.vue +325 -128
  133. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +73 -94
  134. package/vue-components/v3/footer/FooterArea.vue +40 -0
  135. package/vue-components/v3/footer/FooterItem.vue +32 -0
  136. package/vue-components/v3/footer/FooterItems.vue +15 -0
  137. package/vue-components/v3/footer/Info.vue +25 -0
  138. package/vue-components/v3/footer/Status.vue +43 -0
  139. package/vue-components/v3/footer/Usage.vue +34 -0
  140. package/vue-components/v3/form/Form.vue +24 -36
  141. package/vue-components/v3/form/FormFooter.vue +24 -0
  142. package/vue-components/v3/form/FormFooterControl.vue +7 -0
  143. package/vue-components/v3/form/FormFooterControls.vue +7 -0
  144. package/vue-components/v3/form-fields/AcSingleInput.vue +21 -0
  145. package/vue-components/v3/form-fields/FileUpload.vue +89 -0
  146. package/vue-components/v3/form-fields/Input.vue +19 -15
  147. package/vue-components/v3/header/Header.vue +120 -26
  148. package/vue-components/v3/header/HeaderItem.vue +18 -0
  149. package/vue-components/v3/header/HeaderItems.vue +4 -0
  150. package/vue-components/v3/icons/Ellipsis.vue +2 -0
  151. package/vue-components/v3/loaders/ClusterSwitcherLoader.vue +13 -0
  152. package/vue-components/v3/loaders/InfoCardLoader.vue +19 -0
  153. package/vue-components/v3/loaders/ResourceLoader.vue +4 -12
  154. package/vue-components/v3/loaders/SidebarLoader.vue +4 -12
  155. package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
  156. package/vue-components/v3/modal/Modal.vue +294 -95
  157. package/vue-components/v3/modals/DeleteConfirmationModal.vue +37 -50
  158. package/vue-components/v3/modals/JsonShowModal.vue +63 -68
  159. package/vue-components/v3/navbar/Appdrawer.vue +198 -51
  160. package/vue-components/v3/navbar/Navbar.vue +139 -0
  161. package/vue-components/v3/navbar/NavbarItem.vue +103 -0
  162. package/vue-components/v3/navbar/NavbarItemContent.vue +282 -0
  163. package/vue-components/v3/navbar/Notification.vue +207 -0
  164. package/vue-components/v3/navbar/ThemeMode.vue +128 -112
  165. package/vue-components/v3/navbar/User.vue +431 -268
  166. package/vue-components/v3/notification/AlertBox.vue +266 -39
  167. package/vue-components/v3/notification/Notification.vue +50 -44
  168. package/vue-components/v3/notification/NotificationItem.vue +51 -19
  169. package/vue-components/v3/option-dots/Options.vue +197 -0
  170. package/vue-components/v3/pagination/Pagination.vue +216 -102
  171. package/vue-components/v3/preloader/Preloader.vue +23 -0
  172. package/vue-components/v3/searchbars/SearchBar.vue +50 -34
  173. package/vue-components/v3/sidebar/AccentColorPicker.vue +97 -0
  174. package/vue-components/v3/sidebar/ClusterSwitcher.vue +71 -86
  175. package/vue-components/v3/sidebar/Sidebar.vue +239 -0
  176. package/vue-components/v3/sidebar/SidebarBody.vue +14 -0
  177. package/vue-components/v3/sidebar/SidebarFooter.vue +89 -0
  178. package/vue-components/v3/sidebar/SidebarHeader.vue +131 -0
  179. package/vue-components/v3/sidebar/SidebarItem.vue +62 -0
  180. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +101 -104
  181. package/vue-components/v3/sidebar/SidebarMenuList.vue +9 -0
  182. package/vue-components/v3/sidebar/Steps.vue +152 -0
  183. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +204 -0
  184. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +44 -0
  185. package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +99 -0
  186. package/vue-components/v3/tab/TabItem.vue +10 -12
  187. package/vue-components/v3/tab/Tabs.vue +36 -0
  188. package/vue-components/v3/tab/TabsBody.vue +7 -0
  189. package/vue-components/v3/table/EmptyTableInfo.vue +8 -0
  190. package/vue-components/v3/table/FakeTableCell.vue +22 -31
  191. package/vue-components/v3/table/InfoTable.vue +89 -61
  192. package/vue-components/v3/table/MultiInfoTable.vue +72 -95
  193. package/vue-components/v3/table/Table.vue +596 -157
  194. package/vue-components/v3/table/TableCell.vue +13 -24
  195. package/vue-components/v3/table/TableContainer.vue +50 -28
  196. package/vue-components/v3/table/TableRow.vue +65 -87
  197. package/vue-components/v3/table/table-cell/ArrayCell.vue +94 -103
  198. package/vue-components/v3/table/table-cell/CellValue.vue +74 -106
  199. package/vue-components/v3/table/table-cell/GenericCell.vue +43 -42
  200. package/vue-components/v3/table/table-cell/ObjectCell.vue +91 -101
  201. package/vue-components/v3/table/table-cell/ValueWithModal.vue +22 -31
  202. package/vue-components/v3/tabs/EditorTabs.vue +18 -24
  203. package/vue-components/v3/tag/Tag.vue +16 -12
  204. package/vue-components/v3/tag/Tags.vue +7 -0
  205. package/base/utilities/_derived-variables.scss +0 -25
  206. package/base/utilities/_initial-variables.scss +0 -215
  207. package/base/utilities/dark-theme.scss +0 -26
  208. package/components/_ac-card.scss +0 -597
  209. package/components/_ac-input.scss +0 -876
  210. package/mixins/stickyContent.js +0 -141
  211. package/plugins/caching.ts +0 -243
  212. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -92
  213. package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -400
  214. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -148
  215. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -1,10 +1,10 @@
1
1
  .card-body-wrapper {
2
- background-color: $ac-white;
2
+ background-color: $white-100;
3
3
  border-radius: 4px;
4
4
  box-shadow: none;
5
5
 
6
6
  .card-header {
7
- background-color: $ac-blue-light;
7
+ background-color: $info-light;
8
8
  border-radius: 4px 4px 0px 0px;
9
9
  padding: 10px 20px;
10
10
  box-shadow: none;
@@ -14,7 +14,7 @@
14
14
  font-weight: 500;
15
15
  font-size: 14px;
16
16
  line-height: 16px;
17
- color: $ac-color-heading;
17
+ color: $primary-5;
18
18
 
19
19
  .require {
20
20
  color: #ff0000;
@@ -24,7 +24,7 @@
24
24
  font-weight: normal;
25
25
  font-size: 14px;
26
26
  line-height: 16px;
27
- color: $ac-color-value;
27
+ color: $primary-20;
28
28
  margin-top: 10px;
29
29
  }
30
30
  }
@@ -45,7 +45,7 @@
45
45
  font-weight: normal;
46
46
  font-size: 14px;
47
47
  line-height: 16px;
48
- color: $ac-gray-darker;
48
+ color: $black-40;
49
49
  margin-top: 30px;
50
50
  margin-bottom: 10px;
51
51
  }
@@ -1,115 +0,0 @@
1
- // dashboard inner header start
2
-
3
- .inner-header {
4
- padding: 6px 20px;
5
- border-bottom: 1px solid $ac-white-light;
6
- // display: flex;
7
- // align-items: center;
8
- }
9
- // dashboard inner header end
10
- // .dashboard body header
11
- .header-items {
12
- .header-item {
13
- display: inline-block;
14
- margin-left: 8px;
15
- vertical-align: middle;
16
-
17
- &:first-child {
18
- margin-left: 0;
19
- }
20
-
21
- .select:not(.is-multiple) {
22
- height: auto;
23
- }
24
- }
25
- }
26
-
27
- // footer control start
28
- .form-footer-controls {
29
- .form-footer-control {
30
- display: inline-block;
31
- margin-left: 8px;
32
- vertical-align: middle;
33
-
34
- &:first-child {
35
- margin-left: 0;
36
- }
37
- }
38
- }
39
-
40
- .dashboard-header {
41
- padding: 10px 20px;
42
- border-radius: 4px;
43
- background-color: $ac-white;
44
- min-height: 75px;
45
- display: table;
46
- width: 100%;
47
- border-left: 5px solid $ac-primary;
48
- border-bottom: 1px solid $ac-white-light;
49
- border-top: 1px solid $ac-white-light;
50
- border-right: 1px solid $ac-white-light;
51
-
52
- .dashboard-header-wrapper {
53
- height: 100%;
54
- display: table;
55
- width: 100%;
56
-
57
- .dashboard-header-inner {
58
- display: table-cell;
59
- vertical-align: middle;
60
- }
61
- }
62
- }
63
-
64
- .dashboard-header-inner-top {
65
- height: 100%;
66
- vertical-align: middle;
67
- display: table-cell;
68
- }
69
-
70
- .dashboard-header.is-chart-available {
71
- padding: 10px 30px;
72
-
73
- .dashboard-header-wrapper {
74
- height: 100%;
75
- display: table;
76
- width: 100%;
77
-
78
- .dashboard-header-inner {
79
- display: table-cell;
80
- vertical-align: middle;
81
- }
82
- }
83
- }
84
-
85
- .resource {
86
- display: flex;
87
- align-items: center;
88
- border-left: 1px solid $ac-white-light;
89
- padding: 0 1.5rem;
90
- margin-top: -10px;
91
- margin-bottom: -10px;
92
- .r-icon {
93
- display: flex;
94
- align-items: center;
95
- max-width: 40px;
96
- }
97
-
98
- .r-data {
99
- margin-left: 0.8rem;
100
- .request,
101
- .limit {
102
- font-weight: 500;
103
- min-width: 50px;
104
- text-align: center;
105
- }
106
- .request {
107
- font-weight: 300;
108
- }
109
- hr {
110
- margin: 0;
111
- padding: 0;
112
- background-color: $ac-white-light;
113
- }
114
- }
115
- }
@@ -3,17 +3,17 @@
3
3
  font-weight: 500;
4
4
  font-size: 18px;
5
5
  line-height: 21px;
6
- color: $ac-color-heading;
6
+ color: $primary-5;
7
7
  margin-bottom: 10px;
8
8
  .fa {
9
- color: $ac-primary;
9
+ color: $primary;
10
10
  }
11
11
  }
12
12
 
13
13
  p {
14
14
  font-size: 14px;
15
15
  line-height: 160%;
16
- color: $ac-color-heading;
16
+ color: $primary-5;
17
17
  margin-bottom: 20px;
18
18
  }
19
19
 
@@ -21,7 +21,7 @@
21
21
  font-weight: normal;
22
22
  font-size: 14px;
23
23
  line-height: 16px;
24
- color: $ac-color-heading;
24
+ color: $primary-5;
25
25
  }
26
26
 
27
27
  .button {
@@ -31,13 +31,13 @@
31
31
  .msg {
32
32
  font-size: 12px;
33
33
  line-height: 14px;
34
- color: $ac-color-value;
34
+ color: $primary-20;
35
35
  }
36
36
  .buttons {
37
37
  &.is-gray {
38
38
  .button {
39
39
  &.ac-primary {
40
- background-color: $ac-blue-light;
40
+ background-color: $info-light;
41
41
  }
42
42
  }
43
43
  }
@@ -50,13 +50,13 @@ h5 {
50
50
  font-weight: 500;
51
51
  font-size: 16px;
52
52
  line-height: 19px;
53
- color: $ac-color-value;
53
+ color: $primary-20;
54
54
  }
55
55
  }
56
56
  .is-gray {
57
57
  .button {
58
58
  border: none;
59
- background-color: $ac-blue-light;
59
+ background-color: $info-light;
60
60
  }
61
61
  }
62
62
 
@@ -0,0 +1,110 @@
1
+ .getkeeper {
2
+ .ac-vscrollbar {
3
+ padding: 0;
4
+ }
5
+ .left-content {
6
+ padding-inline: 20px;
7
+ width: 23%;
8
+ .header {
9
+ padding-top: 16px;
10
+ padding-bottom: 16px;
11
+ }
12
+ .list-items {
13
+ max-height: calc(100vh - 195px);
14
+ }
15
+ }
16
+ .middle-content {
17
+ width: 40%;
18
+ background-color: $primary-97;
19
+ .header {
20
+ padding: 4px 20px;
21
+ border-bottom: 1px solid $primary-90;
22
+ min-height: 40px;
23
+ h5 {
24
+ display: flex;
25
+ align-items: center;
26
+ }
27
+ }
28
+ .list-wrapper {
29
+ max-height: calc(100vh - 195px);
30
+ }
31
+ }
32
+ .right-content {
33
+ @extend .middle-content;
34
+ width: 37%;
35
+ background-color: $green-97;
36
+ }
37
+ }
38
+
39
+ .inline-search {
40
+ display: flex;
41
+ align-items: center;
42
+ overflow: hidden;
43
+
44
+ label {
45
+ padding-right: 8px;
46
+ }
47
+
48
+ input {
49
+ border: none;
50
+ width: 50px;
51
+
52
+ &:focus,
53
+ &:focus-visible {
54
+ outline: none;
55
+ border: none;
56
+ box-shadow: none;
57
+ }
58
+ }
59
+ }
60
+
61
+ .list-items {
62
+ ul {
63
+ display: flex;
64
+ flex-direction: column;
65
+ gap: 4px;
66
+
67
+ li {
68
+ background: $white-100;
69
+ border: 1px solid $primary-95;
70
+ border-radius: 4px;
71
+ padding: 12px 20px;
72
+ font-weight: 500;
73
+ font-size: 13px;
74
+ color: $primary-5;
75
+ cursor: pointer;
76
+ transition: 0.3s ease-in-out;
77
+ &:hover {
78
+ background-color: $primary-95;
79
+ }
80
+
81
+ &.is-active {
82
+ background-color: $primary;
83
+ color: $white-100;
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ .single-list {
90
+ border-bottom: 1px solid $primary-90;
91
+ padding: 16px 20px;
92
+ &:hover {
93
+ strong {
94
+ text-decoration: underline;
95
+ color: $primary-30;
96
+ }
97
+ }
98
+ &.single-list {
99
+ border-bottom: none;
100
+ }
101
+ strong {
102
+ font-size: 16px;
103
+ font-weight: 600;
104
+ transition: 0.3s ease-in-out;
105
+ }
106
+
107
+ p {
108
+ color: $primary-20;
109
+ }
110
+ }
@@ -10,7 +10,7 @@
10
10
  height: 40px;
11
11
  line-height: 40px;
12
12
  border-radius: 50%;
13
- color: $ac-white;
13
+ color: $white-100;
14
14
  background-color: rgba(25, 113, 189, 0.5);
15
15
  border: none;
16
16
  opacity: 0;
@@ -1,13 +1,13 @@
1
1
  .graph-tooltip-wrapper {
2
- background-color: var(--ac-white);
3
- border: 1px solid var(--ac-white-light);
2
+ background-color: $white-100;
3
+ border: 1px solid $primary-90;
4
4
 
5
5
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
6
6
  border-radius: 4px;
7
7
  overflow: hidden;
8
8
  h6 {
9
9
  padding: 10px 20px;
10
- border-bottom: 1px solid var(--ac-white-light);
10
+ border-bottom: 1px solid $primary-90;
11
11
  }
12
12
  .table-wrapper {
13
13
  padding: 10px 20px;
@@ -16,7 +16,7 @@
16
16
  &:first-child {
17
17
  font-weight: 450;
18
18
  padding-right: 10px;
19
- color: var(--ac-text-heading);
19
+ color: $primary-10;
20
20
  }
21
21
  padding: 4px 0;
22
22
  font-size: 13px;
@@ -26,18 +26,18 @@
26
26
  }
27
27
 
28
28
  .is-hovering .label text tspan {
29
- stroke: var(--ac-white);
30
- fill: var(--ac-white);
29
+ stroke: $white-100;
30
+ fill: $white-100;
31
31
  stroke-width: 0.3px;
32
32
  }
33
33
  .is-selected .label text tspan {
34
- stroke: var(--ac-white);
35
- fill: var(--ac-white);
34
+ stroke: $white-100;
35
+ fill: $white-100;
36
36
  stroke-width: 0.3px;
37
37
  }
38
38
  .label text tspan {
39
- stroke: var(--ac-black);
40
- fill: var(--ac-black);
39
+ stroke: $primary-5;
40
+ fill: $primary-5;
41
41
  stroke-width: 0.3px;
42
42
  }
43
43
  .edgeLabel .label text tspan {
@@ -1,6 +1,6 @@
1
1
  .ac-upload-image {
2
- background-color: $ac-bg;
3
- border: 1px dashed $ac-label-text;
2
+ background-color: transparent;
3
+ border: 1px dashed $primary-10;
4
4
  border-radius: 4px;
5
5
  overflow: hidden;
6
6
 
@@ -22,23 +22,23 @@
22
22
  border-radius: 50%;
23
23
  overflow: hidden;
24
24
  margin: 0 auto 30px;
25
- border: 1px solid $ac-white-light;
25
+ border: 1px solid $primary-90;
26
26
  }
27
27
 
28
28
  .drag-and-drop-msg {
29
29
  font-size: 13px;
30
- color: $ac-color-value;
30
+ color: $primary-20;
31
31
  font-weight: 400;
32
32
  margin-bottom: 10px;
33
33
 
34
34
  span {
35
- color: $ac-label-text;
35
+ color: $primary-10;
36
36
  }
37
37
  }
38
38
 
39
39
  .img-size-msg {
40
40
  font-size: 12px;
41
- color: $ac-label-text;
41
+ color: $primary-10;
42
42
  }
43
43
  }
44
44
 
@@ -46,10 +46,10 @@
46
46
  display: none;
47
47
  }
48
48
 
49
- .is-error {
49
+ .is-danger {
50
50
  font-size: 12px;
51
51
  line-height: 22px;
52
- color: $ac-red;
52
+ color: $danger;
53
53
  text-align: left;
54
54
  }
55
- }
55
+ }
@@ -0,0 +1,232 @@
1
+ // card select
2
+ .card-select {
3
+ height: 94px;
4
+ padding: 10px;
5
+ background-color: $white-100;
6
+ border: 1px solid $primary-90;
7
+ box-sizing: border-box;
8
+ border-radius: 4px;
9
+ transition: 0.3s ease-in-out;
10
+ position: relative;
11
+ z-index: 1;
12
+ // width: 250px;
13
+
14
+ &.is-active-require-field {
15
+ &:after {
16
+ content: "";
17
+ position: absolute;
18
+ width: 100%;
19
+ height: 100%;
20
+ background-color: $black-5;
21
+ top: 0;
22
+ left: 0;
23
+ z-index: 1;
24
+ opacity: 0.6;
25
+ border-radius: 4px;
26
+ }
27
+
28
+ .r-dropdown-item {
29
+ opacity: 1;
30
+ visibility: visible;
31
+ }
32
+ }
33
+
34
+ &.is-singleline {
35
+ height: auto;
36
+ padding: 0;
37
+ border: none;
38
+ background-color: transparent;
39
+ width: auto;
40
+ margin-bottom: 0;
41
+
42
+ label {
43
+ font-weight: 400 !important;
44
+ }
45
+
46
+ &:hover {
47
+ box-shadow: none;
48
+ border: none;
49
+
50
+ label {
51
+ color: $primary !important;
52
+ }
53
+ }
54
+
55
+ .ac-single-radio,
56
+ .ac-single-checkbox {
57
+ label {
58
+ font-size: 13px;
59
+ line-height: 20px;
60
+ color: $primary-5;
61
+ padding-left: 25px !important;
62
+ }
63
+ }
64
+
65
+ &.is-disabled {
66
+ background-color: transparent;
67
+
68
+ label {
69
+ color: $primary-10;
70
+ cursor: not-allowed;
71
+ }
72
+ }
73
+
74
+ .ac-single-radio .is-checkradio[type="radio"]:checked + label {
75
+ color: $primary;
76
+ }
77
+
78
+ .ac-single-radio {
79
+ margin-bottom: 0;
80
+ }
81
+ }
82
+
83
+ &.is-disabled {
84
+ background-color: $primary-97;
85
+ cursor: not-allowed;
86
+ opacity: 0.8;
87
+
88
+ &:hover {
89
+ border-color: transparent;
90
+ box-shadow: none;
91
+ }
92
+ }
93
+
94
+ &:hover {
95
+ box-shadow: 0px 8px 50px rgba(0, 0, 0, 0.2);
96
+ border: 1px solid transparent;
97
+ }
98
+
99
+ &.is-selected {
100
+ border: 1px solid $primary;
101
+ }
102
+
103
+ &:last-child {
104
+ margin-right: 0;
105
+ }
106
+
107
+ // inline more button Start
108
+ .more-option {
109
+ position: relative;
110
+ z-index: 1;
111
+
112
+ .btn-more-option {
113
+ background-color: #e4e4e4;
114
+ height: 16px;
115
+ width: 30px;
116
+ border: none;
117
+ border-radius: 3px;
118
+ padding: 0;
119
+ cursor: pointer;
120
+ margin-left: 5px;
121
+ display: inline-flex;
122
+ align-items: center;
123
+ justify-content: center;
124
+ transform: translate(0px, -2px);
125
+
126
+ span {
127
+ display: inline-flex;
128
+ width: 4px;
129
+ height: 4px;
130
+ border-radius: 50%;
131
+ background-color: #b1b1b1;
132
+ margin-right: 2px;
133
+
134
+ &:last-child {
135
+ margin-right: 0;
136
+ }
137
+ }
138
+ }
139
+ }
140
+
141
+ .r-dropdown-item {
142
+ position: absolute;
143
+ z-index: 2;
144
+ right: 10px;
145
+ top: 10px;
146
+ background-color: $white-100;
147
+ box-shadow: $ac-shadow-2;
148
+ display: inline-block;
149
+ border-radius: 4px;
150
+ padding: 5px 15px;
151
+ width: 200px;
152
+ opacity: 0;
153
+ visibility: hidden;
154
+ transition: 0.3s ease-in-out;
155
+
156
+ button.close-icon {
157
+ position: absolute;
158
+ right: -5px;
159
+ top: -5px;
160
+ border: 1px solid $black-80;
161
+ font-size: 10px;
162
+ height: 25px;
163
+ width: 25px;
164
+ text-align: center;
165
+ background-color: $white-100;
166
+ border-radius: 50%;
167
+ cursor: pointer;
168
+ color: $danger;
169
+ transition: 0.3s ease-in-out;
170
+ display: block;
171
+
172
+ &:hover {
173
+ color: $white-100;
174
+ background-color: $danger;
175
+ border: 1px solid $danger;
176
+ }
177
+ }
178
+
179
+ li {
180
+ display: inline-block;
181
+
182
+ a {
183
+ display: block;
184
+ padding: 5px 10px 5px 0;
185
+ color: $primary-20;
186
+ font-size: 11px;
187
+ text-decoration: underline;
188
+ font-weight: 400;
189
+
190
+ &:hover {
191
+ color: $primary;
192
+ }
193
+ }
194
+ }
195
+ }
196
+
197
+ // inline more button end
198
+ .ac-single-radio,
199
+ .ac-single-checkbox {
200
+ margin-bottom: 10px;
201
+
202
+ &:last-child {
203
+ margin-bottom: 0;
204
+ }
205
+
206
+ label {
207
+ font-family: $font-heading;
208
+ font-style: normal;
209
+ font-weight: 500;
210
+ font-size: 13px;
211
+ line-height: 24px;
212
+ color: $primary-5;
213
+ }
214
+ }
215
+
216
+ p {
217
+ font-family: $font-paragraph;
218
+ font-style: normal;
219
+ font-weight: normal;
220
+ font-size: 13px;
221
+ line-height: 140%;
222
+ color: $primary-10;
223
+
224
+ &.is-warning {
225
+ color: $danger;
226
+ }
227
+
228
+ a {
229
+ text-decoration: underline;
230
+ }
231
+ }
232
+ }