|
17 | 17 | @breadcrumb-prefix-cls: ~'@{css-prefix}breadcrumb'; |
18 | 18 |
|
19 | 19 | .@{breadcrumb-prefix-cls} { |
20 | | - .component-css-vars-breadcrumb(); |
| 20 | + .inject-Breadcrumb-vars(); |
21 | 21 |
|
22 | | - font-size: var(--ti-breadcrumb-font-size); |
23 | | - line-height: var(--ti-breadcrumb-text-line-height); |
24 | | - font-family: var(--ti-breadcrumb-font-family); |
| 22 | + font-size: var(--tv-Breadcrumb-font-size); |
| 23 | + line-height: var(--tv-Breadcrumb-text-line-height); |
25 | 24 | .clearfix(); |
26 | 25 |
|
27 | 26 | & &__item { |
|
31 | 30 |
|
32 | 31 | &:last-child { |
33 | 32 | .@{breadcrumb-prefix-cls}__inner { |
34 | | - font-weight: var(--ti-breadcrumb-text-font-weight); |
35 | | - color: var(--ti-breadcrumb-selected-text-color); |
| 33 | + font-weight: var(--tv-Breadcrumb-text-font-weight); |
36 | 34 | text-decoration: none; |
37 | 35 |
|
38 | 36 | a { |
39 | 37 | cursor: text; |
40 | | - color: var(--ti-breadcrumb-selected-text-color); |
41 | 38 | text-decoration: none; |
42 | 39 | } |
43 | 40 | } |
|
50 | 47 | } |
51 | 48 |
|
52 | 49 | & &__item--medium { |
53 | | - font-size: 14px; |
| 50 | + font-size: 16px; |
54 | 51 | } |
55 | 52 |
|
56 | 53 | & &__inner { |
57 | 54 | vertical-align: middle; |
58 | 55 |
|
59 | 56 | &, |
60 | 57 | & a { |
61 | | - color: var(--ti-breadcrumb-text-color); |
| 58 | + color: var(--tv-Breadcrumb-text-color); |
62 | 59 | } |
63 | 60 |
|
64 | 61 | &:hover { |
65 | | - color: var(--ti-breadcrumb-hover-text-color); |
66 | | - text-decoration: var(--ti-breadcrumb-hover-text-decoration); |
| 62 | + text-decoration: underline; |
67 | 63 |
|
68 | 64 | & a:hover { |
69 | 65 | cursor: pointer; |
70 | | - color: var(--ti-breadcrumb-hover-text-color); |
71 | | - text-decoration: var(--ti-breadcrumb-hover-text-decoration); |
| 66 | + text-decoration: underline; |
72 | 67 | } |
73 | 68 | } |
74 | 69 | } |
75 | 70 |
|
76 | 71 | & &__separator { |
77 | | - font-family: var(--ti-breadcrumb-font-family); |
78 | | - color: var(--ti-breadcrumb-separator-text-color); |
79 | | - margin: var(--ti-breadcrumb-separator-margin-vertical) var(--ti-breadcrumb-separator-margin-horizontal); |
| 72 | + font-family: var(--tv-Breadcrumb-font-family); |
| 73 | + color: var(--tv-Breadcrumb-separator-icon-color); |
| 74 | + margin: var(--tv-Breadcrumb-separator-margin-y) var(--tv-Breadcrumb-separator-margin-x); |
80 | 75 | vertical-align: middle; |
81 | 76 | text-align: center; |
82 | | - width: var(--ti-breadcrumb-separator-width); |
| 77 | + width: var(--tv-Breadcrumb-separator-width); |
83 | 78 | } |
84 | 79 |
|
85 | 80 | & &__separator-cls { |
86 | | - font-size: var(--ti-breadcrumb-font-size); |
87 | | - fill: var(--ti-breadcrumb-separator-text-color); |
88 | | - margin: var(--ti-breadcrumb-separator-margin-vertical) var(--ti-breadcrumb-separator-margin-horizontal); |
| 81 | + font-size: var(--tv-Breadcrumb-font-size); |
| 82 | + fill: var(--tv-Breadcrumb-separator-icon-color); |
| 83 | + margin: var(--tv-Breadcrumb-separator-margin-y) var(--tv-Breadcrumb-separator-margin-x); |
89 | 84 | vertical-align: middle; |
90 | 85 | } |
91 | 86 |
|
92 | 87 | & &__item:last-child:hover { |
93 | 88 | cursor: text; |
94 | 89 | text-decoration: none; |
95 | | - .@{breadcrumb-prefix-cls}__inner { |
96 | | - color: var(--ti-breadcrumb-selected-hover-text-color); |
97 | | - } |
| 90 | + |
98 | 91 | a { |
99 | 92 | cursor: text; |
100 | | - color: var(--ti-breadcrumb-selected-hover-text-color); |
101 | 93 | text-decoration: none; |
102 | 94 | } |
103 | 95 | } |
|
0 commit comments