@acorex/styles 7.1.2 → 7.1.5

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.
@@ -1,111 +1,111 @@
1
- @layer components {
2
- .ax-table {
3
- width: 100%;
4
- border-radius: var(--ax-rounded-border-default);
5
- border-spacing: 0px;
6
- border-collapse: separate;
7
- border: 1px solid;
8
- border-color: rgba(var(--ax-color-border-default));
9
- overflow: hidden;
10
- font-size: 0.875rem;
11
- td {
12
- border-bottom: 1px solid;
13
- border-color: rgba(var(--ax-color-border-default));
14
- padding: 0.875rem 1rem;
15
- }
16
- thead {
17
- background-color: rgba(var(--ax-color-on-surface));
18
- border-bottom: 1px solid;
19
- border-color: rgba(var(--ax-color-border-default));
20
- th {
21
- text-transform: uppercase;
22
- font-weight: 500;
23
- text-align: start;
24
- padding: 0.875rem 1rem;
25
- }
26
- }
27
- &.ax-table-alternate {
28
- tbody {
29
- tr {
30
- &:nth-child(even) {
31
- background-color: rgba(var(--ax-color-on-surface));
32
- }
33
- }
34
- }
35
- }
36
- &.ax-table-bordered {
37
- thead {
38
- th {
39
- border-top: 0 !important;
40
- }
41
- }
42
- tbody {
43
- tr {
44
- &:last-child {
45
- td {
46
- border-bottom: 0 !important;
47
- }
48
- }
49
- td {
50
- &:last-child {
51
- border-bottom: 0 !important;
52
- }
53
- }
54
- }
55
- }
56
-
57
- td,
58
- th {
59
- border: 1px solid;
60
- border-color: rgba(var(--ax-color-border-default));
61
- &:first-child {
62
- border-inline-start-width: 0px;
63
- }
64
- &:last-child {
65
- border-inline-end-width: 0px;
66
- }
67
- }
68
- }
69
- @media screen and (max-width: 601px) {
70
- &.ax-table-responsive {
71
- overflow-wrap: break-word;
72
- display: block;
73
- border: 0px;
74
- thead {
75
- position: absolute;
76
- inset-inline-start: -100%;
77
- top: -100%;
78
- }
79
-
80
- td {
81
- display: block;
82
- float: inline-start;
83
- width: 100%;
84
- clear: both;
85
- background: rgba(var(--ax-color-surface));
86
- padding: 0.375rem 0.625rem;
87
- box-sizing: border-box;
88
- &:last-child {
89
- border: 0;
90
- }
91
- &:before {
92
- content: attr(data-label);
93
- display: block;
94
- font-weight: bold;
95
- }
96
- }
97
- tr {
98
- border: 1px solid;
99
- border-color: rgba(var(--ax-color-border-default));
100
- }
101
- tr,
102
- tbody {
103
- display: block;
104
- width: 100%;
105
- float: inline-start;
106
- margin-bottom: 0.625rem;
107
- }
108
- }
109
- }
110
- }
111
- }
1
+ @layer components {
2
+ .ax-table {
3
+ width: 100%;
4
+ border-radius: var(--ax-rounded-border-default);
5
+ border-spacing: 0px;
6
+ border-collapse: separate;
7
+ border: 1px solid;
8
+ border-color: rgba(var(--ax-color-border-default));
9
+ overflow: hidden;
10
+ font-size: 0.875rem;
11
+ td {
12
+ border-bottom: 1px solid;
13
+ border-color: rgba(var(--ax-color-border-default));
14
+ padding: 0.875rem 1rem;
15
+ }
16
+ thead {
17
+ background-color: rgba(var(--ax-color-on-surface));
18
+ border-bottom: 1px solid;
19
+ border-color: rgba(var(--ax-color-border-default));
20
+ th {
21
+ text-transform: uppercase;
22
+ font-weight: 500;
23
+ text-align: start;
24
+ padding: 0.875rem 1rem;
25
+ }
26
+ }
27
+ &.ax-table-alternate {
28
+ tbody {
29
+ tr {
30
+ &:nth-child(even) {
31
+ background-color: rgba(var(--ax-color-on-surface));
32
+ }
33
+ }
34
+ }
35
+ }
36
+ &.ax-table-bordered {
37
+ thead {
38
+ th {
39
+ border-top: 0 !important;
40
+ }
41
+ }
42
+ tbody {
43
+ tr {
44
+ &:last-child {
45
+ td {
46
+ border-bottom: 0 !important;
47
+ }
48
+ }
49
+ td {
50
+ &:last-child {
51
+ border-bottom: 0 !important;
52
+ }
53
+ }
54
+ }
55
+ }
56
+
57
+ td,
58
+ th {
59
+ border: 1px solid;
60
+ border-color: rgba(var(--ax-color-border-default));
61
+ &:first-child {
62
+ border-inline-start-width: 0px;
63
+ }
64
+ &:last-child {
65
+ border-inline-end-width: 0px;
66
+ }
67
+ }
68
+ }
69
+ @media screen and (max-width: 601px) {
70
+ &.ax-table-responsive {
71
+ overflow-wrap: break-word;
72
+ display: block;
73
+ border: 0px;
74
+ thead {
75
+ position: absolute;
76
+ inset-inline-start: -100%;
77
+ top: -100%;
78
+ }
79
+
80
+ td {
81
+ display: block;
82
+ float: inline-start;
83
+ width: 100%;
84
+ clear: both;
85
+ background: rgba(var(--ax-color-surface));
86
+ padding: 0.375rem 0.625rem;
87
+ box-sizing: border-box;
88
+ &:last-child {
89
+ border: 0;
90
+ }
91
+ &:before {
92
+ content: attr(data-label);
93
+ display: block;
94
+ font-weight: bold;
95
+ }
96
+ }
97
+ tr {
98
+ border: 1px solid;
99
+ border-color: rgba(var(--ax-color-border-default));
100
+ }
101
+ tr,
102
+ tbody {
103
+ display: block;
104
+ width: 100%;
105
+ float: inline-start;
106
+ margin-bottom: 0.625rem;
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
@@ -1,52 +1,52 @@
1
- @import '../variables/index.scss';
2
-
3
- [class*=' ax-icon-'],
4
- [class^='ax-icon-'] {
5
- vertical-align: middle;
6
- }
7
-
8
- .ax-rotaion-0 {
9
- transform: rotate(0);
10
- }
11
-
12
- @each $deg in $degrees {
13
- .ax-rotation-#{$deg} {
14
- transform: rotate(#{$deg}deg);
15
- }
16
-
17
- .-ax-rotation-#{$deg} {
18
- transform: rotate(-#{$deg}deg);
19
- }
20
- }
21
-
22
- .ax-transition-all {
23
- transition-property: all;
24
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
25
- transition-duration: 150ms;
26
- }
27
-
28
- .ax-w-full {
29
- width: 100%;
30
- }
31
-
32
- .ax-h-full {
33
- height: 100%;
34
- }
35
-
36
- .ax-fieldset {
37
- border: 1px solid;
38
- border-color: rgba(var(--ax-color-border-default));
39
- padding: 0.75rem;
40
- border-radius: var(--ax-rounded-border-default);
41
- legend {
42
- font-size: 0.875rem;
43
- padding: 0 0.25rem;
44
- }
45
- }
46
-
47
- .ax-card {
48
- background-color: rgba(var(--ax-color-surface));
49
- border: 1px solid;
50
- border-color: rgba(var(--ax-color-border-default));
51
- border-radius: var(--ax-rounded-border-default);
52
- }
1
+ @import '../variables/index.scss';
2
+
3
+ [class*=' ax-icon-'],
4
+ [class^='ax-icon-'] {
5
+ vertical-align: middle;
6
+ }
7
+
8
+ .ax-rotaion-0 {
9
+ transform: rotate(0);
10
+ }
11
+
12
+ @each $deg in $degrees {
13
+ .ax-rotation-#{$deg} {
14
+ transform: rotate(#{$deg}deg);
15
+ }
16
+
17
+ .-ax-rotation-#{$deg} {
18
+ transform: rotate(-#{$deg}deg);
19
+ }
20
+ }
21
+
22
+ .ax-transition-all {
23
+ transition-property: all;
24
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
25
+ transition-duration: 150ms;
26
+ }
27
+
28
+ .ax-w-full {
29
+ width: 100%;
30
+ }
31
+
32
+ .ax-h-full {
33
+ height: 100%;
34
+ }
35
+
36
+ .ax-fieldset {
37
+ border: 1px solid;
38
+ border-color: rgba(var(--ax-color-border-default));
39
+ padding: 0.75rem;
40
+ border-radius: var(--ax-rounded-border-default);
41
+ legend {
42
+ font-size: 0.875rem;
43
+ padding: 0 0.25rem;
44
+ }
45
+ }
46
+
47
+ .ax-card {
48
+ background-color: rgba(var(--ax-color-surface));
49
+ border: 1px solid;
50
+ border-color: rgba(var(--ax-color-border-default));
51
+ border-radius: var(--ax-rounded-border-default);
52
+ }
@@ -1,13 +1,13 @@
1
- @import "./actionsheet";
2
- @import "./check-box";
3
- @import "./decoration";
4
- @import "./drop-down";
5
- @import "./editor-container";
6
- @import "./general-button";
7
- @import "./icon-control";
8
- @import "./inputs";
9
- @import "./list";
10
- @import "./radio";
11
- @import "./skeleton";
12
- @import "./table";
1
+ @import "./actionsheet";
2
+ @import "./check-box";
3
+ @import "./decoration";
4
+ @import "./drop-down";
5
+ @import "./editor-container";
6
+ @import "./general-button";
7
+ @import "./icon-control";
8
+ @import "./inputs";
9
+ @import "./list";
10
+ @import "./radio";
11
+ @import "./skeleton";
12
+ @import "./table";
13
13
  @import "./utils";
@@ -1,129 +1,129 @@
1
- :root {
2
- --ax-size-base: 2.5rem;
3
- --ax-size-default: var(--ax-size-base);
4
-
5
- --ax-rounded-border-default: 0.375rem;
6
- --ax-color-border-default: 224, 224, 224;
7
-
8
- --ax-color-background-default: 250, 250, 250;
9
- --ax-color-text-default: 18, 18, 18;
10
-
11
- --ax-color-surface: 255, 255, 255;
12
- --ax-color-surface-fore: 18, 18, 18;
13
-
14
- --ax-color-on-surface: 244, 244, 244;
15
- --ax-color-on-surface-fore: 20, 20, 20;
16
-
17
- --ax-color-input-surface: 255, 255, 255;
18
-
19
- --ax-color-ghost-fore: 30, 41, 59;
20
- --ax-color-ghost-50: 247, 248, 250;
21
- --ax-color-ghost-100: 235, 238, 242;
22
- --ax-color-ghost-200: 221, 226, 233;
23
- --ax-color-ghost-300: 207, 214, 224;
24
- --ax-color-ghost-400: 197, 206, 217;
25
- --ax-color-ghost-500: 187, 197, 210;
26
- --ax-color-ghost-600: 181, 191, 205;
27
- --ax-color-ghost-700: 172, 184, 199;
28
- --ax-color-ghost-800: 164, 176, 193;
29
- --ax-color-ghost-900: 150, 163, 182;
30
-
31
- --ax-color-primary-fore: 255, 255, 255;
32
- --ax-color-primary-50: 239, 246, 255;
33
- --ax-color-primary-100: 219, 234, 254;
34
- --ax-color-primary-200: 191, 219, 254;
35
- --ax-color-primary-300: 147, 197, 253;
36
- --ax-color-primary-400: 96, 165, 250;
37
- --ax-color-primary-500: 59, 130, 246;
38
- --ax-color-primary-600: 37, 99, 235;
39
- --ax-color-primary-700: 29, 78, 216;
40
- --ax-color-primary-800: 30, 64, 175;
41
- --ax-color-primary-900: 30, 58, 138;
42
-
43
- --ax-color-secondary-fore: 255, 255, 255;
44
- --ax-color-secondary-50: 233, 234, 236;
45
- --ax-color-secondary-100: 200, 203, 208;
46
- --ax-color-secondary-200: 164, 169, 176;
47
- --ax-color-secondary-300: 128, 134, 144;
48
- --ax-color-secondary-400: 100, 108, 121;
49
- --ax-color-secondary-500: 73, 82, 97;
50
- --ax-color-secondary-600: 66, 75, 89;
51
- --ax-color-secondary-700: 57, 65, 79;
52
- --ax-color-secondary-800: 49, 56, 69;
53
- --ax-color-secondary-900: 33, 40, 51;
54
-
55
- --ax-color-success-fore: 255, 255, 255;
56
- --ax-color-success-50: 236, 253, 245;
57
- --ax-color-success-100: 209, 250, 229;
58
- --ax-color-success-200: 167, 243, 208;
59
- --ax-color-success-300: 110, 231, 183;
60
- --ax-color-success-400: 52, 211, 153;
61
- --ax-color-success-500: 16, 185, 129;
62
- --ax-color-success-600: 5, 150, 105;
63
- --ax-color-success-700: 4, 120, 87;
64
- --ax-color-success-800: 6, 95, 70;
65
- --ax-color-success-900: 6, 78, 59;
66
-
67
- --ax-color-danger-fore: 255, 255, 255;
68
- --ax-color-danger-50: 254, 242, 242;
69
- --ax-color-danger-100: 254, 226, 226;
70
- --ax-color-danger-200: 254, 202, 202;
71
- --ax-color-danger-300: 252, 165, 165;
72
- --ax-color-danger-400: 248, 113, 113;
73
- --ax-color-danger-500: 239, 68, 68;
74
- --ax-color-danger-600: 220, 38, 38;
75
- --ax-color-danger-700: 185, 28, 28;
76
- --ax-color-danger-800: 153, 27, 27;
77
- --ax-color-danger-900: 127, 29, 29;
78
-
79
- --ax-color-warning-fore: 120, 53, 15;
80
- --ax-color-warning-50: 255, 248, 225;
81
- --ax-color-warning-100: 255, 236, 179;
82
- --ax-color-warning-200: 255, 224, 130;
83
- --ax-color-warning-300: 255, 213, 79;
84
- --ax-color-warning-400: 255, 202, 40;
85
- --ax-color-warning-500: 255, 193, 7;
86
- --ax-color-warning-600: 255, 179, 0;
87
- --ax-color-warning-700: 255, 160, 0;
88
- --ax-color-warning-800: 255, 143, 0;
89
- --ax-color-warning-900: 255, 111, 0;
90
- }
91
-
92
- .ax-dark {
93
- --ax-color-background-default: 47, 48, 55;
94
-
95
- --ax-color-text-default: 224, 224, 224;
96
- --ax-color-border-default: 72, 72, 72;
97
-
98
- --ax-color-surface: 60, 60, 67;
99
- --ax-color-surface-fore: 224, 224, 224;
100
-
101
- --ax-color-on-surface: 71, 71, 78;
102
- --ax-color-on-surface-fore: 224, 224, 224;
103
-
104
- --ax-color-input-surface: 80, 81, 87;
105
-
106
- --ax-color-ghost-fore: 255, 255, 255;
107
- --ax-color-ghost-50: 232, 233, 234;
108
- --ax-color-ghost-100: 199, 200, 203;
109
- --ax-color-ghost-200: 161, 163, 169;
110
- --ax-color-ghost-300: 123, 126, 134;
111
- --ax-color-ghost-400: 95, 99, 108;
112
- --ax-color-ghost-500: 67, 71, 82;
113
- --ax-color-ghost-600: 61, 64, 75;
114
- --ax-color-ghost-700: 52, 55, 65;
115
- --ax-color-ghost-800: 44, 47, 56;
116
- --ax-color-ghost-900: 30, 32, 40;
117
-
118
- // --ax-color-primary-fore : 25, 41, 63;
119
- // --ax-color-primary-50 : 243, 248, 255;
120
- // --ax-color-primary-100 : 226, 236, 254;
121
- // --ax-color-primary-200 : 206, 224, 253;
122
- // --ax-color-primary-300 : 186, 212, 252;
123
- // --ax-color-primary-400 : 172, 202, 252;
124
- // --ax-color-primary-500 : 157, 193, 251;
125
- // --ax-color-primary-600 : 149, 187, 250;
126
- // --ax-color-primary-700 : 139, 179, 250;
127
- // --ax-color-primary-800 : 129, 171, 249;
128
- // --ax-color-primary-900 : 111, 158, 248
129
- }
1
+ :root {
2
+ --ax-size-base: 2.5rem;
3
+ --ax-size-default: var(--ax-size-base);
4
+
5
+ --ax-rounded-border-default: 0.375rem;
6
+ --ax-color-border-default: 224, 224, 224;
7
+
8
+ --ax-color-background-default: 250, 250, 250;
9
+ --ax-color-text-default: 18, 18, 18;
10
+
11
+ --ax-color-surface: 255, 255, 255;
12
+ --ax-color-surface-fore: 18, 18, 18;
13
+
14
+ --ax-color-on-surface: 244, 244, 244;
15
+ --ax-color-on-surface-fore: 20, 20, 20;
16
+
17
+ --ax-color-input-surface: 255, 255, 255;
18
+
19
+ --ax-color-ghost-fore: 30, 41, 59;
20
+ --ax-color-ghost-50: 247, 248, 250;
21
+ --ax-color-ghost-100: 235, 238, 242;
22
+ --ax-color-ghost-200: 221, 226, 233;
23
+ --ax-color-ghost-300: 207, 214, 224;
24
+ --ax-color-ghost-400: 197, 206, 217;
25
+ --ax-color-ghost-500: 187, 197, 210;
26
+ --ax-color-ghost-600: 181, 191, 205;
27
+ --ax-color-ghost-700: 172, 184, 199;
28
+ --ax-color-ghost-800: 164, 176, 193;
29
+ --ax-color-ghost-900: 150, 163, 182;
30
+
31
+ --ax-color-primary-fore: 255, 255, 255;
32
+ --ax-color-primary-50: 239, 246, 255;
33
+ --ax-color-primary-100: 219, 234, 254;
34
+ --ax-color-primary-200: 191, 219, 254;
35
+ --ax-color-primary-300: 147, 197, 253;
36
+ --ax-color-primary-400: 96, 165, 250;
37
+ --ax-color-primary-500: 59, 130, 246;
38
+ --ax-color-primary-600: 37, 99, 235;
39
+ --ax-color-primary-700: 29, 78, 216;
40
+ --ax-color-primary-800: 30, 64, 175;
41
+ --ax-color-primary-900: 30, 58, 138;
42
+
43
+ --ax-color-secondary-fore: 255, 255, 255;
44
+ --ax-color-secondary-50: 233, 234, 236;
45
+ --ax-color-secondary-100: 200, 203, 208;
46
+ --ax-color-secondary-200: 164, 169, 176;
47
+ --ax-color-secondary-300: 128, 134, 144;
48
+ --ax-color-secondary-400: 100, 108, 121;
49
+ --ax-color-secondary-500: 73, 82, 97;
50
+ --ax-color-secondary-600: 66, 75, 89;
51
+ --ax-color-secondary-700: 57, 65, 79;
52
+ --ax-color-secondary-800: 49, 56, 69;
53
+ --ax-color-secondary-900: 33, 40, 51;
54
+
55
+ --ax-color-success-fore: 255, 255, 255;
56
+ --ax-color-success-50: 236, 253, 245;
57
+ --ax-color-success-100: 209, 250, 229;
58
+ --ax-color-success-200: 167, 243, 208;
59
+ --ax-color-success-300: 110, 231, 183;
60
+ --ax-color-success-400: 52, 211, 153;
61
+ --ax-color-success-500: 16, 185, 129;
62
+ --ax-color-success-600: 5, 150, 105;
63
+ --ax-color-success-700: 4, 120, 87;
64
+ --ax-color-success-800: 6, 95, 70;
65
+ --ax-color-success-900: 6, 78, 59;
66
+
67
+ --ax-color-danger-fore: 255, 255, 255;
68
+ --ax-color-danger-50: 254, 242, 242;
69
+ --ax-color-danger-100: 254, 226, 226;
70
+ --ax-color-danger-200: 254, 202, 202;
71
+ --ax-color-danger-300: 252, 165, 165;
72
+ --ax-color-danger-400: 248, 113, 113;
73
+ --ax-color-danger-500: 239, 68, 68;
74
+ --ax-color-danger-600: 220, 38, 38;
75
+ --ax-color-danger-700: 185, 28, 28;
76
+ --ax-color-danger-800: 153, 27, 27;
77
+ --ax-color-danger-900: 127, 29, 29;
78
+
79
+ --ax-color-warning-fore: 120, 53, 15;
80
+ --ax-color-warning-50: 255, 248, 225;
81
+ --ax-color-warning-100: 255, 236, 179;
82
+ --ax-color-warning-200: 255, 224, 130;
83
+ --ax-color-warning-300: 255, 213, 79;
84
+ --ax-color-warning-400: 255, 202, 40;
85
+ --ax-color-warning-500: 255, 193, 7;
86
+ --ax-color-warning-600: 255, 179, 0;
87
+ --ax-color-warning-700: 255, 160, 0;
88
+ --ax-color-warning-800: 255, 143, 0;
89
+ --ax-color-warning-900: 255, 111, 0;
90
+ }
91
+
92
+ .ax-dark {
93
+ --ax-color-background-default: 47, 48, 55;
94
+
95
+ --ax-color-text-default: 224, 224, 224;
96
+ --ax-color-border-default: 72, 72, 72;
97
+
98
+ --ax-color-surface: 60, 60, 67;
99
+ --ax-color-surface-fore: 224, 224, 224;
100
+
101
+ --ax-color-on-surface: 71, 71, 78;
102
+ --ax-color-on-surface-fore: 224, 224, 224;
103
+
104
+ --ax-color-input-surface: 80, 81, 87;
105
+
106
+ --ax-color-ghost-fore: 255, 255, 255;
107
+ --ax-color-ghost-50: 232, 233, 234;
108
+ --ax-color-ghost-100: 199, 200, 203;
109
+ --ax-color-ghost-200: 161, 163, 169;
110
+ --ax-color-ghost-300: 123, 126, 134;
111
+ --ax-color-ghost-400: 95, 99, 108;
112
+ --ax-color-ghost-500: 67, 71, 82;
113
+ --ax-color-ghost-600: 61, 64, 75;
114
+ --ax-color-ghost-700: 52, 55, 65;
115
+ --ax-color-ghost-800: 44, 47, 56;
116
+ --ax-color-ghost-900: 30, 32, 40;
117
+
118
+ // --ax-color-primary-fore : 25, 41, 63;
119
+ // --ax-color-primary-50 : 243, 248, 255;
120
+ // --ax-color-primary-100 : 226, 236, 254;
121
+ // --ax-color-primary-200 : 206, 224, 253;
122
+ // --ax-color-primary-300 : 186, 212, 252;
123
+ // --ax-color-primary-400 : 172, 202, 252;
124
+ // --ax-color-primary-500 : 157, 193, 251;
125
+ // --ax-color-primary-600 : 149, 187, 250;
126
+ // --ax-color-primary-700 : 139, 179, 250;
127
+ // --ax-color-primary-800 : 129, 171, 249;
128
+ // --ax-color-primary-900 : 111, 158, 248
129
+ }