@acorex/styles 6.1.12 → 7.0.1

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 (81) hide show
  1. package/index.scss +3 -1
  2. package/package.json +1 -1
  3. package/src/base/index.scss +44 -30
  4. package/src/components/_avatar.scss +122 -122
  5. package/src/components/_badge.scss +178 -178
  6. package/src/components/_breadcrumbs.scss +30 -29
  7. package/src/components/_button copy.scss +924 -0
  8. package/src/components/_button.scss +0 -924
  9. package/src/components/_calendar.scss +180 -180
  10. package/src/components/_carousel.scss +44 -44
  11. package/src/components/_checkbox.scss +58 -58
  12. package/src/components/_collapse.scss +48 -48
  13. package/src/components/_color-palette.scss +5 -5
  14. package/src/components/_color-picker.scss +23 -23
  15. package/src/components/_context-menu.scss +0 -16
  16. package/src/components/_data-table.scss +1 -1
  17. package/src/components/_datepicker.scss +5 -5
  18. package/src/components/_decoration.scss +0 -39
  19. package/src/components/_dialog.scss +80 -79
  20. package/src/components/_drawer.scss +112 -112
  21. package/src/components/_dropdown.scss +162 -216
  22. package/src/components/_editor-container.scss +0 -155
  23. package/src/components/_fieldset.scss +1 -6
  24. package/src/components/_image.scss +1 -1
  25. package/src/components/_label.scss +1 -1
  26. package/src/components/_list.scss +0 -83
  27. package/src/components/_loading.scss +1 -50
  28. package/src/components/_menu copy.scss +5 -5
  29. package/src/components/_menu.scss +114 -114
  30. package/src/components/_popup.scss +92 -91
  31. package/src/components/_progress.scss +59 -59
  32. package/src/components/_radio.scss +30 -30
  33. package/src/components/_range-slider.scss +147 -125
  34. package/src/components/_result.scss +2 -2
  35. package/src/components/_selectbox.scss +15 -17
  36. package/src/components/_selection-list.scss +2 -2
  37. package/src/components/_skeleton.scss +2 -2
  38. package/src/components/_switch.scss +0 -186
  39. package/src/components/_table.scss +0 -81
  40. package/src/components/_tabs copy.scss +18 -18
  41. package/src/components/_tabs.scss +235 -235
  42. package/src/components/_textarea.scss +27 -31
  43. package/src/components/_toast.scss +1 -1
  44. package/src/components/_treeview.scss +0 -54
  45. package/src/components/_uploader.scss +0 -18
  46. package/src/components/index.scss +1 -47
  47. package/src/icons/demo.html +892 -738
  48. package/src/icons/fonts/acorex-icons.eot +0 -0
  49. package/src/icons/fonts/acorex-icons.svg +71 -0
  50. package/src/icons/fonts/acorex-icons.ttf +0 -0
  51. package/src/icons/fonts/acorex-icons.woff +0 -0
  52. package/src/icons/selection.json +1 -1
  53. package/src/icons/style.css +210 -177
  54. package/src/icons/style.scss +335 -280
  55. package/src/icons/variables.scss +65 -54
  56. package/src/mixins/_media.scss +27 -0
  57. package/src/mixins/index.scss +1 -0
  58. package/src/shared/_check-box.scss +45 -0
  59. package/src/shared/_decoration.scss +56 -0
  60. package/src/shared/_drop-down.scss +163 -0
  61. package/src/shared/_editor-container.scss +130 -0
  62. package/src/shared/_general-button.scss +42 -0
  63. package/src/shared/_icon-control.scss +0 -0
  64. package/src/shared/_inputs.scss +12 -0
  65. package/src/shared/_list.scss +134 -0
  66. package/src/shared/_radio.scss +37 -0
  67. package/src/shared/_skeleton.scss +26 -0
  68. package/src/shared/_table.scss +116 -0
  69. package/src/shared/_utils.scss +46 -0
  70. package/src/shared/index.scss +12 -0
  71. package/src/utility/_mixins.scss +3 -3
  72. package/src/utility/index.scss +16 -22
  73. package/src/variables/_colors.scss +76 -107
  74. package/src/variables/_degrees.scss +1 -0
  75. package/src/variables/index.scss +2 -0
  76. package/{index.js → tailwind.config.js} +14 -63
  77. package/src/components/_alert.scss +0 -276
  78. package/src/icons/fonts/acorex-icon.eot +0 -0
  79. package/src/icons/fonts/acorex-icon.svg +0 -60
  80. package/src/icons/fonts/acorex-icon.ttf +0 -0
  81. package/src/icons/fonts/acorex-icon.woff +0 -0
@@ -1,54 +1,65 @@
1
- $icomoon-font-family: "acorex-icon" !default;
2
- $icomoon-font-path: "fonts" !default;
3
-
4
- $ax-ic-skip-previous: "\e92a";
5
- $ax-ic-arrow-left: "\e92b";
6
- $ax-ic-skip-next: "\e92c";
7
- $ax-ic-arrow-right: "\e92d";
8
- $ax-ic-first-page: "\e92e";
9
- $ax-ic-last-page: "\e92f";
10
- $ax-ic-chevron-left: "\e930";
11
- $ax-ic-chevron-right: "\e931";
12
- $ax-ic-inbox: "\e925";
13
- $ax-ic-cloud-download: "\e926";
14
- $ax-ic-download: "\e927";
15
- $ax-ic-upload: "\e928";
16
- $ax-ic-cloud-upload: "\e929";
17
- $ax-ic-empty-box: "\e924";
18
- $ax-ic-colorize: "\e921";
19
- $ax-ic-pase: "\e922";
20
- $ax-ic-copy: "\e923";
21
- $ax-ic-star-filled: "\e91e";
22
- $ax-ic-star-half-filled: "\e91f";
23
- $ax-ic-star-outline: "\e920";
24
- $ax-ic-remove: "\e91b";
25
- $ax-ic-plus: "\e91c";
26
- $ax-ic-magnify: "\e91d";
27
- $ax-ic-arrow-circle: "\e911";
28
- $ax-ic-arrow-circle-fill: "\e912";
29
- $ax-ic-arrow-half: "\e913";
30
- $ax-ic-arrow-fill: "\e914";
31
- $ax-ic-arrow: "\e915";
32
- $ax-ic-unfold: "\e916";
33
- $ax-ic-half-arrow: "\e917";
34
- $ax-ic-fullscreen: "\e918";
35
- $ax-ic-close-fullscreen: "\e919";
36
- $ax-ic-fold: "\e91a";
37
- $ax-ic-eye: "\e901";
38
- $ax-ic-eye-off: "\e902";
39
- $ax-ic-calendar: "\e903";
40
- $ax-ic-time: "\e900";
41
- $ax-ic-check: "\e904";
42
- $ax-ic-check-filled: "\e905";
43
- $ax-ic-chevron: "\e906";
44
- $ax-ic-close: "\e907";
45
- $ax-ic-error-filled: "\e908";
46
- $ax-ic-chevron-page: "\e909";
47
- $ax-ic-info-filled: "\e90a";
48
- $ax-ic-chevron-double: "\e90b";
49
- $ax-ic-menu: "\e90c";
50
- $ax-ic-more: "\e90d";
51
- $ax-ic-warning-filled: "\e90e";
52
- $ax-ic-chevron-page-filled: "\e90f";
53
- $ax-ic-calendar-today: "\e910";
54
-
1
+ $icomoon-font-family: "acorex-icons" !default;
2
+ $icomoon-font-path: "fonts" !default;
3
+
4
+ $ax-icon-star-fill: "\e900";
5
+ $ax-icon-star: "\e901";
6
+ $ax-icon-light-mode: "\e902";
7
+ $ax-icon-dark-mode: "\e903";
8
+ $ax-icon-color-picker: "\e904";
9
+ $ax-icon-color-palette: "\e905";
10
+ $ax-icon-arrow-left: "\e906";
11
+ $ax-icon-arrow-down: "\e907";
12
+ $ax-icon-arrow-up: "\e908";
13
+ $ax-icon-arrow-right: "\e909";
14
+ $ax-icon-chevron-left: "\e90a";
15
+ $ax-icon-chevron-down: "\e90b";
16
+ $ax-icon-chevron-up: "\e90c";
17
+ $ax-icon-chevron-right: "\e90d";
18
+ $ax-icon-first-page: "\e90e";
19
+ $ax-icon-last-page: "\e90f";
20
+ $ax-icon-full-screen: "\e910";
21
+ $ax-icon-full-screen-close: "\e911";
22
+ $ax-icon-done: "\e912";
23
+ $ax-icon-calendar: "\e913";
24
+ $ax-icon-more: "\e914";
25
+ $ax-icon-menu: "\e915";
26
+ $ax-icon-report: "\e916";
27
+ $ax-icon-report-fill: "\e917";
28
+ $ax-icon-error: "\e918";
29
+ $ax-icon-error-fill: "\e919";
30
+ $ax-icon-warning: "\e91a";
31
+ $ax-icon-warning-fill: "\e91b";
32
+ $ax-icon-check-circle: "\e91c";
33
+ $ax-icon-check-circle-fill: "\e91d";
34
+ $ax-icon-close: "\e91e";
35
+ $ax-icon-time: "\e91f";
36
+ $ax-icon-visibility-off: "\e920";
37
+ $ax-icon-visibility: "\e921";
38
+ $ax-icon-unfold-more: "\e922";
39
+ $ax-icon-unfold-less: "\e923";
40
+ $ax-icon-arrow-long: "\e924";
41
+ $ax-icon-arrow-short: "\e925";
42
+ $ax-icon-download: "\e926";
43
+ $ax-icon-upload: "\e927";
44
+ $ax-icon-publish: "\e928";
45
+ $ax-icon-cloud-download: "\e929";
46
+ $ax-icon-cloud-upload: "\e92a";
47
+ $ax-icon-undo: "\e92b";
48
+ $ax-icon-redo: "\e92c";
49
+ $ax-icon-search: "\e92d";
50
+ $ax-icon-add: "\e92e";
51
+ $ax-icon-remove: "\e92f";
52
+ $ax-icon-paste: "\e930";
53
+ $ax-icon-cut: "\e931";
54
+ $ax-icon-copy: "\e932";
55
+ $ax-icon-refresh: "\e933";
56
+ $ax-icon-inbox: "\e934";
57
+ $ax-icon-skip-previous: "\e935";
58
+ $ax-icon-skip-next: "\e936";
59
+ $ax-icon-delete: "\e937";
60
+ $ax-icon-happy: "\e938";
61
+ $ax-icon-normal: "\e939";
62
+ $ax-icon-sad: "\e93a";
63
+ $ax-icon-person: "\e93b";
64
+ $ax-icon-dashboard: "\e93c";
65
+
@@ -0,0 +1,27 @@
1
+ @mixin media($media) {
2
+ @if $media == "phone" {
3
+ @media (max-width: 599px) {
4
+ @content;
5
+ }
6
+ }
7
+ @if $media == "tablet" {
8
+ @media (min-width: 600px) {
9
+ @content;
10
+ }
11
+ }
12
+ @if $media == "tablet-landscape" {
13
+ @media (min-width: 900px) {
14
+ @content;
15
+ }
16
+ }
17
+ @if $media == "desktop" {
18
+ @media (min-width: 1200px) {
19
+ @content;
20
+ }
21
+ }
22
+ @if $media == "desktop-large" {
23
+ @media (min-width: 1800px) {
24
+ @content;
25
+ }
26
+ }
27
+ }
@@ -0,0 +1 @@
1
+ @import "./media";
@@ -0,0 +1,45 @@
1
+ .ax-dark {
2
+ .ax-checkbox {
3
+ background-color: rgba(var(--ax-color-ghost), 0.05);
4
+ }
5
+ }
6
+ .ax-checkbox {
7
+ width: 1rem;
8
+ height: 1rem;
9
+ border: 1px solid;
10
+ border-color: rgba(var(--ax-color-border-default));
11
+ background-color: rgb(var(--ax-color-surface));
12
+ border-radius: 0.2rem;
13
+ margin: 0;
14
+ outline: none;
15
+ vertical-align: middle;
16
+ appearance: none;
17
+
18
+ &:checked,
19
+ &:indeterminate {
20
+ border-color: rgba(var(--ax-color-primary)) !important;
21
+ background-color: rgba(var(--ax-color-primary));
22
+ background-repeat: no-repeat;
23
+ background-size: contain;
24
+ }
25
+
26
+ &:checked {
27
+ background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
28
+ }
29
+
30
+ &:indeterminate {
31
+ background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImNscy0xIiB4PSIzIiB5PSI3IiB3aWR0aD0iMTAiIGhlaWdodD0iMiIvPjwvc3ZnPg==");
32
+ }
33
+
34
+ &:focus {
35
+ outline-offset: 2px;
36
+ outline-width: 2px;
37
+ outline-style: solid;
38
+ outline-color: rgba(var(--ax-color-primary));
39
+ }
40
+
41
+ &:disabled {
42
+ cursor: not-allowed;
43
+ opacity: 0.5;
44
+ }
45
+ }
@@ -0,0 +1,56 @@
1
+ .ax-decoration-container,
2
+ ax-header,
3
+ ax-footer {
4
+ display: flex;
5
+ justify-content: space-between;
6
+ gap: 0.5rem;
7
+ background-color: rgb(var(--ax-color-surface));
8
+ border-color: rgb(var(--ax-color-border-default));
9
+ & > ax-prefix,
10
+ & > ax-suffix {
11
+ display: flex;
12
+ flex: 1 1 auto;
13
+ flex-direction: row;
14
+ gap: 0.5rem;
15
+ align-items: center;
16
+ }
17
+ & > ax-prefix {
18
+ order: -9999;
19
+ justify-content: flex-start;
20
+ align-items: center;
21
+ }
22
+ & > ax-suffix {
23
+ order: 9999;
24
+ justify-content: flex-end;
25
+ align-items: center;
26
+ }
27
+ }
28
+
29
+ ax-title,
30
+ ax-icon {
31
+ font-weight: 500;
32
+ }
33
+
34
+ ax-title {
35
+ font-size: 1rem;
36
+ }
37
+ ax-sub-title {
38
+ font-size: 0.875rem;
39
+ color: rgba(var(--ax-color-ghost), 0.6);
40
+ }
41
+ ax-close-button {
42
+ width: 1.5rem;
43
+ height: 1.5rem;
44
+ display: grid;
45
+ place-items: center;
46
+ cursor: pointer;
47
+
48
+ ax-icon {
49
+ color: rgba(var(--ax-color-ghost), 0.5);
50
+ font-size: 1.25rem;
51
+
52
+ &:hover {
53
+ color: rgba(var(--ax-color-ghost), 0.75);
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,163 @@
1
+ @import "../variables/index.scss";
2
+
3
+ @mixin drop-down-item-apperance() {
4
+ @each $color in $color_names {
5
+ &.ax-#{$color}-default {
6
+ background-color: transparent;
7
+ color: rgb(var(--ax-color-#{$color}-500));
8
+ border: transparent;
9
+
10
+ &:hover,
11
+ &:focus {
12
+
13
+ background-color: rgba(var(--ax-color-ghost), 0.05);
14
+ color: rgb(var(--ax-color-#{$color}-600));
15
+ }
16
+
17
+ &:active {
18
+ color: rgb(var(--ax-color-#{$color}-400));
19
+ }
20
+
21
+ &.ax-state-selected {
22
+ background-color: rgb(var(--ax-color-#{$color}-500));
23
+ color: rgb(var(--ax-color-#{$color}-fore));
24
+ }
25
+ }
26
+ }
27
+
28
+ &.ax-ghost-default {
29
+ background-color: transparent;
30
+ color: rgb(var(--ax-color-ghost));
31
+ border: transparent;
32
+
33
+ &:hover,
34
+ &:focus,
35
+ &:active {
36
+ background-color: rgba(var(--ax-color-ghost), 0.05);
37
+ color: rgb(var(--ax-color-ghost), 0.87);
38
+ }
39
+
40
+ &.ax-state-selected {
41
+ background-color: rgb(var(--ax-color-primary-500));
42
+ color: rgb(var(--ax-color-primary-fore));
43
+ }
44
+ }
45
+
46
+ }
47
+
48
+
49
+ .ax-drop-down {
50
+ display: contents;
51
+
52
+ .ax-dropdown-content {
53
+ display: flex;
54
+ align-items: center;
55
+ flex: 1 1 auto;
56
+ font-size: 0.875rem;
57
+ overflow-y: hidden;
58
+ overflow-x: auto;
59
+
60
+ &.ax-state-disabled {
61
+ opacity: 0.5;
62
+ cursor: not-allowed;
63
+ }
64
+ }
65
+ }
66
+
67
+ .ax-overlay-pane {
68
+ background-color: rgba(var(--ax-color-surface));
69
+ border: 1px solid;
70
+ border-color: rgba(var(--ax-color-border-default));
71
+ border-radius: var(--ax-rounded-border-default);
72
+ box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);
73
+ overflow: hidden;
74
+
75
+ ax-header,
76
+ ax-footer {
77
+ background-color: rgba(var(--ax-color-surface));
78
+ padding: 0.75rem;
79
+ border-color: rgba(var(--ax-color-border-default));
80
+ border-top: 1px solid;
81
+
82
+ }
83
+
84
+ @include media("phone") {
85
+ border-bottom-right-radius: 0px;
86
+ border-bottom-left-radius: 0px;
87
+ }
88
+
89
+ &.ax-overlay-center {
90
+ height: fit-content;
91
+ max-height: 90vh;
92
+ width: 80vw;
93
+ }
94
+
95
+ &.ax-overlay-actionsheet {
96
+ background-color: rgba(var(--ax-color-surface));
97
+ width: 100%;
98
+ height: auto;
99
+ max-height: 85vh;
100
+
101
+ &.ax-full {
102
+ max-height: 95vh;
103
+ height: 95vh;
104
+ }
105
+ }
106
+
107
+ &.ax-overlay-full {
108
+ width: 100vw;
109
+ height: 100vh;
110
+ }
111
+
112
+ &.ax-dropdown-list {
113
+ display: flex;
114
+ flex-direction: column;
115
+ border: 1px solid;
116
+ border-color: rgba(var(--ax-color-border-default));
117
+ border-radius: var(--ax-rounded-border-default);
118
+ box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);
119
+ padding: 0.5rem 0;
120
+
121
+ .ax-button-item {
122
+ position: relative;
123
+ display: inline-flex;
124
+ align-items: center;
125
+ justify-content: flex-start;
126
+ padding: 0.5rem;
127
+ padding-inline-start: 0.5rem;
128
+ padding-inline-end: 1rem;
129
+ font-size: 0.875rem;
130
+ color: rgba(var(--ax-color-text-default));
131
+ user-select: none;
132
+ cursor: pointer;
133
+
134
+ &.ax-divide {
135
+ border: 1px solid;
136
+ border-color: rgba(var(--ax-color-border-default));
137
+
138
+ }
139
+
140
+ &.ax-state-disabled {
141
+ opacity: 0.5;
142
+ cursor: not-allowed;
143
+ }
144
+
145
+ ax-prefix,
146
+ ax-suffix {
147
+ display: flex;
148
+ flex-direction: row;
149
+ }
150
+
151
+ ax-prefix {
152
+ padding-inline-end: 0.5rem;
153
+ }
154
+
155
+ ax-suffix {
156
+ padding-inline-start: 0.5rem
157
+ }
158
+
159
+ @include drop-down-item-apperance();
160
+
161
+ }
162
+ }
163
+ }
@@ -0,0 +1,130 @@
1
+ .ax-dark {
2
+ .ax-editor-container {
3
+ background-color: rgba(var(--ax-color-ghost), 0.05);
4
+ }
5
+ }
6
+ .ax-editor-container {
7
+ width: 100%;
8
+ height: var(--ax-size-default);
9
+ display: flex;
10
+ background-color: rgb(var(--ax-color-surface));
11
+ color: rgb(var(--ax-color-text-default));
12
+ border: 1px solid;
13
+ border-color: rgb(var(--ax-color-border-default));
14
+ border-radius: var(--ax-rounded-border-default);
15
+ font-size: 0.875rem;
16
+ overflow: hidden;
17
+ .ax-editor-control {
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: center;
21
+ width: var(--ax-size-default);
22
+ height: var(--ax-size-default);
23
+ font-size: 1.5rem;
24
+ line-height: 1.5rem;
25
+ color: rgba(var(--ax-color-ghost), 0.63);
26
+ }
27
+ &:focus-within {
28
+ outline-offset: 0px;
29
+ outline-width: 1px;
30
+ outline-style: solid;
31
+ outline-color: rgb(var(--ax-color-primary));
32
+ border-color: rgb(var(--ax-color-primary));
33
+ }
34
+
35
+ &.ax-button-icon {
36
+ padding-left: 0.5rem;
37
+ padding-right: 0.5rem;
38
+ }
39
+ .ax-input,
40
+ .ax-textarea {
41
+ background-color: transparent;
42
+ flex: 1 1 0%;
43
+ border: none;
44
+ text-align: inherit;
45
+ font: inherit;
46
+ width: 1%;
47
+ &:focus {
48
+ box-shadow: none;
49
+ }
50
+ }
51
+ .ax-input {
52
+ padding-inline-start: 1rem /* 16px */;
53
+ padding-inline-end: 0.75rem /* 12px */;
54
+ }
55
+ .ax-textarea {
56
+ padding: 0.625rem /* 10px */;
57
+ }
58
+ & > .ax-prefix {
59
+ *,
60
+ .ax-button,
61
+ .ax-title {
62
+ border-start-start-radius: 0.25rem /* 4px */;
63
+ border-end-start-radius: 0.25rem;
64
+ }
65
+ }
66
+
67
+ & > .ax-suffix {
68
+ *,
69
+ .ax-button,
70
+ .ax-title {
71
+ border-start-end-radius: 0.25rem /* 4px */;
72
+ border-end-end-radius: 0.25rem;
73
+ }
74
+ }
75
+
76
+ & > .ax-prefix,
77
+ & > .ax-suffix {
78
+ * {
79
+ height: 100%;
80
+ display: flex;
81
+ justify-content: center;
82
+ align-items: center;
83
+ border-radius: 0px;
84
+ }
85
+
86
+ .ax-icon {
87
+ padding-left: 0.5rem /* 8px */;
88
+ padding-right: 0.5rem;
89
+ }
90
+
91
+ .ax-title {
92
+ padding-left: 1rem /* 16px */;
93
+ padding-right: 1rem /* 16px */;
94
+ }
95
+ }
96
+
97
+ .ax-button {
98
+ height: 100% !important;
99
+ border-radius: 0px;
100
+
101
+ &.ax-button-icon {
102
+ width: var(--ax-size-default);
103
+ height: var(--ax-size-default);
104
+ }
105
+ }
106
+
107
+ &.ax-state-disabled {
108
+ opacity: 0.5;
109
+ }
110
+
111
+ &.ax-state-error {
112
+ outline-color: rgb(var(--ax-color-danger-500));
113
+ border-color: rgb(var(--ax-color-danger-500));
114
+ .ax-input {
115
+ &::placeholder {
116
+ color: rgb(var(--ax-color-danger));
117
+ }
118
+ }
119
+ }
120
+
121
+ &.ax-state-success {
122
+ outline-color: rgb(var(--ax-color-success-500));
123
+ border-color: rgb(var(--ax-color-success-500));
124
+ .ax-input {
125
+ &::placeholder {
126
+ color: rgb(var(--ax-color-success));
127
+ }
128
+ }
129
+ }
130
+ }
@@ -0,0 +1,42 @@
1
+ .ax-general-button {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ border-radius: var(--ax-rounded-border-default);
6
+ padding: 0 1rem;
7
+ height: var(--ax-size-default);
8
+ font-size: 0.875rem;
9
+ cursor: pointer;
10
+ transition: background-color 0.3s;
11
+ color: rgba(var(--ax-color-ghost), 0.6);
12
+
13
+ &:is(&:hover):not(&:disabled, .ax-state-disabled) {
14
+ background: rgba(var(--ax-color-ghost), 0.08);
15
+ color: rgba(var(--ax-color-ghost), 0.87);
16
+ }
17
+
18
+ &:is(&:focus, &:focus-within):not(&:disabled, .ax-state-disabled) {
19
+ background-color: rgba(var(--ax-color-ghost), 0.12);
20
+ outline-color: transparent;
21
+ }
22
+
23
+ &:is(&:active):not(&:disabled, .ax-state-disabled) {
24
+ background-color: transparent;
25
+ }
26
+
27
+ &.ax-button-icon {
28
+ padding: 0 0.5rem;
29
+ font-size: 1.5rem;
30
+ width: var(--ax-size-default);
31
+ height: var(--ax-size-default);
32
+ .ax-icon {
33
+ font-size: 1.5rem;
34
+ }
35
+ }
36
+
37
+ &:disabled,
38
+ &.ax-state-disabled {
39
+ opacity: 0.5;
40
+ cursor: not-allowed;
41
+ }
42
+ }
File without changes
@@ -0,0 +1,12 @@
1
+ .ax-input {
2
+ outline: none;
3
+ padding: 0;
4
+ font-size: inherit;
5
+ &:focus {
6
+ outline-color: transparent;
7
+ }
8
+ &.ax-state-disabled {
9
+ cursor: not-allowed;
10
+ opacity: 0.5;
11
+ }
12
+ }