webapp/src/components/_shared/Icon/Icon.module.scss

28 lines
432 B
SCSS
Raw Normal View History

2022-09-09 11:53:35 +00:00
.icon {
2022-10-31 19:05:26 +00:00
line-height: 1;
2022-09-09 11:53:35 +00:00
position: relative;
img {
width: 100%;
height: 100%;
2023-05-04 16:59:38 +00:00
display: block;
}
2022-09-09 11:53:35 +00:00
}
2022-11-13 10:36:44 +00:00
.notificationsCounter {
background-color: #d00820;
border: 2px solid #fff;
border-radius: 2em;
2022-09-09 11:53:35 +00:00
color: #fff;
font-size: 1rem;
font-weight: 700;
2022-11-13 10:36:44 +00:00
height: 1.6em;
left: 1.1em;
line-height: 1.25em;
padding: 0 0.25em;
2022-09-09 11:53:35 +00:00
position: absolute;
text-align: center;
top: -0.5rem;
2022-11-13 10:36:44 +00:00
min-width: 1.5em;
2022-09-09 11:53:35 +00:00
}