@@ -198,17 +198,40 @@ and there is an additional border that appears on hover. */
198
198
}
199
199
200
200
: host (: not ([side-nav-collapsed ])) .ui5-sn-item-toggle-icon {
201
- min-width : var (--_ui5_side_navigation_expand_icon_width );
202
- padding-inline : 0.25rem 0.375rem ;
203
- padding-block : 0.25rem ; /* height of the separator (the border left) should be --sapElement_Condensed_Heightwhich is equal to 1.375rem (22px) */
204
- border-inline-start : 0.0625rem solid var (--sapTextColor );
201
+ width : var (--_ui5_side_navigation_expand_icon_width );
202
+ padding-inline-end : 0.375rem ;
203
+ padding-block : var (--_ui5_side_navigation_item_expand_arrow_padding );
204
+ margin-inline-start : 0.5rem ;
205
+ height : var (--sapElement_Condensed_Height );
206
+ }
207
+
208
+ /* this is for the group item*/
209
+ : host (: not ([unselectable ], [side-nav-collapsed ])) .ui5-sn-item-toggle-icon {
210
+ width : calc (var (--_ui5_side_navigation_expand_icon_width ) + 4px ); /*width of the icon + 4px padding*/
211
+ }
212
+
213
+ /* this is for the two-click item */
214
+ : host (: not ([unselectable ], [side-nav-collapsed ], [ui5-side-navigation-group ])) .ui5-sn-item-toggle-icon {
205
215
margin-inline-start : 1rem ;
216
+ width : calc (var (--_ui5_side_navigation_expand_icon_width ) + 5px ); /*width of the icon + 1px separator + 4px padding*/
206
217
}
207
218
208
- : host ([unselectable ]: not ([side-nav-collapsed ])) .ui5-sn-item-toggle-icon ,
209
- : host (: not ([side-nav-collapsed ])) .ui5-sn-item-group .ui5-sn-item-toggle-icon ,
210
- : host ([side-nav-collapsed ]) .ui5-sn-item : not (.ui5-sn-item-active ): not (.ui5-sn-item-no-hover-effect ): hover .ui5-sn-item-toggle-icon ,
211
- : host ([side-nav-collapsed ]) .ui5-sn-item : not (.ui5-sn-item-active ): not (.ui5-sn-item-no-hover-effect ): focus .ui5-sn-item-toggle-icon {
219
+ : host (: not ([side-nav-collapsed ])) .ui5-sn-item-toggle-icon ::part (root ) {
220
+ padding-block : 0.25rem ; /* height of the separator (the border left) should be --sapElement_Condensed_Height which is equal to 1.375rem (22px) */
221
+ border-inline-start : 0.0625rem solid var (--sapTextColor );
222
+ display : block;
223
+ height : 0.875rem ;
224
+ width : var (--_ui5_side_navigation_expand_icon_width );
225
+ }
226
+
227
+ : host (: not ([unselectable ], [side-nav-collapsed ])) .ui5-sn-item-toggle-icon ::part (root ) {
228
+ padding-inline-start : 0.25rem ;
229
+ }
230
+
231
+ : host ([unselectable ]: not ([side-nav-collapsed ])) .ui5-sn-item-toggle-icon ::part (root ),
232
+ : host (: not ([side-nav-collapsed ])) .ui5-sn-item-group .ui5-sn-item-toggle-icon ::part (root ),
233
+ : host ([unselectable ][side-nav-collapsed ]) .ui5-sn-item : not (.ui5-sn-item-active ): not (.ui5-sn-item-no-hover-effect ): hover .ui5-sn-item-toggle-icon ,
234
+ : host ([unselectable ][side-nav-collapsed ]) .ui5-sn-item : not (.ui5-sn-item-active ): not (.ui5-sn-item-no-hover-effect ): focus .ui5-sn-item-toggle-icon {
212
235
border-inline-start : none;
213
236
}
214
237
0 commit comments