@acorex/styles 6.1.10 → 6.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 (118) hide show
  1. package/fonts/font-awesome/fa-brands-400.eot +0 -0
  2. package/fonts/font-awesome/fa-brands-400.svg +3570 -0
  3. package/fonts/font-awesome/fa-brands-400.ttf +0 -0
  4. package/fonts/font-awesome/fa-brands-400.woff +0 -0
  5. package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  6. package/fonts/font-awesome/fa-duotone-900.eot +0 -0
  7. package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
  8. package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
  9. package/fonts/font-awesome/fa-duotone-900.woff +0 -0
  10. package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
  11. package/fonts/font-awesome/fa-light-300.eot +0 -0
  12. package/fonts/font-awesome/fa-light-300.svg +12330 -0
  13. package/fonts/font-awesome/fa-light-300.ttf +0 -0
  14. package/fonts/font-awesome/fa-light-300.woff +0 -0
  15. package/fonts/font-awesome/fa-light-300.woff2 +0 -0
  16. package/fonts/font-awesome/fa-regular-400.eot +0 -0
  17. package/fonts/font-awesome/fa-regular-400.svg +11256 -0
  18. package/fonts/font-awesome/fa-regular-400.ttf +0 -0
  19. package/fonts/font-awesome/fa-regular-400.woff +0 -0
  20. package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  21. package/fonts/font-awesome/fa-solid-900.eot +0 -0
  22. package/fonts/font-awesome/fa-solid-900.svg +9588 -0
  23. package/fonts/font-awesome/fa-solid-900.ttf +0 -0
  24. package/fonts/font-awesome/fa-solid-900.woff +0 -0
  25. package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  26. package/fonts/font-awesome/font-awesome.css +16960 -0
  27. package/package.json +3 -10
  28. package/scss/buttons.scss +69 -0
  29. package/scss/calendar.scss +144 -0
  30. package/scss/checkbox.scss +46 -0
  31. package/scss/context-menu.scss +75 -0
  32. package/scss/data-grid.scss +117 -0
  33. package/scss/drawer.scss +138 -0
  34. package/scss/fieldset.scss +23 -0
  35. package/scss/forms.scss +515 -0
  36. package/scss/list.scss +47 -0
  37. package/scss/master.scss +259 -0
  38. package/scss/menu.scss +130 -0
  39. package/scss/mixin.scss +12 -0
  40. package/scss/page.scss +54 -0
  41. package/scss/progress.scss +11 -0
  42. package/scss/selection-list.scss +104 -0
  43. package/scss/style.scss +47 -0
  44. package/scss/tab-strip.scss +31 -0
  45. package/scss/tab.scss +36 -0
  46. package/scss/toast.scss +46 -0
  47. package/scss/tooltip.scss +55 -0
  48. package/scss/treeview.scss +122 -0
  49. package/scss/upload.scss +170 -0
  50. package/scss/variables.scss +139 -0
  51. package/index.js +0 -185
  52. package/index.scss +0 -10
  53. package/src/base/index.scss +0 -45
  54. package/src/components/_action-sheet.scss +0 -24
  55. package/src/components/_alert.scss +0 -276
  56. package/src/components/_avatar.scss +0 -124
  57. package/src/components/_badge.scss +0 -184
  58. package/src/components/_breadcrumbs.scss +0 -29
  59. package/src/components/_button.scss +0 -924
  60. package/src/components/_calendar.scss +0 -182
  61. package/src/components/_carousel.scss +0 -44
  62. package/src/components/_checkbox.scss +0 -58
  63. package/src/components/_collapse.scss +0 -51
  64. package/src/components/_color-palette.scss +0 -126
  65. package/src/components/_color-picker.scss +0 -28
  66. package/src/components/_context-menu.scss +0 -19
  67. package/src/components/_data-table.scss +0 -41
  68. package/src/components/_datapager.scss +0 -49
  69. package/src/components/_datepicker.scss +0 -5
  70. package/src/components/_decoration.scss +0 -39
  71. package/src/components/_dialog.scss +0 -82
  72. package/src/components/_drawer.scss +0 -113
  73. package/src/components/_dropdown.scss +0 -216
  74. package/src/components/_editor-container.scss +0 -155
  75. package/src/components/_fieldset.scss +0 -8
  76. package/src/components/_form.scss +0 -8
  77. package/src/components/_image.scss +0 -24
  78. package/src/components/_input.scss +0 -14
  79. package/src/components/_label.scss +0 -7
  80. package/src/components/_list.scss +0 -83
  81. package/src/components/_loading.scss +0 -52
  82. package/src/components/_menu copy.scss +0 -96
  83. package/src/components/_menu.scss +0 -117
  84. package/src/components/_numberbox.scss +0 -15
  85. package/src/components/_popup.scss +0 -105
  86. package/src/components/_progress.scss +0 -60
  87. package/src/components/_radio.scss +0 -32
  88. package/src/components/_range-slider.scss +0 -210
  89. package/src/components/_rating.scss +0 -14
  90. package/src/components/_result.scss +0 -24
  91. package/src/components/_selectbox.scss +0 -18
  92. package/src/components/_selection-list.scss +0 -54
  93. package/src/components/_skeleton.scss +0 -22
  94. package/src/components/_switch.scss +0 -186
  95. package/src/components/_table.scss +0 -81
  96. package/src/components/_tabs copy.scss +0 -235
  97. package/src/components/_tabs.scss +0 -235
  98. package/src/components/_textarea.scss +0 -35
  99. package/src/components/_toast.scss +0 -8
  100. package/src/components/_tooltip.scss +0 -44
  101. package/src/components/_treeview.scss +0 -54
  102. package/src/components/_uploader.scss +0 -18
  103. package/src/components/index.scss +0 -47
  104. package/src/icons/Read Me.txt +0 -7
  105. package/src/icons/demo-files/demo.css +0 -152
  106. package/src/icons/demo-files/demo.js +0 -30
  107. package/src/icons/demo.html +0 -738
  108. package/src/icons/fonts/acorex-icon.eot +0 -0
  109. package/src/icons/fonts/acorex-icon.svg +0 -60
  110. package/src/icons/fonts/acorex-icon.ttf +0 -0
  111. package/src/icons/fonts/acorex-icon.woff +0 -0
  112. package/src/icons/selection.json +0 -1
  113. package/src/icons/style.css +0 -177
  114. package/src/icons/style.scss +0 -280
  115. package/src/icons/variables.scss +0 -54
  116. package/src/utility/_mixins.scss +0 -152
  117. package/src/utility/index.scss +0 -26
  118. package/src/variables/_colors.scss +0 -122
@@ -0,0 +1,259 @@
1
+ @import "./variables.scss";
2
+ :root {
3
+ --ax-border-color: #d1d5db;
4
+ --ax-border-dark-color: rgba(34, 36, 38, 0.3);
5
+ --ax-size: 8px;
6
+ --ax-base-size: var(--ax-size);
7
+ --ax-base-ratio: 6;
8
+ // Create Sizes
9
+ @each $name, $size in $sizes {
10
+ @if type-of($size) == "map" {
11
+ @each $subname, $variant in $size {
12
+ @if $name== "" {
13
+ --ax-size-#{$name}#{$subname}: #{$variant};
14
+ } @else {
15
+ --ax-size-#{$name}-#{$subname}: #{$variant};
16
+ }
17
+ }
18
+ }
19
+ }
20
+ // Create Colors
21
+ @each $name, $color in $colors {
22
+ @if type-of($color) == "map" {
23
+ @each $subname, $variant in $color {
24
+ @if $subname== "" {
25
+ --ax-#{$name}-#{$color-suffix}: #{$variant};
26
+ } @else {
27
+ --ax-#{$name}-#{$subname}-#{$color-suffix}: #{$variant};
28
+ }
29
+ }
30
+ } @else {
31
+ --ax-#{$name}-#{$color-suffix}: #{$color};
32
+ }
33
+ }
34
+ }
35
+
36
+ @each $name, $color in $colors {
37
+ @if type-of($color) == "map" {
38
+ @each $subname, $variant in $color {
39
+ @if $subname== "" {
40
+ .ax-text-#{$name} {
41
+ color: var(--ax-#{$name}-#{$color-suffix});
42
+ }
43
+ .ax-bg-#{$name} {
44
+ background: var(--ax-#{$name}-#{$color-suffix});
45
+ }
46
+ .ax-border-#{$name} {
47
+ border-color: var(--ax-#{$name}-#{$color-suffix});
48
+ }
49
+ } @else {
50
+ .ax-text-#{$name}-#{$subname} {
51
+ color: var(--ax-#{$name}-#{$subname}-#{$color-suffix});
52
+ }
53
+ .ax-bg-#{$name}-#{$subname} {
54
+ background: var(--ax-#{$name}-#{$subname}-#{$color-suffix});
55
+ }
56
+ .ax-border-#{$name}-#{$subname} {
57
+ background: var(--ax-#{$name}-#{$subname}-#{$color-suffix});
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+
64
+ // Sizes
65
+ .ax {
66
+ &.form-control {
67
+ height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
68
+ padding: 0 0.5rem;
69
+ font-size: 1rem;
70
+ font-weight: 500;
71
+ // &.sm,
72
+ // &.md,
73
+ // &.lg {
74
+ // &.ax-button-icon {
75
+ // width: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
76
+ // height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
77
+ // }
78
+ // }
79
+ &.sm {
80
+ --ax-base-size: calc(var(--ax-size) - 2px);
81
+ font-size: 0.875rem;
82
+ }
83
+ &.md {
84
+ height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
85
+ font-size: 1rem;
86
+ font-weight: 500;
87
+ }
88
+ &.lg {
89
+ --ax-base-size: calc(var(--ax-size) + 2px);
90
+ font-size: 1.5rem;
91
+ }
92
+ }
93
+ }
94
+ .ax {
95
+ &.sm {
96
+ --ax-base-size: calc(var(--ax-size) - 2px);
97
+ }
98
+ &.lg {
99
+ --ax-base-size: calc(var(--ax-size) + 2px);
100
+ }
101
+ }
102
+ @each $name, $size in $sizes {
103
+ @if type-of($size) == "map" {
104
+ @each $subname, $variant in $size {
105
+ @if $name== "" {
106
+ .ax-mrg-#{$subname} {
107
+ margin: var(--ax-size-#{$subname}) !important;
108
+ }
109
+ .ax-pad-#{$subname} {
110
+ padding: var(--ax-size-#{$subname}) !important;
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+
117
+ // Create Classes
118
+ @each $name, $color in $colors {
119
+ .ax {
120
+ @if type-of($color) == "map" {
121
+ @each $subname, $variant in $color {
122
+ @if $subname== "" {
123
+ &.bg-#{$name} {
124
+ background-color: var(--ax-#{$name}-#{$color-suffix});
125
+ }
126
+ &.bg-light-#{$name} {
127
+ background-color: var(--ax-#{$name}-light-#{$color-suffix});
128
+ }
129
+ &.bg-dark-#{$name} {
130
+ background-color: var(--ax-#{$name}-dark-#{$color-suffix});
131
+ }
132
+ &.bg-lighten-#{$name} {
133
+ background-color: var(--ax-#{$name}-trans-light-#{$color-suffix});
134
+ }
135
+ &.text-#{$name} {
136
+ color: var(--ax-#{$name}-#{$color-suffix});
137
+ }
138
+ &.lighten-#{$name} {
139
+ color: var(--ax-#{$name}-#{$color-suffix});
140
+ background-color: var(--ax-#{$name}-trans-light-#{$color-suffix});
141
+ }
142
+ &.#{$name} {
143
+ background: var(--ax-#{$name}-#{$color-suffix});
144
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
145
+ &:hover,
146
+ &:focus {
147
+ background: var(--ax-#{$name}-dark-#{$color-suffix});
148
+ }
149
+ &:active {
150
+ background: var(--ax-#{$name}-light-#{$color-suffix});
151
+ }
152
+ &.selected {
153
+ background: var(--ax-#{$name}-dark-#{$color-suffix});
154
+ }
155
+ &.disabled {
156
+ cursor: not-allowed;
157
+ background: var(--ax-gray-light-color) !important;
158
+ color: var(--ax-gray-fore-color) !important;
159
+ border-color: var(--ax-gray-light-color) !important;
160
+ }
161
+ &.twotone {
162
+ background: var(--ax-#{$name}-trans-light-#{$color-suffix});
163
+ border-color: transparent;
164
+
165
+ @if ($name == "light") {
166
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
167
+ } @else {
168
+ color: var(--ax-#{$name}-#{$color-suffix});
169
+ }
170
+
171
+ &:hover:not(.disabled),
172
+ &:focus:not(.disabled) {
173
+ background: var(--ax-#{$name}-light-#{$color-suffix});
174
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
175
+ }
176
+ &:active {
177
+ background: var(--ax-#{$name}-dark-#{$color-suffix});
178
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
179
+ }
180
+ &.selected {
181
+ background: var(--ax-#{$name}-dark-#{$color-suffix});
182
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
183
+ }
184
+ }
185
+ &.outline {
186
+ background: transparent;
187
+ border: 1px solid;
188
+ border-color: var(--ax-#{$name}-#{$color-suffix});
189
+ @if ($name == "light") {
190
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
191
+ } @else {
192
+ color: var(--ax-#{$name}-#{$color-suffix});
193
+ }
194
+
195
+ &:hover:not(.disabled),
196
+ &:focus:not(.disabled) {
197
+ background: var(--ax-#{$name}-#{$color-suffix});
198
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
199
+ }
200
+ &:active {
201
+ background: var(--ax-#{$name}-light-#{$color-suffix});
202
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
203
+ border-color: var(--ax-#{$name}-light-#{$color-suffix});
204
+ }
205
+ &.selected {
206
+ background: var(--ax-#{$name}-dark-#{$color-suffix});
207
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
208
+ border-color: var(--ax-#{$name}-dark-#{$color-suffix});
209
+ }
210
+ }
211
+ &.blank {
212
+ background: transparent;
213
+ border-color: transparent;
214
+
215
+ @if ($name == "light") {
216
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
217
+ } @else {
218
+ color: var(--ax-#{$name}-#{$color-suffix});
219
+ }
220
+
221
+ &:hover,
222
+ &:focus {
223
+ @if ($name == "light") {
224
+ background: var(--ax-#{$name}-trans-light-#{$color-suffix});
225
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
226
+ } @else {
227
+ background: var(--ax-#{$name}-trans-light-#{$color-suffix});
228
+ color: var(--ax-#{$name}-#{$color-suffix});
229
+ }
230
+ }
231
+ &:active {
232
+ @if ($name == "light") {
233
+ background: var(--ax-#{$name}-trans-dark-#{$color-suffix});
234
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
235
+ } @else {
236
+ background: var(--ax-#{$name}-trans-dark-#{$color-suffix});
237
+ color: var(--ax-#{$name}-#{$color-suffix});
238
+ }
239
+ }
240
+ &.selected {
241
+ @if ($name == "light") {
242
+ background: var(--ax-#{$name}-trans-dark-#{$color-suffix});
243
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
244
+ } @else {
245
+ background: var(--ax-#{$name}-trans-dark-#{$color-suffix});
246
+ color: var(--ax-#{$name}-#{$color-suffix});
247
+ }
248
+ }
249
+ }
250
+ &.panel {
251
+ color: var(--ax-#{$name}-fore-#{$color-suffix});
252
+ background-color: var(--ax-#{$name}-#{$color-suffix});
253
+ }
254
+ }
255
+ }
256
+ }
257
+ }
258
+ }
259
+ }
package/scss/menu.scss ADDED
@@ -0,0 +1,130 @@
1
+ .ax {
2
+ &.nav-menu {
3
+ list-style: none;
4
+ margin: 0;
5
+ padding: 0;
6
+ display: flex;
7
+ &.nav-vertical {
8
+ background-color: var(--ax-white-color);
9
+ flex-direction: column;
10
+ ul {
11
+ top: 0;
12
+ inset-inline-start: -9999px;
13
+ }
14
+
15
+ li {
16
+ width: 100%;
17
+ float: none;
18
+ text-align: right;
19
+ }
20
+ }
21
+ > li {
22
+ text-align: center;
23
+ padding: 0.5rem;
24
+ min-width: 2.375rem;
25
+ margin-inline-end: 0.5rem;
26
+ border-radius: var(--ax-size-border-radius);
27
+ .ax-menu-item,
28
+ .menu-item-start-side,
29
+ .menu-item-end-side {
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: space-between;
33
+ }
34
+ ul {
35
+ opacity: 0;
36
+ position: absolute;
37
+ top: 100%;
38
+ inset-inline-start: -9999px;
39
+ z-index: 50000;
40
+ -webkit-transition: opacity 0.3s;
41
+ transition: opacity 0.3s;
42
+ min-width: 12em;
43
+ li {
44
+ float: none;
45
+
46
+ &:hover {
47
+ > ul {
48
+ top: 0;
49
+ inset-inline-start: 100%;
50
+ }
51
+ }
52
+ }
53
+ }
54
+ :hover {
55
+ > ul {
56
+ inset-inline-start: 100%;
57
+ }
58
+ }
59
+ }
60
+ li {
61
+ cursor: pointer;
62
+ position: relative;
63
+
64
+ .ax-menu-item {
65
+ height: 100%;
66
+ display: inline-flex;
67
+ align-items: center;
68
+ justify-content: center;
69
+ .menu-item-start-side {
70
+ }
71
+ .ax-menu-item-text {
72
+ margin: 0 0.5rem;
73
+ white-space: nowrap;
74
+ }
75
+
76
+ .menu-item-end-side {
77
+ }
78
+ }
79
+
80
+ ul {
81
+ list-style: none;
82
+ margin: 0;
83
+ padding: 0;
84
+ background: #fff;
85
+ border: 1px solid var(--ax-border-color);
86
+ border-radius: var(--ax-size-border-radius);
87
+ }
88
+ &:hover {
89
+ > ul {
90
+ inset-inline-start: 0;
91
+ opacity: 1;
92
+ z-index: 1000;
93
+ }
94
+ }
95
+ &.tooltip {
96
+ position: relative;
97
+ &:hover {
98
+ &::before {
99
+ display: block;
100
+ }
101
+ }
102
+ &::before {
103
+ content: attr(data-text);
104
+ font-size: 0.875rem;
105
+ position: absolute;
106
+ bottom: -85%;
107
+ inset-inline-start: 0;
108
+ padding: 0.5rem 1rem;
109
+ border-radius: var(--ax-size-border-radius);
110
+ background: var(--ax-dark-color);
111
+ color: var(--ax-dark-fore-color);
112
+ text-align: center;
113
+ display: none;
114
+ z-index: 1;
115
+ }
116
+ }
117
+ }
118
+ .ax-sub-menu {
119
+ display: flex;
120
+ flex-direction: column;
121
+ li {
122
+ padding: 0.5rem;
123
+ .ax-menu-item {
124
+ display: flex;
125
+ justify-content: space-between;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
@@ -0,0 +1,12 @@
1
+ @mixin ax-border-radius($size) {
2
+ border-radius: $size;
3
+ -moz-border-radius: $size;
4
+ -webkit-border-radius: $size;
5
+ -o-border-radius: $size;
6
+ }
7
+ @mixin ax-transition-all {
8
+ transition: all 0.3s;
9
+ -moz-transition: all 0.3s;
10
+ -webkit-transition: all 0.3s;
11
+ -o-transition: all 0.3s;
12
+ }
package/scss/page.scss ADDED
@@ -0,0 +1,54 @@
1
+ .ax-page-toolbar {
2
+ position: sticky;
3
+ top: 0;
4
+ z-index: 1600;
5
+ background: white;
6
+ }
7
+
8
+ .page-content-wrap {
9
+ height: 100%;
10
+
11
+ .inner-content {
12
+ height: 100%;
13
+ max-height: 90vh;
14
+ }
15
+ }
16
+
17
+ .ax-overlay-wrapper {
18
+ z-index: 1701;
19
+ position: fixed;
20
+ left: 0px;
21
+ top: 0px;
22
+ transform: translate(0px, 0px);
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+
27
+ .ax-overlay-modal {
28
+ width: 100%;
29
+ height: 100%;
30
+ }
31
+
32
+ .ax-loading-host {
33
+ display: block;
34
+ position: relative;
35
+ min-height: 100%;
36
+ }
37
+
38
+ .ax-loading-overlay {
39
+ position: absolute !important;
40
+ background: rgba(255, 255, 255, 0.5);
41
+ display: flex;
42
+ justify-content: center;
43
+ align-content: center;
44
+ align-items: center;
45
+
46
+ }
47
+
48
+ .ax-tab-page-host {
49
+ height: 100%;
50
+ display: block;
51
+ position: relative;
52
+ overflow-y: auto;
53
+ width: 100%;
54
+ }
@@ -0,0 +1,11 @@
1
+ .ax{
2
+ &.progress {
3
+ background: var(--ax-light-light-color);
4
+ margin: 0.2em 0;
5
+ .progress-bar {
6
+ background: var(--ax-primary-color);
7
+ color: var(--ax-primary-fore-color);
8
+ padding: 0.2em 0;
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,104 @@
1
+ .ax {
2
+ &.selection-list {
3
+ display: flex;
4
+
5
+ &.vertical {
6
+ flex-direction: column;
7
+ margin-block-end: 1rem;
8
+
9
+ label {
10
+ margin-block-end: 1rem;
11
+ }
12
+ }
13
+
14
+ &.horizontal {
15
+ flex-direction: row;
16
+ margin-block-end: 1rem;
17
+
18
+ label {
19
+ margin-inline-end: 1rem;
20
+ }
21
+ }
22
+ }
23
+ }
24
+ .ax {
25
+ &.radio {
26
+ display: block;
27
+ position: relative;
28
+ padding-inline-start: 2em;
29
+ line-height: 1.5em;
30
+ cursor: pointer;
31
+ font-size: inherit;
32
+ -webkit-user-select: none;
33
+ -moz-user-select: none;
34
+ -ms-user-select: none;
35
+ user-select: none;
36
+ &.readonly,
37
+ &.disabled {
38
+ opacity: 0.7;
39
+ }
40
+ &.disabled {
41
+ cursor: not-allowed;
42
+ }
43
+
44
+ }
45
+
46
+ /* Hide the browser's default radio */
47
+ &.radio input {
48
+ position: absolute;
49
+ opacity: 0;
50
+ cursor: pointer;
51
+ height: 0;
52
+ width: 0;
53
+ }
54
+
55
+ /* Create a custom radio */
56
+ &.radio .checkmark {
57
+ position: absolute;
58
+ top: 0;
59
+ inset-inline-start: 0;
60
+ height: 1.5em;
61
+ width: 1.5em;
62
+ background-color: var(--ax-white-color);
63
+ border-style: solid;
64
+ border-width: 1px;
65
+ border-color: var(--ax-border-color);
66
+ -webkit-border-radius: 50%;
67
+ -moz-border-radius: 50%;
68
+ border-radius: 50%;
69
+ }
70
+
71
+ /* On mouse-over, add a grey background color */
72
+ &.radio:hover input ~ .checkmark {
73
+ border-color: var(--ax-border-dark-color);
74
+ }
75
+
76
+ /* When the radio is checked, add a blue background */
77
+ &.radio input:checked ~ .checkmark {
78
+ background-color: var(--ax-white-color);
79
+ border-color: var(--ax-primary-color);
80
+ }
81
+
82
+ /* Create the checkmark/indicator (hidden when not checked) */
83
+ &.radio .checkmark:after {
84
+ content: "";
85
+ position: absolute;
86
+ display: none;
87
+ border-radius: 50%;
88
+ }
89
+
90
+ /* Show the checkmark when checked */
91
+ &.radio input:checked ~ .checkmark:after {
92
+ display: block;
93
+ }
94
+
95
+ /* Style the checkmark/indicator */
96
+ &.radio .checkmark:after {
97
+ left: 31.5%;
98
+ top: 33.3%;
99
+ width: 0.5em;
100
+ height: 0.5em;
101
+ background-color: var(--ax-primary-color);
102
+ border-radius: 50%;
103
+ }
104
+ }
@@ -0,0 +1,47 @@
1
+ @import "./buttons.scss";
2
+ @import "./calendar.scss";
3
+ @import "./checkbox.scss";
4
+ @import "./context-menu.scss";
5
+ @import "./drawer.scss";
6
+ @import "./data-grid.scss";
7
+ @import "./fieldset.scss";
8
+ @import "./list.scss";
9
+ @import "./menu.scss";
10
+ @import "./progress.scss";
11
+ @import "./selection-list.scss";
12
+ @import "./forms.scss";
13
+ @import "./tooltip.scss";
14
+ @import "./tab.scss";
15
+ @import "./tab-strip.scss";
16
+ @import "./toast.scss";
17
+ @import "./treeview.scss";
18
+ @import "./upload.scss";
19
+ @import "./master.scss";
20
+ @import "./page.scss";
21
+ @import "~animate.css/animate.min.css";
22
+ * {
23
+ box-sizing: border-box;
24
+ outline-color: transparent;
25
+ &:focus {
26
+ outline: none;
27
+ }
28
+ }
29
+
30
+ html,
31
+ body {
32
+ -webkit-overflow-scrolling: touch;
33
+ scroll-behavior: smooth;
34
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
35
+ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
36
+ }
37
+
38
+ .rtl {
39
+ direction: rtl;
40
+ text-align: right;
41
+ }
42
+
43
+ .ltr {
44
+ direction: ltr;
45
+ text-align: left;
46
+ }
47
+
@@ -0,0 +1,31 @@
1
+ .tab-strip-container {
2
+ padding: 0;
3
+ margin: 0;
4
+ display: flex;
5
+ align-items: center;
6
+ font-size: 0.875rem;
7
+
8
+ li {
9
+ display: inline;
10
+ padding: 0.5em;
11
+ border-bottom: 1px solid;
12
+ border-color: var(--ax-gray-color);
13
+ margin-inline-end: 0.3em;
14
+ cursor: pointer;
15
+ background-color: var(--ax-white-color);
16
+
17
+ &.active {
18
+ border-color: var(--ax-primary-color) !important;
19
+ }
20
+ &.disabled {
21
+ // border-color: var(--ax-gray-color) !important;
22
+ // background-color: var(--ax-gray-color) !important;
23
+ // opacity: 0.6;
24
+ cursor: not-allowed !important;
25
+ }
26
+ &:hover{
27
+ background-color: var(--ax-light-light-color);
28
+ border-color: transparent;
29
+ }
30
+ }
31
+ }
package/scss/tab.scss ADDED
@@ -0,0 +1,36 @@
1
+ .ax {
2
+ &.nav-tabs {
3
+ display: flex;
4
+ list-style: none;
5
+ margin: 0;
6
+ padding: 0;
7
+ padding: 0;
8
+ border-bottom: 1px solid var(--ax-border-color);
9
+ li {
10
+ font-size: 0.875rem;
11
+ margin-inline-end: 0.5em;
12
+ padding: 0.5rem 1rem;
13
+ background: var(--ax-gray-color);
14
+ cursor: pointer;
15
+ -webkit-border-top-left-radius: var(--ax-size-border-radius);
16
+ -webkit-border-top-right-radius: var(--ax-size-border-radius);
17
+ -moz-border-radius-topleft: var(--ax-size-border-radius);
18
+ -moz-border-radius-topright: var(--ax-size-border-radius);
19
+ border-top-left-radius: var(--ax-size-border-radius);
20
+ border-top-right-radius: var(--ax-size-border-radius);
21
+ i {
22
+ margin-inline-end: 0.5em;
23
+ }
24
+ &:hover {
25
+ background: var(--ax-primary-color);
26
+ color: var(--ax-primary-fore-color);
27
+ transition: all 0.3s;
28
+ }
29
+
30
+ &.active {
31
+ background: var(--ax-primary-color);
32
+ color: var(--ax-primary-fore-color);
33
+ }
34
+ }
35
+ }
36
+ }