tntd 3.0.18 → 3.0.19
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/es/title/index.less +47 -45
- package/lib/title/index.less +47 -45
- package/package.json +1 -1
package/es/title/index.less
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
justify-content: space-between;
|
|
7
|
-
.tntd-title-text{
|
|
8
|
-
|
|
7
|
+
.tntd-title-text {
|
|
8
|
+
height: 100%;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
&.large
|
|
96
|
+
&.large,
|
|
97
|
+
&.h1 {
|
|
97
98
|
& {
|
|
98
99
|
height: 40px;
|
|
99
100
|
line-height: 40px;
|
|
@@ -104,14 +105,14 @@
|
|
|
104
105
|
}
|
|
105
106
|
&::before {
|
|
106
107
|
height: 16px;
|
|
107
|
-
top: 12px;
|
|
108
108
|
}
|
|
109
109
|
.sub-title {
|
|
110
110
|
font-size: 16px;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
&.middle
|
|
114
|
+
&.middle,
|
|
115
|
+
&.h2 {
|
|
115
116
|
& {
|
|
116
117
|
height: 36px;
|
|
117
118
|
line-height: 36px;
|
|
@@ -122,56 +123,58 @@
|
|
|
122
123
|
}
|
|
123
124
|
&::before {
|
|
124
125
|
height: 14px;
|
|
125
|
-
top: 11px;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
&.h3
|
|
129
|
+
&.h3,
|
|
130
|
+
&.h4,
|
|
131
|
+
&.h5,
|
|
132
|
+
&.small {
|
|
130
133
|
& {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
134
|
+
height: 22px;
|
|
135
|
+
line-height: 22px;
|
|
136
|
+
.tntd-title-text {
|
|
137
|
+
h3 {
|
|
138
|
+
font-size: 14px;
|
|
139
|
+
}
|
|
140
|
+
.sub-title {
|
|
141
|
+
font-size: 14px;
|
|
140
142
|
}
|
|
143
|
+
}
|
|
141
144
|
}
|
|
142
145
|
}
|
|
143
146
|
// 默认h3 和 small
|
|
144
|
-
&.h3
|
|
147
|
+
&.h3,
|
|
148
|
+
&.small {
|
|
145
149
|
.tntd-title-text {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
150
|
+
&::before {
|
|
151
|
+
height: 12px;
|
|
152
|
+
}
|
|
153
|
+
h3 {
|
|
154
|
+
font-weight: bold;
|
|
155
|
+
}
|
|
153
156
|
}
|
|
154
157
|
}
|
|
155
158
|
&.h4 {
|
|
156
159
|
.tntd-title-text {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
&::before {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
h3 {
|
|
164
|
+
font-weight: bold;
|
|
165
|
+
margin-left: 0;
|
|
166
|
+
}
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
169
|
&.h5 {
|
|
167
170
|
.tntd-title-text {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
171
|
+
&::before {
|
|
172
|
+
display: none;
|
|
173
|
+
}
|
|
174
|
+
h3 {
|
|
175
|
+
margin-left: 0;
|
|
176
|
+
font-weight: normal;
|
|
177
|
+
}
|
|
175
178
|
}
|
|
176
179
|
}
|
|
177
180
|
.tntd-title-text {
|
|
@@ -179,7 +182,7 @@
|
|
|
179
182
|
position: relative;
|
|
180
183
|
display: flex;
|
|
181
184
|
align-items: center;
|
|
182
|
-
flex:1;
|
|
185
|
+
flex: 1;
|
|
183
186
|
min-width: 0;
|
|
184
187
|
}
|
|
185
188
|
h3 {
|
|
@@ -191,7 +194,7 @@
|
|
|
191
194
|
white-space: nowrap;
|
|
192
195
|
overflow: hidden;
|
|
193
196
|
text-overflow: ellipsis;
|
|
194
|
-
&.has-sub-title{
|
|
197
|
+
&.has-sub-title {
|
|
195
198
|
max-width: 70%;
|
|
196
199
|
}
|
|
197
200
|
}
|
|
@@ -205,15 +208,14 @@
|
|
|
205
208
|
text-overflow: ellipsis;
|
|
206
209
|
margin-left: 8px;
|
|
207
210
|
}
|
|
208
|
-
.sub-tip{
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
.sub-tip {
|
|
212
|
+
margin-left: 4px;
|
|
213
|
+
font-size: 16px;
|
|
214
|
+
color: @text-color;
|
|
212
215
|
}
|
|
213
216
|
&::before {
|
|
214
217
|
position: absolute;
|
|
215
218
|
left: 0;
|
|
216
|
-
top: 10px;
|
|
217
219
|
background-color: @primary-color;
|
|
218
220
|
content: '';
|
|
219
221
|
width: 4px;
|
package/lib/title/index.less
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
justify-content: space-between;
|
|
7
|
-
.tntd-title-text{
|
|
8
|
-
|
|
7
|
+
.tntd-title-text {
|
|
8
|
+
height: 100%;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
&.large
|
|
96
|
+
&.large,
|
|
97
|
+
&.h1 {
|
|
97
98
|
& {
|
|
98
99
|
height: 40px;
|
|
99
100
|
line-height: 40px;
|
|
@@ -104,14 +105,14 @@
|
|
|
104
105
|
}
|
|
105
106
|
&::before {
|
|
106
107
|
height: 16px;
|
|
107
|
-
top: 12px;
|
|
108
108
|
}
|
|
109
109
|
.sub-title {
|
|
110
110
|
font-size: 16px;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
&.middle
|
|
114
|
+
&.middle,
|
|
115
|
+
&.h2 {
|
|
115
116
|
& {
|
|
116
117
|
height: 36px;
|
|
117
118
|
line-height: 36px;
|
|
@@ -122,56 +123,58 @@
|
|
|
122
123
|
}
|
|
123
124
|
&::before {
|
|
124
125
|
height: 14px;
|
|
125
|
-
top: 11px;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
&.h3
|
|
129
|
+
&.h3,
|
|
130
|
+
&.h4,
|
|
131
|
+
&.h5,
|
|
132
|
+
&.small {
|
|
130
133
|
& {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
134
|
+
height: 22px;
|
|
135
|
+
line-height: 22px;
|
|
136
|
+
.tntd-title-text {
|
|
137
|
+
h3 {
|
|
138
|
+
font-size: 14px;
|
|
139
|
+
}
|
|
140
|
+
.sub-title {
|
|
141
|
+
font-size: 14px;
|
|
140
142
|
}
|
|
143
|
+
}
|
|
141
144
|
}
|
|
142
145
|
}
|
|
143
146
|
// 默认h3 和 small
|
|
144
|
-
&.h3
|
|
147
|
+
&.h3,
|
|
148
|
+
&.small {
|
|
145
149
|
.tntd-title-text {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
150
|
+
&::before {
|
|
151
|
+
height: 12px;
|
|
152
|
+
}
|
|
153
|
+
h3 {
|
|
154
|
+
font-weight: bold;
|
|
155
|
+
}
|
|
153
156
|
}
|
|
154
157
|
}
|
|
155
158
|
&.h4 {
|
|
156
159
|
.tntd-title-text {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
&::before {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
h3 {
|
|
164
|
+
font-weight: bold;
|
|
165
|
+
margin-left: 0;
|
|
166
|
+
}
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
169
|
&.h5 {
|
|
167
170
|
.tntd-title-text {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
171
|
+
&::before {
|
|
172
|
+
display: none;
|
|
173
|
+
}
|
|
174
|
+
h3 {
|
|
175
|
+
margin-left: 0;
|
|
176
|
+
font-weight: normal;
|
|
177
|
+
}
|
|
175
178
|
}
|
|
176
179
|
}
|
|
177
180
|
.tntd-title-text {
|
|
@@ -179,7 +182,7 @@
|
|
|
179
182
|
position: relative;
|
|
180
183
|
display: flex;
|
|
181
184
|
align-items: center;
|
|
182
|
-
flex:1;
|
|
185
|
+
flex: 1;
|
|
183
186
|
min-width: 0;
|
|
184
187
|
}
|
|
185
188
|
h3 {
|
|
@@ -191,7 +194,7 @@
|
|
|
191
194
|
white-space: nowrap;
|
|
192
195
|
overflow: hidden;
|
|
193
196
|
text-overflow: ellipsis;
|
|
194
|
-
&.has-sub-title{
|
|
197
|
+
&.has-sub-title {
|
|
195
198
|
max-width: 70%;
|
|
196
199
|
}
|
|
197
200
|
}
|
|
@@ -205,15 +208,14 @@
|
|
|
205
208
|
text-overflow: ellipsis;
|
|
206
209
|
margin-left: 8px;
|
|
207
210
|
}
|
|
208
|
-
.sub-tip{
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
.sub-tip {
|
|
212
|
+
margin-left: 4px;
|
|
213
|
+
font-size: 16px;
|
|
214
|
+
color: @text-color;
|
|
212
215
|
}
|
|
213
216
|
&::before {
|
|
214
217
|
position: absolute;
|
|
215
218
|
left: 0;
|
|
216
|
-
top: 10px;
|
|
217
219
|
background-color: @primary-color;
|
|
218
220
|
content: '';
|
|
219
221
|
width: 4px;
|