tntd 3.0.71 → 3.0.74
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.
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
&:hover,
|
|
52
52
|
&:focus {
|
|
53
|
-
.button-color(~`colorPalette('@{btn-primary-bg}',
|
|
53
|
+
.button-color(~`colorPalette('@{btn-primary-bg}', 6) `; @background; ~`colorPalette('@{btn-primary-bg}', 6) `);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:active,
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
|
|
257
257
|
// link button style
|
|
258
258
|
.btn-link() {
|
|
259
|
-
.button-variant-other(@link-color, transparent,
|
|
259
|
+
.button-variant-other(@link-color, transparent, @btn-default-border);
|
|
260
260
|
box-shadow: none;
|
|
261
261
|
|
|
262
262
|
&:hover,
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
z-index: 200;
|
|
10
10
|
cursor: grab;
|
|
11
11
|
box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.25), 0px 1px 1px 0px #263354 inset;
|
|
12
|
+
|
|
12
13
|
&-text {
|
|
13
14
|
color: @white;
|
|
14
15
|
margin-left: 20px;
|
|
15
16
|
font-size: 14px;
|
|
16
17
|
user-select: none;
|
|
18
|
+
|
|
17
19
|
.num {
|
|
18
20
|
display: inline-block;
|
|
19
21
|
width: 16px;
|
|
@@ -26,7 +28,8 @@
|
|
|
26
28
|
text-align: center;
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
|
-
|
|
31
|
+
|
|
32
|
+
>.tnt-btn-tertiary {
|
|
30
33
|
opacity: 0.5;
|
|
31
34
|
background: #454f64;
|
|
32
35
|
color: @white;
|
|
@@ -37,46 +40,61 @@
|
|
|
37
40
|
line-height: @tnt-action-close-width;
|
|
38
41
|
margin-top: 4px;
|
|
39
42
|
font-size: 14px;
|
|
43
|
+
|
|
40
44
|
&:hover {
|
|
41
45
|
opacity: 0.8;
|
|
42
46
|
}
|
|
43
47
|
}
|
|
48
|
+
|
|
44
49
|
.fr {
|
|
45
50
|
float: right;
|
|
51
|
+
|
|
46
52
|
.ant-btn {
|
|
47
53
|
margin-left: 10px;
|
|
54
|
+
|
|
48
55
|
.tntd-anticon {
|
|
49
56
|
margin-right: 4px;
|
|
50
57
|
}
|
|
51
58
|
}
|
|
59
|
+
|
|
52
60
|
.ant-btn:not(.ant-btn-danger) {
|
|
53
61
|
background: rgba(69, 79, 100, 0.5);
|
|
54
62
|
color: @white;
|
|
55
63
|
border-width: 0;
|
|
64
|
+
|
|
56
65
|
&:hover {
|
|
57
66
|
background: rgba(69, 79, 100, 0.8);
|
|
58
67
|
}
|
|
59
68
|
}
|
|
60
69
|
}
|
|
70
|
+
|
|
61
71
|
&-dropdown {
|
|
62
72
|
&-btn {
|
|
63
73
|
margin-left: 8px !important;
|
|
64
74
|
border-radius: @border-radius-base !important;
|
|
65
75
|
}
|
|
76
|
+
|
|
66
77
|
.ant-dropdown-menu-item {
|
|
67
78
|
.ant-btn {
|
|
68
|
-
display:
|
|
79
|
+
display: block;
|
|
69
80
|
padding: 0;
|
|
70
81
|
height: auto;
|
|
71
82
|
border: none;
|
|
72
83
|
background-color: transparent;
|
|
73
84
|
color: inherit;
|
|
85
|
+
width: calc(100% + 24px);
|
|
86
|
+
text-align: left;
|
|
87
|
+
padding: 5px 12px;
|
|
88
|
+
margin: -5px -12px;
|
|
89
|
+
|
|
74
90
|
&:hover,
|
|
75
91
|
&:active {
|
|
76
92
|
color: inherit;
|
|
77
93
|
}
|
|
94
|
+
|
|
78
95
|
&[disabled] {
|
|
79
96
|
color: @disabled-color;
|
|
97
|
+
|
|
80
98
|
&:hover,
|
|
81
99
|
&:active {
|
|
82
100
|
color: @disabled-color;
|
|
@@ -89,8 +107,8 @@
|
|
|
89
107
|
|
|
90
108
|
// 全局设置
|
|
91
109
|
.ant-btn-group:has(.tnt-action-dropdown-btn) {
|
|
92
|
-
|
|
110
|
+
&>.ant-btn:nth-last-child(2) {
|
|
93
111
|
border-top-right-radius: @border-radius-base;
|
|
94
112
|
border-bottom-right-radius: @border-radius-base;
|
|
95
113
|
}
|
|
96
|
-
}
|
|
114
|
+
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
&:hover,
|
|
52
52
|
&:focus {
|
|
53
|
-
.button-color(~`colorPalette('@{btn-primary-bg}',
|
|
53
|
+
.button-color(~`colorPalette('@{btn-primary-bg}', 6) `; @background; ~`colorPalette('@{btn-primary-bg}', 6) `);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:active,
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
|
|
257
257
|
// link button style
|
|
258
258
|
.btn-link() {
|
|
259
|
-
.button-variant-other(@link-color, transparent,
|
|
259
|
+
.button-variant-other(@link-color, transparent, @btn-default-border);
|
|
260
260
|
box-shadow: none;
|
|
261
261
|
|
|
262
262
|
&:hover,
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
z-index: 200;
|
|
10
10
|
cursor: grab;
|
|
11
11
|
box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.25), 0px 1px 1px 0px #263354 inset;
|
|
12
|
+
|
|
12
13
|
&-text {
|
|
13
14
|
color: @white;
|
|
14
15
|
margin-left: 20px;
|
|
15
16
|
font-size: 14px;
|
|
16
17
|
user-select: none;
|
|
18
|
+
|
|
17
19
|
.num {
|
|
18
20
|
display: inline-block;
|
|
19
21
|
width: 16px;
|
|
@@ -26,7 +28,8 @@
|
|
|
26
28
|
text-align: center;
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
|
-
|
|
31
|
+
|
|
32
|
+
>.tnt-btn-tertiary {
|
|
30
33
|
opacity: 0.5;
|
|
31
34
|
background: #454f64;
|
|
32
35
|
color: @white;
|
|
@@ -37,46 +40,61 @@
|
|
|
37
40
|
line-height: @tnt-action-close-width;
|
|
38
41
|
margin-top: 4px;
|
|
39
42
|
font-size: 14px;
|
|
43
|
+
|
|
40
44
|
&:hover {
|
|
41
45
|
opacity: 0.8;
|
|
42
46
|
}
|
|
43
47
|
}
|
|
48
|
+
|
|
44
49
|
.fr {
|
|
45
50
|
float: right;
|
|
51
|
+
|
|
46
52
|
.ant-btn {
|
|
47
53
|
margin-left: 10px;
|
|
54
|
+
|
|
48
55
|
.tntd-anticon {
|
|
49
56
|
margin-right: 4px;
|
|
50
57
|
}
|
|
51
58
|
}
|
|
59
|
+
|
|
52
60
|
.ant-btn:not(.ant-btn-danger) {
|
|
53
61
|
background: rgba(69, 79, 100, 0.5);
|
|
54
62
|
color: @white;
|
|
55
63
|
border-width: 0;
|
|
64
|
+
|
|
56
65
|
&:hover {
|
|
57
66
|
background: rgba(69, 79, 100, 0.8);
|
|
58
67
|
}
|
|
59
68
|
}
|
|
60
69
|
}
|
|
70
|
+
|
|
61
71
|
&-dropdown {
|
|
62
72
|
&-btn {
|
|
63
73
|
margin-left: 8px !important;
|
|
64
74
|
border-radius: @border-radius-base !important;
|
|
65
75
|
}
|
|
76
|
+
|
|
66
77
|
.ant-dropdown-menu-item {
|
|
67
78
|
.ant-btn {
|
|
68
|
-
display:
|
|
79
|
+
display: block;
|
|
69
80
|
padding: 0;
|
|
70
81
|
height: auto;
|
|
71
82
|
border: none;
|
|
72
83
|
background-color: transparent;
|
|
73
84
|
color: inherit;
|
|
85
|
+
width: calc(100% + 24px);
|
|
86
|
+
text-align: left;
|
|
87
|
+
padding: 5px 12px;
|
|
88
|
+
margin: -5px -12px;
|
|
89
|
+
|
|
74
90
|
&:hover,
|
|
75
91
|
&:active {
|
|
76
92
|
color: inherit;
|
|
77
93
|
}
|
|
94
|
+
|
|
78
95
|
&[disabled] {
|
|
79
96
|
color: @disabled-color;
|
|
97
|
+
|
|
80
98
|
&:hover,
|
|
81
99
|
&:active {
|
|
82
100
|
color: @disabled-color;
|
|
@@ -89,8 +107,8 @@
|
|
|
89
107
|
|
|
90
108
|
// 全局设置
|
|
91
109
|
.ant-btn-group:has(.tnt-action-dropdown-btn) {
|
|
92
|
-
|
|
110
|
+
&>.ant-btn:nth-last-child(2) {
|
|
93
111
|
border-top-right-radius: @border-radius-base;
|
|
94
112
|
border-bottom-right-radius: @border-radius-base;
|
|
95
113
|
}
|
|
96
|
-
}
|
|
114
|
+
}
|