@aziontech/theme 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +466 -0
  3. package/package.json +52 -0
  4. package/src/azion/_custom.scss +3 -0
  5. package/src/azion/_extensions.scss +37 -0
  6. package/src/azion/_fonts.scss +153 -0
  7. package/src/azion/_variables-widget.scss +400 -0
  8. package/src/azion/_variables.scss +407 -0
  9. package/src/azion/custom/_code.scss +11 -0
  10. package/src/azion/custom/_focus.scss +5 -0
  11. package/src/azion/custom/_scrollbehavior.scss +6 -0
  12. package/src/azion/custom/_selection.scss +4 -0
  13. package/src/azion/custom/_special-button.scss +57 -0
  14. package/src/azion/extended-components/_autocomplete.scss +13 -0
  15. package/src/azion/extended-components/_badge.scss +53 -0
  16. package/src/azion/extended-components/_breadcumb.scss +18 -0
  17. package/src/azion/extended-components/_button.scss +134 -0
  18. package/src/azion/extended-components/_calendar.scss +310 -0
  19. package/src/azion/extended-components/_carousel.scss +9 -0
  20. package/src/azion/extended-components/_checkbox.scss +33 -0
  21. package/src/azion/extended-components/_datatable.scss +130 -0
  22. package/src/azion/extended-components/_dialog.scss +45 -0
  23. package/src/azion/extended-components/_divider.scss +37 -0
  24. package/src/azion/extended-components/_dropdown.scss +10 -0
  25. package/src/azion/extended-components/_dropdownitem.scss +13 -0
  26. package/src/azion/extended-components/_inlinemessage.scss +10 -0
  27. package/src/azion/extended-components/_inputnumber.scss +40 -0
  28. package/src/azion/extended-components/_inputpassword.scss +4 -0
  29. package/src/azion/extended-components/_inputswitch.scss +53 -0
  30. package/src/azion/extended-components/_listbox.scss +35 -0
  31. package/src/azion/extended-components/_markdown.scss +135 -0
  32. package/src/azion/extended-components/_menuitem.scss +22 -0
  33. package/src/azion/extended-components/_multiselect.scss +167 -0
  34. package/src/azion/extended-components/_overlaypanel.scss +18 -0
  35. package/src/azion/extended-components/_picklist.scss +25 -0
  36. package/src/azion/extended-components/_progressbar.scss +6 -0
  37. package/src/azion/extended-components/_radiobutton.scss +63 -0
  38. package/src/azion/extended-components/_selectbutton.scss +36 -0
  39. package/src/azion/extended-components/_sidebar.scss +28 -0
  40. package/src/azion/extended-components/_splitbutton.scss +22 -0
  41. package/src/azion/extended-components/_tabmenu.scss +21 -0
  42. package/src/azion/extended-components/_tabview.scss +41 -0
  43. package/src/azion/extended-components/_tag.scss +47 -0
  44. package/src/azion/extended-components/_toast.scss +9 -0
  45. package/src/azion/extended-components/_tooltip.scss +7 -0
  46. package/src/azion/extended-components/_treeselect.scss +10 -0
  47. package/src/azion/extended-components/jsonform/_inputcheckbox.scss +41 -0
  48. package/src/azion/extended-components/jsonform/_inputtext.scss +26 -0
  49. package/src/azion/extended-components/jsonform/_label.scss +185 -0
  50. package/src/azion/extended-components/jsonform/_select.scss +34 -0
  51. package/src/azion/theme-base/_colors.scss +18 -0
  52. package/src/azion/theme-base/_common.scss +75 -0
  53. package/src/azion/theme-base/_components.scss +103 -0
  54. package/src/azion/theme-base/_mixins.scss +250 -0
  55. package/src/azion/theme-base/components/button/_button.scss +567 -0
  56. package/src/azion/theme-base/components/button/_speeddial.scss +97 -0
  57. package/src/azion/theme-base/components/button/_splitbutton.scss +390 -0
  58. package/src/azion/theme-base/components/data/_carousel.scss +37 -0
  59. package/src/azion/theme-base/components/data/_datatable.scss +347 -0
  60. package/src/azion/theme-base/components/data/_dataview.scss +47 -0
  61. package/src/azion/theme-base/components/data/_filter.scss +138 -0
  62. package/src/azion/theme-base/components/data/_orderlist.scss +70 -0
  63. package/src/azion/theme-base/components/data/_organizationchart.scss +50 -0
  64. package/src/azion/theme-base/components/data/_paginator.scss +92 -0
  65. package/src/azion/theme-base/components/data/_picklist.scss +70 -0
  66. package/src/azion/theme-base/components/data/_timeline.scss +38 -0
  67. package/src/azion/theme-base/components/data/_tree.scss +90 -0
  68. package/src/azion/theme-base/components/data/_treetable.scss +251 -0
  69. package/src/azion/theme-base/components/file/_fileupload.scss +82 -0
  70. package/src/azion/theme-base/components/input/_autocomplete.scss +114 -0
  71. package/src/azion/theme-base/components/input/_calendar.scss +251 -0
  72. package/src/azion/theme-base/components/input/_cascadeselect.scss +106 -0
  73. package/src/azion/theme-base/components/input/_checkbox.scss +86 -0
  74. package/src/azion/theme-base/components/input/_chips.scss +53 -0
  75. package/src/azion/theme-base/components/input/_colorpicker.scss +18 -0
  76. package/src/azion/theme-base/components/input/_dropdown.scss +147 -0
  77. package/src/azion/theme-base/components/input/_editor.scss +122 -0
  78. package/src/azion/theme-base/components/input/_inputgroup.scss +74 -0
  79. package/src/azion/theme-base/components/input/_inputnumber.scss +5 -0
  80. package/src/azion/theme-base/components/input/_inputswitch.scss +62 -0
  81. package/src/azion/theme-base/components/input/_inputtext.scss +100 -0
  82. package/src/azion/theme-base/components/input/_listbox.scss +89 -0
  83. package/src/azion/theme-base/components/input/_multiselect.scss +166 -0
  84. package/src/azion/theme-base/components/input/_password.scss +33 -0
  85. package/src/azion/theme-base/components/input/_radiobutton.scss +78 -0
  86. package/src/azion/theme-base/components/input/_rating.scss +60 -0
  87. package/src/azion/theme-base/components/input/_selectbutton.scss +50 -0
  88. package/src/azion/theme-base/components/input/_slider.scss +49 -0
  89. package/src/azion/theme-base/components/input/_togglebutton.scss +52 -0
  90. package/src/azion/theme-base/components/input/_treeselect.scss +91 -0
  91. package/src/azion/theme-base/components/menu/_breadcrumb.scss +42 -0
  92. package/src/azion/theme-base/components/menu/_contextmenu.scss +39 -0
  93. package/src/azion/theme-base/components/menu/_dock.scss +95 -0
  94. package/src/azion/theme-base/components/menu/_megamenu.scss +55 -0
  95. package/src/azion/theme-base/components/menu/_menu.scss +33 -0
  96. package/src/azion/theme-base/components/menu/_menubar.scss +141 -0
  97. package/src/azion/theme-base/components/menu/_panelmenu.scss +153 -0
  98. package/src/azion/theme-base/components/menu/_steps.scss +56 -0
  99. package/src/azion/theme-base/components/menu/_tabmenu.scss +49 -0
  100. package/src/azion/theme-base/components/menu/_tieredmenu.scss +43 -0
  101. package/src/azion/theme-base/components/messages/_inlinemessage.scss +64 -0
  102. package/src/azion/theme-base/components/messages/_message.scss +100 -0
  103. package/src/azion/theme-base/components/messages/_toast.scss +100 -0
  104. package/src/azion/theme-base/components/misc/_avatar.scss +30 -0
  105. package/src/azion/theme-base/components/misc/_badge.scss +48 -0
  106. package/src/azion/theme-base/components/misc/_blockui.scss +0 -0
  107. package/src/azion/theme-base/components/misc/_chip.scss +39 -0
  108. package/src/azion/theme-base/components/misc/_inplace.scss +17 -0
  109. package/src/azion/theme-base/components/misc/_progressbar.scss +17 -0
  110. package/src/azion/theme-base/components/misc/_progressspinner.scss +49 -0
  111. package/src/azion/theme-base/components/misc/_scrolltop.scss +25 -0
  112. package/src/azion/theme-base/components/misc/_skeleton.scss +8 -0
  113. package/src/azion/theme-base/components/misc/_tag.scss +40 -0
  114. package/src/azion/theme-base/components/misc/_terminal.scss +12 -0
  115. package/src/azion/theme-base/components/multimedia/_galleria.scss +151 -0
  116. package/src/azion/theme-base/components/multimedia/_image.scss +54 -0
  117. package/src/azion/theme-base/components/overlay/_confirmpopup.scss +72 -0
  118. package/src/azion/theme-base/components/overlay/_dialog.scss +64 -0
  119. package/src/azion/theme-base/components/overlay/_overlaypanel.scss +38 -0
  120. package/src/azion/theme-base/components/overlay/_sidebar.scss +23 -0
  121. package/src/azion/theme-base/components/overlay/_tooltip.scss +33 -0
  122. package/src/azion/theme-base/components/panel/_accordion.scss +118 -0
  123. package/src/azion/theme-base/components/panel/_card.scss +30 -0
  124. package/src/azion/theme-base/components/panel/_divider.scss +40 -0
  125. package/src/azion/theme-base/components/panel/_fieldset.scss +51 -0
  126. package/src/azion/theme-base/components/panel/_panel.scss +47 -0
  127. package/src/azion/theme-base/components/panel/_scrollpanel.scss +11 -0
  128. package/src/azion/theme-base/components/panel/_splitter.scss +24 -0
  129. package/src/azion/theme-base/components/panel/_tabview.scss +66 -0
  130. package/src/azion/theme-base/components/panel/_toolbar.scss +11 -0
  131. package/src/azion/theme-widget.scss +9 -0
  132. package/src/azion/theme.scss +9 -0
  133. package/src/azion/variables/_button.scss +438 -0
  134. package/src/azion/variables/_data.scss +346 -0
  135. package/src/azion/variables/_form.scss +570 -0
  136. package/src/azion/variables/_general.scss +149 -0
  137. package/src/azion/variables/_media.scss +231 -0
  138. package/src/azion/variables/_menu.scss +287 -0
  139. package/src/azion/variables/_message.scss +145 -0
  140. package/src/azion/variables/_misc.scss +143 -0
  141. package/src/azion/variables/_overlay.scss +67 -0
  142. package/src/azion/variables/_panel.scss +327 -0
  143. package/src/tokens/README.md +345 -0
  144. package/src/tokens/build/css-vars.js +41 -0
  145. package/src/tokens/build/preset.js +69 -0
  146. package/src/tokens/build/refs.js +7 -0
  147. package/src/tokens/build/resolve.js +102 -0
  148. package/src/tokens/build/tailwind-helper.js +12 -0
  149. package/src/tokens/build/tailwind-plugin.js +175 -0
  150. package/src/tokens/colors-brand.js +24 -0
  151. package/src/tokens/index.js +16 -0
  152. package/src/tokens/primitives/brand.js +69 -0
  153. package/src/tokens/primitives/colors.js +133 -0
  154. package/src/tokens/semantic/backgrounds.js +48 -0
  155. package/src/tokens/semantic/borders.js +46 -0
  156. package/src/tokens/semantic/text.js +78 -0
@@ -0,0 +1,100 @@
1
+ .p-message {
2
+ margin: $messageMargin;
3
+ border-radius: $borderRadius;
4
+
5
+ .p-message-wrapper {
6
+ padding: $messagePadding;
7
+ }
8
+
9
+ .p-message-close {
10
+ width: $actionIconWidth;
11
+ height: $actionIconHeight;
12
+ border-radius: $actionIconBorderRadius;
13
+ background: transparent;
14
+ transition: $actionIconTransition;
15
+
16
+ &:hover {
17
+ background: rgba(255,255,255,.5);
18
+ }
19
+
20
+ &:focus-visible {
21
+ @include focused();
22
+ }
23
+
24
+ }
25
+
26
+ &.p-message-info {
27
+ background: $infoMessageBg;
28
+ border: $infoMessageBorder;
29
+ border-width: $messageBorderWidth;
30
+ color: $infoMessageTextColor;
31
+
32
+ .p-message-icon {
33
+ color: $infoMessageIconColor;
34
+ }
35
+
36
+ .p-message-close {
37
+ color: $infoMessageIconColor;
38
+ }
39
+ }
40
+
41
+ &.p-message-success {
42
+ background: $successMessageBg;
43
+ border: $successMessageBorder;
44
+ border-width: $messageBorderWidth;
45
+ color: $successMessageTextColor;
46
+
47
+ .p-message-icon {
48
+ color: $successMessageIconColor;
49
+ }
50
+
51
+ .p-message-close {
52
+ color: $successMessageIconColor;
53
+ }
54
+ }
55
+
56
+ &.p-message-warn {
57
+ background: $warningMessageBg;
58
+ border: $warningMessageBorder;
59
+ border-width: $messageBorderWidth;
60
+ color: $warningMessageTextColor;
61
+
62
+ .p-message-icon {
63
+ color: $warningMessageIconColor;
64
+ }
65
+
66
+ .p-message-close {
67
+ color: $warningMessageIconColor;
68
+ }
69
+ }
70
+
71
+ &.p-message-error {
72
+ background: $errorMessageBg;
73
+ border: $errorMessageBorder;
74
+ border-width: $messageBorderWidth;
75
+ color: $errorMessageTextColor;
76
+
77
+ .p-message-icon {
78
+ color: $errorMessageIconColor;
79
+ }
80
+
81
+ .p-message-close {
82
+ color: $errorMessageIconColor;
83
+ }
84
+ }
85
+
86
+ .p-message-text {
87
+ font-size: $messageTextFontSize;
88
+ font-weight: $messageTextFontWeight;
89
+ }
90
+
91
+ .p-message-icon {
92
+ font-size: $messageIconFontSize;
93
+ margin-right: $inlineSpacing;
94
+ }
95
+
96
+ .p-icon:not(.p-message-close-icon) {
97
+ width: $messageIconFontSize;
98
+ height: $messageIconFontSize;
99
+ }
100
+ }
@@ -0,0 +1,100 @@
1
+ .p-toast {
2
+ opacity: $toastOpacity;
3
+
4
+ .p-toast-message {
5
+ margin: $toastMargin;
6
+ box-shadow: $toastShadow;
7
+ border-radius: $borderRadius;
8
+
9
+ .p-toast-message-content {
10
+ padding: $toastPadding;
11
+ border-width: $toastBorderWidth;
12
+
13
+ .p-toast-message-text {
14
+ margin: $toastMessageTextMargin;
15
+ }
16
+
17
+ .p-toast-message-icon {
18
+ font-size: $toastIconFontSize;
19
+
20
+ &.p-icon {
21
+ width: $toastIconFontSize;
22
+ height: $toastIconFontSize;
23
+ }
24
+ }
25
+
26
+ .p-toast-summary {
27
+ font-weight: $toastTitleFontWeight;
28
+ }
29
+
30
+ .p-toast-detail {
31
+ margin: $toastDetailMargin;
32
+ }
33
+ }
34
+
35
+ .p-toast-icon-close {
36
+ width: $toastIconFontSize;
37
+ height: $toastIconFontSize;
38
+ border-radius: $actionIconBorderRadius;
39
+ background: transparent;
40
+ transition: $actionIconTransition;
41
+
42
+ &:hover {
43
+ background: rgba(255,255,255,.5);
44
+ }
45
+
46
+ &:focus-visible {
47
+ @include focused();
48
+ }
49
+ }
50
+
51
+ &.p-toast-message-info {
52
+ background: $infoMessageBg;
53
+ border: $infoMessageBorder;
54
+ border-width: $messageBorderWidth;
55
+ color: $infoMessageTextColor;
56
+
57
+ .p-toast-message-icon,
58
+ .p-toast-icon-close {
59
+ color: $infoMessageIconColor;
60
+ }
61
+ }
62
+
63
+ &.p-toast-message-success {
64
+ background: $successMessageBg;
65
+ border: $successMessageBorder;
66
+ border-width: $messageBorderWidth;
67
+ color: $successMessageTextColor;
68
+
69
+ .p-toast-message-icon,
70
+ .p-toast-icon-close {
71
+ color: $successMessageIconColor;
72
+ }
73
+ }
74
+
75
+ &.p-toast-message-warn {
76
+ background: $warningMessageBg;
77
+ border: $warningMessageBorder;
78
+ border-width: $messageBorderWidth;
79
+ color: $warningMessageTextColor;
80
+
81
+ .p-toast-message-icon,
82
+ .p-toast-icon-close {
83
+ color: $warningMessageIconColor;
84
+ }
85
+ }
86
+
87
+ &.p-toast-message-error {
88
+ background: $errorMessageBg;
89
+ border: $errorMessageBorder;
90
+ border-width: $messageBorderWidth;
91
+ color: $errorMessageTextColor;
92
+
93
+ .p-toast-message-icon,
94
+ .p-toast-icon-close {
95
+ color: $errorMessageIconColor;
96
+ }
97
+ }
98
+
99
+ }
100
+ }
@@ -0,0 +1,30 @@
1
+ .p-avatar {
2
+ background-color: $avatarBg;
3
+ border-radius: $borderRadius;
4
+
5
+ &.p-avatar-lg {
6
+ width: 3rem;
7
+ height: 3rem;
8
+ font-size: 1.5rem;
9
+
10
+ .p-avatar-icon {
11
+ font-size: 1.5rem;
12
+ }
13
+ }
14
+
15
+ &.p-avatar-xl {
16
+ width: 4rem;
17
+ height: 4rem;
18
+ font-size: 2rem;
19
+
20
+ .p-avatar-icon {
21
+ font-size: 2rem;
22
+ }
23
+ }
24
+ }
25
+
26
+ .p-avatar-group {
27
+ .p-avatar {
28
+ border: 2px solid $panelContentBg;
29
+ }
30
+ }
@@ -0,0 +1,48 @@
1
+ .p-badge {
2
+ background: $badgeBg;
3
+ color: $badgeTextColor;
4
+ font-size: $badgeFontSize;
5
+ font-weight: $badgeFontWeight;
6
+ min-width: $badgeMinWidth;
7
+ height: $badgeHeight;
8
+ line-height: $badgeHeight;
9
+
10
+ &.p-badge-secondary {
11
+ background-color: $secondaryButtonBg;
12
+ color: $secondaryButtonTextColor;
13
+ }
14
+
15
+ &.p-badge-success {
16
+ background-color: $successButtonBg;
17
+ color: $successButtonTextColor;
18
+ }
19
+
20
+ &.p-badge-info {
21
+ background-color: $infoButtonBg;
22
+ color: $infoButtonTextColor;
23
+ }
24
+
25
+ &.p-badge-warning {
26
+ background-color: $warningButtonBg;
27
+ color: $warningButtonTextColor;
28
+ }
29
+
30
+ &.p-badge-danger {
31
+ background-color: $dangerButtonBg;
32
+ color: $dangerButtonTextColor;
33
+ }
34
+
35
+ &.p-badge-lg {
36
+ font-size: 1.5 * $badgeFontSize;
37
+ min-width: 1.5 * $badgeMinWidth;
38
+ height: 1.5 * $badgeHeight;
39
+ line-height: 1.5 * $badgeHeight;
40
+ }
41
+
42
+ &.p-badge-xl {
43
+ font-size: 2 * $badgeFontSize;
44
+ min-width: 2 * $badgeMinWidth;
45
+ height: 2 * $badgeHeight;
46
+ line-height: 2 * $badgeHeight;
47
+ }
48
+ }
@@ -0,0 +1,39 @@
1
+ @use 'sass:math';
2
+
3
+ .p-chip {
4
+ background-color: $chipBg;
5
+ color: $chipTextColor;
6
+ border-radius: $chipBorderRadius;
7
+ padding: 0 nth($inputPadding, 2);
8
+
9
+ .p-chip-text {
10
+ line-height: 1.5;
11
+ margin-top: math.div(nth($inputPadding, 1), 2);
12
+ margin-bottom: math.div(nth($inputPadding, 1), 2);
13
+ }
14
+
15
+ .p-chip-icon {
16
+ margin-right: $inlineSpacing;
17
+ }
18
+
19
+ img {
20
+ width: 1.5 + nth($inputPadding, 1);
21
+ height: 1.5 + nth($inputPadding, 1);
22
+ margin-left: -1 * nth($inputPadding, 2);
23
+ margin-right: $inlineSpacing;
24
+ }
25
+
26
+ .p-chip-remove-icon {
27
+ margin-left: $inlineSpacing;
28
+ border-radius: $borderRadius;
29
+ transition: $actionIconTransition;
30
+
31
+ &:focus-visible {
32
+ @include focused();
33
+ }
34
+
35
+ &:focus {
36
+ outline: 0 none;
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,17 @@
1
+ .p-inplace {
2
+ .p-inplace-display {
3
+ padding: $inplacePadding;
4
+ border-radius: $borderRadius;
5
+ transition: $formElementTransition;
6
+
7
+ &:not(.p-disabled):hover {
8
+ background: $inplaceHoverBg;
9
+ color: $inplaceTextHoverColor;
10
+ }
11
+
12
+ &:focus {
13
+ @include focused();
14
+ }
15
+ }
16
+ }
17
+
@@ -0,0 +1,17 @@
1
+ .p-progressbar {
2
+ border: $progressBarBorder;
3
+ height: $progressBarHeight;
4
+ background: $progressBarBg;
5
+ border-radius: $borderRadius;
6
+
7
+ .p-progressbar-value {
8
+ border: 0 none;
9
+ margin: 0;
10
+ background: $progressBarValueBg;
11
+ }
12
+
13
+ .p-progressbar-label {
14
+ color: $progressBarValueTextColor;
15
+ line-height: $progressBarHeight;
16
+ }
17
+ }
@@ -0,0 +1,49 @@
1
+ .p-progress-spinner-svg {
2
+ animation: p-progress-spinner-rotate 2s linear infinite;
3
+ }
4
+
5
+ .p-progress-spinner-circle {
6
+ stroke-dasharray: 89, 200;
7
+ stroke-dashoffset: 0;
8
+ stroke: $progressSpinnerStrokeColor;
9
+ animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;
10
+ stroke-linecap: round;
11
+ }
12
+
13
+ @keyframes p-progress-spinner-rotate {
14
+ 100% {
15
+ transform: rotate(360deg);
16
+ }
17
+ }
18
+
19
+ @keyframes p-progress-spinner-dash {
20
+ 0% {
21
+ stroke-dasharray: 1, 200;
22
+ stroke-dashoffset: 0;
23
+ }
24
+ 50% {
25
+ stroke-dasharray: 89, 200;
26
+ stroke-dashoffset: -35px;
27
+ }
28
+ 100% {
29
+ stroke-dasharray: 89, 200;
30
+ stroke-dashoffset: -124px;
31
+ }
32
+ }
33
+
34
+ @keyframes p-progress-spinner-color {
35
+ 100%,
36
+ 0% {
37
+ stroke: $progressSpinnerColorOne;
38
+ }
39
+ 40% {
40
+ stroke: $progressSpinnerColorTwo;
41
+ }
42
+ 66% {
43
+ stroke: $progressSpinnerColorThree;
44
+ }
45
+ 80%,
46
+ 90% {
47
+ stroke: $progressSpinnerColorFour;
48
+ }
49
+ }
@@ -0,0 +1,25 @@
1
+ .p-scrolltop {
2
+ width: $scrollTopWidth;
3
+ height: $scrollTopHeight;
4
+ border-radius: $scrollTopBorderRadius;
5
+ box-shadow: $inputOverlayShadow;
6
+ transition: $actionIconTransition;
7
+
8
+ &.p-link {
9
+ background: $scrollTopBg;
10
+
11
+ &:hover {
12
+ background: $scrollTopHoverBg;
13
+ }
14
+ }
15
+
16
+ .p-scrolltop-icon {
17
+ font-size: $scrollTopFontSize;
18
+ color: $scrollTopTextColor;
19
+
20
+ &.p-icon {
21
+ width: $scrollTopFontSize;
22
+ height: $scrollTopFontSize;
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,8 @@
1
+ .p-skeleton {
2
+ background-color: $skeletonBg;
3
+ border-radius: $borderRadius;
4
+
5
+ &:after {
6
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0), $skeletonAnimationBg, rgba(255, 255, 255, 0));
7
+ }
8
+ }
@@ -0,0 +1,40 @@
1
+ @use 'sass:math';
2
+
3
+ .p-tag {
4
+ background: $badgeBg;
5
+ color: $badgeTextColor;
6
+ font-size: $badgeFontSize;
7
+ font-weight: $badgeFontWeight;
8
+ padding: $tagPadding;
9
+ border-radius: $borderRadius;
10
+
11
+ &.p-tag-success {
12
+ background-color: $successButtonBg;
13
+ color: $successButtonTextColor;
14
+ }
15
+
16
+ &.p-tag-info {
17
+ background-color: $infoButtonBg;
18
+ color: $infoButtonTextColor;
19
+ }
20
+
21
+ &.p-tag-warning {
22
+ background-color: $warningButtonBg;
23
+ color: $warningButtonTextColor;
24
+ }
25
+
26
+ &.p-tag-danger {
27
+ background-color: $dangerButtonBg;
28
+ color: $dangerButtonTextColor;
29
+ }
30
+
31
+ .p-tag-icon {
32
+ margin-right: math.div($inlineSpacing, 2);
33
+ font-size: $badgeFontSize;
34
+
35
+ &.p-icon {
36
+ width: $badgeFontSize;
37
+ height: $badgeFontSize;
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,12 @@
1
+ .p-terminal {
2
+ background: $panelContentBg;
3
+ color: $panelContentTextColor;
4
+ border: $panelContentBorder;
5
+ padding: $panelContentPadding;
6
+
7
+ .p-terminal-input {
8
+ font-family: var(--font-family);
9
+ font-feature-settings: var(--font-feature-settings, normal);
10
+ font-size: $inputTextFontSize;
11
+ }
12
+ }
@@ -0,0 +1,151 @@
1
+ .p-galleria {
2
+ .p-galleria-close {
3
+ margin: $galleriaCloseIconMargin;
4
+ background: $galleriaCloseIconBg;
5
+ color: $galleriaCloseIconColor;
6
+ width: $galleriaCloseIconWidth;
7
+ height: $galleriaCloseIconHeight;
8
+ transition: $actionIconTransition;
9
+ border-radius: $galleriaCloseIconBorderRadius;
10
+
11
+ .p-galleria-close-icon {
12
+ font-size: $galleriaCloseIconFontSize;
13
+ }
14
+
15
+ .p-icon {
16
+ width: $galleriaCloseIconFontSize;
17
+ height: $galleriaCloseIconFontSize;
18
+ }
19
+
20
+ &:hover {
21
+ background: $galleriaCloseIconHoverBg;
22
+ color: $galleriaCloseIconHoverColor;
23
+ }
24
+ }
25
+
26
+ .p-galleria-item-nav {
27
+ background: $galleriaItemNavigatorBg;
28
+ color: $galleriaItemNavigatorColor;
29
+ width: $galleriaItemNavigatorWidth;
30
+ height: $galleriaItemNavigatorHeight;
31
+ transition: $actionIconTransition;
32
+ border-radius: $galleriaItemNavigatorBorderRadius;
33
+ margin: $galleriaItemNavigatorMargin;
34
+
35
+ .p-galleria-item-prev-icon,
36
+ .p-galleria-item-next-icon {
37
+ font-size: $galleriaItemNavigatorFontSize;
38
+ }
39
+
40
+ .p-icon {
41
+ width: $galleriaCloseIconFontSize;
42
+ height: $galleriaCloseIconFontSize;
43
+ }
44
+
45
+ &:not(.p-disabled) {
46
+ &:hover {
47
+ background: $galleriaItemNavigatorHoverBg;
48
+ color: $galleriaItemNavigatorHoverColor;
49
+ }
50
+ }
51
+ }
52
+
53
+ .p-galleria-caption {
54
+ background: $galleriaCaptionBg;
55
+ color: $galleriaCaptionTextColor;
56
+ padding: $galleriaCaptionPadding;
57
+ }
58
+
59
+ .p-galleria-indicators {
60
+ padding: $galleriaIndicatorsPadding;
61
+
62
+ .p-galleria-indicator {
63
+ button {
64
+ background-color: $galleriaIndicatorBg;
65
+ width: $galleriaIndicatorWidth;
66
+ height: $galleriaIndicatorHeight;
67
+ transition: $actionIconTransition;
68
+ border-radius: $galleriaIndicatorBorderRadius;
69
+
70
+ &:hover {
71
+ background: $galleriaIndicatorHoverBg;
72
+ }
73
+ }
74
+
75
+ &.p-highlight {
76
+ button {
77
+ background: $highlightBg;
78
+ color: $highlightTextColor;
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+ &.p-galleria-indicators-bottom,
85
+ &.p-galleria-indicators-top {
86
+ .p-galleria-indicator {
87
+ margin-right: $inlineSpacing;
88
+ }
89
+ }
90
+
91
+ &.p-galleria-indicators-left,
92
+ &.p-galleria-indicators-right {
93
+ .p-galleria-indicator {
94
+ margin-bottom: $inlineSpacing;
95
+ }
96
+ }
97
+
98
+ &.p-galleria-indicator-onitem {
99
+ .p-galleria-indicators {
100
+ background: $galleriaIndicatorsBgOnItem;
101
+
102
+ .p-galleria-indicator {
103
+ button {
104
+ background: $galleriaIndicatorBgOnItem;
105
+
106
+ &:hover {
107
+ background: $galleriaIndicatorHoverBgOnItem;
108
+ }
109
+ }
110
+
111
+ &.p-highlight {
112
+ button {
113
+ background: $highlightBg;
114
+ color: $highlightTextColor;
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ .p-galleria-thumbnail-container {
122
+ background: $galleriaThumbnailContainerBg;
123
+ padding: $galleriaThumbnailContainerPadding;
124
+
125
+ .p-galleria-thumbnail-prev,
126
+ .p-galleria-thumbnail-next {
127
+ margin: $inlineSpacing;
128
+ background-color: $galleriaThumbnailNavigatorBg;
129
+ color: $galleriaThumbnailNavigatorColor;
130
+ width: $galleriaThumbnailNavigatorWidth;
131
+ height: $galleriaThumbnailNavigatorHeight;
132
+ transition: $actionIconTransition;
133
+ border-radius: $galleriaThumbnailNavigatorBorderRadius;
134
+
135
+ &:hover {
136
+ background: $galleriaThumbnailNavigatorHoverBg;
137
+ color: $galleriaThumbnailNavigatorHoverColor;
138
+ }
139
+ }
140
+
141
+ .p-galleria-thumbnail-item-content {
142
+ &:focus-visible {
143
+ @include focused();
144
+ }
145
+ }
146
+ }
147
+ }
148
+
149
+ .p-galleria-mask {
150
+ --maskbg: #{$galleriaMaskBg};
151
+ }
@@ -0,0 +1,54 @@
1
+ .p-image-mask {
2
+ --maskbg: #{$imageMaskBg};
3
+ }
4
+
5
+ .p-image-preview-indicator {
6
+ background-color: transparent;
7
+ color: $imagePreviewIndicatorColor;
8
+ transition: $actionIconTransition;
9
+
10
+ .p-icon {
11
+ width: $imagePreviewActionIconFontSize;
12
+ height: $imagePreviewActionIconFontSize;
13
+ }
14
+ }
15
+
16
+ .p-image-preview-container {
17
+ &:hover {
18
+ > .p-image-preview-indicator {
19
+ background-color: $imagePreviewIndicatorBg;
20
+ }
21
+ }
22
+ }
23
+
24
+ .p-image-toolbar {
25
+ padding: $imagePreviewToolbarPadding;
26
+ }
27
+
28
+ .p-image-action.p-link {
29
+ color: $imagePreviewActionIconColor;
30
+ background-color: $imagePreviewActionIconBg;
31
+ width: $imagePreviewActionIconWidth;
32
+ height: $imagePreviewActionIconHeight;
33
+ border-radius: $imagePreviewActionIconBorderRadius;
34
+ transition: $actionIconTransition;
35
+ margin-right: $inlineSpacing;
36
+
37
+ &:last-child {
38
+ margin-right: 0;
39
+ }
40
+
41
+ &:hover {
42
+ color: $imagePreviewActionIconHoverColor;
43
+ background-color: $imagePreviewActionIconHoverBg;
44
+ }
45
+
46
+ i {
47
+ font-size: $imagePreviewActionIconFontSize;
48
+ }
49
+
50
+ .p-icon {
51
+ width: $imagePreviewActionIconFontSize;
52
+ height: $imagePreviewActionIconFontSize;
53
+ }
54
+ }