61 lines
1.0 KiB
SCSS
Raw Normal View History

2021-09-12 18:54:38 -05:00
.svg-icon {
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
transition: 0.2s;
2021-09-12 18:54:38 -05:00
2021-09-20 21:13:22 -05:00
svg {
2021-09-20 15:33:28 -05:00
// Apparently this won't skew the image as long as it has a viewbox
width: 100%;
height: 100%;
transition: 0.2s;
2021-09-12 18:54:38 -05:00
}
2021-09-20 21:13:22 -05:00
&--active {
2021-10-05 17:58:25 -05:00
&.svg-icon--home svg {
fill: currentColor;
}
2021-09-20 22:50:47 -05:00
svg.icon-tabler-search {
2021-10-05 13:29:52 -05:00
stroke-width: 2.3px;
2021-09-20 21:13:22 -05:00
}
2021-09-20 22:50:47 -05:00
svg.icon-tabler-bell,
svg.icon-tabler-messages {
2021-09-20 21:13:22 -05:00
path:nth-child(2) {
fill: var(--primary-text-color);
}
}
2021-09-20 22:50:47 -05:00
svg.icon-tabler-users {
2021-09-20 21:13:22 -05:00
circle,
circle + path {
fill: var(--primary-text-color);
}
}
svg.icon-tabler-mail {
stroke: var(--background-color);
rect {
fill: var(--primary-text-color);
stroke: var(--primary-text-color);
}
}
2021-09-20 21:13:22 -05:00
}
&--unread {
svg.icon-tabler-bell {
transform: rotate(45deg);
}
}
2021-09-12 18:54:38 -05:00
}
.icon-button > div {
display: flex;
align-items: center;
justify-content: center;
}