azion-theme 1.4.2 → 1.5.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 (52) hide show
  1. package/.github/workflows/release.yml +1 -1
  2. package/CHANGELOG.md +12 -0
  3. package/CODEOWNERS +1 -1
  4. package/README.md +29 -33
  5. package/default.js +1 -0
  6. package/package.json +3 -2
  7. package/src/azion/_custom.scss +1 -0
  8. package/src/azion/_extensions.scss +30 -0
  9. package/src/azion/_fonts.scss +156 -0
  10. package/src/azion/_variables.scss +369 -0
  11. package/src/azion/custom/_focus.scss +5 -0
  12. package/src/azion/custom/_scrollbehavior.scss +6 -0
  13. package/src/azion/custom/_selection.scss +4 -0
  14. package/src/azion/extended-components/_badge.scss +53 -0
  15. package/src/azion/extended-components/_breadcumb.scss +18 -0
  16. package/src/azion/extended-components/_button.scss +131 -0
  17. package/src/azion/extended-components/_calendar.scss +42 -0
  18. package/src/azion/extended-components/_checkbox.scss +67 -0
  19. package/src/azion/extended-components/_datatable.scss +92 -0
  20. package/src/azion/extended-components/_dialog.scss +45 -0
  21. package/src/azion/extended-components/_divider.scss +31 -0
  22. package/src/azion/extended-components/_dropdownitem.scss +12 -0
  23. package/src/azion/extended-components/_inlinemessage.scss +10 -0
  24. package/src/azion/extended-components/_inputnumber.scss +40 -0
  25. package/src/azion/extended-components/_inputpassword.scss +4 -0
  26. package/src/azion/extended-components/_inputswitch.scss +53 -0
  27. package/src/azion/extended-components/_listbox.scss +25 -0
  28. package/src/azion/extended-components/_markdown.scss +123 -0
  29. package/src/azion/extended-components/_menuitem.scss +22 -0
  30. package/src/azion/extended-components/_multiselect.scss +170 -0
  31. package/src/azion/extended-components/_overlaypanel.scss +18 -0
  32. package/src/azion/extended-components/_picklist.scss +25 -0
  33. package/src/azion/extended-components/_progressbar.scss +6 -0
  34. package/src/azion/extended-components/_radiobutton.scss +63 -0
  35. package/src/azion/extended-components/_selectbutton.scss +36 -0
  36. package/src/azion/extended-components/_sidebar.scss +27 -0
  37. package/src/azion/extended-components/_tabmenu.scss +21 -0
  38. package/src/azion/extended-components/_tabview.scss +41 -0
  39. package/src/azion/extended-components/_tag.scss +42 -0
  40. package/src/azion/extended-components/_toast.scss +67 -0
  41. package/src/azion/extended-components/_tooltip.scss +7 -0
  42. package/src/azion/theme.scss +9 -0
  43. package/src/azion/variables/_button.scss +438 -0
  44. package/src/azion/variables/_data.scss +346 -0
  45. package/src/azion/variables/_form.scss +570 -0
  46. package/src/azion/variables/_general.scss +149 -0
  47. package/src/azion/variables/_media.scss +231 -0
  48. package/src/azion/variables/_menu.scss +287 -0
  49. package/src/azion/variables/_message.scss +145 -0
  50. package/src/azion/variables/_misc.scss +143 -0
  51. package/src/azion/variables/_overlay.scss +67 -0
  52. package/src/azion/variables/_panel.scss +327 -0
@@ -0,0 +1,63 @@
1
+ // Custom Radio
2
+ .p-radiobutton {
3
+ .p-radiobutton-box {
4
+ border: 2px solid var(--surface-border) !important;
5
+
6
+ &:not(.p-disabled):not(.p-highlight):hover {
7
+ border-color: #f3652b !important;
8
+ }
9
+
10
+ &:not(.p-disabled).p-focus {
11
+ @include focused-input();
12
+ }
13
+
14
+ &.p-highlight {
15
+ border-color: #f3652b !important;
16
+ background: #f3652b !important;
17
+
18
+ &:not(.p-disabled):hover {
19
+ border-color: #f3652b !important;
20
+ background: #f3652b !important;
21
+ color: #f3652b !important;
22
+ }
23
+ }
24
+ }
25
+
26
+ &.p-invalid > .p-radiobutton-box {
27
+ @include invalid-input();
28
+ }
29
+
30
+ &:focus-visible {
31
+ outline: 0 none;
32
+ }
33
+ }
34
+
35
+ .p-input-filled {
36
+ .p-radiobutton {
37
+ .p-radiobutton-box {
38
+ background-color: #f3652b !important;
39
+
40
+ &:not(.p-disabled):hover {
41
+ background-color: #f3652b !important;
42
+ }
43
+
44
+ &.p-highlight {
45
+ background: #f3652b !important;
46
+
47
+ &:not(.p-disabled):hover {
48
+ background: #f3652b !important;
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ @if ($highlightBg == $radiobuttonActiveBg) {
56
+ .p-highlight {
57
+ .p-radiobutton {
58
+ .p-radiobutton-box {
59
+ border-color: #f3652b !important;
60
+ }
61
+ }
62
+ }
63
+ }
@@ -0,0 +1,36 @@
1
+ // Custom SelectButton
2
+ .p-selectbutton {
3
+ background: var(--surface-300) !important;
4
+ padding: 0.3rem;
5
+ border-radius: $borderRadius !important;
6
+
7
+ .p-button {
8
+ background: none !important;
9
+ border: none !important;
10
+ height: 1.7rem !important;
11
+ font-size: 0.875rem !important;
12
+ border-radius: 0.25rem !important;
13
+ color: var(--text-color-secondary) !important;
14
+ font-weight: 600 !important;
15
+
16
+ &:not(.p-disabled):not(.p-highlight):hover {
17
+ border-color: none !important;
18
+ color: var(--text-color) !important;
19
+ }
20
+
21
+ &.p-highlight {
22
+ background: var(--surface-0) !important;
23
+ border-color: none !important;
24
+ font-weight: 600 !important;
25
+ border-radius: 0.25rem !important;
26
+ color: var(--text-color) !important;
27
+
28
+ &:hover {
29
+ background: var(--surface-0) !important;
30
+ border-color: none !important;
31
+ color: $toggleButtonTextActiveHoverColor !important;
32
+ color: var(--text-color) !important;
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,27 @@
1
+ // Custom Header Sidebar
2
+ .p-sidebar {
3
+ .p-sidebar-header {
4
+ justify-content: space-between;
5
+ font-size: 1.25rem !important;
6
+ height: 3.5rem !important;
7
+ font-weight: 500 !important;
8
+ padding-left: 32px !important;
9
+ padding-right: 32px !important;
10
+ border-bottom: 1px solid var(--surface-border) !important;
11
+ }
12
+
13
+ .p-sidebar-content {
14
+ padding: 2rem;
15
+ }
16
+ }
17
+
18
+ @media only screen and (max-width: 768px) {
19
+ .p-sidebar {
20
+ .p-sidebar-header {
21
+ padding: 0.75rem !important;
22
+ }
23
+ .p-sidebar-content {
24
+ padding: 0.75rem !important;
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,21 @@
1
+ // Custom TabMenu
2
+ .p-tabmenu {
3
+ .p-tabmenu-nav {
4
+ gap: 0.5rem !important;
5
+
6
+ .p-tabmenuitem {
7
+ .p-menuitem-link {
8
+ font-weight: 600 !important;
9
+ min-height: 2rem !important;
10
+ font-size: 0.875rem !important;
11
+ border-radius: $borderRadius !important;
12
+ }
13
+ &.p-highlight {
14
+ .p-menuitem-link {
15
+ color: var(--tab-menu-link) !important;
16
+ font-weight: 500 !important;
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,41 @@
1
+ // Custom TabView
2
+ .p-tabview {
3
+ .p-tabview-nav {
4
+ gap: 0.5rem !important;
5
+ padding: 0 !important;
6
+
7
+ li {
8
+ .p-tabview-nav-link {
9
+ font-weight: 600 !important;
10
+ min-height: 2rem;
11
+ font-size: 0.875rem;
12
+ border-radius: $borderRadius;
13
+ }
14
+ &.p-highlight {
15
+ .p-tabview-nav-link {
16
+ color: #1e1e1e !important;
17
+ font-weight: 700 !important;
18
+ }
19
+ }
20
+ }
21
+ }
22
+ .p-tabview-nav-btn.p-link {
23
+ background-color: var(--surface-section) !important;
24
+ color: $textColor !important;
25
+ width: 2rem;
26
+ &:enabled:hover {
27
+ background: var(--surface-hover) !important;
28
+ color: $buttonBg;
29
+ transition: all 150ms;
30
+ }
31
+ }
32
+ .p-tabview-panels {
33
+ height: 100%;
34
+ background: transparent !important;
35
+ padding: 0 !important;
36
+
37
+ .p-tabview-panel {
38
+ height: 100%;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,42 @@
1
+ // Custom Tag
2
+ @use 'sass:math';
3
+
4
+ .p-tag {
5
+ background: #ff6c4729 !important;
6
+ color: #ff6c47 !important;
7
+ font-size: 0.75rem !important;
8
+ font-weight: 500 !important;
9
+ letter-spacing: 0.01rem;
10
+ padding: $tagPadding;
11
+
12
+ &.p-tag-success {
13
+ background-color: #16a34a33 !important;
14
+ color: #39e478 !important;
15
+ }
16
+
17
+ &.p-tag-info {
18
+ background-color: var(--surface-section) !important;
19
+ color: $textColor !important;
20
+ box-shadow: 0px 0px 0px 1px var(--surface-border) !important;
21
+ }
22
+
23
+ &.p-tag-warning {
24
+ background-color: #ffb64d33 !important;
25
+ color: #ffb64d !important;
26
+ }
27
+
28
+ &.p-tag-danger {
29
+ background-color: #f53d3d33 !important;
30
+ color: #f53d3d !important;
31
+ }
32
+
33
+ .p-tag-icon {
34
+ margin-right: math.div($inlineSpacing, 2);
35
+ font-size: $badgeFontSize;
36
+
37
+ &.p-icon {
38
+ width: $badgeFontSize;
39
+ height: $badgeFontSize;
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,67 @@
1
+ // Custom TabView
2
+ .p-toast {
3
+ .p-toast-message {
4
+ .p-toast-message-content {
5
+ background: var(--surface-card) !important;
6
+ border-radius: $borderRadius !important;
7
+ .p-toast-message-text {
8
+ }
9
+
10
+ .p-toast-message-icon {
11
+ &.p-icon {
12
+ }
13
+ }
14
+
15
+ .p-toast-summary {
16
+ }
17
+
18
+ .p-toast-detail {
19
+ }
20
+ }
21
+
22
+ .p-toast-icon-close {
23
+ border: 1px solid var(--surface-border) !important;
24
+
25
+ &:hover {
26
+ }
27
+
28
+ &:focus-visible {
29
+ }
30
+ }
31
+
32
+ &.p-toast-message-info {
33
+ background: var(--surface-section) !important;
34
+
35
+ .p-toast-message-icon {
36
+ }
37
+ .p-toast-icon-close {
38
+ }
39
+ }
40
+
41
+ &.p-toast-message-success {
42
+ background: var(--surface-section) !important;
43
+
44
+ .p-toast-message-icon {
45
+ }
46
+ .p-toast-icon-close {
47
+ }
48
+ }
49
+
50
+ &.p-toast-message-warn {
51
+ background: var(--surface-section) !important;
52
+
53
+ .p-toast-message-icon {
54
+ }
55
+ .p-toast-icon-close {
56
+ }
57
+ }
58
+
59
+ &.p-toast-message-error {
60
+ background: var(--surface-section) !important;
61
+ .p-toast-message-icon {
62
+ }
63
+ .p-toast-icon-close {
64
+ }
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,7 @@
1
+ .p-tooltip {
2
+ .p-tooltip-text {
3
+ box-shadow: none !important;
4
+ font-size: 0.875rem !important;
5
+ padding: 0.375rem 0.5rem !important;
6
+ }
7
+ }
@@ -0,0 +1,9 @@
1
+ @import './variables';
2
+
3
+ .azion {
4
+ @import './_fonts';
5
+ @import '../primevue-sass-theme/theme-base/components.scss';
6
+ @import './_extensions';
7
+ @import './custom';
8
+ transition: background-color 0.5s ease, color 0.5s ease;
9
+ }