kaui 3.0.9 → 4.0.0

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 (259) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/kaui/account/authorize.svg +4 -0
  3. data/app/assets/images/kaui/account/credit.svg +4 -0
  4. data/app/assets/images/kaui/account/down-arrow.svg +3 -0
  5. data/app/assets/images/kaui/account/edit.svg +4 -0
  6. data/app/assets/images/kaui/account/pay-all.svg +5 -0
  7. data/app/assets/images/kaui/account/plus.svg +3 -0
  8. data/app/assets/images/kaui/account/purchase.svg +5 -0
  9. data/app/assets/images/kaui/account/refresh.svg +5 -0
  10. data/app/assets/images/kaui/arrow.svg +3 -0
  11. data/app/assets/images/kaui/card.svg +5 -0
  12. data/app/assets/images/kaui/copy.svg +12 -0
  13. data/app/assets/images/kaui/dashboard/aviate.svg +6 -0
  14. data/app/assets/images/kaui/dashboard/custom-field.svg +5 -0
  15. data/app/assets/images/kaui/dashboard/kaui-doc-img.png +0 -0
  16. data/app/assets/images/kaui/dashboard/plugins.svg +7 -0
  17. data/app/assets/images/kaui/dashboard/tags.svg +4 -0
  18. data/app/assets/images/kaui/dashboard/users.svg +6 -0
  19. data/app/assets/images/kaui/delete.svg +6 -0
  20. data/app/assets/images/kaui/dots.svg +5 -0
  21. data/app/assets/images/kaui/download-csv.svg +5 -0
  22. data/app/assets/images/kaui/download.svg +4 -0
  23. data/app/assets/images/kaui/eye-off.svg +9 -0
  24. data/app/assets/images/kaui/eye.svg +7 -0
  25. data/app/assets/images/kaui/file-upload.svg +34 -0
  26. data/app/assets/images/kaui/generate.svg +5 -0
  27. data/app/assets/images/kaui/header/account.svg +4 -0
  28. data/app/assets/images/kaui/header/cog_icon.svg +4 -0
  29. data/app/assets/images/kaui/header/invoice.svg +5 -0
  30. data/app/assets/images/kaui/header/payment.svg +5 -0
  31. data/app/assets/images/kaui/header/search_icon.svg +4 -0
  32. data/app/assets/images/kaui/header/subscription.svg +6 -0
  33. data/app/assets/images/kaui/logout.svg +4 -0
  34. data/app/assets/images/kaui/modal/close.svg +3 -0
  35. data/app/assets/images/kaui/modal/plus.svg +3 -0
  36. data/app/assets/images/kaui/modal/red-close.svg +10 -0
  37. data/app/assets/images/kaui/modal/search.svg +4 -0
  38. data/app/assets/images/kaui/payment/payment.svg +4 -0
  39. data/app/assets/images/kaui/payment/refund.svg +4 -0
  40. data/app/assets/images/kaui/plus.svg +3 -0
  41. data/app/assets/images/kaui/search.svg +4 -0
  42. data/app/assets/images/kaui/setting/account.svg +10 -0
  43. data/app/assets/images/kaui/setting/analytics.svg +7 -0
  44. data/app/assets/images/kaui/setting/custom-field.svg +5 -0
  45. data/app/assets/images/kaui/setting/e-notifications.svg +6 -0
  46. data/app/assets/images/kaui/setting/plugins.svg +7 -0
  47. data/app/assets/images/kaui/setting/plus.svg +3 -0
  48. data/app/assets/images/kaui/setting/reset.svg +4 -0
  49. data/app/assets/images/kaui/setting/tag-definitions.svg +5 -0
  50. data/app/assets/images/kaui/setting/tags.svg +4 -0
  51. data/app/assets/images/kaui/setting/tenants.svg +6 -0
  52. data/app/assets/images/kaui/setting/users.svg +6 -0
  53. data/app/assets/images/kaui/setting.svg +4 -0
  54. data/app/assets/images/kaui/sidebar/account.svg +4 -0
  55. data/app/assets/images/kaui/sidebar/audit.svg +5 -0
  56. data/app/assets/images/kaui/sidebar/custom-fields.svg +5 -0
  57. data/app/assets/images/kaui/sidebar/invoices.svg +5 -0
  58. data/app/assets/images/kaui/sidebar/payments.svg +5 -0
  59. data/app/assets/images/kaui/sidebar/queues.svg +5 -0
  60. data/app/assets/images/kaui/sidebar/subscriptions.svg +6 -0
  61. data/app/assets/images/kaui/sidebar/tags.svg +5 -0
  62. data/app/assets/images/kaui/sidebar/timeline.svg +5 -0
  63. data/app/assets/images/kaui/sign_in_background.svg +57 -0
  64. data/app/assets/images/kaui/sort-down.svg +3 -0
  65. data/app/assets/images/kaui/sort-up.svg +3 -0
  66. data/app/assets/images/kaui/subscription/add-on.svg +7 -0
  67. data/app/assets/images/kaui/subscription/cancel.svg +6 -0
  68. data/app/assets/images/kaui/subscription/change.svg +6 -0
  69. data/app/assets/images/kaui/subscription/date.svg +6 -0
  70. data/app/assets/images/kaui/subscription/pause.svg +4 -0
  71. data/app/assets/images/kaui/timeline/authorize.svg +5 -0
  72. data/app/assets/images/kaui/timeline/capture.svg +5 -0
  73. data/app/assets/images/kaui/timeline/chargeback.svg +3 -0
  74. data/app/assets/images/kaui/timeline/credit.svg +6 -0
  75. data/app/assets/images/kaui/timeline/invoice.svg +5 -0
  76. data/app/assets/images/kaui/timeline/purchase.svg +5 -0
  77. data/app/assets/images/kaui/timeline/refund.svg +4 -0
  78. data/app/assets/images/kaui/timeline/void.svg +4 -0
  79. data/app/assets/images/kaui/view-doc.svg +6 -0
  80. data/app/assets/images/kaui/warning.png +0 -0
  81. data/app/assets/javascripts/application.js +2 -2
  82. data/app/assets/javascripts/kaui/kaui_override.js +232 -0
  83. data/app/assets/javascripts/kaui/multi_functions_bar_utils.js +125 -24
  84. data/app/assets/stylesheets/application.css +13 -1
  85. data/app/assets/stylesheets/kaui/account.css +2028 -14
  86. data/app/assets/stylesheets/kaui/account_timeline.css +183 -0
  87. data/app/assets/stylesheets/kaui/admin_allowed_users.css +260 -0
  88. data/app/assets/stylesheets/kaui/audit.css +26 -16
  89. data/app/assets/stylesheets/kaui/audit_logs.css +443 -0
  90. data/app/assets/stylesheets/kaui/auth_pages.css +72 -0
  91. data/app/assets/stylesheets/kaui/breadcrumb.css +38 -0
  92. data/app/assets/stylesheets/kaui/chargebacks.css +118 -0
  93. data/app/assets/stylesheets/kaui/clock.css +103 -0
  94. data/app/assets/stylesheets/kaui/common.css +1744 -401
  95. data/app/assets/stylesheets/kaui/custom_fields.css +546 -0
  96. data/app/assets/stylesheets/kaui/dashboard.css +26 -0
  97. data/app/assets/stylesheets/kaui/datatable.css +114 -56
  98. data/app/assets/stylesheets/kaui/header.css +221 -114
  99. data/app/assets/stylesheets/kaui/home.css +89 -62
  100. data/app/assets/stylesheets/kaui/invoice.css +1061 -27
  101. data/app/assets/stylesheets/kaui/kaui.css +217 -145
  102. data/app/assets/stylesheets/kaui/overdue.css +5 -3
  103. data/app/assets/stylesheets/kaui/payment.css +1102 -13
  104. data/app/assets/stylesheets/kaui/queues.css +269 -0
  105. data/app/assets/stylesheets/kaui/refunds.css +185 -0
  106. data/app/assets/stylesheets/kaui/role_definitions.css +111 -0
  107. data/app/assets/stylesheets/kaui/sidebar.css +122 -0
  108. data/app/assets/stylesheets/kaui/subscription.css +677 -0
  109. data/app/assets/stylesheets/kaui/tag_definitions.css +524 -0
  110. data/app/assets/stylesheets/kaui/tags.css +592 -121
  111. data/app/assets/stylesheets/kaui/tenants.css +1478 -0
  112. data/app/assets/stylesheets/kaui/tooltip.css +9 -5
  113. data/app/assets/stylesheets/kaui/wallets.css +121 -0
  114. data/app/controllers/kaui/accounts_controller.rb +3 -2
  115. data/app/controllers/kaui/admin_tenants_controller.rb +33 -0
  116. data/app/controllers/kaui/custom_fields_controller.rb +1 -1
  117. data/app/controllers/kaui/engine_controller.rb +1 -2
  118. data/app/controllers/kaui/engine_controller_util.rb +5 -7
  119. data/app/controllers/kaui/home_controller.rb +24 -17
  120. data/app/controllers/kaui/invoices_controller.rb +4 -15
  121. data/app/controllers/kaui/payments_controller.rb +1 -1
  122. data/app/controllers/kaui/sessions_controller.rb +1 -0
  123. data/app/controllers/kaui/tag_definitions_controller.rb +1 -0
  124. data/app/helpers/kaui/account_helper.rb +13 -0
  125. data/app/helpers/kaui/plugin_helper.rb +27 -0
  126. data/app/views/kaui/account_custom_fields/index.html.erb +95 -29
  127. data/app/views/kaui/account_emails/_account_emails_table.html.erb +13 -3
  128. data/app/views/kaui/account_emails/_form.html.erb +23 -6
  129. data/app/views/kaui/account_emails/new.html.erb +12 -6
  130. data/app/views/kaui/account_tags/_form_bar.html.erb +10 -1
  131. data/app/views/kaui/account_tags/index.html.erb +103 -24
  132. data/app/views/kaui/account_timelines/_multi_functions_bar.html.erb +302 -69
  133. data/app/views/kaui/account_timelines/show.html.erb +360 -254
  134. data/app/views/kaui/accounts/_account_details.html.erb +165 -0
  135. data/app/views/kaui/accounts/_account_filterbar.html.erb +70 -80
  136. data/app/views/kaui/accounts/_add_parent.html.erb +26 -0
  137. data/app/views/kaui/accounts/_billing_details.html.erb +196 -0
  138. data/app/views/kaui/accounts/_close_account_modal.html.erb +62 -40
  139. data/app/views/kaui/accounts/_form_account.html.erb +157 -0
  140. data/app/views/kaui/accounts/_functions_bar.html.erb +606 -0
  141. data/app/views/kaui/accounts/_link_parent_modal.html.erb +1 -1
  142. data/app/views/kaui/accounts/_link_parent_to_modal.html.erb +62 -0
  143. data/app/views/kaui/accounts/_multi_functions_bar.html.erb +67 -28
  144. data/app/views/kaui/accounts/_payment_gateways.html.erb +43 -0
  145. data/app/views/kaui/accounts/_personal_details.html.erb +67 -0
  146. data/app/views/kaui/accounts/edit.html.erb +15 -9
  147. data/app/views/kaui/accounts/index.html.erb +77 -27
  148. data/app/views/kaui/accounts/new.html.erb +14 -8
  149. data/app/views/kaui/accounts/show.html.erb +17 -11
  150. data/app/views/kaui/admin/index.html.erb +44 -19
  151. data/app/views/kaui/admin_allowed_users/_form.html.erb +123 -31
  152. data/app/views/kaui/admin_allowed_users/edit.html.erb +15 -9
  153. data/app/views/kaui/admin_allowed_users/index.html.erb +150 -30
  154. data/app/views/kaui/admin_allowed_users/new.html.erb +14 -8
  155. data/app/views/kaui/admin_allowed_users/show.html.erb +137 -32
  156. data/app/views/kaui/admin_tenants/_add_allowed_user_modal.html.erb +42 -15
  157. data/app/views/kaui/admin_tenants/_clock.html.erb +72 -0
  158. data/app/views/kaui/admin_tenants/_form.html.erb +32 -20
  159. data/app/views/kaui/admin_tenants/_form_catalog_translation.erb +21 -8
  160. data/app/views/kaui/admin_tenants/_form_invoice_template.erb +25 -9
  161. data/app/views/kaui/admin_tenants/_form_invoice_translation.erb +36 -20
  162. data/app/views/kaui/admin_tenants/_form_plugin_config.erb +16 -20
  163. data/app/views/kaui/admin_tenants/_show_catalog.erb +13 -6
  164. data/app/views/kaui/admin_tenants/_show_catalog_simple.erb +95 -46
  165. data/app/views/kaui/admin_tenants/_show_catalog_xml.erb +62 -37
  166. data/app/views/kaui/admin_tenants/_show_overdue.erb +91 -75
  167. data/app/views/kaui/admin_tenants/_tenant_details.html.erb +106 -17
  168. data/app/views/kaui/admin_tenants/_tenants_table.html.erb +67 -6
  169. data/app/views/kaui/admin_tenants/_useful_links.html.erb +21 -16
  170. data/app/views/kaui/admin_tenants/index.html.erb +35 -11
  171. data/app/views/kaui/admin_tenants/index.js.erb +3 -0
  172. data/app/views/kaui/admin_tenants/new.html.erb +19 -13
  173. data/app/views/kaui/admin_tenants/new_catalog.html.erb +230 -98
  174. data/app/views/kaui/admin_tenants/new_overdue_config.html.erb +152 -80
  175. data/app/views/kaui/admin_tenants/new_plan_currency.html.erb +44 -30
  176. data/app/views/kaui/admin_tenants/show.html.erb +211 -78
  177. data/app/views/kaui/admin_tenants/show.js.erb +3 -0
  178. data/app/views/kaui/audit_logs/_multi_functions_bar.html.erb +298 -101
  179. data/app/views/kaui/audit_logs/index.html.erb +137 -38
  180. data/app/views/kaui/bundle_tags/_form_bar.html.erb +11 -4
  181. data/app/views/kaui/bundles/_bundle_details.html.erb +24 -12
  182. data/app/views/kaui/bundles/index.html.erb +79 -104
  183. data/app/views/kaui/bundles/pause_resume.html.erb +73 -38
  184. data/app/views/kaui/chargebacks/_form.html.erb +35 -18
  185. data/app/views/kaui/chargebacks/new.html.erb +16 -9
  186. data/app/views/kaui/charges/_form.html.erb +54 -42
  187. data/app/views/kaui/charges/new.html.erb +15 -8
  188. data/app/views/kaui/components/breadcrumb/_breadcrumb.html.erb +146 -0
  189. data/app/views/kaui/components/button/_button.html.erb +16 -0
  190. data/app/views/kaui/components/dashboard/_card.html.erb +15 -0
  191. data/app/views/kaui/components/dashboard/_setting.html.erb +15 -0
  192. data/app/views/kaui/components/form_input/_form_input.html.erb +4 -0
  193. data/app/views/kaui/components/form_password/_form_password.html.erb +6 -0
  194. data/app/views/kaui/components/logo/_logo.html.erb +1 -0
  195. data/app/views/kaui/components/menu_dropdown/_menu_dropdown.html.erb +59 -0
  196. data/app/views/kaui/components/search_input/_search_input.html.erb +81 -0
  197. data/app/views/kaui/credits/_form.html.erb +42 -25
  198. data/app/views/kaui/credits/new.html.erb +15 -8
  199. data/app/views/kaui/custom_fields/_form.html.erb +37 -25
  200. data/app/views/kaui/custom_fields/_list_bar.html.erb +11 -10
  201. data/app/views/kaui/custom_fields/index.html.erb +121 -27
  202. data/app/views/kaui/custom_fields/new.html.erb +19 -8
  203. data/app/views/kaui/errors/500.html.erb +1 -1
  204. data/app/views/kaui/home/index.html.erb +77 -30
  205. data/app/views/kaui/invoice_items/_edit_form.html.erb +30 -14
  206. data/app/views/kaui/invoice_items/edit.html.erb +15 -7
  207. data/app/views/kaui/invoice_tags/_form_bar.html.erb +13 -3
  208. data/app/views/kaui/invoices/_invoice_filterbar.html.erb +53 -69
  209. data/app/views/kaui/invoices/_invoice_table.html.erb +77 -92
  210. data/app/views/kaui/invoices/_multi_functions_bar.html.erb +351 -140
  211. data/app/views/kaui/invoices/index.html.erb +89 -27
  212. data/app/views/kaui/invoices/show.html.erb +392 -80
  213. data/app/views/kaui/layouts/kaui_account_sidebar.html.erb +42 -0
  214. data/app/views/kaui/layouts/kaui_application.html.erb +29 -15
  215. data/app/views/kaui/layouts/kaui_flash.html.erb +82 -31
  216. data/app/views/kaui/layouts/kaui_navbar.html.erb +109 -82
  217. data/app/views/kaui/layouts/kaui_setting_sidebar.html.erb +36 -0
  218. data/app/views/kaui/payment_methods/_form.html.erb +32 -11
  219. data/app/views/kaui/payment_methods/_new_creditcard_payment_method.html.erb +35 -34
  220. data/app/views/kaui/payment_methods/_payment_methods_details_table.html.erb +27 -29
  221. data/app/views/kaui/payment_methods/_payment_methods_table.html.erb +116 -38
  222. data/app/views/kaui/payment_methods/_plugin_properties.html.erb +19 -9
  223. data/app/views/kaui/payment_methods/new.html.erb +14 -8
  224. data/app/views/kaui/payments/_form.html.erb +30 -13
  225. data/app/views/kaui/payments/_multi_functions_bar.html.erb +351 -141
  226. data/app/views/kaui/payments/_payment_filterbar.html.erb +63 -79
  227. data/app/views/kaui/payments/_payment_invoice_table.html.erb +105 -0
  228. data/app/views/kaui/payments/_payment_table.html.erb +4 -67
  229. data/app/views/kaui/payments/index.html.erb +90 -26
  230. data/app/views/kaui/payments/new.html.erb +15 -8
  231. data/app/views/kaui/payments/show.html.erb +222 -28
  232. data/app/views/kaui/queues/index.html.erb +329 -111
  233. data/app/views/kaui/refunds/_form.html.erb +68 -45
  234. data/app/views/kaui/refunds/new.html.erb +15 -8
  235. data/app/views/kaui/role_definitions/_form.html.erb +104 -17
  236. data/app/views/kaui/role_definitions/new.html.erb +15 -8
  237. data/app/views/kaui/sessions/_form.html.erb +9 -19
  238. data/app/views/kaui/sessions/new.html.erb +10 -9
  239. data/app/views/kaui/subscriptions/_cancel_by_date_modal.html.erb +65 -35
  240. data/app/views/kaui/subscriptions/_edit_form.html.erb +66 -35
  241. data/app/views/kaui/subscriptions/_form.html.erb +63 -32
  242. data/app/views/kaui/subscriptions/_subscriptions_table.html.erb +215 -57
  243. data/app/views/kaui/subscriptions/edit.html.erb +19 -8
  244. data/app/views/kaui/subscriptions/edit_bcd.erb +46 -16
  245. data/app/views/kaui/subscriptions/new.html.erb +22 -15
  246. data/app/views/kaui/tag_definitions/_form.html.erb +51 -30
  247. data/app/views/kaui/tag_definitions/index.html.erb +151 -40
  248. data/app/views/kaui/tag_definitions/new.html.erb +15 -8
  249. data/app/views/kaui/tags/index.html.erb +136 -47
  250. data/app/views/kaui/tenants/_form.html.erb +8 -5
  251. data/app/views/kaui/tenants/index.html.erb +15 -9
  252. data/app/views/kaui/transactions/_control_plugin_names.html.erb +18 -10
  253. data/app/views/kaui/transactions/_form.html.erb +86 -25
  254. data/app/views/kaui/transactions/new.html.erb +15 -9
  255. data/config/routes.rb +1 -0
  256. data/lib/kaui/engine.rb +11 -0
  257. data/lib/kaui/version.rb +1 -1
  258. data/lib/kaui.rb +0 -1
  259. metadata +120 -2
@@ -1,37 +1,1071 @@
1
1
  table.invoice-totals {
2
2
  border-top: 0;
3
- padding-top: 15px;
4
- margin-top: 45px; }
5
- @media (max-width: 768px) {
6
- table.invoice-totals tr:first-of-type th {
7
- padding-top: 60px; } }
8
- table.invoice-totals th, table.invoice-totals td {
9
- padding: 5px; }
3
+ padding-top: 0.9375rem;
4
+ margin-top: 2.8125rem;
5
+ }
6
+
7
+ @media (max-width: 48rem) {
8
+ table.invoice-totals tr:first-of-type th {
9
+ padding-top: 3.75rem;
10
+ }
11
+ }
12
+
13
+ table.invoice-totals th,
14
+ table.invoice-totals td {
15
+ padding: 0.3125rem;
16
+ }
17
+
18
+ table.invoice-totals th {
19
+ background-color: transparent;
20
+ text-transform: uppercase;
21
+ width: 80%;
22
+ text-align: right;
23
+ padding-right: 0.9375rem;
24
+ }
25
+
26
+ @media (max-width: 48rem) {
10
27
  table.invoice-totals th {
11
- background-color: transparent;
12
- text-transform: uppercase;
13
- width: 80%;
14
- text-align: right;
15
- padding-right: 15px; }
16
- @media (max-width: 768px) {
17
- table.invoice-totals th {
18
- width: 50%; } }
28
+ width: 50%;
29
+ }
30
+ }
31
+
32
+ table.invoice-totals td {
33
+ width: 20%;
34
+ }
35
+
36
+ @media (max-width: 48rem) {
19
37
  table.invoice-totals td {
20
- width: 20%; }
21
- @media (max-width: 768px) {
22
- table.invoice-totals td {
23
- width: 50%; } }
24
- table.invoice-totals tr {
25
- border: 0; }
26
- table.invoice-totals tr:last-of-type {
27
- background-color: #c7e4e7; }
38
+ width: 50%;
39
+ }
40
+ }
41
+
42
+ table.invoice-totals tr {
43
+ border: 0;
44
+ }
45
+
46
+ table.invoice-totals tr:last-of-type {
47
+ background-color: #c7e4e7;
48
+ }
28
49
 
29
50
  .invoice-date {
30
- margin-top: -15px;
31
- margin-bottom: 5px;
51
+ margin-top: -0.9375rem;
52
+ margin-bottom: 0.3125rem;
32
53
  font-weight: 700;
33
54
  text-transform: uppercase;
34
- font-size: 12px;
35
- padding: 5px 30px; }
55
+ font-size: 0.75rem;
56
+ padding: 0.3125rem 1.875rem;
57
+ }
36
58
 
37
59
  /*# sourceMappingURL=invoice.css.map */
60
+
61
+ /* app/views/kaui/invoices/index.html.erb */
62
+
63
+ .invoice-index .invoices {
64
+ max-width: <%= request.path.include?('/accounts/') ? '67.5rem' : '80rem' %>;
65
+ width: 100%;
66
+ }
67
+
68
+ .invoice-index .invoices .invoices-header {
69
+ display: flex;
70
+ align-items: start;
71
+ justify-content: space-between;
72
+ padding: 0;
73
+ border-bottom: 0.0625rem solid #E9EAEB;
74
+ }
75
+
76
+ .invoice-index .invoices-table {
77
+ }
78
+
79
+ .invoice-index .invoices-table th,
80
+ .invoice-index .invoices-table td {
81
+ white-space: nowrap;
82
+ text-align: left;
83
+ }
84
+
85
+ .invoice-index .invoices .invoices-header h2 {
86
+ font-weight: 600;
87
+ font-size: 1.125rem;
88
+ line-height: 1.75rem;
89
+ color: #414651;
90
+ margin-bottom: 1.25rem;
91
+ }
92
+
93
+ .invoice-index .invoices .invoices-table {
94
+ overflow-x: auto;
95
+ min-width: 100%;
96
+ }
97
+
98
+
99
+ .invoice-index .invoices .invoices-table th {
100
+ padding: 0.375rem 1.625rem 0.375rem 0.75rem;
101
+ font-weight: 500;
102
+ font-size: 0.875rem;
103
+ line-height: 1.125rem;
104
+ letter-spacing: 0;
105
+ color: #717680;
106
+ text-transform: capitalize;
107
+ position: relative;
108
+ }
109
+
110
+ .invoice-index .invoices .invoices-table .header-content {
111
+ display: flex;
112
+ align-items: center;
113
+ }
114
+
115
+ .invoice-index .invoices .invoices-table .sort-icons {
116
+ display: flex;
117
+ flex-direction: column;
118
+ margin-left: 0.5rem;
119
+ }
120
+
121
+ .invoice-index .invoices .invoices-table .sort-icon {
122
+ opacity: 0.4;
123
+ transition: opacity 0.2s ease;
124
+ }
125
+
126
+ .invoice-index .invoices .invoices-table .sort-icon.active {
127
+ opacity: 1;
128
+ }
129
+
130
+ .invoice-index .invoices .invoices-table .sort-desc {
131
+ margin-top: -0.25rem;
132
+ }
133
+
134
+ .invoice-index .invoices .invoices-table .sort-asc {
135
+ margin-bottom: -0.25rem;
136
+ }
137
+
138
+ .invoice-index .invoices .invoices-table .sortable-header.sort-asc-active .sort-asc,
139
+ .invoice-index .invoices .invoices-table .sortable-header.sort-desc-active .sort-desc {
140
+ opacity: 1;
141
+ }
142
+
143
+ .invoice-index .invoices .invoices-table .sortable-header.sort-asc-active .sort-desc,
144
+ .invoice-index .invoices .invoices-table .sortable-header.sort-desc-active .sort-asc {
145
+ opacity: 0.2;
146
+ }
147
+
148
+ /* Hide default DataTables sorting indicators */
149
+ .invoice-index .invoices .invoices-table th.sorting::after,
150
+ .invoice-index .invoices .invoices-table th.sorting_asc::after,
151
+ .invoice-index .invoices .invoices-table th.sorting_desc::after,
152
+ .invoice-index .invoices .invoices-table th.sorting::before,
153
+ .invoice-index .invoices .invoices-table th.sorting_asc::before,
154
+ .invoice-index .invoices .invoices-table th.sorting_desc::before {
155
+ display: none !important;
156
+ }
157
+
158
+ .invoice-index .invoices .invoices-table tr td:not(:first-child) a {
159
+ color: #535862 !important;
160
+ text-decoration: none !important;
161
+ }
162
+
163
+ .invoice-index .invoices .invoices-table .label.label-success {
164
+ display: inline-flex;
165
+ align-items: center;
166
+ gap: 0.125rem;
167
+ padding: 0.125rem 0.5rem;
168
+ border-radius: 62.4375rem;
169
+ background-color: #ECFDF3;
170
+ border: 0.0625rem solid #DCFAE6;
171
+ color: #067647;
172
+ font-weight: 500;
173
+ font-size: 0.75rem;
174
+ line-height: 1.125rem;
175
+ position: relative;
176
+ }
177
+
178
+ .invoice-index .invoices .invoices-table .label.label-success::before {
179
+ content: '';
180
+ display: inline-block;
181
+ width: 0.75rem;
182
+ height: 0.75rem;
183
+ background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%2317B26A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
184
+ background-size: contain;
185
+ background-repeat: no-repeat;
186
+ }
187
+
188
+ .invoice-index .invoices .invoices-table .label.label-danger {
189
+ display: inline-flex;
190
+ align-items: center;
191
+ gap: 0.125rem;
192
+ padding: 0.125rem 0.5rem;
193
+ border-radius: 62.4375rem;
194
+ background-color: #FEF3F2;
195
+ border: 0.0625rem solid #FEE4E2;
196
+ color: #B42318;
197
+ font-weight: 500;
198
+ font-size: 0.75rem;
199
+ line-height: 1.125rem;
200
+ position: relative;
201
+ }
202
+
203
+ .invoice-index .invoices .invoices-table .label.label-danger::before {
204
+ content: '';
205
+ display: inline-block;
206
+ width: 0.75rem;
207
+ height: 0.75rem;
208
+ background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 3.5L3.5 8.5M3.5 3.5L8.5 8.5' stroke='%23F97066' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
209
+ background-size: contain;
210
+ background-repeat: no-repeat;
211
+ }
212
+
213
+ .invoice-index .invoices .invoices-table .label.label-default {
214
+ display: inline-flex;
215
+ align-items: center;
216
+ gap: 0.125rem;
217
+ padding: 0.125rem 0.5rem;
218
+ border-radius: 62.4375rem;
219
+ background-color: #FAFAFA;
220
+ border: 0.0625rem solid #F5F5F5;
221
+ color: #414651;
222
+ font-weight: 500;
223
+ font-size: 0.75rem;
224
+ line-height: 1.125rem;
225
+ position: relative;
226
+ }
227
+
228
+ .invoice-index .invoices .invoices-table .category-bedge {
229
+ display: inline-block;
230
+ padding: 0.125rem 0.5rem !important;
231
+ border: 0.0625rem solid #F5F5F5 !important;
232
+ border-radius: 624.9375rem;
233
+ font-weight: 500 !important;
234
+ font-size: 0.875rem !important;
235
+ line-height: 1.125rem !important;
236
+ text-align: start;
237
+ color: #414651 !important;
238
+ background-color: #FAFAFA;
239
+ text-transform: capitalize;
240
+ }
241
+
242
+ .invoice-index .invoices .invoices-table .phase-type {
243
+ display: inline-block;
244
+ padding: 0.125rem 0.5rem !important;
245
+ border: 0.0625rem solid #D1E9FF !important;
246
+ border-radius: 624.9375rem;
247
+ font-weight: 500 !important;
248
+ font-size: 0.875rem !important;
249
+ line-height: 1.125rem !important;
250
+ text-align: start;
251
+ color: #175CD3 !important;
252
+ background-color: #EFF8FF;
253
+ text-transform: capitalize;
254
+ }
255
+
256
+ .invoice-index .invoices .invoices-table td:first-child {
257
+ padding-left: 1.25rem !important;
258
+ }
259
+
260
+ .invoice-index .invoices .invoices-table td {
261
+ font-weight: 500 !important;
262
+ font-size: 0.875rem !important;
263
+ padding: 1rem 0.75rem !important;
264
+ line-height: 1.125rem !important;
265
+ text-align: start;
266
+ color: #535862 !important;
267
+ }
268
+
269
+ .invoice-index .invoices .search table th:first-of-type, .search table td:first-of-type {
270
+ font-weight: 500 !important;
271
+ }
272
+
273
+ .invoice-index .invoices .cancel-menu ul {
274
+ padding: 0.25rem 0.375rem !important;
275
+ min-width: 16rem;
276
+ }
277
+
278
+ .invoice-index .invoices .cancel-menu li {
279
+ padding: 0.5rem;
280
+ border-radius: 0.25rem;
281
+ }
282
+
283
+ .invoice-index .invoices .cancel-menu li:hover {
284
+ background-color: #FAFAFA !important;
285
+ }
286
+
287
+ .invoice-index .invoices .cancel-menu li a {
288
+ font-weight: 500 !important;
289
+ font-size: 0.875rem !important;
290
+ line-height: 1.25rem !important;
291
+ letter-spacing: 0 !important;
292
+ color: #717680 !important;
293
+ text-transform: capitalize !important;
294
+ text-decoration: none;
295
+ }
296
+
297
+ .invoice-index .invoices .cancel-button {
298
+ background-color: transparent !important;
299
+ border: none !important;
300
+ padding: 0 !important;
301
+ color: #D92D20 !important;
302
+ flex-direction: row-reverse;
303
+ text-transform: capitalize;
304
+ gap: 0.0625rem;
305
+ font-weight: 500;
306
+ font-size: 0.875rem;
307
+ line-height: 1.25rem;
308
+ letter-spacing: 0;
309
+ margin-left: 0.75rem;
310
+ text-decoration: none;
311
+ }
312
+
313
+ .invoice-index .invoices table.dataTable {
314
+ overflow: auto !important;
315
+ }
316
+
317
+ .invoice-index .invoices .dots-menu {
318
+ padding: 0 !important;
319
+ background-color: transparent !important;
320
+ border: none !important;
321
+ margin-left: 0.75rem !important;
322
+ }
323
+
324
+ .invoice-index .invoices .change-btn {
325
+ font-weight: 500;
326
+ font-size: 0.875rem;
327
+ line-height: 1.25rem;
328
+ letter-spacing: 0;
329
+ color: #535862;
330
+ margin-left: 0.75rem;
331
+ text-decoration: none;
332
+ }
333
+
334
+ .invoice-index .invoices .pagination a:not(:first-child):not(:last-child) {
335
+ color: #717680;
336
+ display: flex;
337
+ align-items: center;
338
+ padding: 0.5rem 1rem;
339
+ font-weight: 500;
340
+ font-size: 0.875rem;
341
+ line-height: 1.25rem;
342
+ letter-spacing: 0;
343
+ }
344
+
345
+ .invoice-index .invoices .pagination a:not(:first-child):not(:last-child).btn-primary {
346
+ color: #414651;
347
+ background-color: #F5F5F5 !important;
348
+ border: 0 !important;
349
+ }
350
+
351
+ .invoice-index .invoices .dataTables_paginate {
352
+ display: flex;
353
+ align-items: center;
354
+ gap: 0.5rem;
355
+ font-family: 'Inter', sans-serif;
356
+ font-size: 0.875rem;
357
+ font-weight: 500;
358
+ }
359
+
360
+ .invoice-index .invoices .dataTables_paginate span .paginate_button {
361
+ width: 2.5rem;
362
+ height: 2.5rem;
363
+ display: inline-flex !important;
364
+ align-items: center !important;
365
+ justify-content: center !important;
366
+ color: #717680 !important;
367
+ text-decoration: none;
368
+ border: 0 !important;
369
+ }
370
+
371
+ .invoice-index .invoices .dataTables_paginate .paginate_button:hover {
372
+ background-color: #F3F4F6;
373
+ }
374
+
375
+ .invoice-index .invoices .dataTables_paginate .paginate_button.current {
376
+ background-color: #F5F5F5 !important;
377
+ border-radius: 0.375rem !important;
378
+ color: #414651 !important;
379
+ }
380
+
381
+ .invoice-index .invoices .dataTables_paginate .paginate_button.last,
382
+ .invoice-index .invoices .dataTables_paginate .paginate_button.previous {
383
+ border: 0.0625rem solid #E5E7EB;
384
+ border-radius: 0.5rem;
385
+ background-color: white;
386
+ padding: 0.5rem 0.875rem;
387
+ color: #374151;
388
+ }
389
+
390
+ .invoice-index .dropdown-menu#column-visibility {
391
+ max-height: 18.75rem;
392
+ width: 12.5rem;
393
+ overflow-y: auto;
394
+ }
395
+
396
+ .invoice-index .dropdown-menu {
397
+ padding: 0.3125rem;
398
+ }
399
+
400
+ .invoice-index .dropdown-menu#column-visibility::before {
401
+ content: 'Drag to reorder columns';
402
+ display: block;
403
+ height: 1.875rem;
404
+ text-align: center;
405
+ color: darkgrey;
406
+ padding-top: 0.3125rem;
407
+ }
408
+
409
+ .invoice-index .toggle-button-right {
410
+ float: right;
411
+ margin-bottom: 0.625rem;
412
+ margin-left: 0.625rem;
413
+ background-color: white;
414
+ color: black;
415
+ text-transform: none;
416
+ border: 0.0625rem solid #ccc;
417
+ padding: 0.5rem 0.9375rem;
418
+ }
419
+
420
+ .invoice-index .download-button-right {
421
+ float: right;
422
+ margin-bottom: 0.625rem;
423
+ margin-left: 0.625rem;
424
+ background-color: white;
425
+ color: black;
426
+ text-transform: none;
427
+ border: 0.0625rem solid #ccc;
428
+ padding: 0.5rem 0.9375rem;
429
+ }
430
+
431
+ .invoice-index .icon-drag {
432
+ margin-left: auto;
433
+ }
434
+
435
+ .invoice-index .dropdown-container {
436
+ display: flex;
437
+ justify-content: flex-end;
438
+ }
439
+
440
+ .invoice-index .label-group-item-manual {
441
+ margin: 0.3125rem;
442
+ padding: 0.5rem 0.625rem;
443
+ width: -webkit-fill-available;
444
+ cursor: grab;
445
+ display: flex;
446
+ gap: 0.25rem;
447
+ align-items: center;
448
+ font-weight: 500;
449
+ font-size: 0.875rem;
450
+ line-height: 1.25rem;
451
+ color: #252B37;
452
+ }
453
+
454
+ .invoice-index .label-group-item-manual:active {
455
+ background: #FAFAFA;
456
+ cursor: grabbing;
457
+ }
458
+
459
+ .invoice-index .label-group-item-manual span {
460
+ cursor: grab;
461
+ }
462
+
463
+ .invoice-index .label-group-item-manual:has(input[type="checkbox"]:checked) {
464
+ background-color: #FAFAFA;
465
+ border-radius: 0.25rem;
466
+ cursor: pointer !important;
467
+ }
468
+
469
+ .invoice-index .list-group-item-manual {
470
+ cursor: grab;
471
+ margin-bottom: 0.3125rem;
472
+ }
473
+
474
+ .invoice-index .list-group-item-manual:active {
475
+ cursor: grabbing;
476
+ }
477
+
478
+ .invoice-index .dropdown-menu.ui-sortable {
479
+ scrollbar-width: thin;
480
+ scrollbar-color: #ccc transparent;
481
+ border-radius: 0.375rem;
482
+ border: 0.0625rem solid #00000014 !important;
483
+ margin: 0.625rem 0 0;
484
+ min-width: 13.125rem;
485
+ }
486
+
487
+ .invoice-index .dropdown-menu.ui-sortable::-webkit-scrollbar {
488
+ width: 0.375rem;
489
+ }
490
+
491
+ .invoice-index .dropdown-menu.ui-sortable::-webkit-scrollbar-thumb {
492
+ background-color: #ccc;
493
+ border-radius: 0.1875rem;
494
+ }
495
+
496
+ .invoice-index .dropdown-menu.ui-sortable::-webkit-scrollbar-track {
497
+ background: transparent;
498
+ }
499
+
500
+ .invoice-index .modal-content {
501
+ border-radius: 1rem;
502
+ min-width: 40.5rem;
503
+ }
504
+
505
+ .invoice-index .modal-body {
506
+ padding-bottom: 0.375rem !important;
507
+ padding-top: 1.25rem !important;
508
+ }
509
+
510
+ .invoice-index .modal-header {
511
+ padding: 1.5rem 1.5rem 1rem 1.5rem !important;
512
+ }
513
+
514
+ .invoice-index .modal-footer {
515
+ padding: 1rem 1.5rem 1.5rem 1.5rem !important;
516
+ }
517
+
518
+ .invoice-index .modal-title {
519
+ font-weight: 600;
520
+ font-size: 1.125rem;
521
+ line-height: 1.75rem;
522
+ color: #181D27;
523
+ }
524
+
525
+ .invoice-index .close-button {
526
+ background: transparent;
527
+ padding: 0;
528
+ margin-top: -1.25rem;
529
+ }
530
+
531
+ .invoice-index .close-button:hover {
532
+ background: transparent;
533
+ padding: 0;
534
+ }
535
+
536
+ .invoice-index .border-button {
537
+ background: transparent;
538
+ display: inline-flex;
539
+ justify-content: center;
540
+ align-items: center;
541
+ border: 0.0625rem solid #D5D7DA;
542
+ border-radius: 0.375rem;
543
+ width: 2.5rem;
544
+ height: 2.5rem;
545
+ padding: 0.625rem;
546
+ }
547
+
548
+ .invoice-index .border-button:hover {
549
+ background: transparent;
550
+ }
551
+
552
+ .invoice-index .button {
553
+ background: transparent;
554
+ display: inline-flex;
555
+ justify-content: center;
556
+ align-items: center;
557
+ width: 2.5rem;
558
+ height: 2.5rem;
559
+ padding: 0.625rem;
560
+ }
561
+
562
+ .invoice-index .button:hover {
563
+ background: transparent;
564
+ }
565
+
566
+ .invoice-index .field-label {
567
+ font-weight: 500;
568
+ font-size: 0.875rem;
569
+ line-height: 1.25rem;
570
+ color: #414651;
571
+ margin-top: -1.25rem;
572
+ min-width: 9.59375rem;
573
+ }
574
+
575
+ .invoice-index .search-field-label {
576
+ margin-top: -1.25rem;
577
+ }
578
+
579
+ .invoice-index .form-group.row.align-items-center {
580
+ display: flex;
581
+ align-items: center;
582
+ }
583
+
584
+ .invoice-index .form-group.row.align-items-center label {
585
+ margin-bottom: 0;
586
+ }
587
+
588
+ .invoice-index .form-group.row.align-items-center .form-control {
589
+ margin-right: 0.25rem;
590
+ height: 2.5rem;
591
+ border-radius: 0.375rem;
592
+ }
593
+
594
+ .invoice-index .form-group.row.align-items-center.search-field div {
595
+ padding: 0;
596
+ margin-right: 0.25rem;
597
+ }
598
+
599
+ .invoice-index .form-group.row.align-items-center .form-control:focus {
600
+ outline: none;
601
+ box-shadow: none;
602
+ }
603
+
604
+ .invoice-index .form-group.d-flex {
605
+ display: flex;
606
+ align-items: center;
607
+ }
608
+
609
+ .invoice-index .form-group.d-flex label {
610
+ margin-bottom: 0;
611
+ }
612
+
613
+ .invoice-index .form-group.d-flex .form-control {
614
+ margin-right: 0.25rem;
615
+ height: 2.5rem;
616
+ border-radius: 0.375rem;
617
+ }
618
+
619
+ .invoice-index .form-group.d-flex .form-control:focus {
620
+ outline: none;
621
+ box-shadow: none;
622
+ }
623
+
624
+ .invoice-index #search-labels-container .label {
625
+ margin-left: 0.3125rem;
626
+ margin-bottom: 0.3125rem;
627
+ color: white;
628
+ }
629
+
630
+ .invoice-index .col-form-label {
631
+ font-weight: 500;
632
+ font-size: 0.875rem;
633
+ line-height: 1.25rem;
634
+ color: #414651;
635
+ padding: 0;
636
+ }
637
+
638
+ .invoice-index #search-fields-container {
639
+ display: flex;
640
+ flex-direction: column;
641
+ gap: 1rem;
642
+ margin: 1rem 0.75rem;
643
+ }
644
+
645
+ .invoice-index .filter-bar-container {
646
+ display: flex;
647
+ justify-content: flex-start;
648
+ align-items: center;
649
+ }
650
+
651
+ .invoice-index .filter-bar {
652
+ display: flex;
653
+ align-items: center;
654
+ }
655
+
656
+ .invoice-index .filter-bar label {
657
+ margin: 0.625rem;
658
+ }
659
+
660
+ .invoice-index .modal-header .icon-container {
661
+ display: inline-flex;
662
+ justify-content: center;
663
+ align-items: center;
664
+ border: 0.0625rem solid #D5D7DA;
665
+ border-radius: 0.375rem;
666
+ width: 2.5rem;
667
+ height: 2.5rem;
668
+ padding: 0.25rem;
669
+ }
670
+
671
+ .invoice-index .modal-header .icon-container img {
672
+ width: 1.25rem;
673
+ height: 1.25rem;
674
+ }
675
+
676
+ .invoice-index .form-group select.form-control {
677
+ appearance: none;
678
+ -webkit-appearance: none;
679
+ -moz-appearance: none;
680
+ background-image: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 6L8 10L12 6" stroke="%23A4A7AE" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
681
+ background-repeat: no-repeat;
682
+ background-position: right 0.625rem center;
683
+ background-size: 1rem 1rem;
684
+ padding-right: 1.875rem;
685
+ }
686
+
687
+ .invoice-index select.form-control:focus {
688
+ box-shadow: none;
689
+ outline: none;
690
+ }
691
+
692
+ /* app/views/kaui/invoices/show.html.erb */
693
+
694
+ .invoice-show .invoice {
695
+ max-width: 80rem;
696
+ width: 100%;
697
+ }
698
+
699
+ .invoice-show .invoice .invoice-header {
700
+ display: flex;
701
+ align-items: start;
702
+ justify-content: space-between;
703
+ padding: 0;
704
+ border-bottom: 0.0625rem solid #E9EAEB;
705
+ }
706
+
707
+ .invoice-show .invoice .invoice-header h2 {
708
+ font-weight: 600;
709
+ font-size: 1.125rem;
710
+ line-height: 1.75rem;
711
+ color: #414651;
712
+ margin-bottom: 1.25rem;
713
+ }
714
+
715
+ .invoice-show .tag-bar {
716
+ border: 0 !important;
717
+ }
718
+
719
+ .invoice-show .info-wrapper {
720
+ border: 0 !important;
721
+ }
722
+
723
+ .invoice-show .invoice-table th,
724
+ .invoice-show .invoice-table td {
725
+ white-space: nowrap;
726
+ text-align: left;
727
+ }
728
+
729
+ .invoice-show .invoice .invoice-table tr td:not(:first-child) a {
730
+ color: #535862 !important;
731
+ text-decoration: none !important;
732
+ }
733
+
734
+ .invoice-show .invoice .invoice-table th {
735
+ padding: 0.375rem 1.625rem 0.375rem 0.75rem;
736
+ font-weight: 500;
737
+ font-size: 0.875rem;
738
+ line-height: 1.125rem;
739
+ letter-spacing: 0;
740
+ color: #717680;
741
+ text-transform: capitalize;
742
+ }
743
+
744
+ .invoice-show .tag-select-box a {
745
+ text-decoration: none !important;
746
+ }
747
+
748
+ .invoice-show .invoice .invoice-table td {
749
+ font-weight: 500 !important;
750
+ font-size: 0.875rem !important;
751
+ padding: 1rem 0.5rem !important;
752
+ line-height: 1.125rem !important;
753
+ text-align: start;
754
+ color: #535862 !important;
755
+ }
756
+
757
+ .invoice-show .payment-table th,
758
+ .invoice-show .payment-table td {
759
+ white-space: nowrap;
760
+ text-align: left;
761
+ }
762
+
763
+ .invoice-show .payment-table tr td:not(:first-child) a {
764
+ color: #535862 !important;
765
+ text-decoration: none !important;
766
+ }
767
+
768
+ .invoice-show .payment-table th {
769
+ padding: 0.375rem 1.625rem 0.375rem 0.75rem !important;
770
+ font-weight: 500;
771
+ font-size: 0.875rem;
772
+ line-height: 1.125rem;
773
+ letter-spacing: 0;
774
+ color: #717680;
775
+ text-transform: capitalize;
776
+ }
777
+
778
+ .invoice-show .payment-table td {
779
+ font-weight: 500 !important;
780
+ font-size: 0.875rem !important;
781
+ padding: 1rem 0.5rem !important;
782
+ line-height: 1.125rem !important;
783
+ text-align: start;
784
+ color: #535862 !important;
785
+ }
786
+
787
+ .invoice-show .payment-table .alert-success {
788
+ display: inline-flex;
789
+ align-items: center;
790
+ gap: 0.125rem;
791
+ padding: 0.125rem 0.5rem;
792
+ border-radius: 62.4375rem;
793
+ background-color: #ECFDF3;
794
+ border: 0.0625rem solid #DCFAE6;
795
+ color: #067647;
796
+ font-weight: 500;
797
+ font-size: 0.75rem;
798
+ line-height: 1.125rem;
799
+ position: relative;
800
+ }
801
+
802
+ .invoice-show .payment-table ul {
803
+ margin: 0;
804
+ }
805
+
806
+ .invoice-show .payment-table .phase-type {
807
+ display: inline-block;
808
+ padding: 0.125rem 0.5rem !important;
809
+ border: 0.0625rem solid #D1E9FF !important;
810
+ border-radius: 624.9375rem;
811
+ font-weight: 500 !important;
812
+ font-size: 0.75rem !important;
813
+ line-height: 1.125rem !important;
814
+ text-align: start;
815
+ color: #175CD3 !important;
816
+ background-color: #EFF8FF;
817
+ text-transform: capitalize;
818
+ }
819
+
820
+ .invoice-show .payment-table .alert-success::before {
821
+ content: '';
822
+ display: inline-block;
823
+ width: 0.75rem;
824
+ height: 0.75rem;
825
+ background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%2317B26A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
826
+ background-size: contain;
827
+ background-repeat: no-repeat;
828
+ }
829
+
830
+ .invoice-show .payment-table .alert-danger {
831
+ display: inline-flex;
832
+ align-items: center;
833
+ gap: 0.125rem;
834
+ padding: 0.125rem 0.5rem;
835
+ border-radius: 62.4375rem;
836
+ background-color: #FEF3F2;
837
+ border: 0.0625rem solid #FEE4E2;
838
+ color: #B42318;
839
+ font-weight: 500;
840
+ font-size: 0.75rem;
841
+ line-height: 1.125rem;
842
+ position: relative;
843
+ }
844
+
845
+ .invoice-show .payment-table .alert-danger::before {
846
+ content: '';
847
+ display: inline-block;
848
+ width: 0.75rem;
849
+ height: 0.75rem;
850
+ background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 3.5L3.5 8.5M3.5 3.5L8.5 8.5' stroke='%23F97066' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
851
+ background-size: contain;
852
+ background-repeat: no-repeat;
853
+ }
854
+
855
+ .invoice-show .invoice-detail b {
856
+ font-weight: 600;
857
+ font-size: 0.875rem;
858
+ line-height: 1.25rem;
859
+ color: #414651;
860
+ }
861
+
862
+ .invoice-show .invoice-detail p,
863
+ .invoice-show .invoice-detail p a {
864
+ font-weight: 400;
865
+ font-size: 0.75rem;
866
+ line-height: 1.25rem;
867
+ color: #717680;
868
+ text-decoration: none;
869
+ }
870
+
871
+ .invoice-show .dots-menu {
872
+ padding: 0 !important;
873
+ background-color: transparent !important;
874
+ border: none !important;
875
+ }
876
+
877
+ .invoice-show .adjust-button {
878
+ padding: 0 !important;
879
+ background-color: transparent !important;
880
+ border: none !important;
881
+ color: #175CD3 !important;
882
+ }
883
+
884
+ .invoice-show .invoice-totals p {
885
+ font-weight: 500 !important;
886
+ font-size: 0.875rem !important;
887
+ line-height: 1.25rem !important;
888
+ color: #414651 !important;
889
+ margin-bottom: 0.5rem !important;
890
+ }
891
+
892
+ .invoice-show .payment-link a {
893
+ color: #717680 !important;
894
+ text-decoration: none !important;
895
+ }
896
+
897
+
898
+ .invoice-show .tag-select:hover .tag-as-select-box {
899
+ padding: 0.625rem !important;
900
+ border-radius: 0.375rem;
901
+ border: 0.0625rem solid #00000014 !important;
902
+ }
903
+
904
+ .invoice-show .tag-bar .tag-select .tag-select-box label {
905
+ width: 100%;
906
+ min-width: 12.5rem;
907
+ }
908
+
909
+ .invoice-show .tag-as-select-box .form-control {
910
+ width: 100%;
911
+ min-width: 14.5rem;
912
+ }
913
+
914
+ .invoice-show .label-group-item-manual {
915
+ padding: 0.5rem 0.625rem;
916
+ width: max-content;
917
+ display: flex;
918
+ gap: 0.25rem;
919
+ margin-bottom: 0.25rem;
920
+ align-items: center;
921
+ font-weight: 500;
922
+ font-size: 0.875rem;
923
+ line-height: 1.25rem;
924
+ color: #252B37;
925
+ }
926
+
927
+ .invoice-show .label-group-item-manual:active {
928
+ background: #FAFAFA;
929
+ }
930
+
931
+ .invoice-show .label-group-item-manual:has(input[type="checkbox"]:checked) {
932
+ background-color: #FAFAFA;
933
+ border-radius: 0.25rem;
934
+ cursor: pointer !important;
935
+ }
936
+
937
+ .invoice-show .tag-as-select-box::-webkit-scrollbar {
938
+ width: 0.375rem;
939
+ }
940
+
941
+ .invoice-show .tag-as-select-box::-webkit-scrollbar-thumb {
942
+ background-color: #ccc;
943
+ border-radius: 0.1875rem;
944
+ }
945
+
946
+ .invoice-show .tag-as-select-box::-webkit-scrollbar-track {
947
+ background: transparent;
948
+ }
949
+
950
+ .invoice-show .tag-bar .tag-select .tag-select-box form {
951
+ width: 100%;
952
+ }
953
+
954
+ /* app/views/kaui/invoice_items/edit.html.erb */
955
+
956
+ .adjust-invoice-item-modal .add-account-title {
957
+ display: flex;
958
+ align-items: center;
959
+ gap: 1rem;
960
+ font-weight: 600;
961
+ font-size: 1.125rem;
962
+ line-height: 1.75rem;
963
+ letter-spacing: 0;
964
+ color: #1B1C1E;
965
+ padding: 1rem 0;
966
+ margin-bottom: 1.5rem;
967
+ }
968
+
969
+ .adjust-invoice-item-modal .icon-container {
970
+ display: inline-flex;
971
+ justify-content: center;
972
+ align-items: center;
973
+ border: 0.0625rem solid #D5D7DA;
974
+ border-radius: 0.375rem;
975
+ width: 2.5rem;
976
+ height: 2.5rem;
977
+ padding: 0.25rem;
978
+ }
979
+
980
+ .adjust-invoice-item-modal .icon-container img {
981
+ width: 1rem;
982
+ height: 1rem;
983
+ }
984
+
985
+ /* app/views/kaui/invoice_items/_edit_form.html.erb */
986
+
987
+ .adjust-invoice-item-modal .control-label {
988
+ font-size: 0.875rem !important;
989
+ font-weight: 500 !important;
990
+ line-height: 1.25rem !important;
991
+ color: #414651 !important;
992
+ }
993
+
994
+ .adjust-invoice-item-modal .question-circle {
995
+ color: #A4A7AE;
996
+ font-size: 1rem;
997
+ width: 1rem;
998
+ height: 1rem;
999
+ display: inline-block;
1000
+ line-height: 1rem;
1001
+ text-align: center;
1002
+ }
1003
+
1004
+ .adjust-invoice-item-modal .col-sm-9.position-relative a {
1005
+ position: absolute;
1006
+ top: 0.5rem;
1007
+ right: 0.5rem;
1008
+ }
1009
+
1010
+ .adjust-invoice-item-modal .form-group.d-flex.pb-3 .form-control {
1011
+ height: 2.5rem;
1012
+ border-radius: 0.375rem;
1013
+ }
1014
+
1015
+ .adjust-invoice-item-modal .form-group.d-flex .form-control:focus {
1016
+ outline: none;
1017
+ box-shadow: none;
1018
+ }
1019
+
1020
+ .adjust-invoice-item-modal .form-group select.form-control {
1021
+ appearance: none;
1022
+ -webkit-appearance: none;
1023
+ -moz-appearance: none;
1024
+
1025
+ background-image: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 6L8 10L12 6" stroke="%23A4A7AE" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
1026
+ background-repeat: no-repeat;
1027
+ background-position: right 0.625rem center;
1028
+ background-size: 1rem 1rem;
1029
+
1030
+ padding-right: 1.875rem;
1031
+ }
1032
+
1033
+ .adjust-invoice-item-modal select.form-control:focus {
1034
+ box-shadow: none;
1035
+ outline: none;
1036
+ }
1037
+
1038
+ .adjust-invoice-item-modal .checkbox label {
1039
+ font-weight: 500;
1040
+ font-size: 0.875rem;
1041
+ line-height: 1.25rem;
1042
+ color: #414651;
1043
+ display: flex;
1044
+ align-items: center;
1045
+ gap: 0.375rem;
1046
+ }
1047
+
1048
+ .adjust-invoice-item-modal .form-group.d-flex .currency-group input {
1049
+ border-right: 0;
1050
+ border-radius: 0.375rem 0 0 0.375rem !important;
1051
+ }
1052
+
1053
+ .adjust-invoice-item-modal .form-group.d-flex .currency-group .currency {
1054
+ border-left: 0 !important;
1055
+ border: 0.0625rem solid #ced4da;
1056
+ border-radius: 0 0.375rem 0.375rem 0 !important;
1057
+ padding: 0.375rem 0.75rem;
1058
+ font-weight: 400;
1059
+ font-size: 1rem;
1060
+ line-height: 1.5rem;
1061
+ color: #535862;
1062
+ }
1063
+
1064
+ .adjust-invoice-item-modal .help-block {
1065
+ margin: 0;
1066
+ font-weight: 400;
1067
+ font-size: 0.875rem;
1068
+ line-height: 1.25rem;
1069
+ color: #535862;
1070
+ }
1071
+