azion-theme 1.7.3 → 1.8.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/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/src/azion/_custom.scss +2 -1
- package/src/azion/_variables.scss +4 -0
- package/src/azion/custom/_special-button.scss +57 -0
- package/src/azion/extended-components/_datatable.scss +8 -0
- package/src/azion-dark/_custom.scss +2 -1
- package/src/azion-dark/custom/_special-button.scss +56 -0
- package/src/azion-dark/extended-components/_datatable.scss +8 -0
- package/src/azion-light/_custom.scss +2 -1
- package/src/azion-light/custom/_special-button.scss +56 -0
- package/src/azion-light/extended-components/_datatable.scss +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [1.8.0](https://github.com/aziontech/azion-theme/compare/v1.7.4...v1.8.0) (2024-11-13)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* special button styles and variables ([#29](https://github.com/aziontech/azion-theme/issues/29)) ([a518a0d](https://github.com/aziontech/azion-theme/commit/a518a0ddd985995d3679189d0a0c5bced5879eb6))
|
|
6
|
+
|
|
7
|
+
## [1.7.4](https://github.com/aziontech/azion-theme/compare/v1.7.3...v1.7.4) (2024-11-08)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* hover emptydatatable ([#28](https://github.com/aziontech/azion-theme/issues/28)) ([f552d10](https://github.com/aziontech/azion-theme/commit/f552d105e7306695547b84d5b03200fb86a0b434))
|
|
12
|
+
|
|
1
13
|
## [1.7.3](https://github.com/aziontech/azion-theme/compare/v1.7.2...v1.7.3) (2024-09-18)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/package.json
CHANGED
package/src/azion/_custom.scss
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
@import './custom/selection'
|
|
1
|
+
@import './custom/selection';
|
|
2
|
+
@import './custom/special-button';
|
|
@@ -227,6 +227,8 @@ $colors: (
|
|
|
227
227
|
--carousel-indicator: #e9ecef20;
|
|
228
228
|
--carousel-indicator-highlight: #ededed;
|
|
229
229
|
--carousel-indicator-hover: #dee2e640;
|
|
230
|
+
--special-button-bg: rgba(23, 23, 23, 0.85);
|
|
231
|
+
--special-button-hover-bg: rgba(23, 23, 23, 0.25);
|
|
230
232
|
}
|
|
231
233
|
|
|
232
234
|
:root.azion.azion-light {
|
|
@@ -387,4 +389,6 @@ $colors: (
|
|
|
387
389
|
--carousel-indicator: #e9ecef;
|
|
388
390
|
--carousel-indicator-highlight: #1c1c1c;
|
|
389
391
|
--carousel-indicator-hover: #dee2e6;
|
|
392
|
+
--special-button-bg: rgba(255, 255, 255);
|
|
393
|
+
--special-button-hover-bg: rgba(255, 255, 255, 0.85);
|
|
390
394
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.special-button {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
border: none;
|
|
7
|
+
padding: 1px;
|
|
8
|
+
background-color: transparent;
|
|
9
|
+
border-radius: 0.375rem;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
transition: background-color 0.3s ease;
|
|
12
|
+
|
|
13
|
+
&::before {
|
|
14
|
+
content: '';
|
|
15
|
+
position: absolute;
|
|
16
|
+
inset: 0;
|
|
17
|
+
filter: blur(12px);
|
|
18
|
+
background: linear-gradient(
|
|
19
|
+
90deg,
|
|
20
|
+
rgba(255, 255, 255, 1), /* white */
|
|
21
|
+
rgba(0, 20, 255, 1), /* violet */
|
|
22
|
+
rgba(255, 120, 0, 1) /* orange */
|
|
23
|
+
);
|
|
24
|
+
animation: rotate-background 8s linear infinite;
|
|
25
|
+
z-index: 1;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:hover .special-button-content {
|
|
30
|
+
background-color: var(--special-button-hover-bg);
|
|
31
|
+
box-shadow: inset 0 0 0 0px var(--surface-border);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.special-button-content {
|
|
36
|
+
position: relative;
|
|
37
|
+
z-index: 2;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 0.375rem;
|
|
41
|
+
padding: 0 0.75rem;
|
|
42
|
+
height: 2rem;
|
|
43
|
+
border-radius: 0.375rem;
|
|
44
|
+
background-color: var(--special-button-bg);
|
|
45
|
+
transition: background-color 0.3s ease;
|
|
46
|
+
box-shadow: inset 0 0 0 .5px var(--surface-border);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@keyframes rotate-background {
|
|
50
|
+
0% {
|
|
51
|
+
transform: rotate(0deg);
|
|
52
|
+
}
|
|
53
|
+
100% {
|
|
54
|
+
transform: rotate(360deg);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
border-top-left-radius: $borderRadius;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
.p-datatable-tbody > .p-datatable-emptymessage:hover {
|
|
13
|
+
background: unset !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
.p-datatable-tbody > tr > td {
|
|
13
17
|
box-sizing: inherit !important;
|
|
14
18
|
font-size: 0.875rem;
|
|
@@ -52,6 +56,10 @@
|
|
|
52
56
|
.p-datatable-wrapper {
|
|
53
57
|
overscroll-behavior: revert !important;
|
|
54
58
|
}
|
|
59
|
+
|
|
60
|
+
.p-datatable-tbody > .p-datatable-emptymessage:hover {
|
|
61
|
+
background: unset !important;
|
|
62
|
+
}
|
|
55
63
|
}
|
|
56
64
|
|
|
57
65
|
.p-overlaypanel:has(.hidden-columns-panel) {
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
@import './custom/selection'
|
|
1
|
+
@import './custom/selection';
|
|
2
|
+
@import './custom/special-button';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.special-button {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
border: none;
|
|
7
|
+
padding: 1px;
|
|
8
|
+
background-color: transparent;
|
|
9
|
+
border-radius: 0.375rem;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
transition: background-color 0.3s ease;
|
|
12
|
+
|
|
13
|
+
&::before {
|
|
14
|
+
content: '';
|
|
15
|
+
position: absolute;
|
|
16
|
+
inset: 0;
|
|
17
|
+
filter: blur(12px);
|
|
18
|
+
background: linear-gradient(
|
|
19
|
+
90deg,
|
|
20
|
+
rgba(255, 255, 255, 1), /* white */
|
|
21
|
+
rgba(0, 20, 255, 1), /* violet */
|
|
22
|
+
rgba(255, 120, 0, 1) /* orange */
|
|
23
|
+
);
|
|
24
|
+
animation: rotate-background 8s linear infinite;
|
|
25
|
+
z-index: 1;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:hover .special-button-content {
|
|
30
|
+
background-color: var(--special-button-hover-bg);
|
|
31
|
+
box-shadow: inset 0 0 0 0px var(--surface-border);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.special-button-content {
|
|
36
|
+
position: relative;
|
|
37
|
+
z-index: 2;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 0.375rem;
|
|
41
|
+
padding: 0 0.75rem;
|
|
42
|
+
height: 2rem;
|
|
43
|
+
border-radius: 0.375rem;
|
|
44
|
+
background-color: var(--special-button-bg);
|
|
45
|
+
transition: background-color 0.3s ease;
|
|
46
|
+
box-shadow: inset 0 0 0 .5px var(--surface-border);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@keyframes rotate-background {
|
|
50
|
+
0% {
|
|
51
|
+
transform: rotate(0deg);
|
|
52
|
+
}
|
|
53
|
+
100% {
|
|
54
|
+
transform: rotate(360deg);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
border-top-left-radius: $borderRadius;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
.p-datatable-tbody > .p-datatable-emptymessage:hover {
|
|
13
|
+
background: unset !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
.p-datatable-tbody > tr > td {
|
|
13
17
|
box-sizing: inherit !important;
|
|
14
18
|
font-size: 0.875rem;
|
|
@@ -52,6 +56,10 @@
|
|
|
52
56
|
.p-datatable-wrapper {
|
|
53
57
|
overscroll-behavior: revert !important;
|
|
54
58
|
}
|
|
59
|
+
|
|
60
|
+
.p-datatable-tbody > .p-datatable-emptymessage:hover {
|
|
61
|
+
background: unset !important;
|
|
62
|
+
}
|
|
55
63
|
}
|
|
56
64
|
|
|
57
65
|
.p-overlaypanel:has(.hidden-columns-panel) {
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
@import './custom/selection'
|
|
1
|
+
@import './custom/selection';
|
|
2
|
+
@import './custom/special-button';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.special-button {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
border: none;
|
|
7
|
+
padding: 1px;
|
|
8
|
+
background-color: transparent;
|
|
9
|
+
border-radius: 0.375rem;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
transition: background-color 0.3s ease;
|
|
12
|
+
|
|
13
|
+
&::before {
|
|
14
|
+
content: '';
|
|
15
|
+
position: absolute;
|
|
16
|
+
inset: 0;
|
|
17
|
+
filter: blur(12px);
|
|
18
|
+
background: linear-gradient(
|
|
19
|
+
90deg,
|
|
20
|
+
rgba(255, 255, 255, 1), /* white */
|
|
21
|
+
rgba(0, 20, 255, 1), /* violet */
|
|
22
|
+
rgba(255, 120, 0, 1) /* orange */
|
|
23
|
+
);
|
|
24
|
+
animation: rotate-background 8s linear infinite;
|
|
25
|
+
z-index: 1;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:hover .special-button-content {
|
|
30
|
+
background-color: var(--special-button-hover-bg);
|
|
31
|
+
box-shadow: inset 0 0 0 0px var(--surface-border);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.special-button-content {
|
|
36
|
+
position: relative;
|
|
37
|
+
z-index: 2;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 0.375rem;
|
|
41
|
+
padding: 0 0.75rem;
|
|
42
|
+
height: 2rem;
|
|
43
|
+
border-radius: 0.375rem;
|
|
44
|
+
background-color: var(--special-button-bg);
|
|
45
|
+
transition: background-color 0.3s ease;
|
|
46
|
+
box-shadow: inset 0 0 0 .5px var(--surface-border);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@keyframes rotate-background {
|
|
50
|
+
0% {
|
|
51
|
+
transform: rotate(0deg);
|
|
52
|
+
}
|
|
53
|
+
100% {
|
|
54
|
+
transform: rotate(360deg);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
border-top-left-radius: $borderRadius;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
.p-datatable-tbody > .p-datatable-emptymessage:hover {
|
|
13
|
+
background: unset !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
.p-datatable-tbody > tr > td {
|
|
13
17
|
box-sizing: inherit !important;
|
|
14
18
|
font-size: 0.875rem;
|
|
@@ -54,6 +58,10 @@
|
|
|
54
58
|
.p-datatable-wrapper {
|
|
55
59
|
overscroll-behavior: revert !important;
|
|
56
60
|
}
|
|
61
|
+
|
|
62
|
+
.p-datatable-tbody > .p-datatable-emptymessage:hover {
|
|
63
|
+
background: unset !important;
|
|
64
|
+
}
|
|
57
65
|
}
|
|
58
66
|
|
|
59
67
|
.p-overlaypanel:has(.hidden-columns-panel) {
|