@acorex/styles 7.24.5 → 16.0.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.
- package/fonts/font-awesome/fa-brands-400.eot +0 -0
- package/fonts/font-awesome/fa-brands-400.svg +3570 -0
- package/fonts/font-awesome/fa-brands-400.ttf +0 -0
- package/fonts/font-awesome/fa-brands-400.woff +0 -0
- package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- package/fonts/font-awesome/fa-duotone-900.eot +0 -0
- package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
- package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
- package/fonts/font-awesome/fa-light-300.eot +0 -0
- package/fonts/font-awesome/fa-light-300.svg +12330 -0
- package/fonts/font-awesome/fa-light-300.ttf +0 -0
- package/fonts/font-awesome/fa-light-300.woff +0 -0
- package/fonts/font-awesome/fa-light-300.woff2 +0 -0
- package/fonts/font-awesome/fa-regular-400.eot +0 -0
- package/fonts/font-awesome/fa-regular-400.svg +11256 -0
- package/fonts/font-awesome/fa-regular-400.ttf +0 -0
- package/fonts/font-awesome/fa-regular-400.woff +0 -0
- package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- package/fonts/font-awesome/fa-solid-900.eot +0 -0
- package/fonts/font-awesome/fa-solid-900.svg +9588 -0
- package/fonts/font-awesome/fa-solid-900.ttf +0 -0
- package/fonts/font-awesome/fa-solid-900.woff +0 -0
- package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- package/fonts/font-awesome/font-awesome.css +16960 -0
- package/package.json +11 -11
- package/scss/buttons.scss +69 -0
- package/scss/calendar.scss +144 -0
- package/scss/checkbox.scss +46 -0
- package/scss/context-menu.scss +75 -0
- package/scss/data-grid.scss +117 -0
- package/scss/drawer.scss +138 -0
- package/scss/fieldset.scss +23 -0
- package/scss/forms.scss +523 -0
- package/scss/list.scss +47 -0
- package/scss/master.scss +330 -0
- package/scss/menu.scss +130 -0
- package/scss/mixin.scss +12 -0
- package/scss/page.scss +54 -0
- package/scss/progress.scss +11 -0
- package/scss/selection-list.scss +104 -0
- package/scss/style.scss +47 -0
- package/scss/tab-strip.scss +31 -0
- package/scss/tab.scss +36 -0
- package/scss/toast.scss +46 -0
- package/scss/tooltip.scss +55 -0
- package/scss/treeview.scss +152 -0
- package/scss/upload.scss +170 -0
- package/scss/variables.scss +139 -0
- package/icons/fontawesome/fontawesome.scss +0 -68
- package/icons/index.scss +0 -207
- package/icons/material/material.scss +0 -73
- package/index.css +0 -2623
- package/index.min.css +0 -1
- package/index.scss +0 -9
- package/src/base/_preflight.scss +0 -417
- package/src/base/index.scss +0 -13
- package/src/mixins/_look.scss +0 -84
- package/src/mixins/_media.scss +0 -27
- package/src/mixins/_util.scss +0 -19
- package/src/mixins/index.scss +0 -3
- package/src/shared/_actionsheet.scss +0 -23
- package/src/shared/_check-box.scss +0 -59
- package/src/shared/_color-look.scss +0 -689
- package/src/shared/_drop-down.scss +0 -76
- package/src/shared/_editor-container.scss +0 -257
- package/src/shared/_general-button.scss +0 -87
- package/src/shared/_inputs.scss +0 -16
- package/src/shared/_list.scss +0 -211
- package/src/shared/_radio.scss +0 -56
- package/src/shared/_table.scss +0 -149
- package/src/shared/_utils.scss +0 -75
- package/src/shared/index.scss +0 -11
- package/src/utility/index.scss +0 -24
- package/src/variables/_colors.scss +0 -2
- package/src/variables/_degrees.scss +0 -1
- package/src/variables/index.scss +0 -2
- package/tailwind-base.js +0 -235
- package/themes/default.css +0 -1
- package/themes/default.scss +0 -141
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
{
|
2
|
-
"name": "@acorex/styles",
|
3
|
-
"version": "
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@acorex/styles",
|
3
|
+
"version": "16.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"author": "",
|
10
|
+
"license": "ISC"
|
11
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
@import "./variables.scss";
|
2
|
+
@import "./mixin.scss";
|
3
|
+
|
4
|
+
.ax {
|
5
|
+
&.buttons {
|
6
|
+
display: inline-flex;
|
7
|
+
flex-direction: row;
|
8
|
+
font-family: inherit;
|
9
|
+
font-size: 0.875rem;
|
10
|
+
vertical-align: baseline;
|
11
|
+
height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
12
|
+
|
13
|
+
.button {
|
14
|
+
margin: 0 !important;
|
15
|
+
border-radius: 0 !important;
|
16
|
+
font-size: inherit !important;
|
17
|
+
margin-inline-start: 0.25em;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
&.button {
|
22
|
+
position: relative;
|
23
|
+
cursor: pointer;
|
24
|
+
display: inline-block;
|
25
|
+
border: none;
|
26
|
+
vertical-align: baseline;
|
27
|
+
text-transform: none;
|
28
|
+
text-shadow: none;
|
29
|
+
font-family: inherit;
|
30
|
+
font-size: inherit;
|
31
|
+
text-align: center;
|
32
|
+
text-decoration: none;
|
33
|
+
overflow: hidden;
|
34
|
+
padding: 0 1rem;
|
35
|
+
height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
36
|
+
&.ax-button-icon {
|
37
|
+
width: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
38
|
+
height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
39
|
+
padding: 0;
|
40
|
+
}
|
41
|
+
.button-inner-content {
|
42
|
+
display: flex;
|
43
|
+
flex-direction: row;
|
44
|
+
justify-content: center;
|
45
|
+
align-items: center;
|
46
|
+
white-space: nowrap;
|
47
|
+
|
48
|
+
.icon {
|
49
|
+
margin-inline-end: 0.5rem;
|
50
|
+
margin-inline-start: 0.5rem;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
* {
|
55
|
+
pointer-events: none;
|
56
|
+
}
|
57
|
+
|
58
|
+
@include ax-border-radius(var(--ax-size-border-radius));
|
59
|
+
-webkit-tap-highlight-color: transparent;
|
60
|
+
|
61
|
+
&:hover {
|
62
|
+
@include ax-transition-all();
|
63
|
+
}
|
64
|
+
|
65
|
+
&:focus {
|
66
|
+
@include ax-transition-all();
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
.ax-calendar-container {
|
2
|
+
border: 1px solid var(--ax-border-color);
|
3
|
+
border-radius: var(--ax-size-border-radius);
|
4
|
+
|
5
|
+
.ax-calendar-header {
|
6
|
+
direction: ltr;
|
7
|
+
display: flex;
|
8
|
+
justify-content: space-between;
|
9
|
+
padding-top: 0.5rem;
|
10
|
+
padding-bottom: 0.5rem;
|
11
|
+
padding-left: 0.5rem;
|
12
|
+
padding-right: 0.5rem;
|
13
|
+
border-bottom: 1px solid var(--ax-border-color);
|
14
|
+
|
15
|
+
.ax-nav-button,
|
16
|
+
.ax-controll-button {
|
17
|
+
padding: 0 0.5rem;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.ax-calendar-body {
|
22
|
+
padding: 0.5rem;
|
23
|
+
|
24
|
+
.ax-month-items,
|
25
|
+
.ax-day-items {
|
26
|
+
display: grid;
|
27
|
+
grid-template-columns: repeat(7, minmax(0, 1fr));
|
28
|
+
}
|
29
|
+
|
30
|
+
.ax-month-container,
|
31
|
+
.ax-year-container {
|
32
|
+
display: grid;
|
33
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
34
|
+
|
35
|
+
>div {
|
36
|
+
font-size: 0.875rem;
|
37
|
+
line-height: 1.25rem;
|
38
|
+
position: relative;
|
39
|
+
display: flex;
|
40
|
+
align-items: center;
|
41
|
+
justify-content: center;
|
42
|
+
cursor: pointer;
|
43
|
+
margin: 0.125rem;
|
44
|
+
border-radius: 0.25rem;
|
45
|
+
background-color: var(--ax-light-light-color);
|
46
|
+
|
47
|
+
&::before {
|
48
|
+
content: "";
|
49
|
+
padding-top: 50%;
|
50
|
+
float: left;
|
51
|
+
}
|
52
|
+
|
53
|
+
&::after {
|
54
|
+
content: "";
|
55
|
+
display: block;
|
56
|
+
clear: both;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.ax-month-items {
|
62
|
+
margin: 0.5rem 0;
|
63
|
+
|
64
|
+
.ax-month-item {
|
65
|
+
font-size: 1rem;
|
66
|
+
line-height: 1.25rem;
|
67
|
+
text-align: center;
|
68
|
+
position: relative;
|
69
|
+
display: flex;
|
70
|
+
align-items: center;
|
71
|
+
justify-content: center;
|
72
|
+
cursor: text;
|
73
|
+
margin: 0.125rem;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.ax-day-items {
|
78
|
+
.ax-day-item {
|
79
|
+
font-size: 0.875rem;
|
80
|
+
line-height: 1.25rem;
|
81
|
+
position: relative;
|
82
|
+
display: flex;
|
83
|
+
align-items: center;
|
84
|
+
justify-content: center;
|
85
|
+
cursor: pointer;
|
86
|
+
margin: 0.125rem;
|
87
|
+
border-radius: 0.25rem;
|
88
|
+
|
89
|
+
&::before {
|
90
|
+
content: "";
|
91
|
+
padding-top: 100%;
|
92
|
+
float: left;
|
93
|
+
}
|
94
|
+
|
95
|
+
&::after {
|
96
|
+
content: "";
|
97
|
+
display: block;
|
98
|
+
clear: both;
|
99
|
+
}
|
100
|
+
|
101
|
+
&:hover {
|
102
|
+
background-color: var(--ax-light-light-color);
|
103
|
+
}
|
104
|
+
|
105
|
+
&.holiday {
|
106
|
+
color: var(--ax-danger-color);
|
107
|
+
|
108
|
+
&:hover {
|
109
|
+
color: #000;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
&.today {
|
114
|
+
background-color: var(--ax-primary-trans-dark-color) !important;
|
115
|
+
color: var(--ax-primary-color) !important;
|
116
|
+
}
|
117
|
+
|
118
|
+
&.selected {
|
119
|
+
background-color: var(--ax-success-color);
|
120
|
+
color: var(--ax-success-fore-color);
|
121
|
+
|
122
|
+
&:hover {
|
123
|
+
color: var(--ax-success-fore-color);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
&.next-month {
|
128
|
+
opacity: 0.5;
|
129
|
+
}
|
130
|
+
|
131
|
+
&.unselect {
|
132
|
+
cursor: not-allowed;
|
133
|
+
position: relative;
|
134
|
+
background-color: rgb(245, 138, 138, 30%);
|
135
|
+
color: var(--ax-danger-color);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
.ax-calendar-footer {
|
142
|
+
padding: 0.5rem;
|
143
|
+
}
|
144
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
.ax-checkbox-container {
|
2
|
+
display: flex;
|
3
|
+
align-items: center;
|
4
|
+
font-size: 0.875rem;
|
5
|
+
span {
|
6
|
+
margin-inline-start: 0.5rem;
|
7
|
+
}
|
8
|
+
&.readonly,
|
9
|
+
&.disabled {
|
10
|
+
opacity: 0.7;
|
11
|
+
}
|
12
|
+
&.disabled {
|
13
|
+
cursor: not-allowed;
|
14
|
+
}
|
15
|
+
.ax-checkbox {
|
16
|
+
width: 16px;
|
17
|
+
height: 16px;
|
18
|
+
border: 1px solid var(--ax-border-color);
|
19
|
+
border-radius: 4px;
|
20
|
+
background-color: var(--ax-white-color);
|
21
|
+
margin: 0;
|
22
|
+
appearance: none;
|
23
|
+
vertical-align: middle;
|
24
|
+
outline: 2px solid transparent;
|
25
|
+
outline-offset: 2px;
|
26
|
+
color: var(--ax-primary-color);
|
27
|
+
&.checked {
|
28
|
+
border-color: var(--ax-primary-color);
|
29
|
+
background-repeat: no-repeat;
|
30
|
+
background-color: currentColor;
|
31
|
+
background-size: contain;
|
32
|
+
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");
|
33
|
+
}
|
34
|
+
|
35
|
+
&.indeterminate {
|
36
|
+
border-color: var(--ax-primary-color);
|
37
|
+
background-repeat: no-repeat;
|
38
|
+
background-color: currentColor;
|
39
|
+
background-size: contain;
|
40
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImNscy0xIiB4PSIzIiB5PSI3IiB3aWR0aD0iMTAiIGhlaWdodD0iMiIvPjwvc3ZnPg==");
|
41
|
+
}
|
42
|
+
&:focus {
|
43
|
+
border-color: var(--ax-primary-color);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +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;}
|
75
|
+
}
|
@@ -0,0 +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
|
+
}
|
package/scss/drawer.scss
ADDED
@@ -0,0 +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
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@import "./mixin.scss";
|
2
|
+
|
3
|
+
.ax {
|
4
|
+
&.fieldset {
|
5
|
+
border: 1px solid;
|
6
|
+
border-color: var(--ax-border-color);
|
7
|
+
padding: 0.5em;
|
8
|
+
@include ax-border-radius(var(--ax-size-border-radius));
|
9
|
+
|
10
|
+
legend {
|
11
|
+
padding: 0 0.5em;
|
12
|
+
cursor: pointer;
|
13
|
+
user-select: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
>.fieldset-content {
|
17
|
+
width: 100%;
|
18
|
+
height: 100%;
|
19
|
+
display: block;
|
20
|
+
margin-block-end: 0.5em;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|