pleroma/app/styles/components/icon.scss

40 lines
663 B
SCSS
Raw Normal View History

2021-09-12 16:54:38 -07:00
.svg-icon {
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
2021-09-20 19:13:22 -07:00
svg {
2021-09-20 13:33:28 -07:00
// Apparently this won't skew the image as long as it has a viewbox
width: 100%;
height: 100%;
2021-09-12 16:54:38 -07:00
}
2021-09-20 19:13:22 -07:00
&--active {
2021-09-20 20:50:47 -07:00
svg.icon-tabler-search {
2021-10-05 11:29:52 -07:00
stroke-width: 2.3px;
2021-09-20 19:13:22 -07:00
}
2021-09-20 20:50:47 -07:00
svg.icon-tabler-bell,
svg.icon-tabler-messages {
2021-09-20 19:13:22 -07:00
path:nth-child(2) {
fill: var(--primary-text-color);
}
}
2021-09-20 20:50:47 -07:00
svg.icon-tabler-users {
2021-09-20 19:13:22 -07:00
circle,
circle + path {
fill: var(--primary-text-color);
}
}
}
2021-09-12 16:54:38 -07:00
}
.icon-button > div {
display: flex;
align-items: center;
justify-content: center;
}