Skip to content

Commit 59a006f

Browse files
authored
refactor(avatar): remove unused code (#15149)
1 parent 13eb7ca commit 59a006f

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

projects/igniteui-angular/src/lib/core/styles/components/avatar/_avatar-theme.scss

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,7 @@
6868
@include css-vars($theme);
6969

7070
$variant: map.get($theme, '_meta', 'variant');
71-
$bootstrap-theme: $variant == 'bootstrap';
72-
$box-shadow: map.get((
73-
'material': null,
74-
'fluent': null,
75-
'bootstrap': 0 0 0 rem(3px) var-get($theme, 'background'),
76-
'indigo': null,
77-
), $variant);
78-
79-
%igx-avatar-outline {
80-
position: absolute;
81-
content: '';
82-
width: 100%;
83-
height: 100%;
84-
border-radius: inherit;
85-
opacity: .5;
86-
}
87-
71+
8872
%igx-avatar-display {
8973
@include sizable();
9074

@@ -114,20 +98,6 @@
11498
--component-size: 1;
11599
}
116100
}
117-
118-
&::after {
119-
box-shadow: none;
120-
121-
@if $bootstrap-theme {
122-
@extend %igx-avatar-outline;
123-
}
124-
125-
transition: box-shadow .15s $in-out-quad;
126-
}
127-
128-
&:focus::after {
129-
box-shadow: $box-shadow;
130-
}
131101
}
132102

133103
%igx-avatar-image {

0 commit comments

Comments
 (0)