@c8y/style 1023.17.20 → 1023.22.2

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 (402) hide show
  1. package/branding-login.scss +17 -0
  2. package/branding.scss +15 -0
  3. package/export.scss +1 -0
  4. package/extend.scss +4 -0
  5. package/login.scss +17 -0
  6. package/main.scss +6 -0
  7. package/package.json +1 -1
  8. package/styles/README.md +204 -0
  9. package/styles/_login-app.scss +34 -0
  10. package/styles/_mixins.scss +47 -0
  11. package/styles/_utilities.scss +21 -0
  12. package/styles/animations/_animate.less +648 -0
  13. package/styles/animations/_animate.scss +654 -0
  14. package/styles/animations/_component-animations.scss +70 -0
  15. package/styles/animations/_realtime-animation-list.scss +21 -0
  16. package/styles/animations/_spinner-snake.scss +73 -0
  17. package/styles/{_spinner.less → animations/_spinner.less} +0 -3
  18. package/styles/animations/_spinner.scss +165 -0
  19. package/styles/base/_normalize.scss +309 -0
  20. package/styles/base/_print.scss +159 -0
  21. package/styles/base/_scaffolding.scss +162 -0
  22. package/styles/{_type.less → base/_type.less} +2 -2
  23. package/styles/base/_type.scss +350 -0
  24. package/styles/components/_markdown-content.less +75 -0
  25. package/styles/components/_markdown-content.scss +82 -0
  26. package/styles/{_smartrules.less → components/_smartrules.less} +120 -97
  27. package/styles/components/_smartrules.scss +392 -0
  28. package/styles/{_range-display.less → components/data-display-and-visualization/_range-display.less} +67 -49
  29. package/styles/components/data-display-and-visualization/_range-display.scss +488 -0
  30. package/styles/{_timelines-chart.less → components/data-display-and-visualization/_timelines-chart.less} +42 -33
  31. package/styles/components/data-display-and-visualization/_timelines-chart.scss +45 -0
  32. package/styles/{_c8y-data-point-list.less → components/data-display-and-visualization/lists/_c8y-data-point-list.less} +2 -20
  33. package/styles/components/data-display-and-visualization/lists/_c8y-data-point-list.scss +32 -0
  34. package/styles/components/data-display-and-visualization/lists/_c8y-empty-state.scss +164 -0
  35. package/styles/{_c8y-list-group.less → components/data-display-and-visualization/lists/_c8y-list-group.less} +1 -1
  36. package/styles/components/data-display-and-visualization/lists/_c8y-list-group.scss +789 -0
  37. package/styles/components/data-display-and-visualization/lists/_cards-layout.scss +415 -0
  38. package/styles/{_list-group.less → components/data-display-and-visualization/lists/_list-group.less} +4 -2
  39. package/styles/components/data-display-and-visualization/lists/_list-group.scss +381 -0
  40. package/styles/components/data-display-and-visualization/lists/_smart-rules-template-list.scss +36 -0
  41. package/styles/components/data-display-and-visualization/lists/_timeline-list.scss +240 -0
  42. package/styles/components/data-display-and-visualization/lists/timeline-list.less +216 -0
  43. package/styles/components/data-display-and-visualization/tables/_data-grid.scss +814 -0
  44. package/styles/{_resizable-grid.less → components/data-display-and-visualization/tables/_resizable-grid.less} +0 -3
  45. package/styles/components/data-display-and-visualization/tables/_resizable-grid.scss +138 -0
  46. package/styles/components/data-display-and-visualization/tables/_tables.scss +411 -0
  47. package/styles/{_c8y-ai-chat.less → components/data-input/_c8y-ai-chat.less} +44 -28
  48. package/styles/components/data-input/_c8y-ai-chat.scss +212 -0
  49. package/styles/components/data-input/assets/_asset-property-list.scss +285 -0
  50. package/styles/{_asset-table.less → components/data-input/assets/_asset-table.less} +3 -6
  51. package/styles/components/data-input/assets/_asset-table.scss +95 -0
  52. package/styles/components/data-input/assets/_c8y-asset-notes.scss +41 -0
  53. package/styles/components/data-input/assets/_c8y-asset-selector-miller.scss +134 -0
  54. package/styles/{_c8y-asset-selector.less → components/data-input/assets/_c8y-asset-selector.less} +1 -1
  55. package/styles/components/data-input/assets/_c8y-asset-selector.scss +178 -0
  56. package/styles/components/data-input/assets/_c8y-child-assets-selector.scss +231 -0
  57. package/styles/{_app-switcher.less → components/navigation-and-layout/action-bars/_app-switcher.less} +1 -1
  58. package/styles/components/navigation-and-layout/action-bars/_app-switcher.scss +111 -0
  59. package/styles/components/navigation-and-layout/action-bars/_c8y-action-bar.scss +418 -0
  60. package/styles/{_card-dashboard.less → components/navigation-and-layout/cards/_card-dashboard.less} +2 -5
  61. package/styles/components/navigation-and-layout/cards/_card-dashboard.scss +179 -0
  62. package/styles/components/navigation-and-layout/cards/_card-flip.scss +104 -0
  63. package/styles/components/navigation-and-layout/cards/_card-grid.scss +95 -0
  64. package/styles/{_card.less → components/navigation-and-layout/cards/_card.less} +18 -22
  65. package/styles/components/navigation-and-layout/cards/_card.scss +769 -0
  66. package/styles/{_panels.less → components/navigation-and-layout/cards/_panels.less} +11 -21
  67. package/styles/components/navigation-and-layout/cards/_panels.scss +514 -0
  68. package/styles/{_breadcrumbs.less → components/navigation-and-layout/navigation/_breadcrumbs.less} +0 -29
  69. package/styles/components/navigation-and-layout/navigation/_breadcrumbs.scss +61 -0
  70. package/styles/components/navigation-and-layout/navigation/_c8y-nav-stacked.scss +85 -0
  71. package/styles/components/navigation-and-layout/navigation/_main-header.scss +510 -0
  72. package/styles/{_navbar.less → components/navigation-and-layout/navigation/_navbar.less} +7 -6
  73. package/styles/components/navigation-and-layout/navigation/_navbar.scss +488 -0
  74. package/styles/components/navigation-and-layout/navigation/_navigator.scss +454 -0
  75. package/styles/components/navigation-and-layout/navigation/_navs.scss +118 -0
  76. package/styles/components/navigation-and-layout/navigation/_pagination.scss +148 -0
  77. package/styles/components/navigation-and-layout/navigation/_steps-navbar.scss +101 -0
  78. package/styles/{_tabs.less → components/navigation-and-layout/navigation/_tabs.less} +1 -1
  79. package/styles/components/navigation-and-layout/navigation/_tabs.scss +254 -0
  80. package/styles/components/navigation-and-layout/navigation/steps-navbar.less +98 -0
  81. package/styles/components/specialized/_boxed-label.scss +36 -0
  82. package/styles/components/specialized/_c8y-cookie-banner.scss +37 -0
  83. package/styles/{_c8y-countdown-interval.less → components/specialized/_c8y-countdown-interval.less} +1 -1
  84. package/styles/components/specialized/_c8y-countdown-interval.scss +126 -0
  85. package/styles/{_c8y-data-explorer.less → components/specialized/_c8y-data-explorer.less} +12 -115
  86. package/styles/components/specialized/_c8y-data-explorer.scss +260 -0
  87. package/styles/components/specialized/_c8y-datapoint-pill.scss +105 -0
  88. package/styles/{_c8y-login.less → components/specialized/_c8y-login.less} +3 -3
  89. package/styles/components/specialized/_c8y-login.scss +120 -0
  90. package/styles/components/specialized/_c8y-message-banner.less +37 -0
  91. package/styles/components/specialized/_c8y-message-banner.scss +52 -0
  92. package/styles/components/specialized/_c8y-pulse.scss +118 -0
  93. package/styles/components/specialized/_c8y-range.scss +237 -0
  94. package/styles/{_c8y-role-card.less → components/specialized/_c8y-role-card.less} +2 -22
  95. package/styles/components/specialized/_c8y-role-card.scss +68 -0
  96. package/styles/{_c8y-schema-form.less → components/specialized/_c8y-schema-form.less} +1 -5
  97. package/styles/components/specialized/_c8y-schema-form.scss +193 -0
  98. package/styles/components/specialized/_c8y-scrollbar.scss +82 -0
  99. package/styles/components/specialized/_c8y-smart-rest-tab.scss +75 -0
  100. package/styles/{_c8y-stepper.less → components/specialized/_c8y-stepper.less} +3 -3
  101. package/styles/components/specialized/_c8y-stepper.scss +110 -0
  102. package/styles/{_c8y-user-roles.less → components/specialized/_c8y-user-roles.less} +6 -7
  103. package/styles/components/specialized/_c8y-user-roles.scss +351 -0
  104. package/styles/{_c8y-utils.less → components/specialized/_c8y-utils.less} +0 -3
  105. package/styles/components/specialized/_c8y-utils.scss +109 -0
  106. package/styles/components/specialized/_code.scss +94 -0
  107. package/styles/components/specialized/_device-software-tab.scss +52 -0
  108. package/styles/components/specialized/_dtm-icon-selector.scss +84 -0
  109. package/styles/{_measurements-time-control.less → components/specialized/_measurements-time-control.less} +12 -52
  110. package/styles/components/specialized/_measurements-time-control.scss +237 -0
  111. package/styles/components/specialized/_search-header.scss +126 -0
  112. package/styles/{_smart-list-icon-label.less → components/specialized/_smart-list-icon-label.less} +1 -1
  113. package/styles/components/specialized/_smart-list-icon-label.scss +75 -0
  114. package/styles/components/specialized/_static-assets-file-picker.scss +23 -0
  115. package/styles/{_status.less → components/specialized/_status.less} +11 -11
  116. package/styles/components/specialized/_status.scss +106 -0
  117. package/styles/components/specialized/_statusContainer.scss +62 -0
  118. package/styles/core/buttons/_button-groups.scss +202 -0
  119. package/styles/{_buttons.less → core/buttons/_buttons.less} +30 -21
  120. package/styles/core/buttons/_buttons.scss +1318 -0
  121. package/styles/{_alerts.less → core/feedback/_alerts.less} +2 -6
  122. package/styles/core/feedback/_alerts.scss +243 -0
  123. package/styles/core/feedback/_badges.scss +85 -0
  124. package/styles/core/feedback/_close.scss +54 -0
  125. package/styles/{_labels.less → core/feedback/_labels.less} +1 -1
  126. package/styles/core/feedback/_labels.scss +93 -0
  127. package/styles/core/feedback/_progress-bars.scss +96 -0
  128. package/styles/{_tag.less → core/feedback/_tag.less} +1 -1
  129. package/styles/core/feedback/_tag.scss +103 -0
  130. package/styles/core/feedback/_tooltip.scss +147 -0
  131. package/styles/{_c8y-switch.less → core/forms/_c8y-switch.less} +2 -2
  132. package/styles/core/forms/_c8y-switch.scss +226 -0
  133. package/styles/{_file-picker.less → core/forms/_file-picker.less} +1 -1
  134. package/styles/core/forms/_file-picker.scss +219 -0
  135. package/styles/{_forms.less → core/forms/_forms.less} +14 -16
  136. package/styles/core/forms/_forms.scss +1183 -0
  137. package/styles/{_input-groups.less → core/forms/_input-groups.less} +2 -2
  138. package/styles/core/forms/_input-groups.scss +700 -0
  139. package/styles/{_c8y-dashboard-modal.less → core/overlays/_c8y-dashboard-modal.less} +3 -3
  140. package/styles/core/overlays/_c8y-dashboard-modal.scss +86 -0
  141. package/styles/{_c8y-wizard.less → core/overlays/_c8y-wizard.less} +1 -1
  142. package/styles/core/overlays/_c8y-wizard.scss +226 -0
  143. package/styles/{_dropdowns.less → core/overlays/_dropdowns.less} +4 -4
  144. package/styles/core/overlays/_dropdowns.scss +815 -0
  145. package/styles/{_modals.less → core/overlays/_modals.less} +7 -8
  146. package/styles/core/overlays/_modals.scss +461 -0
  147. package/styles/core/overlays/_popovers.scss +183 -0
  148. package/styles/dashboard/_availability-pie.scss +33 -0
  149. package/styles/{_c8y-dashboard-style.less → dashboard/_c8y-dashboard-style.less} +4 -6
  150. package/styles/dashboard/_c8y-dashboard-style.scss +409 -0
  151. package/styles/{_c8y-gauges.less → dashboard/_c8y-gauges.less} +1 -1
  152. package/styles/dashboard/_c8y-gauges.scss +62 -0
  153. package/styles/dashboard/_dashboard-widgets.scss +47 -0
  154. package/styles/dashboard/_info-gauge.scss +107 -0
  155. package/styles/dashboard/_quick-links-widget.scss +49 -0
  156. package/styles/dashboard/_welcome-widget.scss +68 -0
  157. package/styles/dashboard/_welcome.scss +138 -0
  158. package/styles/dashboard/welcome-widget.less +50 -0
  159. package/styles/dashboard/welcome.less +128 -0
  160. package/styles/icons/_c8y-glyphs.scss +63 -0
  161. package/styles/{_c8y-icons.less → icons/_c8y-icons.less} +12 -12
  162. package/styles/icons/_c8y-icons.scss +1209 -0
  163. package/styles/icons/_dlt-c8y-icons-stroke.less +1856 -0
  164. package/styles/icons/_dlt-c8y-icons-stroke.scss +3667 -0
  165. package/styles/{_dlt-c8y-icons.less → icons/_dlt-c8y-icons.less} +5 -112
  166. package/styles/icons/_dlt-c8y-icons.scss +9204 -0
  167. package/styles/icons/_marker-icons.less +22 -0
  168. package/styles/icons/_marker-icons.scss +33 -0
  169. package/styles/index.less +233 -152
  170. package/styles/index.scss +240 -0
  171. package/styles/layout/_bottom-drawer.scss +59 -0
  172. package/styles/layout/_c8y-help-drawer.scss +104 -0
  173. package/styles/layout/_c8y-right-drawer.scss +150 -0
  174. package/styles/layout/_c8y-top-drawer.scss +117 -0
  175. package/styles/{_grid.less → layout/_grid.less} +3 -18
  176. package/styles/layout/_grid.scss +114 -0
  177. package/styles/layout/_group-info.scss +27 -0
  178. package/styles/{_layouts.less → layout/_layouts.less} +1 -3
  179. package/styles/layout/_layouts.scss +375 -0
  180. package/styles/layout/_mcontainer.scss +136 -0
  181. package/styles/layout/_page-tabs.scss +314 -0
  182. package/styles/{_split-scroll.less → layout/_split-scroll.less} +1 -1
  183. package/styles/layout/_split-scroll.scss +112 -0
  184. package/styles/layout/_split-view.scss +126 -0
  185. package/styles/login-app-use.scss +36 -0
  186. package/styles/login-app.less +25 -24
  187. package/styles/mixins/_alert-variant.scss +13 -0
  188. package/styles/mixins/_animation.scss +25 -0
  189. package/styles/mixins/_background-variant.scss +34 -0
  190. package/styles/mixins/_border-radius.scss +18 -0
  191. package/styles/mixins/_buttons.scss +65 -0
  192. package/styles/mixins/_c8y-scrollbar.scss +29 -0
  193. package/styles/mixins/_center-block.scss +7 -0
  194. package/styles/mixins/_clearfix.scss +22 -0
  195. package/styles/mixins/_color-mixins.scss +21 -0
  196. package/styles/mixins/_create-grid.scss +137 -0
  197. package/styles/mixins/_element-queries.scss +39 -0
  198. package/styles/mixins/_forms.scss +122 -0
  199. package/styles/mixins/_gradients.scss +120 -0
  200. package/styles/mixins/_grid-framework.scss +104 -0
  201. package/styles/mixins/_grid.scss +126 -0
  202. package/styles/mixins/_hide-scrollbars.scss +10 -0
  203. package/styles/mixins/_hide-text.scss +24 -0
  204. package/styles/mixins/_icon-base.scss +30 -0
  205. package/styles/mixins/_image.scss +26 -0
  206. package/styles/mixins/_index.scss +48 -0
  207. package/styles/mixins/_labels.scss +14 -0
  208. package/styles/mixins/_list-group.scss +32 -0
  209. package/styles/mixins/_nav-divider.scss +8 -0
  210. package/styles/mixins/_nav-vertical-align.scss +9 -0
  211. package/styles/mixins/_opacity.scss +9 -0
  212. package/styles/mixins/_pagination.scss +26 -0
  213. package/styles/mixins/_panels.scss +25 -0
  214. package/styles/mixins/_progress-bar.scss +12 -0
  215. package/styles/mixins/_reset-filter.scss +9 -0
  216. package/styles/mixins/_reset-text.scss +21 -0
  217. package/styles/mixins/_resize.scss +6 -0
  218. package/styles/mixins/_responsive-visibility.scss +21 -0
  219. package/styles/mixins/_shadows-helper.scss +40 -0
  220. package/styles/mixins/_size.scss +109 -0
  221. package/styles/mixins/_tab-focus.scss +20 -0
  222. package/styles/mixins/_table-row.scss +30 -0
  223. package/styles/mixins/_tag.scss +14 -0
  224. package/styles/mixins/_text-emphasis.scss +19 -0
  225. package/styles/mixins/_text-overflow.scss +10 -0
  226. package/styles/mixins/_vendor-prefixes.scss +149 -0
  227. package/styles/mixins/vendor-prefixes.less +37 -112
  228. package/styles/utilities/_borders.less +3 -12
  229. package/styles/utilities/_borders.scss +137 -0
  230. package/styles/utilities/_caret.scss +50 -0
  231. package/styles/utilities/_container-queries.scss +113 -0
  232. package/styles/utilities/_contextual-colors.less +113 -168
  233. package/styles/utilities/_contextual-colors.scss +170 -0
  234. package/styles/utilities/_display.scss +439 -0
  235. package/styles/utilities/_elevation.scss +41 -0
  236. package/styles/utilities/_flex-containers.scss +219 -0
  237. package/styles/utilities/_flex-items.scss +152 -0
  238. package/styles/utilities/_icon-utils.less +5 -5
  239. package/styles/utilities/_icon-utils.scss +94 -0
  240. package/styles/utilities/_margins-paddings.scss +190 -0
  241. package/styles/utilities/_overflows.scss +69 -0
  242. package/styles/utilities/_position.less +3 -6
  243. package/styles/utilities/_position.scss +143 -0
  244. package/styles/utilities/_quickfloats.less +1 -8
  245. package/styles/utilities/_quickfloats.scss +36 -0
  246. package/styles/utilities/_separators.scss +71 -0
  247. package/styles/utilities/_shadows.scss +7 -0
  248. package/styles/utilities/_sizing.scss +122 -0
  249. package/styles/utilities/_text-utils.scss +691 -0
  250. package/styles/utilities.less +1 -4
  251. package/styles/vendor/ace-editor/_ace-editor.scss +26 -0
  252. package/styles/vendor/angular/_loading-bar.scss +33 -0
  253. package/styles/{_ui-sortable.less → vendor/angular/_ui-sortable.less} +1 -1
  254. package/styles/vendor/angular/_ui-sortable.scss +70 -0
  255. package/styles/{_uib-accordion.less → vendor/angular/_uib-accordion.less} +1 -1
  256. package/styles/vendor/angular/_uib-accordion.scss +59 -0
  257. package/styles/vendor/angular/angular-ui-select/_select.scss +154 -0
  258. package/styles/vendor/angular/angular-ui-select/select.less +161 -0
  259. package/styles/vendor/cdk/_cdk-drag.scss +71 -0
  260. package/styles/{_cdk-tree.less → vendor/cdk/_cdk-tree.less} +1 -1
  261. package/styles/vendor/cdk/_cdk-tree.scss +66 -0
  262. package/styles/vendor/cdk/_cdk-virtual-scroll-window.scss +18 -0
  263. package/styles/{_bs-datepicker.less → vendor/datepicker/_bs-datepicker.less} +1 -7
  264. package/styles/vendor/datepicker/_bs-datepicker.scss +628 -0
  265. package/styles/{_datepicker.less → vendor/datepicker/_uib-datepicker.less} +1 -6
  266. package/styles/vendor/datepicker/_uib-datepicker.scss +173 -0
  267. package/styles/{_c8y-map-internal.less → vendor/leaflet/_c8y-map-internal.less} +4 -4
  268. package/styles/vendor/leaflet/_c8y-map-internal.scss +316 -0
  269. package/styles/{_leaflet.less → vendor/leaflet/_leaflet.less} +4 -3
  270. package/styles/vendor/leaflet/_leaflet.scss +803 -0
  271. package/styles/{_colorpicker.less → vendor/other/_colorpicker.less} +2 -2
  272. package/styles/vendor/other/_colorpicker.scss +40 -0
  273. package/styles/{_c8y-selectize.less → vendor/selectize/_c8y-selectize.less} +1 -10
  274. package/styles/vendor/selectize/_c8y-selectize.scss +403 -0
  275. package/sync-scss-to-less.sh +75 -0
  276. package/variables/README.md +485 -0
  277. package/variables/_alert-vars.scss +36 -0
  278. package/variables/_badge-vars.less +0 -1
  279. package/variables/_badge-vars.scss +24 -0
  280. package/variables/_brand-vars.scss +97 -0
  281. package/variables/_breadcrumbs-vars.scss +13 -0
  282. package/variables/_buttons-vars.less +17 -0
  283. package/variables/_buttons-vars.scss +107 -0
  284. package/variables/_c8y-action-bar-vars.less +1 -1
  285. package/variables/_c8y-action-bar-vars.scss +15 -0
  286. package/variables/_c8y-icon-vars.scss +199 -0
  287. package/variables/_code-vars.less +2 -3
  288. package/variables/_code-vars.scss +18 -0
  289. package/variables/_color-defaults.less +91 -0
  290. package/variables/_color-defaults.scss +91 -0
  291. package/variables/_color-vars.less +96 -39
  292. package/variables/_color-vars.scss +303 -0
  293. package/variables/_components-vars.scss +22 -0
  294. package/variables/_dlt-c8y-icons-vars.scss +1825 -0
  295. package/variables/_forms-vars.less +1 -1
  296. package/variables/_forms-vars.scss +98 -0
  297. package/variables/_label-vars.less +5 -2
  298. package/variables/_label-vars.scss +37 -0
  299. package/variables/_layout-vars.less +29 -13
  300. package/variables/_layout-vars.scss +110 -0
  301. package/variables/_map-vars.scss +12 -0
  302. package/variables/_modal-vars.less +2 -2
  303. package/variables/_modal-vars.scss +13 -0
  304. package/variables/_navbar-vars.less +15 -7
  305. package/variables/_navbar-vars.scss +72 -0
  306. package/variables/_navigator.scss +8 -0
  307. package/variables/_page-sticky-header.scss +4 -0
  308. package/variables/_pagination-vars.scss +30 -0
  309. package/variables/_panel-vars.less +2 -2
  310. package/variables/_panel-vars.scss +40 -0
  311. package/variables/_popover-vars.scss +23 -0
  312. package/variables/_progress-bars-vars.less +5 -5
  313. package/variables/_progress-bars-vars.scss +19 -0
  314. package/variables/_scaffolding.scss +33 -0
  315. package/variables/_selectize-vars.scss +37 -0
  316. package/variables/_tables-vars.scss +7 -0
  317. package/variables/_tag-vars.less +1 -1
  318. package/variables/_tag-vars.scss +38 -0
  319. package/variables/_thumbnail-vars.scss +12 -0
  320. package/variables/_tooltip-vars.scss +16 -0
  321. package/variables/_typography-vars.scss +45 -0
  322. package/variables/dashboard-themes/_branded-dashboard.less +0 -11
  323. package/variables/dashboard-themes/_branded-dashboard.scss +296 -0
  324. package/variables/dashboard-themes/_dark-dashboard.less +7 -0
  325. package/variables/dashboard-themes/_dark-dashboard.scss +40 -0
  326. package/variables/dashboard-themes/_transparent-dashboard.scss +17 -0
  327. package/variables/dashboard-themes/_white-dashboard.scss +44 -0
  328. package/variables/index.less +4 -0
  329. package/variables/index.scss +146 -0
  330. package/variables/login-vars.scss +48 -0
  331. package/variables/shadows.scss +15 -0
  332. package/variables/tokens/c8y-design-tokens-dark.less +2 -13
  333. package/variables/tokens/c8y-design-tokens-dark.scss +332 -0
  334. package/variables/tokens/c8y-design-tokens.less +4 -15
  335. package/variables/tokens/c8y-design-tokens.scss +590 -0
  336. package/styles/_animate.less +0 -1133
  337. package/styles/_baseline-grid.less +0 -22
  338. package/styles/_browser-mock.less +0 -59
  339. package/styles/_bulk-operation-details-tab.less +0 -10
  340. package/styles/_c8y-message-banner.less +0 -37
  341. package/styles/_dlt-c8y-icons-stroke.less +0 -32797
  342. package/styles/_markdown-content.less +0 -54
  343. package/styles/_marker-icons.less +0 -19
  344. /package/styles/{_component-animations.less → animations/_component-animations.less} +0 -0
  345. /package/styles/{_realtime-animation-list.less → animations/_realtime-animation-list.less} +0 -0
  346. /package/styles/{_spinner-snake.less → animations/_spinner-snake.less} +0 -0
  347. /package/styles/{_normalize.less → base/_normalize.less} +0 -0
  348. /package/styles/{_print.less → base/_print.less} +0 -0
  349. /package/styles/{_scaffolding.less → base/_scaffolding.less} +0 -0
  350. /package/styles/{_c8y-empty-state.less → components/data-display-and-visualization/lists/_c8y-empty-state.less} +0 -0
  351. /package/styles/{_cards-layout.less → components/data-display-and-visualization/lists/_cards-layout.less} +0 -0
  352. /package/styles/{_smart-rules-template-list.less → components/data-display-and-visualization/lists/_smart-rules-template-list.less} +0 -0
  353. /package/styles/{_data-grid.less → components/data-display-and-visualization/tables/_data-grid.less} +0 -0
  354. /package/styles/{_tables.less → components/data-display-and-visualization/tables/_tables.less} +0 -0
  355. /package/styles/{_asset-property-list.less → components/data-input/assets/_asset-property-list.less} +0 -0
  356. /package/styles/{_c8y-asset-notes.less → components/data-input/assets/_c8y-asset-notes.less} +0 -0
  357. /package/styles/{_c8y-asset-selector-miller.less → components/data-input/assets/_c8y-asset-selector-miller.less} +0 -0
  358. /package/styles/{_c8y-child-assets-selector.less → components/data-input/assets/_c8y-child-assets-selector.less} +0 -0
  359. /package/styles/{_c8y-action-bar.less → components/navigation-and-layout/action-bars/_c8y-action-bar.less} +0 -0
  360. /package/styles/{_card-flip.less → components/navigation-and-layout/cards/_card-flip.less} +0 -0
  361. /package/styles/{_card-grid.less → components/navigation-and-layout/cards/_card-grid.less} +0 -0
  362. /package/styles/{_c8y-nav-stacked.less → components/navigation-and-layout/navigation/_c8y-nav-stacked.less} +0 -0
  363. /package/styles/{_main-header.less → components/navigation-and-layout/navigation/_main-header.less} +0 -0
  364. /package/styles/{_navigator.less → components/navigation-and-layout/navigation/_navigator.less} +0 -0
  365. /package/styles/{_navs.less → components/navigation-and-layout/navigation/_navs.less} +0 -0
  366. /package/styles/{_pagination.less → components/navigation-and-layout/navigation/_pagination.less} +0 -0
  367. /package/styles/{_boxed-label.less → components/specialized/_boxed-label.less} +0 -0
  368. /package/styles/{_c8y-cookie-banner.less → components/specialized/_c8y-cookie-banner.less} +0 -0
  369. /package/styles/{_c8y-datapoint-pill.less → components/specialized/_c8y-datapoint-pill.less} +0 -0
  370. /package/styles/{_c8y-pulse.less → components/specialized/_c8y-pulse.less} +0 -0
  371. /package/styles/{_c8y-range.less → components/specialized/_c8y-range.less} +0 -0
  372. /package/styles/{_c8y-scrollbar.less → components/specialized/_c8y-scrollbar.less} +0 -0
  373. /package/styles/{_c8y-smart-rest-tab.less → components/specialized/_c8y-smart-rest-tab.less} +0 -0
  374. /package/styles/{_code.less → components/specialized/_code.less} +0 -0
  375. /package/styles/{_device-software-tab.less → components/specialized/_device-software-tab.less} +0 -0
  376. /package/styles/{_dtm-icon-selector.less → components/specialized/_dtm-icon-selector.less} +0 -0
  377. /package/styles/{_search-header.less → components/specialized/_search-header.less} +0 -0
  378. /package/styles/{_static-assets-file-picker.less → components/specialized/_static-assets-file-picker.less} +0 -0
  379. /package/styles/{_statusContainer.less → components/specialized/_statusContainer.less} +0 -0
  380. /package/styles/{_button-groups.less → core/buttons/_button-groups.less} +0 -0
  381. /package/styles/{_badges.less → core/feedback/_badges.less} +0 -0
  382. /package/styles/{_close.less → core/feedback/_close.less} +0 -0
  383. /package/styles/{_progress-bars.less → core/feedback/_progress-bars.less} +0 -0
  384. /package/styles/{_tooltip.less → core/feedback/_tooltip.less} +0 -0
  385. /package/styles/{_popovers.less → core/overlays/_popovers.less} +0 -0
  386. /package/styles/{_availability-pie.less → dashboard/_availability-pie.less} +0 -0
  387. /package/styles/{_dashboard-widgets.less → dashboard/_dashboard-widgets.less} +0 -0
  388. /package/styles/{_info-gauge.less → dashboard/_info-gauge.less} +0 -0
  389. /package/styles/{_quick-links-widget.less → dashboard/_quick-links-widget.less} +0 -0
  390. /package/styles/{_c8y-glyphs.less → icons/_c8y-glyphs.less} +0 -0
  391. /package/styles/{_bottom-drawer.less → layout/_bottom-drawer.less} +0 -0
  392. /package/styles/{_c8y-help-drawer.less → layout/_c8y-help-drawer.less} +0 -0
  393. /package/styles/{_c8y-right-drawer.less → layout/_c8y-right-drawer.less} +0 -0
  394. /package/styles/{_c8y-top-drawer.less → layout/_c8y-top-drawer.less} +0 -0
  395. /package/styles/{_group-info.less → layout/_group-info.less} +0 -0
  396. /package/styles/{_mcontainer.less → layout/_mcontainer.less} +0 -0
  397. /package/styles/{_page-tabs.less → layout/_page-tabs.less} +0 -0
  398. /package/styles/{_split-view.less → layout/_split-view.less} +0 -0
  399. /package/styles/{_ace-editor.less → vendor/ace-editor/_ace-editor.less} +0 -0
  400. /package/styles/{_loading-bar.less → vendor/angular/_loading-bar.less} +0 -0
  401. /package/styles/{_cdk-drag.less → vendor/cdk/_cdk-drag.less} +0 -0
  402. /package/styles/{_cdk-virtual-scroll-window.less → vendor/cdk/_cdk-virtual-scroll-window.less} +0 -0
@@ -121,7 +121,4 @@ c8y-resizable-grid {
121
121
  // Global styles applied when resizing to prevent text selection
122
122
  body.no-select {
123
123
  user-select: none;
124
- -webkit-user-select: none;
125
- -moz-user-select: none;
126
- -ms-user-select: none;
127
124
  }
@@ -0,0 +1,138 @@
1
+ @use "../../../../variables/index" as *;
2
+
3
+
4
+ /**
5
+ * resizaule grid - Component styles
6
+ *
7
+ * Note: Uses $size-* tokens for spacing where applicable.
8
+ *
9
+ * Intentionally hardcoded values:
10
+ * - Component-specific dimensions: Fixed sizes for component layout
11
+ * - Off-grid spacing: Component-specific positioning
12
+ * - Border widths (1px): Standard borders
13
+ * - Font-sizes: Typography
14
+ * - Percentages: Layout
15
+ */
16
+ c8y-resizable-grid {
17
+ display: flex;
18
+ height: 100%;
19
+ position: relative;
20
+
21
+ // This CSS variable is set by the component and used here
22
+ --col-a-width: var(--c8y-resizable-grid-default-width, 560px);
23
+ }
24
+
25
+ .resizable-grid-container {
26
+ display: flex;
27
+ flex-grow: 1;
28
+ height: 100%;
29
+ overflow: hidden;
30
+
31
+ /* Prevent content overflow during resize */
32
+ .collapsed {
33
+ width: 0 !important; // Hide the column
34
+ min-width: 0 !important;
35
+ opacity: 0;
36
+ transition: all 0.3s ease;
37
+ flex-shrink: 1;
38
+ }
39
+
40
+ .expanded {
41
+ transition: all 0.3s ease;
42
+ flex-grow: 1;
43
+ width: 100% !important;
44
+ }
45
+
46
+ &:has(.collapsed) {
47
+ .resizer > i{
48
+ display: block;
49
+ }
50
+ }
51
+ }
52
+
53
+ .col-a {
54
+ width: var(--col-a-width);
55
+ min-width: 0;
56
+ flex-shrink: 0; // Prevent it from shrinking
57
+ overflow: hidden;
58
+ display: flex;
59
+ flex-direction: column;
60
+
61
+ >* {
62
+ flex: 1;
63
+ min-height: 0;
64
+ }
65
+ }
66
+
67
+ .col-b {
68
+ flex-grow: 1; // Col B takes up remaining space
69
+ overflow: hidden;
70
+ min-width: 0;
71
+ display: flex;
72
+ flex-direction: column;
73
+
74
+ >* {
75
+ flex: 1;
76
+ min-height: 0;
77
+ }
78
+ }
79
+
80
+ .resizer {
81
+ width: $size-8;
82
+ flex: 0 0 8px;
83
+ cursor: col-resize;
84
+ z-index: 1;
85
+ position: relative;
86
+ overflow: visible;
87
+
88
+ &::before {
89
+ content: '';
90
+ position: absolute;
91
+ top: 0;
92
+ left: 50%;
93
+ transform: translateX(-50%);
94
+ width: 1px;
95
+ bottom: 0;
96
+ background: $component-border-color;
97
+ }
98
+
99
+ >i {
100
+ position: absolute;
101
+ top: 50%;
102
+ left: 50%;
103
+ transform: translate(-50%, -50%);
104
+ background-color: $component-background-default;
105
+ border-radius: 50%;
106
+ color: $component-color-text-muted;
107
+ &::before{
108
+ transition: all 0.3s ease;
109
+ display: block;
110
+ }
111
+ }
112
+
113
+ .is-resizing &,
114
+ &:hover, &:focus {
115
+ &::before {
116
+ background: $component-color-focus;
117
+ }
118
+
119
+ >i {
120
+ color: $component-color-focus;
121
+ display: block;
122
+ &::before{
123
+ scale: 2;
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ .inner-scroll {
130
+ overflow-y: auto;
131
+ }
132
+
133
+
134
+
135
+ // Global styles applied when resizing to prevent text selection
136
+ body.no-select {
137
+ user-select: none;
138
+ }
@@ -0,0 +1,411 @@
1
+ @use "../../../../variables/index" as *;
2
+
3
+ @use "sass:string";
4
+ @use "../../../mixins/table-row";
5
+
6
+
7
+ /**
8
+ * taules - Component styles
9
+ *
10
+ * Note: Uses $size-* tokens for spacing where applicable.
11
+ *
12
+ * Intentionally hardcoded values:
13
+ * - Component-specific dimensions: Fixed sizes for component layout
14
+ * - Off-grid spacing: Component-specific positioning
15
+ * - Border widths (1px): Standard borders
16
+ * - Font-sizes: Typography
17
+ * - Percentages: Layout
18
+ */
19
+ table {
20
+ background-color: $component-background-default;
21
+ }
22
+
23
+ caption {
24
+ padding-top: $table-cell-padding-default;
25
+ padding-bottom: $table-cell-padding-default;
26
+ color: $component-color-text-muted;
27
+ text-align: left;
28
+ }
29
+
30
+ th {
31
+ text-align: left;
32
+ }
33
+
34
+ // Baseline styles
35
+ .table {
36
+ clear: both;
37
+ margin-bottom: $line-height-computed;
38
+ max-width: 100%;
39
+ width: 100%;
40
+
41
+ .card & {
42
+ margin-bottom: 0;
43
+ }
44
+ > thead,
45
+ > tbody,
46
+ > tfoot {
47
+ > tr{
48
+ > th,
49
+ > td {
50
+ border-top: 1px solid $component-border-color;
51
+ vertical-align: top;
52
+ line-height: $line-height-base;
53
+ label {
54
+ margin: 0;
55
+ &.c8y-checkbox,
56
+ &.c8y-radio {
57
+ line-height: 1.6;
58
+ }
59
+ }
60
+ }
61
+ > th {
62
+ padding: $size-10 $size-8;
63
+ }
64
+ > td {
65
+ padding: $table-cell-padding-default $size-8;
66
+ min-height: 48px;
67
+ }
68
+ }
69
+ > tr.expanded-row {
70
+ > td {
71
+ border-top: 0;
72
+ }
73
+ }
74
+ }
75
+ // Bottom align for column headings
76
+ // no top border on cells inside the first row on body when there's a thead
77
+ thead + tbody tr:first-child{
78
+ > td, > th {
79
+ border-top: 0;
80
+ }
81
+ }
82
+
83
+ > thead > tr > th {
84
+ border-top: 0;
85
+ border-bottom: 0;
86
+ box-shadow: inset 0 -2px 0 $component-border-color;
87
+ vertical-align: bottom;
88
+ }
89
+ > caption + thead,
90
+ > colgroup + thead,
91
+ > thead:first-child {
92
+ > tr:first-child {
93
+ > th,
94
+ > td {
95
+ color: $component-form-label-color;
96
+ vertical-align: bottom;
97
+ text-transform: uppercase;
98
+ font-size: $font-size-small;
99
+ line-height: $size-20;
100
+ [class^='dlt-c8y-icon-'],
101
+ [class*=' dlt-c8y-icon-'] {
102
+ font-size: 14px;
103
+ }
104
+ }
105
+ }
106
+ } // Account for multiple tbody instances
107
+ > tbody + tbody {
108
+ border-top: 2px solid $component-border-color;
109
+ } // Nesting
110
+ .table {
111
+ background-color: transparent;
112
+ } // Column widths
113
+ > thead > tr > th {
114
+ &.fixed {
115
+ width: 1px;
116
+ white-space: nowrap;
117
+ }
118
+ &.text-truncate {
119
+ display: table-cell;
120
+ overflow: hidden;
121
+ max-width: 1px;
122
+ text-overflow: ellipsis;
123
+ white-space: nowrap;
124
+ }
125
+ &.auto-grow {
126
+ min-width: 150px;
127
+
128
+ overflow-wrap: break-word;
129
+ }
130
+ }
131
+ > tbody > tr > td {
132
+ &.fixed {
133
+ white-space: nowrap;
134
+ }
135
+
136
+ &.text-truncate {
137
+ display: table-cell;
138
+ overflow: hidden;
139
+ max-width: 1px;
140
+ text-overflow: ellipsis;
141
+ white-space: nowrap;
142
+ }
143
+ &.auto-grow {
144
+ min-width: 150px;
145
+
146
+ overflow-wrap: break-word;
147
+ }
148
+ }
149
+ }
150
+
151
+ // Condensed table w/ half padding
152
+ .table-condensed {
153
+ > thead,
154
+ > tbody,
155
+ > tfoot {
156
+ > tr {
157
+ > td {
158
+ padding: calc($table-cell-padding-condensed - 1px) $table-cell-padding-condensed;
159
+ font-size: $font-size-small;
160
+ > c8y-device-status-display {
161
+ display: block;
162
+ height: calc($size-base * 1.5);
163
+ }
164
+ }
165
+ > th {
166
+ padding: $table-cell-padding-condensed;
167
+ font-size: $size-10 !important;
168
+ }
169
+ }
170
+ }
171
+ }
172
+
173
+ // Bordered version
174
+ // Add borders all around the table and between all the columns.
175
+ .table-bordered {
176
+ border: 1px solid $component-border-color;
177
+ > thead,
178
+ > tbody,
179
+ > tfoot {
180
+ > tr {
181
+ > th,
182
+ > td {
183
+ border: 1px solid $component-border-color;
184
+ }
185
+ }
186
+ }
187
+ > thead > tr {
188
+ > th,
189
+ > td {
190
+ border-bottom-width: 2px;
191
+ }
192
+ }
193
+ }
194
+
195
+ // Zebra-striping
196
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
197
+ .table-striped {
198
+ > tbody > tr:not(.even):not(.odd):not(.expanded-row):nth-of-type(odd),
199
+ > tbody > tr.odd{
200
+ background: $component-background-odd;
201
+ + tr.expanded-row {
202
+ background: $component-background-odd;
203
+ }
204
+ }
205
+ > tbody > tr.even{
206
+ background: $component-background-default;
207
+ }
208
+ }
209
+
210
+ // Hover effect
211
+ // Placed here since it has to come after the potential zebra striping
212
+ .table-hover {
213
+ > tbody > tr:hover {
214
+ background: $component-background-hover;
215
+ }
216
+ }
217
+
218
+ // Custom table header underline color
219
+ .table-header-branding-line {
220
+ > thead > tr > th {
221
+ border-bottom-width: 1px;
222
+ border-bottom-color: $component-border-color;
223
+ }
224
+ > tbody:first-child > tr > td {
225
+ border-top-width: 1px;
226
+ border-top-color: $component-border-color;
227
+ }
228
+ }
229
+
230
+ // Table cell sizing
231
+ // Reset default table behavior
232
+ table col[class*='col-'] {
233
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
234
+ display: table-column;
235
+ float: none;
236
+ }
237
+
238
+ table {
239
+ td,
240
+ th {
241
+ &[class*='col-'] {
242
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
243
+ display: table-cell;
244
+ float: none;
245
+ }
246
+ }
247
+ }
248
+
249
+ // Table backgrounds
250
+ // Exact selectors below required to override `.table-striped` and prevent inheritance to nested tables.
251
+ // Generate the contextual variants
252
+ @include table-row.table-row-variant(active,
253
+ $component-background-active);
254
+ @include table-row.table-row-variant(success,
255
+ $state-success-bg);
256
+ @include table-row.table-row-variant(info,
257
+ $state-info-bg);
258
+ @include table-row.table-row-variant(warning,
259
+ $state-warning-bg);
260
+ @include table-row.table-row-variant(danger,
261
+ $state-danger-bg);
262
+ // Responsive tables
263
+ // Wrap your tables in `.table-responsive` and we'll make them mobile friendly
264
+ // by enabling horizontal scrolling. Only applies <768px. Everything above that will display normally.
265
+ .table-responsive {
266
+ overflow-x: auto;
267
+ min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
268
+
269
+ &.full-page {
270
+ overflow-y: auto;
271
+ max-height: calc(string.unquote('100vh - 145px'));
272
+ @media (min-width: $screen-sm-min) {
273
+ max-height: calc(string.unquote('100vh - 256px'));
274
+ }
275
+ }
276
+ @media screen and (max-width: $screen-xs-max) {
277
+ overflow-y: hidden;
278
+ margin-bottom: calc($line-height-computed * 0.75);
279
+ width: 100%;
280
+ border: 1px solid $component-border-color; // Tighten up spacing
281
+
282
+ -ms-overflow-style: -ms-autohiding-scrollbar;
283
+ > .table {
284
+ margin-bottom: 0; // Ensure the content doesn't wrap
285
+ > thead,
286
+ > tbody,
287
+ > tfoot {
288
+ > tr {
289
+ > th,
290
+ > td {
291
+ overflow: hidden;
292
+ max-width: $screen-xs-max;
293
+ text-overflow: ellipsis;
294
+ white-space: nowrap;
295
+ }
296
+ }
297
+ }
298
+ } // Special overrides for the bordered tables
299
+ > .table-bordered {
300
+ border: 0; // Nuke the appropriate borders so that the parent can handle them
301
+ > thead,
302
+ > tbody,
303
+ > tfoot {
304
+ > tr {
305
+ > th:first-child,
306
+ > td:first-child {
307
+ border-left: 0;
308
+ }
309
+ > th:last-child,
310
+ > td:last-child {
311
+ border-right: 0;
312
+ }
313
+ }
314
+ } // Only nuke the last row's bottom-border in `tbody` and `tfoot` since
315
+ // chances are there will be only one `tr` in a `thead` and that would
316
+ // remove the border altogether.
317
+ > tbody,
318
+ > tfoot {
319
+ > tr:last-child {
320
+ > th,
321
+ > td {
322
+ border-bottom: 0;
323
+ }
324
+ }
325
+ }
326
+ }
327
+ }
328
+ }
329
+
330
+ .table-borderless td,
331
+ .table-borderless tr,
332
+ .table-borderless th {
333
+ border: 0 !important;
334
+ }
335
+
336
+ .table-vertical-middle * {
337
+ vertical-align: middle !important;
338
+ }
339
+
340
+ .table-cell-truncate {
341
+ position: relative;
342
+ }
343
+
344
+ .table-cell-truncate .truncated-cell-content {
345
+ position: absolute;
346
+ overflow: hidden;
347
+ max-width: 100%;
348
+ text-overflow: ellipsis;
349
+ white-space: nowrap;
350
+ }
351
+
352
+ .table-fixed {
353
+ table-layout: fixed;
354
+ th,
355
+ td {
356
+ word-break: break-all;
357
+ }
358
+ }
359
+
360
+ .table-header-sticky {
361
+ th {
362
+ position: sticky;
363
+ background-color: $component-background-default;
364
+ }
365
+ }
366
+
367
+ .table-permissions {
368
+ > tbody:nth-child(odd) {
369
+ background-color: $component-background-odd;
370
+ }
371
+ }
372
+
373
+ .c8y-table-responsive {
374
+ thead {
375
+ display: none;
376
+ }
377
+ > tbody > tr {
378
+ border-bottom: 1px solid $component-border-color;
379
+ > td,
380
+ > th {
381
+ display: block;
382
+ padding: 6px 10px;
383
+ border: 0;
384
+ &:before {
385
+ display: inline-block;
386
+ padding-right: $size-10;
387
+ min-width: 20%;
388
+ content: attr(data-label);
389
+ text-transform: uppercase;
390
+ font-weight: bold;
391
+ font-size: $size-10;
392
+ }
393
+ }
394
+ }
395
+ @media (min-width: $screen-sm-min) {
396
+ thead {
397
+ display: table-header-group;
398
+ }
399
+ > tbody > tr:not(.expanded-row) {
400
+ border: 0;
401
+ > td,
402
+ > th {
403
+ display: table-cell;
404
+ border-top: 1px solid $component-border-color;
405
+ &:before {
406
+ display: none;
407
+ }
408
+ }
409
+ }
410
+ }
411
+ }
@@ -1,16 +1,32 @@
1
+ /**
2
+ * C8Y AI Chat - AI chat widget component
3
+ *
4
+ * Note: Uses @size-* tokens for spacing and @font-size-* tokens for typography.
5
+ *
6
+ * Intentionally hardcoded values:
7
+ * - Component-specific dimensions (400px): Minimum chat height
8
+ * - Border radius (20px): Pill-shaped input and list items
9
+ * - Border widths (1px): Standard borders
10
+ * - Percentages (85%, 100%): Layout and width constraints
11
+ * - Negative calc expressions: Complex computed heights
12
+ * - Font-size em values (1.2em, 1.5em, 2em): Relative heading sizes
13
+ * - Line-height values (1.7): Unitless ratio
14
+ * - Z-index values: Stacking order
15
+ */
16
+
1
17
  c8y-widget-ai-chat-section{
2
18
  display: flex;
3
19
  max-height: calc(100vh - 400px);
4
20
  min-height: 400px;
5
21
  background-color: @component-background-default;
6
22
  border: 1px solid var(--c8y-root-component-border-color);
7
- border-radius: @margin-base;
23
+ border-radius: @size-base;
8
24
  padding: 0;
9
25
  .chat-input{
10
- border-bottom-left-radius: @margin-base;
11
- border-bottom-right-radius: @margin-base;
26
+ border-bottom-left-radius: @size-base;
27
+ border-bottom-right-radius: @size-base;
12
28
  }
13
-
29
+
14
30
  }
15
31
 
16
32
  c8y-agent-chat{
@@ -21,8 +37,8 @@ c8y-agent-chat{
21
37
  display: flex;
22
38
  width: 100%;
23
39
  flex-direction: column;
24
- gap: 8px;
25
- padding: 16px 16px 4px 16px;
40
+ gap: @size-8;
41
+ padding: @size-16 @size-16 @size-4 @size-16;
26
42
  background-color: @component-background-default;
27
43
  border-top: 1px solid var(--c8y-root-component-border-color);
28
44
  margin-top: auto;
@@ -33,11 +49,11 @@ c8y-agent-chat{
33
49
  width: 100%;
34
50
  textarea{
35
51
  border-radius: 20px!important;
36
- min-height: 40px;
37
- padding-top: 10px;
38
- padding-right: 40px;
39
- padding-bottom: 10px;
40
- padding-left: 16px;
52
+ min-height: @size-40;
53
+ padding-top: @size-10;
54
+ padding-right: @size-40;
55
+ padding-bottom: @size-10;
56
+ padding-left: @size-16;
41
57
 
42
58
  &::-webkit-scrollbar {
43
59
  width: unset; /* for vertical scrollbars */
@@ -60,8 +76,8 @@ c8y-agent-chat{
60
76
  }
61
77
  .chat-input-group-btn{
62
78
  position: absolute;
63
- right: 4px;
64
- bottom: 4px;
79
+ right: @size-4;
80
+ bottom: @size-4;
65
81
  .btn-dot{
66
82
  margin: 0!important;
67
83
  height: @form-control-height-base!important;
@@ -79,7 +95,7 @@ c8y-agent-chat{
79
95
  max-width: 100%;
80
96
  min-width: 0;
81
97
  p{
82
- margin-bottom: 8px;
98
+ margin-bottom: @size-8;
83
99
  &:last-child {
84
100
  margin-bottom: 0;
85
101
  }
@@ -91,23 +107,23 @@ c8y-agent-chat{
91
107
  align-self: flex-start;
92
108
  min-width: 0;
93
109
  width: 100%;
94
- margin-top: @margin-16;
95
- padding: @margin-16 @margin-24 @margin-16 @margin-16;
110
+ margin-top: @size-16;
111
+ padding: @size-16 @size-24 @size-16 @size-16;
96
112
  h1{
97
- margin-top: @margin-24;
98
- margin-bottom: @margin-16;
113
+ margin-top: @size-24;
114
+ margin-bottom: @size-16;
99
115
  font-size: 2em;
100
116
  font-weight: 600;
101
117
  }
102
118
  h2{
103
- margin-top: @margin-24;
104
- margin-bottom: @margin-16;
119
+ margin-top: @size-24;
120
+ margin-bottom: @size-16;
105
121
  font-size: 1.5em;
106
122
  font-weight: 600;
107
123
  }
108
124
  h3{
109
- margin-top: @margin-16;
110
- margin-bottom: @margin-16;
125
+ margin-top: @size-16;
126
+ margin-bottom: @size-16;
111
127
  font-size: 1.2em;
112
128
  font-weight: 600;
113
129
  }
@@ -117,18 +133,18 @@ c8y-agent-chat{
117
133
  background-color: var(--c8y-brand-70);
118
134
  color: var(--c8y-palette-low);
119
135
  align-self: flex-end;
120
- border-radius: @margin-base;
136
+ border-radius: @size-base;
121
137
  max-width: 85%;
122
138
  min-width: 0;
123
- padding: @margin-base @margin-16;
139
+ padding: @size-base @size-16;
124
140
  order: 2;
125
141
  }
126
142
 
127
143
  .message-action {
128
144
  display: flex;
129
145
  align-items: center;
130
- gap: @margin-base;
131
- padding: @margin-base 0 @margin-16 0;
146
+ gap: @size-base;
147
+ padding: @size-base 0 @size-16 0;
132
148
  &:empty{
133
149
  display: none;
134
150
  }
@@ -140,7 +156,7 @@ c8y-agent-chat{
140
156
  margin-top: 0;
141
157
  margin-right: 0;
142
158
  order: 1;
143
-
159
+
144
160
  }
145
161
  &.agent-action {
146
162
  justify-content: flex-start;
@@ -183,7 +199,7 @@ c8y-agent-chat{
183
199
  color: @component-color-text-muted;
184
200
  }
185
201
  .c8y-list__item__actions, .c8y-list__item__icon{
186
- height: 40px;
202
+ height: @size-40;
187
203
  padding-top: 0!important;
188
204
  padding-bottom: 0!important;
189
205
  }