1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/components/component-library/avatar-network/avatar-network.scss
Nidhi Kumari f2514c88cf
added avatar network component (#15502)
* added avatar network component

* reset showFallback if networkUrl changes

* updated changed to avatar network

* updated test cases for avatar network

* updated story url in README

* added avatar network class Name

* updated readme for AvatarNetwork

* updated avatar network

* updated text changes to avatar Network and Avatar Token component

* updated space between useState and useEffect

* updated scss files in alphabetic order
2022-08-19 00:24:10 +05:30

24 lines
353 B
SCSS

.avatar-network {
&--with-halo {
position: relative;
}
&__network-image {
width: 100%;
&--blurred {
filter: blur(20px);
}
&--size-reduced {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 62.5%;
height: 62.5%;
border-radius: 50%;
}
}
}