|
18 | 18 | @svg-prefix-cls: ~'@{css-prefix}svg'; |
19 | 19 |
|
20 | 20 | .@{bulletin-board-prefix-cls} { |
21 | | - .component-css-vars-bulletin-board(); |
| 21 | + .inject-BulletinBoard-vars(); |
22 | 22 |
|
23 | 23 | &__item { |
24 | | - margin-bottom: var(--ti-bulletin-board-item-margin-bottom); |
| 24 | + margin-bottom: 24px; |
25 | 25 |
|
26 | 26 | .@{bulletin-board-prefix-cls}__textTitle { |
27 | 27 | display: block; |
28 | | - color: var(--ti-bulletin-board-item-title-text-color); |
29 | | - margin-bottom: var(--ti-bulletin-board-item-title-text-margin-bottom); |
| 28 | + color: var(--tv-BulletinBoard-item-title-text-color); |
| 29 | + margin-bottom: 8px; |
30 | 30 | font-size: var(--ti-common-font-size-base); |
31 | 31 | white-space: normal; |
32 | | - font-family: Helvetica, Arial, 'microsoft yahei'; |
33 | 32 | line-height: initial; |
34 | | - font-weight: var(--ti-bulletin-board-item-title-font-weight); |
| 33 | + font-weight: var(--tv-BulletinBoard-item-title-font-weight); |
35 | 34 |
|
36 | 35 | &, |
37 | 36 | &:hover { |
|
40 | 39 | } |
41 | 40 |
|
42 | 41 | .@{bulletin-board-prefix-cls}__textDate { |
43 | | - color: var(--ti-bulletin-board-item-date-text-color); |
44 | | - font-size: var(--ti-bulletin-board-item-date-font-size); |
| 42 | + color: var(--tv-BulletinBoard-item-date-text-color); |
| 43 | + font-size: var(--tv-BulletinBoard-item-date-font-size); |
45 | 44 | } |
46 | 45 | } |
47 | 46 |
|
48 | 47 | &__title { |
49 | | - font-size: var(--ti-bulletin-board-title-font-size); |
50 | | - padding: 12px 0px 8px 24px; |
51 | | - color: var(--ti-bulletin-board-title-text-color); |
52 | | - font-weight: var(--ti-bulletin-board-title-font-weight); |
| 48 | + font-size: var(--tv-BulletinBoard-title-font-size); |
| 49 | + padding: 12px 0 8px 24px; |
| 50 | + color: var(--tv-BulletinBoard-title-text-color); |
| 51 | + font-weight: var(--tv-BulletinBoard-title-font-weight); |
53 | 52 | } |
54 | 53 |
|
55 | 54 | &__more { |
56 | 55 | text-align: right; |
57 | 56 |
|
58 | 57 | & &-link { |
59 | | - color: var(--ti-bulletin-board-more-text-color); |
60 | | - font-size: var(--ti-bulletin-board-more-font-size); |
| 58 | + color: var(--tv-BulletinBoard-more-text-color); |
| 59 | + font-size: var(--tv-BulletinBoard-more-font-size); |
61 | 60 | line-height: normal; |
62 | 61 | display: inline-flex; |
63 | 62 | justify-content: center; |
64 | 63 | align-items: center; |
65 | 64 |
|
66 | 65 | .@{svg-prefix-cls} { |
67 | | - fill: var(--ti-bulletin-board-more-text-color); |
68 | | - font-size: var(--ti-bulletin-board-more-icon-font-size); |
| 66 | + fill: var(--tv-BulletinBoard-more-icon-color); |
| 67 | + font-size: var(--tv-BulletinBoard-more-icon-font-size); |
69 | 68 | margin-left: 4px; |
70 | 69 | } |
71 | 70 |
|
72 | 71 | &:hover { |
73 | 72 | text-decoration: none; |
74 | 73 |
|
75 | 74 | .@{svg-prefix-cls} { |
76 | | - fill: var(--ti-bulletin-board-more-hover-text-color); |
| 75 | + fill: var(--tv-BulletinBoard-more-icon-color-hover); |
77 | 76 | } |
78 | 77 | } |
79 | 78 | } |
80 | 79 | } |
81 | 80 |
|
82 | 81 | &__new { |
83 | | - background-color: var(--ti-bulletin-board-new-bg-color); |
84 | | - color: var(--ti-bulletin-board-new-text-color); |
85 | | - border-radius: var(--ti-bulletin-board-new-border-radius); |
86 | | - padding: 0 var(--ti-bulletin-board-new-padding-left); |
87 | | - margin-left: var(--ti-bulletin-board-new-margin-left); |
| 82 | + background-color: var(--tv-BulletinBoard-new-bg-color); |
| 83 | + color: var(--tv-BulletinBoard-new-text-color); |
| 84 | + border-radius: var(--tv-BulletinBoard-new-border-radius); |
| 85 | + padding: 0 4px; |
| 86 | + margin-left: 6px; |
88 | 87 | min-width: 30px; |
89 | 88 | min-height: 16px; |
90 | 89 | line-height: 16px; |
91 | | - font-size: var(--ti-bulletin-board-new-font-size); |
| 90 | + font-size: var(--tv-BulletinBoard-new-font-size); |
92 | 91 | display: inline-block; |
93 | | - font-family: var(--ti-bulletin-board-new-font-family); |
94 | 92 | box-sizing: border-box; |
95 | 93 | font-weight: 500; |
96 | 94 | text-align: center; |
|
143 | 141 | .@{tabs-prefix-cls}__item { |
144 | 142 | line-height: 36px; |
145 | 143 | height: 36px; |
146 | | - padding: 0 var(--ti-bulletin-board-tabs-item-text-padding-right); |
| 144 | + padding: 0; |
147 | 145 | box-sizing: border-box; |
148 | 146 | display: inline-block; |
149 | 147 | list-style: none; |
150 | 148 | font-size: var(--ti-common-font-size-1); |
151 | 149 | font-weight: 500; |
152 | | - color: var(--ti-bulletin-board-tabs-item-text-color); |
| 150 | + color: var(--tv-BulletinBoard-tabs-item-text-color); |
153 | 151 | position: relative; |
154 | 152 |
|
155 | 153 | &:focus, |
|
158 | 156 | } |
159 | 157 |
|
160 | 158 | &:hover { |
161 | | - color: var(--ti-bulletin-board-tabs-item-hover-text-color); |
162 | 159 | cursor: pointer; |
163 | | - font-weight: var(--ti-bulletin-board-tabs-item-hover-text-font-weight); |
| 160 | + font-weight: var(--tv-BulletinBoard-tabs-item-hover-text-font-weight); |
164 | 161 | } |
165 | 162 |
|
166 | 163 | &.is-active { |
167 | | - color: var(--ti-bulletin-board-tabs-item-hover-text-color); |
168 | | - font-weight: var(--ti-bulletin-board-tabs-item-hover-text-font-weight); |
| 164 | + font-weight: var(--tv-BulletinBoard-tabs-item-hover-text-font-weight); |
169 | 165 | } |
170 | 166 |
|
171 | 167 | &.is-disabled { |
172 | | - color: var(--ti-bulletin-board-tabs-item-disabled-text-color); |
| 168 | + color: var(--tv-BulletinBoard-tabs-item-disabled-text-color); |
173 | 169 | cursor: default; |
174 | 170 | } |
175 | 171 |
|
|
201 | 197 | } |
202 | 198 | } |
203 | 199 |
|
204 | | - &::before { |
205 | | - bottom: 0px; |
| 200 | + &:before { |
| 201 | + bottom: 0; |
206 | 202 | top: auto !important; |
207 | 203 | left: auto !important; |
208 | 204 | } |
209 | 205 | } |
210 | 206 |
|
211 | 207 | .@{tabs-prefix-cls}__content { |
212 | | - padding: 12px var(--ti-bulletin-board-contentr-padding-right) var(--ti-bulletin-board-contentr-padding-button); |
| 208 | + padding: 12px 0 0; |
213 | 209 | } |
214 | 210 |
|
215 | 211 | &.@{tabs-prefix-cls}--card { |
|
224 | 220 | } |
225 | 221 |
|
226 | 222 | > .@{tabs-prefix-cls}__header { |
227 | | - border-bottom: 1px solid var(--ti-bulletin-board-tabs-header-border-color); |
| 223 | + border-bottom: 1px solid var(--tv-BulletinBoard-tabs-header-border-color); |
228 | 224 |
|
229 | 225 | .@{tabs-prefix-cls}__item { |
230 | 226 | border-bottom: 1px solid transparent; |
|
249 | 245 | content: ''; |
250 | 246 | width: 100%; |
251 | 247 | height: 3px; |
252 | | - background: var(--ti-bulletin-board-tabs-item-hover-text-color); |
| 248 | + background: var(--tv-BulletinBoard-tabs-item-bg-color); |
253 | 249 | margin-left: -24px; |
254 | 250 | } |
255 | 251 | } |
|
0 commit comments