@c8y/style 1023.14.33 → 1023.14.36

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 (403) 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/components/navigation-and-layout/navigation/_breadcrumbs.less +82 -0
  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/_breadcrumbs.less +0 -99
  339. package/styles/_browser-mock.less +0 -59
  340. package/styles/_bulk-operation-details-tab.less +0 -10
  341. package/styles/_c8y-message-banner.less +0 -37
  342. package/styles/_dlt-c8y-icons-stroke.less +0 -32797
  343. package/styles/_markdown-content.less +0 -54
  344. package/styles/_marker-icons.less +0 -19
  345. /package/styles/{_component-animations.less → animations/_component-animations.less} +0 -0
  346. /package/styles/{_realtime-animation-list.less → animations/_realtime-animation-list.less} +0 -0
  347. /package/styles/{_spinner-snake.less → animations/_spinner-snake.less} +0 -0
  348. /package/styles/{_normalize.less → base/_normalize.less} +0 -0
  349. /package/styles/{_print.less → base/_print.less} +0 -0
  350. /package/styles/{_scaffolding.less → base/_scaffolding.less} +0 -0
  351. /package/styles/{_c8y-empty-state.less → components/data-display-and-visualization/lists/_c8y-empty-state.less} +0 -0
  352. /package/styles/{_cards-layout.less → components/data-display-and-visualization/lists/_cards-layout.less} +0 -0
  353. /package/styles/{_smart-rules-template-list.less → components/data-display-and-visualization/lists/_smart-rules-template-list.less} +0 -0
  354. /package/styles/{_data-grid.less → components/data-display-and-visualization/tables/_data-grid.less} +0 -0
  355. /package/styles/{_tables.less → components/data-display-and-visualization/tables/_tables.less} +0 -0
  356. /package/styles/{_asset-property-list.less → components/data-input/assets/_asset-property-list.less} +0 -0
  357. /package/styles/{_c8y-asset-notes.less → components/data-input/assets/_c8y-asset-notes.less} +0 -0
  358. /package/styles/{_c8y-asset-selector-miller.less → components/data-input/assets/_c8y-asset-selector-miller.less} +0 -0
  359. /package/styles/{_c8y-child-assets-selector.less → components/data-input/assets/_c8y-child-assets-selector.less} +0 -0
  360. /package/styles/{_c8y-action-bar.less → components/navigation-and-layout/action-bars/_c8y-action-bar.less} +0 -0
  361. /package/styles/{_card-flip.less → components/navigation-and-layout/cards/_card-flip.less} +0 -0
  362. /package/styles/{_card-grid.less → components/navigation-and-layout/cards/_card-grid.less} +0 -0
  363. /package/styles/{_c8y-nav-stacked.less → components/navigation-and-layout/navigation/_c8y-nav-stacked.less} +0 -0
  364. /package/styles/{_main-header.less → components/navigation-and-layout/navigation/_main-header.less} +0 -0
  365. /package/styles/{_navigator.less → components/navigation-and-layout/navigation/_navigator.less} +0 -0
  366. /package/styles/{_navs.less → components/navigation-and-layout/navigation/_navs.less} +0 -0
  367. /package/styles/{_pagination.less → components/navigation-and-layout/navigation/_pagination.less} +0 -0
  368. /package/styles/{_boxed-label.less → components/specialized/_boxed-label.less} +0 -0
  369. /package/styles/{_c8y-cookie-banner.less → components/specialized/_c8y-cookie-banner.less} +0 -0
  370. /package/styles/{_c8y-datapoint-pill.less → components/specialized/_c8y-datapoint-pill.less} +0 -0
  371. /package/styles/{_c8y-pulse.less → components/specialized/_c8y-pulse.less} +0 -0
  372. /package/styles/{_c8y-range.less → components/specialized/_c8y-range.less} +0 -0
  373. /package/styles/{_c8y-scrollbar.less → components/specialized/_c8y-scrollbar.less} +0 -0
  374. /package/styles/{_c8y-smart-rest-tab.less → components/specialized/_c8y-smart-rest-tab.less} +0 -0
  375. /package/styles/{_code.less → components/specialized/_code.less} +0 -0
  376. /package/styles/{_device-software-tab.less → components/specialized/_device-software-tab.less} +0 -0
  377. /package/styles/{_dtm-icon-selector.less → components/specialized/_dtm-icon-selector.less} +0 -0
  378. /package/styles/{_search-header.less → components/specialized/_search-header.less} +0 -0
  379. /package/styles/{_static-assets-file-picker.less → components/specialized/_static-assets-file-picker.less} +0 -0
  380. /package/styles/{_statusContainer.less → components/specialized/_statusContainer.less} +0 -0
  381. /package/styles/{_button-groups.less → core/buttons/_button-groups.less} +0 -0
  382. /package/styles/{_badges.less → core/feedback/_badges.less} +0 -0
  383. /package/styles/{_close.less → core/feedback/_close.less} +0 -0
  384. /package/styles/{_progress-bars.less → core/feedback/_progress-bars.less} +0 -0
  385. /package/styles/{_tooltip.less → core/feedback/_tooltip.less} +0 -0
  386. /package/styles/{_popovers.less → core/overlays/_popovers.less} +0 -0
  387. /package/styles/{_availability-pie.less → dashboard/_availability-pie.less} +0 -0
  388. /package/styles/{_dashboard-widgets.less → dashboard/_dashboard-widgets.less} +0 -0
  389. /package/styles/{_info-gauge.less → dashboard/_info-gauge.less} +0 -0
  390. /package/styles/{_quick-links-widget.less → dashboard/_quick-links-widget.less} +0 -0
  391. /package/styles/{_c8y-glyphs.less → icons/_c8y-glyphs.less} +0 -0
  392. /package/styles/{_bottom-drawer.less → layout/_bottom-drawer.less} +0 -0
  393. /package/styles/{_c8y-help-drawer.less → layout/_c8y-help-drawer.less} +0 -0
  394. /package/styles/{_c8y-right-drawer.less → layout/_c8y-right-drawer.less} +0 -0
  395. /package/styles/{_c8y-top-drawer.less → layout/_c8y-top-drawer.less} +0 -0
  396. /package/styles/{_group-info.less → layout/_group-info.less} +0 -0
  397. /package/styles/{_mcontainer.less → layout/_mcontainer.less} +0 -0
  398. /package/styles/{_page-tabs.less → layout/_page-tabs.less} +0 -0
  399. /package/styles/{_split-view.less → layout/_split-view.less} +0 -0
  400. /package/styles/{_ace-editor.less → vendor/ace-editor/_ace-editor.less} +0 -0
  401. /package/styles/{_loading-bar.less → vendor/angular/_loading-bar.less} +0 -0
  402. /package/styles/{_cdk-drag.less → vendor/cdk/_cdk-drag.less} +0 -0
  403. /package/styles/{_cdk-virtual-scroll-window.less → vendor/cdk/_cdk-virtual-scroll-window.less} +0 -0
@@ -0,0 +1,34 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ @use "sass:color";
4
+ @use "color-mixins";
5
+
6
+ // Contextual backgrounds
7
+ @mixin checkContrast($color) {
8
+ @if color.lightness($color) < 50% {
9
+ color: white;
10
+ } @else {
11
+ color: $text-color;
12
+ }
13
+ }
14
+
15
+ @mixin bg-variant($color) {
16
+ background-color: $color !important;
17
+
18
+ @at-root {
19
+ a#{&}:hover,
20
+ a#{&}:focus {
21
+ @include color-mixins.darken($color, 0.1);
22
+ }
23
+ }
24
+
25
+ > a:not(.btn) {
26
+ color: inherit;
27
+ text-decoration: underline;
28
+ [class^='dlt-c8y-icon-'],
29
+ [class*=' dlt-c8y-icon-'],
30
+ .c8y-icon {
31
+ text-decoration: none;
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,18 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ @mixin border-top-radius($radius) {
4
+ border-top-left-radius: $radius;
5
+ border-top-right-radius: $radius;
6
+ }
7
+ @mixin border-right-radius($radius) {
8
+ border-top-right-radius: $radius;
9
+ border-bottom-right-radius: $radius;
10
+ }
11
+ @mixin border-bottom-radius($radius) {
12
+ border-bottom-right-radius: $radius;
13
+ border-bottom-left-radius: $radius;
14
+ }
15
+ @mixin border-left-radius($radius) {
16
+ border-top-left-radius: $radius;
17
+ border-bottom-left-radius: $radius;
18
+ }
@@ -0,0 +1,65 @@
1
+ @use "sass:string";
2
+ @use "../../variables/index" as *;
3
+ // Button variants
4
+ // Easily pump out default styles, as well as :hover, :focus, :active,
5
+ // and disabled options for all buttons
6
+ @mixin button-variant($el) {
7
+ color: string.unquote('var(--#{$el}-color-default)');
8
+ background-color: string.unquote('var(--#{$el}-background-default)');
9
+ border-color: string.unquote('var(--#{$el}-border-color-default)');
10
+ &:focus,
11
+ &.focus {
12
+ color: string.unquote('var(--#{$el}-color-focus)');
13
+ background-color: string.unquote('var(--#{$el}-background-focus)');
14
+ border-color: string.unquote('var(--#{$el}-border-color-focus)');
15
+ box-shadow: inset 0 0 0 1px string.unquote('var(--#{$el}-border-color-focus)');
16
+ }
17
+ &:hover {
18
+ color: string.unquote('var(--#{$el}-color-hover)');
19
+ background-color: string.unquote('var(--#{$el}-background-hover)');
20
+ border-color: string.unquote('var(--#{$el}-border-color-hover)');
21
+ box-shadow: inset 0 0 0 1px string.unquote('var(--#{$el}-border-color-hover)');
22
+ }
23
+ &:active,
24
+ &.active,
25
+ .open > &.dropdown-toggle {
26
+ color: string.unquote('var(--#{$el}-color-active)');
27
+ background-color: string.unquote('var(--#{$el}-background-active)');
28
+ border-color: string.unquote('var(--#{$el}-border-color-active)');
29
+ box-shadow: inset 0 0 0 1px string.unquote('var(--#{$el}-border-color-active)');
30
+ background-image: none;
31
+ }
32
+
33
+ &.disabled,
34
+ &[disabled],
35
+ fieldset[disabled] & {
36
+ &,
37
+ &:hover,
38
+ &:focus,
39
+ &.focus,
40
+ &:active,
41
+ &.active {
42
+ color: string.unquote('var(--#{$el}-color-default)');
43
+ background-color: string.unquote('var(--#{$el}-background-default)');
44
+ border-color: string.unquote('var(--#{$el}-border-color-default)');
45
+ }
46
+ }
47
+ .badge {
48
+ border-width: 1px;
49
+ border-style: solid;
50
+ border-color: $palette-high;
51
+ }
52
+ }
53
+
54
+ // Button sizes
55
+ @mixin button-size($padding-vertical,
56
+ $padding-horizontal,
57
+ $font-size,
58
+ $line-height,
59
+ $border-radius, $height) {
60
+ padding: $padding-vertical $padding-horizontal;
61
+ font-size: $font-size;
62
+ line-height: $line-height;
63
+ border-radius: $border-radius;
64
+ height: $height;
65
+ }
@@ -0,0 +1,29 @@
1
+ @use "../../variables/index" as *;
2
+ @use "vendor-prefixes";
3
+
4
+ @mixin c8y-scrollbar {
5
+ &::-webkit-scrollbar {
6
+ width: 4px; /* for vertical scrollbars */
7
+ height: 4px; /* for horizontal scrollbars */
8
+ }
9
+
10
+ &::-webkit-scrollbar-track {
11
+ background: $component-scrollbar-track;
12
+ }
13
+ &::-webkit-scrollbar-thumb {
14
+ width: 4px;
15
+ border-radius: 1px;
16
+ background: $component-scrollbar-thumb-default;
17
+
18
+ @include vendor-prefixes.transition(all 0.25s ease);
19
+ }
20
+ &:hover {
21
+ &::-webkit-scrollbar-thumb {
22
+ background: $component-scrollbar-thumb-hover;
23
+ }
24
+ }
25
+ }
26
+
27
+ .c8y-scrollbar {
28
+ @include c8y-scrollbar;
29
+ }
@@ -0,0 +1,7 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ @mixin center-block() {
4
+ display: block;
5
+ margin-right: auto;
6
+ margin-left: auto;
7
+ }
@@ -0,0 +1,22 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ // For modern browsers
4
+ // 1. The space content is one way to avoid an Opera bug when the
5
+ // contenteditable attribute is included anywhere else in the document.
6
+ // Otherwise it causes space to appear at the top and bottom of elements
7
+ // that are clearfixed.
8
+ // 2. The use of `table` rather than `block` is only necessary if using
9
+ // `:before` to contain the top-margins of child elements.
10
+ //
11
+ // Source: http://nicolasgallagher.com/micro-clearfix-hack/
12
+
13
+ @mixin clearfix() {
14
+ &:before,
15
+ &:after {
16
+ display: table; // 2
17
+ content: ' '; // 1
18
+ }
19
+ &:after {
20
+ clear: both;
21
+ }
22
+ }
@@ -0,0 +1,21 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ // darkens the $color by adding
4
+ // black on top with $alpha opacity (0 - 1)
5
+ @mixin darken($color,$alpha) {
6
+ background: linear-gradient(to top, rgba(0, 0, 0, $alpha), rgba(0, 0, 0, $alpha)) $color;
7
+ }
8
+
9
+ // Lighten the $color by adding
10
+ // white on top with $alpha opacity (0 - 1)
11
+ @mixin lighten($color,$alpha) {
12
+ background: linear-gradient(to top, rgba(255, 255, 255, $alpha), rgba(255, 255, 255, $alpha))
13
+ $color;
14
+ }
15
+
16
+ // changes the brightness of given element
17
+ // darken 0- black to 1 - no change
18
+ // lighten 1 - no change to no limit
19
+ @mixin brightness($amount) {
20
+ filter: brightness($amount);
21
+ }
@@ -0,0 +1,137 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ /* generate classes for setting two columns on a 12 columns grid */
4
+
5
+ @mixin createGridCols($value) {
6
+ @if $value >= 0 {
7
+ $one: $value;
8
+ $two: 12 - $value;
9
+
10
+ .grid__col--#{$one}-#{$two} {
11
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr));
12
+ &--xs {
13
+ @media (max-width: $screen-xs-max) {
14
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr));
15
+ }
16
+ }
17
+ &--sm {
18
+ @media (min-width: $screen-sm-min) {
19
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr));
20
+ }
21
+ }
22
+ &--md {
23
+ @media (min-width: $screen-md-min) {
24
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr));
25
+ }
26
+ }
27
+ &--lg {
28
+ @media (min-width: $screen-lg-min) {
29
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr));
30
+ }
31
+ }
32
+ }
33
+
34
+ @include createGridCols(($value - 1));
35
+ }
36
+ }
37
+
38
+ @mixin createGridCols3($value) {
39
+ @if $value >= 0 {
40
+ $one: $value;
41
+ $two: 12 - ($value * 2);
42
+ $three: $value;
43
+
44
+ .grid__col--#{$one}-#{$two}-#{$three} {
45
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr)) minmax(0, ($three * 1fr));
46
+ &--xs {
47
+ @media (max-width: $screen-xs-max) {
48
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr)) minmax(0, ($three * 1fr));
49
+ }
50
+ }
51
+ &--sm {
52
+ @media (min-width: $screen-sm-min) {
53
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr)) minmax(0, ($three * 1fr));
54
+ }
55
+ }
56
+ &--md {
57
+ @media (min-width: $screen-md-min) {
58
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr)) minmax(0, ($three * 1fr));
59
+ }
60
+ }
61
+ &--lg {
62
+ @media (min-width: $screen-lg-min) {
63
+ grid-template-columns: minmax(0, ($one * 1fr)) minmax(0, ($two * 1fr)) minmax(0, ($three * 1fr));
64
+ }
65
+ }
66
+ }
67
+ @include createGridCols3(($value - 1));
68
+ }
69
+ }
70
+
71
+ /* generate classes for setting two rows on a 12 rows grid
72
+ example: grid__row-4-6
73
+ */
74
+ @mixin createGridRows($value) {
75
+ @if $value >= 0 {
76
+ $one: $value;
77
+ $two: 12 - $value;
78
+
79
+ .grid__row--#{$one}-#{$two} {
80
+ grid-template-rows: ($one * 1fr) ($two * 1fr);
81
+
82
+ &--xs {
83
+ @media (max-width: $screen-xs-max) {
84
+ grid-template-rows: ($one * 1fr) ($two * 1fr);
85
+ }
86
+ }
87
+ &--sm {
88
+ @media (min-width: $screen-sm-min) {
89
+ grid-template-rows: ($one * 1fr) ($two * 1fr);
90
+ }
91
+ }
92
+ &--md {
93
+ @media (min-width: $screen-md-min) {
94
+ grid-template-rows: ($one * 1fr) ($two * 1fr);
95
+ }
96
+ }
97
+ &--lg {
98
+ @media (min-width: $screen-lg-min) {
99
+ grid-template-rows: ($one * 1fr) ($two * 1fr);
100
+ }
101
+ }
102
+ }
103
+
104
+ @include createGridRows(($value - 1));
105
+ }
106
+ }
107
+
108
+ @mixin createGapClasses($value, $basesize: 8) {
109
+ @if $value >= 0 {
110
+ $val: ($value * $basesize);
111
+ .gap-#{$val} {
112
+ gap: ($val * 1px) !important;
113
+ }
114
+
115
+ @media (max-width: $screen-xs-max) {
116
+ .gap-xs-#{$val} {
117
+ gap: ($val * 1px) !important;
118
+ }
119
+ }
120
+ @media (min-width: $screen-sm-min) {
121
+ .gap-sm-#{$val} {
122
+ gap: ($val * 1px) !important;
123
+ }
124
+ }
125
+ @media (min-width: $screen-md-min) {
126
+ .gap-md-#{$val} {
127
+ gap: ($val * 1px) !important;
128
+ }
129
+ }
130
+ @media (min-width: $screen-lg-min) {
131
+ .gap-lg-#{$val} {
132
+ gap: ($val * 1px) !important;
133
+ }
134
+ }
135
+ @include createGapClasses(($value - 1), $basesize);
136
+ }
137
+ }
@@ -0,0 +1,39 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ @mixin make-flex-cols($n: 12, $i: 1) {
4
+ @if $i <= $n {
5
+ .col-#{$i} {
6
+ min-width: calc((8.333333333% * $i) - (var(--c8y-margin) * 2));
7
+ }
8
+ @include make-flex-cols($n, ($i + 1));
9
+ }
10
+ }
11
+
12
+ @mixin make-flex-cols-container($n: 150, $i: 20) {
13
+ @if $i <= $n {
14
+ .content-flex-#{$i} {
15
+ --c8y-multiplier: calc((#{$i} * 1rem) - 100%);
16
+ }
17
+ @include make-flex-cols-container($n, ($i + 1));
18
+ }
19
+ }
20
+
21
+ [class*="content-flex-"]{
22
+ display: flex;
23
+ flex-wrap: wrap;
24
+ flex-direction: row;
25
+ --c8y-margin: 1rem;
26
+ margin: 0 calc(var(--c8y-margin) * -1);
27
+
28
+ > *{
29
+ max-width: 100%;
30
+ flex-basis: calc(var(--c8y-multiplier) * 999);
31
+ margin: 0 var(--c8y-margin);
32
+ }
33
+ }
34
+
35
+ @include make-flex-cols-container();
36
+
37
+ [class*="content-flex-"]{
38
+ @include make-flex-cols();
39
+ }
@@ -0,0 +1,122 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ @mixin box-sizing($type) {
4
+ box-sizing: $type;
5
+ }
6
+
7
+ // Form validation states
8
+ // Used to generate the form validation CSS for warnings, errors, and successes.
9
+ @mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) {
10
+ // Color the label and help text
11
+ .help-block,
12
+ .control-label,
13
+ .radio,
14
+ .checkbox,
15
+ .radio-inline,
16
+ .checkbox-inline,
17
+ &.radio label,
18
+ &.checkbox label,
19
+ &.radio-inline label,
20
+ &.checkbox-inline label {
21
+ color: $text-color!important;
22
+ }
23
+ // Set the border and box shadow on specific inputs to match
24
+ .form-control {
25
+ box-shadow: inset 1px 0 0 0 $form-control-border-color-default,
26
+ inset -1px 0 0 0 $form-control-border-color-default,
27
+ inset 0 1px 0 0 $form-control-border-color-default, inset 0 -4px 0 $border-color!important;
28
+ &:focus {
29
+ color: $text-color;
30
+ box-shadow: inset 2px 0 0 0 $form-control-border-color-focus,
31
+ inset -2px 0 0 0 $form-control-border-color-focus,
32
+ inset 0 2px 0 0 $form-control-border-color-focus, inset 0 -4px 0 $border-color!important;
33
+ }
34
+ }
35
+ // validation states for radio and checkboxes
36
+ label.c8y-checkbox,
37
+ label.c8y-radio {
38
+ input + span:before {
39
+ box-shadow: inset 0 0 0 2px $border-color;
40
+ }
41
+ &:focus input + span::before,
42
+ input:focus + span::before {
43
+ box-shadow: inset 0 0 0 2px $form-control-border-color-focus;
44
+ }
45
+ }
46
+ // Set validation states also for addons
47
+ .input-group-addon {
48
+ color: white;
49
+ border-color: $border-color;
50
+ background-color: $border-color;
51
+ }
52
+
53
+ // Optional feedback icon
54
+ .form-control-feedback-message:before {
55
+ color: $border-color;
56
+ }
57
+ }
58
+
59
+ // Form control focus state
60
+ //
61
+ // Generate a customized focus state and for any input with the specified color,
62
+ // which defaults to the `$form-control-border-color-focus` variable.
63
+ //
64
+ // We highly encourage you to not customize the default value, but instead use
65
+ // this to tweak colors on an as-needed basis. This aesthetic change is based on
66
+ // WebKit's default styles, but applicable to a wider range of browsers. Its
67
+ // usability and accessibility should be taken into account with any change.
68
+ //
69
+ // Example usage: change the default blue border and shadow to white for better
70
+ // contrast against a dark gray background.
71
+ @mixin form-control-focus($border: $form-control-border-color-focus, $bg: $form-control-background-focus, $color: $form-control-color-focus) {
72
+ &:focus {
73
+ border-color: $border;
74
+ outline: 0;
75
+ box-shadow: inset 0 0 0 2px $border;
76
+ background-color: $bg;
77
+ color: $color;
78
+ }
79
+ }
80
+
81
+ // Form control sizing
82
+ //
83
+ // Relative text size, padding, and border-radii changes for form controls. For
84
+ // horizontal sizing, wrap controls in the predefined grid classes. `<select>`
85
+ // element gets special love because it's special, and that's a fact!
86
+ @mixin input-size($input-height, $padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
87
+ height: $input-height;
88
+ padding: $padding-vertical $padding-horizontal;
89
+ font-size: $font-size;
90
+ line-height: $line-height;
91
+ border-radius: $border-radius;
92
+
93
+ select& {
94
+ height: $input-height;
95
+ line-height: $input-height;
96
+ }
97
+
98
+ textarea&,
99
+ select[multiple]& {
100
+ height: auto;
101
+ }
102
+ }
103
+
104
+ // Placeholder text
105
+ @mixin placeholder($color: $form-control-placeholder-color,$font-style: $form-control-placeholder-font-style) {
106
+ // Firefox
107
+ &::-moz-placeholder {
108
+ color: $color;
109
+ opacity: 1; // Override Firefox's unusual default opacity,see https://github.com/twbs/bootstrap/pull/11526
110
+ font-style: $font-style;
111
+ }
112
+ // Internet Explorer 10+
113
+ &:-ms-input-placeholder {
114
+ color: $color;
115
+ font-style: $font-style;
116
+ }
117
+ // Safari and Chrome
118
+ &::-webkit-input-placeholder {
119
+ color: $color;
120
+ font-style: $font-style;
121
+ }
122
+ }
@@ -0,0 +1,120 @@
1
+ @use "../../variables/index" as *;
2
+
3
+ @use "sass:color";
4
+ @use "sass:string";
5
+ // Horizontal gradient, from left to right
6
+ // Creates two color stops, start and end, by specifying a color and position for each color stop.
7
+ // Color stops are not available in IE9 and below.
8
+ @mixin gradient-horizontal($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
9
+ background-image: -webkit-linear-gradient(
10
+ left,
11
+ $start-color $start-percent,
12
+ $end-color $end-percent
13
+ ); // Safari 5.1-6, Chrome 10+
14
+ background-image: -o-linear-gradient(
15
+ left,
16
+ $start-color $start-percent,
17
+ $end-color $end-percent
18
+ ); // Opera 12
19
+ background-image: linear-gradient(
20
+ to right,
21
+ $start-color $start-percent,
22
+ $end-color $end-percent
23
+ ); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
24
+ background-repeat: repeat-x;
25
+ filter: string.unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='#{color.ie-hex-str($start-color)}', endColorstr='#{color.ie-hex-str($end-color)}', GradientType=1)"); // IE9 and down
26
+ }
27
+
28
+ // Vertical gradient, from top to bottom
29
+ // Creates two color stops, start and end, by specifying a color and position for each color stop.
30
+ // Color stops are not available in IE9 and below.
31
+ @mixin gradient-vertical($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
32
+ background-image: -webkit-linear-gradient(
33
+ top,
34
+ $start-color $start-percent,
35
+ $end-color $end-percent
36
+ ); // Safari 5.1-6, Chrome 10+
37
+ background-image: -o-linear-gradient(
38
+ top,
39
+ $start-color $start-percent,
40
+ $end-color $end-percent
41
+ ); // Opera 12
42
+ background-image: linear-gradient(
43
+ to bottom,
44
+ $start-color $start-percent,
45
+ $end-color $end-percent
46
+ ); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
47
+ background-repeat: repeat-x;
48
+ filter: string.unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='#{color.ie-hex-str($start-color)}', endColorstr='#{color.ie-hex-str($end-color)}', GradientType=0)"); // IE9 and down
49
+ }
50
+
51
+ @mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) {
52
+ background-repeat: repeat-x;
53
+ background-image: -webkit-linear-gradient(
54
+ $deg,
55
+ $start-color,
56
+ $end-color
57
+ ); // Safari 5.1-6, Chrome 10+
58
+ background-image: -o-linear-gradient($deg, $start-color, $end-color); // Opera 12
59
+ background-image: linear-gradient(
60
+ $deg,
61
+ $start-color,
62
+ $end-color
63
+ ); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
64
+ }
65
+ @mixin gradient-horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
66
+ background-image: -webkit-linear-gradient(
67
+ left,
68
+ $start-color,
69
+ $mid-color $color-stop,
70
+ $end-color
71
+ );
72
+ background-image: -o-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
73
+ background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
74
+ background-repeat: no-repeat;
75
+ filter: string.unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='#{color.ie-hex-str($start-color)}', endColorstr='#{color.ie-hex-str($end-color)}', GradientType=1)"); // IE9 and down, gets no color-stop at all for proper fallback
76
+ }
77
+ @mixin gradient-vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
78
+ background-image: -webkit-linear-gradient($start-color, $mid-color $color-stop, $end-color);
79
+ background-image: -o-linear-gradient($start-color, $mid-color $color-stop, $end-color);
80
+ background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
81
+ background-repeat: no-repeat;
82
+ filter: string.unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='#{color.ie-hex-str($start-color)}', endColorstr='#{color.ie-hex-str($end-color)}', GradientType=0)"); // IE9 and down, gets no color-stop at all for proper fallback
83
+ }
84
+ @mixin gradient-radial($inner-color: #555, $outer-color: #333) {
85
+ background-image: -webkit-radial-gradient(circle, $inner-color, $outer-color);
86
+ background-image: radial-gradient(circle, $inner-color, $outer-color);
87
+ background-repeat: no-repeat;
88
+ }
89
+ @mixin gradient-striped($color: rgba(255,255,255,0.15), $angle: 45deg) {
90
+ background-image: -webkit-linear-gradient(
91
+ $angle,
92
+ $color 25%,
93
+ transparent 25%,
94
+ transparent 50%,
95
+ $color 50%,
96
+ $color 75%,
97
+ transparent 75%,
98
+ transparent
99
+ );
100
+ background-image: -o-linear-gradient(
101
+ $angle,
102
+ $color 25%,
103
+ transparent 25%,
104
+ transparent 50%,
105
+ $color 50%,
106
+ $color 75%,
107
+ transparent 75%,
108
+ transparent
109
+ );
110
+ background-image: linear-gradient(
111
+ $angle,
112
+ $color 25%,
113
+ transparent 25%,
114
+ transparent 50%,
115
+ $color 50%,
116
+ $color 75%,
117
+ transparent 75%,
118
+ transparent
119
+ );
120
+ }