vue-element-ui-x 0.1.7-beta → 0.1.9-beta

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,112 +1,112 @@
1
- @import '../theme/var';
2
-
3
- .el-x-thinking {
4
- margin: 0 auto;
5
- }
6
-
7
- .trigger {
8
- display: flex;
9
- align-items: center;
10
- height: 100%;
11
- width: var(--el-x-thinking-button-width);
12
- gap: $--el-x-spacing-xs;
13
- padding: $--el-x-padding-sm calc($--el-x-padding-sm + 4px);
14
- border: $--el-x-border-width $--border-style-base $--el-x-border-color;
15
- border-radius: $--el-x-border-radius-md;
16
- background: $--color-white;
17
- cursor: pointer;
18
- margin-bottom: $--el-x-spacing-xs;
19
-
20
- .el-icon-center {
21
- height: 100%;
22
- display: flex;
23
- align-items: center;
24
- }
25
-
26
- .start-color {
27
- color: $--color-warning;
28
- }
29
-
30
- .end-color {
31
- color: $--color-success;
32
- }
33
-
34
- .is-loading {
35
- color: $--el-x-color-primary;
36
- }
37
-
38
- .error-color {
39
- color: $--color-danger;
40
- }
41
- }
42
-
43
- .trigger:hover {
44
- background: $--background-color-base;
45
- }
46
-
47
- .trigger.disabled {
48
- cursor: pointer;
49
- }
50
-
51
- .trigger:disabled {
52
- cursor: not-allowed;
53
- opacity: 0.7;
54
- }
55
-
56
- .status-icon {
57
- font-size: $--el-x-font-size-medium;
58
- }
59
-
60
- .arrow {
61
- margin-left: auto;
62
- transition: transform var(--el-x-thinking-animation-duration);
63
- }
64
-
65
- .arrow.expanded {
66
- transform: rotate(180deg);
67
- }
68
-
69
- .slide-enter-active,
70
- .slide-leave-active {
71
- height: max-content;
72
- transition: height var(--el-x-thinking-animation-duration) ease-in-out,
73
- opacity var(--el-x-thinking-animation-duration) ease-in-out;
74
- overflow: hidden;
75
- }
76
-
77
- .slide-enter-from,
78
- .slide-leave-to {
79
- height: 0 !important;
80
- opacity: 0;
81
- }
82
-
83
- .content-wrapper {
84
- box-sizing: border-box;
85
- min-width: 0;
86
- }
87
-
88
- .content pre {
89
- border: $--el-x-border-width $--border-style-base $--el-x-border-color;
90
- background: var(--el-x-thinking-content-wrapper-background-color);
91
- padding: $--el-x-padding-sm calc($--el-x-padding-sm + 4px);
92
- border-radius: $--el-x-border-radius-lg;
93
- max-width: var(--el-x-thinking-content-wrapper-width);
94
- font-size: $--el-x-font-size-base;
95
- color: var(--el-x-thinking-content-wrapper-color);
96
- white-space: pre-wrap;
97
- margin: 0;
98
- line-height: $--el-x-font-line-height-primary;
99
- }
100
-
101
- .error-state {
102
- border-color: $--color-danger-lighter;
103
- background: $--color-danger-lighter;
104
- }
105
-
106
- .error-message {
107
- color: $--color-danger;
108
- height: fit-content;
109
- padding: $--el-x-spacing-xs;
110
- background: $--color-danger-lighter;
111
- border-radius: $--el-x-border-radius-md;
112
- }
1
+ @import '../theme/var';
2
+
3
+ .el-x-thinking {
4
+ margin: 0 auto;
5
+ }
6
+
7
+ .trigger {
8
+ display: flex;
9
+ align-items: center;
10
+ height: 100%;
11
+ width: var(--el-x-thinking-button-width);
12
+ gap: $--el-x-spacing-xs;
13
+ padding: $--el-x-padding-sm calc($--el-x-padding-sm + 4px);
14
+ border: $--el-x-border-width $--border-style-base $--el-x-border-color;
15
+ border-radius: $--el-x-border-radius-md;
16
+ background: $--color-white;
17
+ cursor: pointer;
18
+ margin-bottom: $--el-x-spacing-xs;
19
+
20
+ .el-icon-center {
21
+ height: 100%;
22
+ display: flex;
23
+ align-items: center;
24
+ }
25
+
26
+ .start-color {
27
+ color: $--color-warning;
28
+ }
29
+
30
+ .end-color {
31
+ color: $--color-success;
32
+ }
33
+
34
+ .is-loading {
35
+ color: $--el-x-color-primary;
36
+ }
37
+
38
+ .error-color {
39
+ color: $--color-danger;
40
+ }
41
+ }
42
+
43
+ .trigger:hover {
44
+ background: $--background-color-base;
45
+ }
46
+
47
+ .trigger.disabled {
48
+ cursor: pointer;
49
+ }
50
+
51
+ .trigger:disabled {
52
+ cursor: not-allowed;
53
+ opacity: 0.7;
54
+ }
55
+
56
+ .status-icon {
57
+ font-size: $--el-x-font-size-medium;
58
+ }
59
+
60
+ .thinking-arrow {
61
+ margin-left: auto;
62
+ transition: transform var(--el-x-thinking-animation-duration);
63
+ }
64
+
65
+ .thinking-arrow.expanded {
66
+ transform: rotate(180deg);
67
+ }
68
+
69
+ .slide-enter-active,
70
+ .slide-leave-active {
71
+ height: max-content;
72
+ transition: height var(--el-x-thinking-animation-duration) ease-in-out,
73
+ opacity var(--el-x-thinking-animation-duration) ease-in-out;
74
+ overflow: hidden;
75
+ }
76
+
77
+ .slide-enter-from,
78
+ .slide-leave-to {
79
+ height: 0 !important;
80
+ opacity: 0;
81
+ }
82
+
83
+ .content-wrapper {
84
+ box-sizing: border-box;
85
+ min-width: 0;
86
+ }
87
+
88
+ .content pre {
89
+ border: $--el-x-border-width $--border-style-base $--el-x-border-color;
90
+ background: var(--el-x-thinking-content-wrapper-background-color);
91
+ padding: $--el-x-padding-sm calc($--el-x-padding-sm + 4px);
92
+ border-radius: $--el-x-border-radius-lg;
93
+ max-width: var(--el-x-thinking-content-wrapper-width);
94
+ font-size: $--el-x-font-size-base;
95
+ color: var(--el-x-thinking-content-wrapper-color);
96
+ white-space: pre-wrap;
97
+ margin: 0;
98
+ line-height: $--el-x-font-line-height-primary;
99
+ }
100
+
101
+ .error-state {
102
+ border-color: $--color-danger-lighter;
103
+ background: $--color-danger-lighter;
104
+ }
105
+
106
+ .error-message {
107
+ color: $--color-danger;
108
+ height: fit-content;
109
+ padding: $--el-x-spacing-xs;
110
+ background: $--color-danger-lighter;
111
+ border-radius: $--el-x-border-radius-md;
112
+ }