@acorex/styles 6.5.29 → 6.5.31

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,75 +1,75 @@
1
- .ax {
2
- &.context-menu-container {
3
- position: fixed;
4
-
5
- .context-menu {
6
- background-color: var(--ax-white-color);
7
- width: fit-content;
8
- max-width: 300px;
9
- -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
10
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
11
- transition: all 0.3s;
12
- padding: 0;
13
- margin: 0;
14
-
15
- .context-menu-item {
16
- display: flex;
17
- padding: 1rem;
18
- justify-content: space-between;
19
- cursor: pointer;
20
- user-select: none;
21
- color: var(--ax-gray-dark-color);
22
- position: relative;
23
- min-width: fit-content;
24
- &:hover {
25
- background-color: var(--ax-light-light-color);
26
- & > .child {
27
- inset-inline-start: 100%;
28
- visibility: visible;
29
- opacity: 1;
30
- transform: translateX(0px);
31
- }
32
- }
33
- &.disabled {
34
- color: var(--ax-gray-light-color) !important;
35
- // opacity: 0.6;
36
- cursor: not-allowed;
37
- }
38
- &.divider {
39
- border-bottom: 1px solid var(--ax-border-color);
40
- }
41
- .startIcon {
42
- padding-inline-end: 0.5em;
43
- }
44
- span {
45
- white-space: nowrap;
46
- overflow: hidden;
47
- text-overflow: ellipsis;
48
- flex: 1;
49
- }
50
- .endIcon {
51
- padding-inline-start: 0.5em;
52
- > i {
53
- padding-inline-start: 0.5em;
54
- }
55
- }
56
-
57
- .child {
58
- position: absolute;
59
- inset-inline-start: 0%;
60
- top: 0;
61
- visibility: hidden;
62
- opacity: 0;
63
- transition: transform 0.2s;
64
- transform: translateX(50px);
65
-
66
- }
67
- }
68
- }
69
- }
70
- }
71
-
72
- @keyframes show {
73
- from {display: none;}
74
- to {display: block;opacity: 1;}
1
+ .ax {
2
+ &.context-menu-container {
3
+ position: fixed;
4
+
5
+ .context-menu {
6
+ background-color: var(--ax-white-color);
7
+ width: fit-content;
8
+ max-width: 300px;
9
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
10
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
11
+ transition: all 0.3s;
12
+ padding: 0;
13
+ margin: 0;
14
+
15
+ .context-menu-item {
16
+ display: flex;
17
+ padding: 1rem;
18
+ justify-content: space-between;
19
+ cursor: pointer;
20
+ user-select: none;
21
+ color: var(--ax-gray-dark-color);
22
+ position: relative;
23
+ min-width: fit-content;
24
+ &:hover {
25
+ background-color: var(--ax-light-light-color);
26
+ & > .child {
27
+ inset-inline-start: 100%;
28
+ visibility: visible;
29
+ opacity: 1;
30
+ transform: translateX(0px);
31
+ }
32
+ }
33
+ &.disabled {
34
+ color: var(--ax-gray-light-color) !important;
35
+ // opacity: 0.6;
36
+ cursor: not-allowed;
37
+ }
38
+ &.divider {
39
+ border-bottom: 1px solid var(--ax-border-color);
40
+ }
41
+ .startIcon {
42
+ padding-inline-end: 0.5em;
43
+ }
44
+ span {
45
+ white-space: nowrap;
46
+ overflow: hidden;
47
+ text-overflow: ellipsis;
48
+ flex: 1;
49
+ }
50
+ .endIcon {
51
+ padding-inline-start: 0.5em;
52
+ > i {
53
+ padding-inline-start: 0.5em;
54
+ }
55
+ }
56
+
57
+ .child {
58
+ position: absolute;
59
+ inset-inline-start: 0%;
60
+ top: 0;
61
+ visibility: hidden;
62
+ opacity: 0;
63
+ transition: transform 0.2s;
64
+ transform: translateX(50px);
65
+
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+
72
+ @keyframes show {
73
+ from {display: none;}
74
+ to {display: block;opacity: 1;}
75
75
  }
@@ -1,117 +1,117 @@
1
- // filter
2
- .ag-menu {
3
- border-color: var(--border-color);
4
- resize: none;
5
- }
6
-
7
- // ax-data-grid .ax-toolbar {
8
- // background: transparent !important;
9
- // box-shadow: none !important;
10
- // border: 0 !important;
11
- // padding: 0rem !important;
12
- // }
13
-
14
- .ax-grid-filter-container {
15
- min-width: 140px;
16
- margin: var(--sp-sm-size);
17
- min-height: 100px;
18
- display: flex;
19
- flex-direction: column;
20
- justify-content: center;
21
- align-items: center;
22
- legend {
23
- font-size: inherit !important;
24
- }
25
- .btn-group {
26
- width: 100%;
27
- margin: var(--sp-md-size) 0 0 0;
28
- }
29
- .ax-field-set {
30
- min-width: 200px !important;
31
- }
32
- }
33
-
34
- // grid
35
- ag-grid-angular {
36
- width: 100%;
37
- }
38
-
39
- .ag-theme-balham {
40
- .ax-field-set-button {
41
- margin: 4px 2px !important;
42
- }
43
- .ag-header {
44
- background-color: var(--ax-primary-trans-light-color) !important;
45
- border-color: var(--ax-border-color);
46
- }
47
- .ag-root {
48
- border-color: var(--ax-border-color) !important;
49
- }
50
- .ag-cell {
51
- ax-check-box {
52
- display: flex;
53
- justify-content: center;
54
- align-items: center;
55
- .checkmark {
56
- height: 16px;
57
- width: 16px;
58
- }
59
- }
60
- ax-button {
61
- .ax-button {
62
- display: inline-flex;
63
- margin: 4px 0px 0 5px;
64
- }
65
- .btn {
66
- padding: 0 0.75rem;
67
- font-size: 0.875rem;
68
- line-height: 1.2;
69
- }
70
- }
71
- }
72
- }
73
-
74
- .ag-theme-balham .ag-filter input[type="text"],
75
- .ag-theme-balham .ag-filter input[type="date"] {
76
- padding-left: 0.5em !important;
77
- }
78
-
79
- .ax-grid-command-button {
80
- border: none;
81
- width: var(--el-md-size);
82
- height: var(--el-md-size);
83
- text-align: center;
84
- display: inline-flex;
85
- justify-content: center;
86
- font-size: 0.875rem;
87
- align-items: center;
88
- }
89
-
90
- ax-command-cell {
91
- display: flex;
92
- justify-content: flex-start;
93
- align-items: center;
94
- height: 100%;
95
- }
96
-
97
- :host {
98
- ax-toolbar {
99
- width: 100%;
100
- .ax-toolbar {
101
- background: var(--ax-white-color);
102
- padding: 0.5rem;
103
- z-index: 2;
104
- width: 100%;
105
- border: 1px solid var(--ax-border-color);
106
- border-bottom: 0;
107
- button {
108
- i {
109
- vertical-align: middle;
110
- }
111
- }
112
- }
113
- }
114
- }
115
- .ag-theme-alpine div.ag-row {
116
- font-size: 0.875rem !important;
117
- }
1
+ // filter
2
+ .ag-menu {
3
+ border-color: var(--border-color);
4
+ resize: none;
5
+ }
6
+
7
+ // ax-data-grid .ax-toolbar {
8
+ // background: transparent !important;
9
+ // box-shadow: none !important;
10
+ // border: 0 !important;
11
+ // padding: 0rem !important;
12
+ // }
13
+
14
+ .ax-grid-filter-container {
15
+ min-width: 140px;
16
+ margin: var(--sp-sm-size);
17
+ min-height: 100px;
18
+ display: flex;
19
+ flex-direction: column;
20
+ justify-content: center;
21
+ align-items: center;
22
+ legend {
23
+ font-size: inherit !important;
24
+ }
25
+ .btn-group {
26
+ width: 100%;
27
+ margin: var(--sp-md-size) 0 0 0;
28
+ }
29
+ .ax-field-set {
30
+ min-width: 200px !important;
31
+ }
32
+ }
33
+
34
+ // grid
35
+ ag-grid-angular {
36
+ width: 100%;
37
+ }
38
+
39
+ .ag-theme-balham {
40
+ .ax-field-set-button {
41
+ margin: 4px 2px !important;
42
+ }
43
+ .ag-header {
44
+ background-color: var(--ax-primary-trans-light-color) !important;
45
+ border-color: var(--ax-border-color);
46
+ }
47
+ .ag-root {
48
+ border-color: var(--ax-border-color) !important;
49
+ }
50
+ .ag-cell {
51
+ ax-check-box {
52
+ display: flex;
53
+ justify-content: center;
54
+ align-items: center;
55
+ .checkmark {
56
+ height: 16px;
57
+ width: 16px;
58
+ }
59
+ }
60
+ ax-button {
61
+ .ax-button {
62
+ display: inline-flex;
63
+ margin: 4px 0px 0 5px;
64
+ }
65
+ .btn {
66
+ padding: 0 0.75rem;
67
+ font-size: 0.875rem;
68
+ line-height: 1.2;
69
+ }
70
+ }
71
+ }
72
+ }
73
+
74
+ .ag-theme-balham .ag-filter input[type="text"],
75
+ .ag-theme-balham .ag-filter input[type="date"] {
76
+ padding-left: 0.5em !important;
77
+ }
78
+
79
+ .ax-grid-command-button {
80
+ border: none;
81
+ width: var(--el-md-size);
82
+ height: var(--el-md-size);
83
+ text-align: center;
84
+ display: inline-flex;
85
+ justify-content: center;
86
+ font-size: 0.875rem;
87
+ align-items: center;
88
+ }
89
+
90
+ ax-command-cell {
91
+ display: flex;
92
+ justify-content: flex-start;
93
+ align-items: center;
94
+ height: 100%;
95
+ }
96
+
97
+ :host {
98
+ ax-toolbar {
99
+ width: 100%;
100
+ .ax-toolbar {
101
+ background: var(--ax-white-color);
102
+ padding: 0.5rem;
103
+ z-index: 2;
104
+ width: 100%;
105
+ border: 1px solid var(--ax-border-color);
106
+ border-bottom: 0;
107
+ button {
108
+ i {
109
+ vertical-align: middle;
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ .ag-theme-alpine div.ag-row {
116
+ font-size: 0.875rem !important;
117
+ }
package/scss/drawer.scss CHANGED
@@ -1,138 +1,138 @@
1
- ax-drawer-container {
2
- display: flex;
3
- position: relative;
4
- width: 100%;
5
- height: 100%;
6
- overflow: hidden;
7
-
8
- &.ax-fixed {
9
- display: none;
10
- top: 0;
11
- right: 0;
12
- left: 0;
13
- bottom: 0;
14
- z-index: 1000;
15
- &.ax-visible {
16
- display: flex;
17
- }
18
- }
19
-
20
- .ax-backdrop {
21
- background-color: rgb(0, 0, 0, 0.3);
22
- position: absolute;
23
- width: 100%;
24
- height: 100%;
25
- z-index: 1;
26
- top: 0;
27
- bottom: 0;
28
- transition-property: all;
29
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
30
- transition-duration: 150ms;
31
- }
32
-
33
- ax-drawer {
34
- display: flex !important;
35
- flex-direction: column;
36
- max-width: 95%;
37
- height: 100%;
38
- animation-duration: 300ms;
39
- transition-property: all;
40
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
41
- transition-duration: 150ms;
42
- .ax-header,
43
- .ax-footer {
44
- padding: 0.75rem;
45
- border-color: var(--ax-gray-light-color);
46
- }
47
- .ax-footer {
48
- border-top: 1px solid;
49
- border-color: var(--ax-gray-light-color);
50
- }
51
- .ax-header {
52
- border-bottom: 1px solid;
53
- border-color: var(--ax-gray-light-color);
54
- }
55
- &.ax-preload {
56
- animation-duration: 30ms;
57
- transition-property: all;
58
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
59
- transition-duration: 150ms;
60
- }
61
- .ax-visible {
62
- visibility: visible;
63
- }
64
- & > .ax-content {
65
- overflow: auto;
66
- background: var(--ax-white-color);
67
- flex: 1;
68
- height: 100%;
69
- text: var(--ax-gray-color);
70
- }
71
-
72
- &.ax-drawer-overlay {
73
- position: absolute;
74
-
75
- &.ax-expanded {
76
- z-index: 2;
77
- }
78
-
79
- &.ax-collapsed {
80
- z-index: 0;
81
- }
82
-
83
- &.ax-drawer-start {
84
- &.ax-expanded {
85
- inset-inline-start: 0px;
86
- }
87
-
88
- &.ax-collapsed {
89
- inset-inline-start: calc(-1 * var(--ax-el-width));
90
- }
91
- }
92
-
93
- &.ax-drawer-end {
94
- &.ax-expanded {
95
- inset-inline-end: 0px;
96
- }
97
-
98
- &.ax-collapsed {
99
- inset-inline-end: calc(-1 * var(--ax-el-width));
100
- }
101
- }
102
- }
103
-
104
- &.ax-drawer-push {
105
- flex: 0 1 auto;
106
-
107
- &.ax-drawer-start {
108
- order: -9999;
109
-
110
- &.ax-expanded {
111
- margin-inline-start: 0%;
112
- }
113
-
114
- &.ax-collapsed {
115
- margin-inline-start: calc(-1 * var(--ax-el-width));
116
- }
117
- }
118
-
119
- &.ax-drawer-end {
120
- order: 9999;
121
-
122
- &.ax-expanded {
123
- margin-inline-end: 0%;
124
- }
125
-
126
- &.ax-collapsed {
127
- margin-inline-end: calc(-1 * var(--ax-el-width));
128
- }
129
- }
130
- }
131
- }
132
-
133
- & > .ax-content {
134
- flex: 1;
135
- height: 100%;
136
- overflow: auto;
137
- }
138
- }
1
+ ax-drawer-container {
2
+ display: flex;
3
+ position: relative;
4
+ width: 100%;
5
+ height: 100%;
6
+ overflow: hidden;
7
+
8
+ &.ax-fixed {
9
+ display: none;
10
+ top: 0;
11
+ right: 0;
12
+ left: 0;
13
+ bottom: 0;
14
+ z-index: 1000;
15
+ &.ax-visible {
16
+ display: flex;
17
+ }
18
+ }
19
+
20
+ .ax-backdrop {
21
+ background-color: rgb(0, 0, 0, 0.3);
22
+ position: absolute;
23
+ width: 100%;
24
+ height: 100%;
25
+ z-index: 1;
26
+ top: 0;
27
+ bottom: 0;
28
+ transition-property: all;
29
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
30
+ transition-duration: 150ms;
31
+ }
32
+
33
+ ax-drawer {
34
+ display: flex !important;
35
+ flex-direction: column;
36
+ max-width: 95%;
37
+ height: 100%;
38
+ animation-duration: 300ms;
39
+ transition-property: all;
40
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
41
+ transition-duration: 150ms;
42
+ .ax-header,
43
+ .ax-footer {
44
+ padding: 0.75rem;
45
+ border-color: var(--ax-gray-light-color);
46
+ }
47
+ .ax-footer {
48
+ border-top: 1px solid;
49
+ border-color: var(--ax-gray-light-color);
50
+ }
51
+ .ax-header {
52
+ border-bottom: 1px solid;
53
+ border-color: var(--ax-gray-light-color);
54
+ }
55
+ &.ax-preload {
56
+ animation-duration: 30ms;
57
+ transition-property: all;
58
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
59
+ transition-duration: 150ms;
60
+ }
61
+ .ax-visible {
62
+ visibility: visible;
63
+ }
64
+ & > .ax-content {
65
+ overflow: auto;
66
+ background: var(--ax-white-color);
67
+ flex: 1;
68
+ height: 100%;
69
+ text: var(--ax-gray-color);
70
+ }
71
+
72
+ &.ax-drawer-overlay {
73
+ position: absolute;
74
+
75
+ &.ax-expanded {
76
+ z-index: 2;
77
+ }
78
+
79
+ &.ax-collapsed {
80
+ z-index: 0;
81
+ }
82
+
83
+ &.ax-drawer-start {
84
+ &.ax-expanded {
85
+ inset-inline-start: 0px;
86
+ }
87
+
88
+ &.ax-collapsed {
89
+ inset-inline-start: calc(-1 * var(--ax-el-width));
90
+ }
91
+ }
92
+
93
+ &.ax-drawer-end {
94
+ &.ax-expanded {
95
+ inset-inline-end: 0px;
96
+ }
97
+
98
+ &.ax-collapsed {
99
+ inset-inline-end: calc(-1 * var(--ax-el-width));
100
+ }
101
+ }
102
+ }
103
+
104
+ &.ax-drawer-push {
105
+ flex: 0 1 auto;
106
+
107
+ &.ax-drawer-start {
108
+ order: -9999;
109
+
110
+ &.ax-expanded {
111
+ margin-inline-start: 0%;
112
+ }
113
+
114
+ &.ax-collapsed {
115
+ margin-inline-start: calc(-1 * var(--ax-el-width));
116
+ }
117
+ }
118
+
119
+ &.ax-drawer-end {
120
+ order: 9999;
121
+
122
+ &.ax-expanded {
123
+ margin-inline-end: 0%;
124
+ }
125
+
126
+ &.ax-collapsed {
127
+ margin-inline-end: calc(-1 * var(--ax-el-width));
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ & > .ax-content {
134
+ flex: 1;
135
+ height: 100%;
136
+ overflow: auto;
137
+ }
138
+ }