@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,876 +0,0 @@
1
- // Input fields
2
- .ac-single-input {
3
- position: relative;
4
- z-index: 1;
5
- margin-bottom: 15px;
6
-
7
- &.is-disable {
8
- opacity: 0.5;
9
-
10
- input,
11
- .button.is-information,
12
- .eye i.fa {
13
- cursor: not-allowed;
14
- }
15
- }
16
-
17
- &.is-information {
18
- input {
19
- padding-right: 45px;
20
-
21
- &[type="password"] {
22
- padding-right: 80px;
23
- }
24
- }
25
-
26
- span.eye i.fa {
27
- right: 35px;
28
- }
29
- }
30
-
31
- &.is-success {
32
- input,
33
- .ac-card,
34
- textarea {
35
- border: 1px solid $ac-primary !important;
36
- }
37
-
38
- p {
39
- color: $ac-primary;
40
- }
41
- }
42
-
43
- &.is-danger {
44
- input,
45
- .ac-card,
46
- textarea {
47
- border: 1px solid $ac-danger;
48
- }
49
-
50
- p {
51
- color: $ac-danger;
52
- }
53
- }
54
-
55
- &.is-loading {
56
- input,
57
- .ac-card,
58
- textarea {
59
- border: 1px solid $ac-info;
60
- opacity: 0.5;
61
- }
62
-
63
- p {
64
- color: $ac-info;
65
- opacity: 0.5;
66
- }
67
- }
68
-
69
- &.borderless-input {
70
- input {
71
- border: none;
72
- font-size: $font-size-small;
73
- padding: 4px 7px;
74
- height: 30px;
75
- background-color: $ac-white;
76
- padding-right: 30px;
77
-
78
- &[type="password"] {
79
- padding-right: 30px;
80
- }
81
-
82
- &:focus {
83
- outline: none;
84
- border: none;
85
- }
86
- }
87
-
88
- span.eye {
89
- i.fa {
90
- padding: 9px;
91
- font-size: 12px;
92
- }
93
- }
94
- }
95
-
96
- &.is-normal {
97
- input {
98
- height: 45px;
99
- font-size: 15px;
100
- font-family: $ac-family-paragraph;
101
- font-weight: 400;
102
- }
103
-
104
- .button {
105
- &.is-information {
106
- height: 45px;
107
- width: 45px;
108
- margin-top: 0;
109
- }
110
- }
111
-
112
- span.eye i.fa {
113
- padding: 14px 10px;
114
- }
115
-
116
- .ac-search-button {
117
- margin-top: -22.5px;
118
- }
119
-
120
- label {
121
- top: 13px;
122
- font-size: $font-size-small;
123
-
124
- &.show-label {
125
- font-size: 12px;
126
- color: $ac-color-value;
127
- top: -9px;
128
- font-weight: 500;
129
- background-color: $ac-white;
130
- }
131
- }
132
-
133
- .control {
134
- &.has-icons-right {
135
- .icon {
136
- height: 45px;
137
- width: 30px;
138
- font-size: $font-size-small;
139
- }
140
- }
141
- }
142
- }
143
-
144
- &.is-small {
145
- input {
146
- height: 36px;
147
- font-size: $font-size-small;
148
- font-family: $ac-family-paragraph;
149
- font-weight: 400;
150
- }
151
-
152
- .button {
153
- &.is-information {
154
- height: 36px;
155
- width: 36px;
156
- margin-top: 0;
157
- padding: 10px;
158
- }
159
- }
160
-
161
- span.eye i.fa {
162
- padding: 10px;
163
- }
164
-
165
- .ac-search-button {
166
- margin-top: -18px;
167
- }
168
-
169
- label {
170
- top: 8px;
171
- font-size: $font-size-small;
172
- &.switch-label {
173
- top: 0;
174
- }
175
-
176
- &.show-label {
177
- font-size: 12px;
178
- top: -9px;
179
- font-weight: 500;
180
- color: $ac-color-value;
181
- &.is-required {
182
- &:after {
183
- width: calc(100% + 10px);
184
- }
185
- }
186
- }
187
- }
188
-
189
- .control {
190
- &.has-icons-right {
191
- .icon {
192
- height: 36px;
193
- width: 25px;
194
- font-size: $font-size-small;
195
- }
196
- }
197
- }
198
- }
199
-
200
- &.is-extra-small {
201
- input {
202
- height: 32px;
203
- font-size: $font-size-small;
204
- font-family: $ac-family-paragraph;
205
- font-weight: 400;
206
- }
207
-
208
- .button {
209
- &.is-information {
210
- height: 32px;
211
- width: 32px;
212
- margin-top: 0;
213
- }
214
- }
215
-
216
- span.eye i.fa {
217
- padding: 10px;
218
- }
219
-
220
- .ac-search-button {
221
- margin-top: -16px;
222
- }
223
-
224
- label {
225
- top: 8px;
226
- font-size: $font-size-small;
227
- &.switch-label {
228
- top: 0;
229
- }
230
-
231
- &.show-label {
232
- font-size: 12px;
233
- top: -9px;
234
- }
235
- }
236
-
237
- .control {
238
- &.has-icons-right {
239
- .icon {
240
- height: 32px;
241
- width: 25px;
242
- font-size: $font-size-small;
243
- }
244
- }
245
- }
246
- }
247
-
248
- &:last-child {
249
- margin-bottom: 0;
250
- }
251
-
252
- &.is-dark {
253
- input {
254
- background-color: $ac-color-heading;
255
- border-color: transparent;
256
- color: $ac-white;
257
-
258
- &::placeholder {
259
- color: $ac-white-light;
260
- }
261
-
262
- button {
263
- i.fa {
264
- color: $ac-white;
265
- }
266
- }
267
- }
268
- }
269
-
270
- label {
271
- font-size: $font-size-small;
272
- left: 15px;
273
- top: 11px;
274
- cursor: text;
275
- color: $ac-label-text;
276
- position: absolute;
277
- z-index: 2;
278
- transition: 0.3s ease-in-out;
279
-
280
- .is-required {
281
- color: $ac-danger;
282
-
283
- img {
284
- position: absolute;
285
- top: 7px;
286
- padding-left: 3px;
287
- }
288
- }
289
-
290
- &.show-label {
291
- top: -9px;
292
- left: 10px;
293
- padding: 0 5px;
294
- font-size: $font-size-small;
295
- color: $ac-color-value;
296
-
297
- &:after {
298
- position: absolute;
299
- content: "";
300
- left: 0;
301
- top: 50%;
302
- background-color: $ac-white;
303
- width: 100%;
304
- height: 2px;
305
- margin-top: -1px;
306
- z-index: -1;
307
- }
308
-
309
- // &.is-required {
310
- // &:after {
311
- // width: calc(100% + 10px);
312
- // }
313
- // }
314
- }
315
- }
316
-
317
- .button {
318
- &.is-information {
319
- background-color: transparent;
320
- border: none;
321
- position: absolute;
322
- right: 0;
323
- height: 32px;
324
- width: 32px;
325
- margin-top: 0;
326
-
327
- &:focus {
328
- outline: none;
329
- box-shadow: none;
330
- background-color: #e4e8ef;
331
- transform: scale(0.8);
332
- }
333
- }
334
- }
335
-
336
- .ac-search-button {
337
- background-color: transparent;
338
- border: none;
339
- position: absolute;
340
- left: 0;
341
- top: 50%;
342
- width: 35px;
343
- height: 100%;
344
- margin-top: -22.5px;
345
- color: $ac-label-text;
346
- cursor: pointer;
347
- }
348
-
349
- .ac-dropdown-content {
350
- position: absolute;
351
- background-color: $ac-blue-light;
352
- width: 100%;
353
- height: auto;
354
- box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
355
- border-radius: 4px;
356
- overflow: hidden;
357
-
358
- ul {
359
- li {
360
- a {
361
- color: $ac-color-text;
362
- display: block;
363
- font-size: $font-size-small;
364
- padding: 8px 20px;
365
- transition: 0.3s;
366
-
367
- &:hover {
368
- background-color: hsla(
369
- var(--hsl-hue),
370
- var(--hsl-saturation),
371
- var(--hsl-lightness),
372
- 0.2
373
- );
374
- color: $ac-primary;
375
- }
376
- }
377
- }
378
- }
379
- }
380
-
381
- .ac-textarea {
382
- .ac-label {
383
- &.is-required {
384
- &:after {
385
- width: calc(100% + 10px);
386
- }
387
- }
388
- }
389
- textarea {
390
- border: 1px solid $ac-label-text;
391
- background-color: transparent;
392
- padding: 10px 15px;
393
- min-height: 50px;
394
- &.bg-white {
395
- background-color: transparent;
396
- }
397
-
398
- &:focus {
399
- outline: none;
400
- border: 1px solid $ac-primary;
401
- }
402
- }
403
- }
404
-
405
- input,
406
- .ac-card,
407
- textarea {
408
- background-color: $ac-white;
409
- color: $ac-color-text;
410
- height: 45px;
411
- font-weight: 400;
412
- width: 100%;
413
- border-radius: 4px;
414
- border: 1px solid $ac-label-text;
415
- padding: 8px 15px;
416
- font-size: $font-size-small;
417
-
418
- &:hover {
419
- border-color: $ac-gray-lightest;
420
- }
421
-
422
- &.bg-white {
423
- background-color: $ac-white;
424
- }
425
- &.StripeElement--focus {
426
- border: 1px solid $ac-primary;
427
- }
428
- &:focus {
429
- border: 1px solid $ac-primary;
430
- outline: none;
431
- background-color: $ac-white;
432
- }
433
-
434
- &[type="password"] {
435
- padding-right: 40px;
436
- }
437
-
438
- &[type="search"] {
439
- padding-left: 30px;
440
- }
441
-
442
- transition: background-color 0.3s ease-in-out;
443
- }
444
-
445
- .ac-card {
446
- height: 36px;
447
- padding: 10px 20px;
448
- }
449
-
450
- textarea {
451
- height: 55px;
452
- }
453
-
454
- b.isRequired {
455
- color: $ac-red;
456
- font-size: $font-size-small;
457
- position: absolute;
458
- right: 5px;
459
- z-index: 9;
460
- }
461
-
462
- span.eye {
463
- i.fa {
464
- color: $ac-label-text;
465
- position: absolute;
466
- cursor: pointer;
467
- padding: 15px;
468
- right: 0;
469
- top: 0;
470
- }
471
- }
472
-
473
- .is-error {
474
- font-size: 12px;
475
- line-height: 22px;
476
- color: $ac-red;
477
- text-align: left;
478
-
479
- i.fa {
480
- padding-right: 10px;
481
- }
482
- }
483
- }
484
-
485
- .ac-file-upload {
486
- margin-bottom: 20px;
487
-
488
- &:last-child {
489
- margin-bottom: 0;
490
- }
491
-
492
- &.style-2 {
493
- label {
494
- &.file-label {
495
- position: relative;
496
- z-index: 1;
497
-
498
- span.ac-placeholder {
499
- position: absolute;
500
- left: 180px;
501
- top: 10px;
502
- z-index: 1;
503
- font-size: $font-size-small;
504
- color: $ac-label-text;
505
- font-weight: 400;
506
- }
507
- }
508
-
509
- .file-cta {
510
- background-color: $ac-primary;
511
- margin-top: 3.5px;
512
- margin-left: 3px;
513
- height: 26px;
514
-
515
- .file-label {
516
- color: $ac-white;
517
- font-weight: 400;
518
- }
519
- }
520
- }
521
- }
522
-
523
- label {
524
- background-color: transparent;
525
- height: 36px;
526
- font-weight: 400;
527
- border-radius: 4px;
528
- border: 1px solid $ac-label-text;
529
- font-size: $font-size-small;
530
-
531
- .file-cta {
532
- background-color: transparent;
533
- border: none;
534
- }
535
-
536
- &:hover {
537
- border-color: $ac-gray-lightest;
538
- }
539
-
540
- &.bg-white {
541
- background-color: $ac-white;
542
- }
543
-
544
- &:focus {
545
- border: 1px solid $ac-primary;
546
- outline: none;
547
- background-color: $ac-white;
548
- }
549
- }
550
- }
551
-
552
- input#captcha {
553
- background-color: $ac-white;
554
- height: 36px;
555
- font-weight: 400;
556
- width: 100%;
557
- border-radius: 4px;
558
- border: 1px solid $ac-white-light;
559
- padding: 8px 15px;
560
- font-size: 13px;
561
- transition: background-color 0.3s ease-in-out;
562
-
563
- &:focus {
564
- outline: none;
565
- border-bottom: 1px solid $ac-label-text;
566
- }
567
- }
568
-
569
- // AC-Checkbox
570
- .ac-single-checkbox {
571
- .is-checkradio {
572
- position: unset !important;
573
- }
574
-
575
- .is-checkradio[type="checkbox"].ac-checkbox + label::before {
576
- height: 16px;
577
- width: 16px;
578
- background-color: $ac-white-light;
579
- }
580
-
581
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label::before {
582
- background-color: $ac-primary;
583
- border-color: $ac-primary;
584
- }
585
-
586
- .is-checkradio[type="checkbox"].ac-checkbox + label::after {
587
- top: 6px;
588
- left: 6px;
589
- border-color: $ac-gray-lightest;
590
- width: 0.3rem;
591
- height: 0.5rem;
592
- }
593
-
594
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label::after {
595
- border-color: $ac-white;
596
- }
597
-
598
- .is-checkradio[type="checkbox"].ac-checkbox + label {
599
- color: $ac-color-text;
600
- font-size: 13px !important;
601
- padding-left: 25px;
602
- user-select: none;
603
- }
604
-
605
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label {
606
- color: $ac-primary !important;
607
- }
608
-
609
- .is-checkradio[type="checkbox"].ac-checkbox + label {
610
- color: $ac-color-text;
611
- font-size: 13px;
612
- padding-left: 25px;
613
- user-select: none;
614
- }
615
-
616
- .is-checkradio[type="checkbox"],
617
- .is-checkradio[type="radio"] {
618
- display: none;
619
- }
620
- }
621
-
622
- .ac-single-radio {
623
- &.is-selected {
624
- .is-checkradio[type="radio"].ac-radio + label {
625
- color: $ac-primary;
626
- }
627
- }
628
- }
629
-
630
- .is-checkradio[type="checkbox"] + label::before,
631
- .is-checkradio[type="checkbox"] + label:before {
632
- top: 3px;
633
- }
634
-
635
- // AC-Switch
636
- .ac-single-switch {
637
- label {
638
- user-select: none;
639
- font-size: 13px;
640
- font-weight: 400;
641
- color: $ac-color-text;
642
-
643
- &::before {
644
- background-color: #cad3df;
645
- }
646
- }
647
-
648
- .button.is-information {
649
- margin-top: 6px;
650
- }
651
-
652
- &.is-small {
653
- label {
654
- font-size: 13px !important;
655
- }
656
- .switch[type="checkbox"] + label {
657
- font-size: 13px;
658
- padding-top: 0;
659
- padding-left: 40px;
660
- height: auto;
661
-
662
- &::before {
663
- width: 30px;
664
- height: 16.2px;
665
- }
666
-
667
- &::after {
668
- top: 2px;
669
- left: 2px;
670
- width: 12px;
671
- height: 12px;
672
- }
673
- }
674
-
675
- .switch[type="checkbox"]:checked + label {
676
- &::after {
677
- left: 15px;
678
- }
679
- }
680
- }
681
-
682
- .switch {
683
- &[type="checkbox"] + label {
684
- padding-top: 3px;
685
- &::before {
686
- background-color: $ac-gray-light;
687
- }
688
- }
689
-
690
- &.ac-switch {
691
- &.is-primary {
692
- @include ac-switch($ac-primary);
693
- }
694
-
695
- &.is-link {
696
- @include ac-switch($ac-blue);
697
- }
698
-
699
- &.is-info {
700
- @include ac-switch($ac-info);
701
- }
702
-
703
- &.is-success {
704
- @include ac-switch($ac-success);
705
- }
706
-
707
- &.is-warning {
708
- @include ac-switch($ac-warning);
709
- }
710
-
711
- &.is-danger {
712
- @include ac-switch($ac-danger);
713
- }
714
- }
715
- }
716
- }
717
-
718
- .ac-single-switch.is-small .switch[type="checkbox"] + label,
719
- .buttons.are-small
720
- .ac-single-switch.button.ac-button
721
- .switch[type="checkbox"]
722
- + label {
723
- height: 19px;
724
- }
725
-
726
- // transparent input
727
- .transparent-input {
728
- display: flex;
729
- align-items: center;
730
- width: calc(100% - 100px);
731
-
732
- span {
733
- width: 100%;
734
- }
735
-
736
- input {
737
- border: none;
738
- background-color: transparent;
739
- font-size: 18px;
740
- font-weight: 400;
741
- font-family: $ac-family-heading;
742
- color: $ac-color-value;
743
- width: 100%;
744
- padding: 5px 0;
745
-
746
- &:focus {
747
- outline: none;
748
- border-bottom: 1px solid $ac-label-text;
749
- }
750
- }
751
- }
752
-
753
- // AC-Radio
754
- .ac-single-radio {
755
- .is-checkradio[type="radio"] {
756
- & + label {
757
- padding-left: 25px;
758
- font-size: 13px;
759
- padding: 0.3rem 0.5rem 0.2rem 1.5rem;
760
-
761
- &::after {
762
- background-color: $ac-primary;
763
- width: 16px;
764
- height: 16px;
765
- top: 5px;
766
- }
767
-
768
- &:after {
769
- background-color: $ac-primary;
770
- }
771
-
772
- &:before {
773
- border-color: $ac-primary;
774
- width: 16px;
775
- height: 16px;
776
- top: 5px;
777
- }
778
- }
779
-
780
- &:hover {
781
- &:not([disabled]) {
782
- & + label {
783
- &:before {
784
- border-color: $ac-primary !important;
785
- }
786
- }
787
- }
788
- }
789
- }
790
-
791
- .is-checkradio[type="radio"]:checked {
792
- & + label {
793
- color: $ac-primary;
794
- }
795
- }
796
- }
797
- // dark theme start
798
- .is-dark-theme {
799
- .ac-single-input {
800
- input,
801
- .file-input,
802
- .ac-dropdown-content {
803
- background-color: transparent;
804
- }
805
-
806
- label {
807
- color: $ac-label-text;
808
- }
809
- .button.is-information:focus {
810
- background-color: $dark-bg-light;
811
- }
812
- }
813
- }
814
- // dark theme end
815
- /****************************************
816
- Responsive Classes
817
- *****************************************/
818
- // Extra small devices (portrait phones, less than 576px)
819
- @media (max-width: 575.98px) {
820
- .ac-single-input {
821
- input {
822
- height: 36px;
823
- font-size: $font-size-small;
824
- font-weight: 400;
825
- }
826
-
827
- label {
828
- top: 9px;
829
- font-size: $font-size-small;
830
-
831
- &.show-label {
832
- top: -9px;
833
- font-size: $font-size-extra-small;
834
- }
835
- }
836
-
837
- textarea {
838
- font-size: $font-size-small;
839
- }
840
-
841
- span {
842
- &.eye {
843
- i.fa {
844
- padding: 10px;
845
- }
846
- }
847
- }
848
-
849
- .ac-search-button {
850
- margin-top: -18px;
851
- }
852
- }
853
-
854
- .ac-file-upload {
855
- label {
856
- height: 36px;
857
- font-size: $font-size-small;
858
- }
859
- }
860
- }
861
-
862
- // Small devices (landscape phones, 576px and up)
863
- @media (min-width: 576px) and (max-width: 767.98px) {
864
- }
865
-
866
- // Medium devices (tablets, 768px and up)
867
- @media (min-width: 768px) and (max-width: 991.98px) {
868
- }
869
-
870
- // Large devices (desktops, 992px and up)
871
- @media (min-width: 992px) and (max-width: 1199.98px) {
872
- }
873
-
874
- // Extra large devices (large desktops, 1200px and up)
875
- @media (min-width: 1200px) {
876
- }