|
149 | 149 | }
|
150 | 150 | }
|
151 | 151 |
|
152 |
| - /** |
153 |
| - * @summary Creates the active stage of the sales path |
154 |
| - * |
155 |
| - * @selector .slds-is-active |
156 |
| - * @restrict .slds-path__item |
157 |
| - * @notes This class must be placed on the item programatically when the guidance section is activated |
158 |
| - */ |
159 |
| - .slds-is-active { |
160 |
| - background-color: $color-background-path-active; |
161 |
| - |
162 |
| - .slds-path__link { |
163 |
| - color: $color-text-inverse; |
164 |
| - } |
165 |
| - |
166 |
| - &:hover { |
167 |
| - background-color: $color-background-path-active-hover; |
168 |
| - |
169 |
| - + .slds-path__item:before { |
170 |
| - background-color: $color-background-path-active-hover; |
171 |
| - } |
172 |
| - } |
173 |
| - |
174 |
| - + .slds-path__item:before { |
175 |
| - background-color: $color-background-path-active; |
176 |
| - } |
177 |
| - } |
178 |
| - |
179 | 152 | /**
|
180 | 153 | * @summary Creates success stage of the path
|
181 | 154 | *
|
|
233 | 206 | }
|
234 | 207 | }
|
235 | 208 |
|
| 209 | + /** |
| 210 | + * @summary Creates the active stage of the sales path |
| 211 | + * |
| 212 | + * @selector .slds-is-active |
| 213 | + * @restrict .slds-path__item |
| 214 | + * @notes This class must be placed on the item programatically when the guidance section is activated |
| 215 | + */ |
| 216 | + .slds-is-active, |
| 217 | + .slds-is-complete.slds-is-focused { |
| 218 | + background-color: $color-background-path-active; |
| 219 | + |
| 220 | + .slds-path__stage { |
| 221 | + transform: translateY(-50%) rotateX(-180deg); |
| 222 | + } |
| 223 | + |
| 224 | + .slds-path__title { |
| 225 | + transform: rotateX(0deg); |
| 226 | + } |
| 227 | + |
| 228 | + .slds-path__link { |
| 229 | + color: $color-text-inverse; |
| 230 | + } |
| 231 | + |
| 232 | + &:hover { |
| 233 | + background-color: $color-background-path-active-hover; |
| 234 | + |
| 235 | + + .slds-path__item:before { |
| 236 | + background-color: $color-background-path-active-hover; |
| 237 | + } |
| 238 | + } |
| 239 | + |
| 240 | + + .slds-path__item:before { |
| 241 | + background-color: $color-background-path-active; |
| 242 | + } |
| 243 | + } |
| 244 | + |
236 | 245 | /**
|
237 | 246 | * @summary Creates the current stage of the path
|
238 | 247 | *
|
|
0 commit comments