lbry-desktop/ui/scss/component/_icon.scss

31 lines
526 B
SCSS
Raw Normal View History

2019-09-26 12:07:11 -04:00
.icon__wrapper {
2019-11-22 16:13:00 -05:00
background-color: var(--color-primary-alt);
2019-09-26 12:07:11 -04:00
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem;
margin-top: 0;
margin-bottom: 0;
height: 3.5rem;
width: 3.5rem;
border-radius: calc(3.5rem / 2);
position: relative;
.icon {
position: absolute;
2019-11-22 16:13:00 -05:00
stroke: var(--color-primary);
2019-10-03 17:40:54 -04:00
}
}
.icon--help {
margin-left: var(--spacing-small);
2019-11-22 16:13:00 -05:00
top: 0.2rem;
2019-10-03 17:40:54 -04:00
opacity: 0.7;
height: 1rem;
width: 1rem;
2019-09-26 12:07:11 -04:00
}
.icon--hidden {
margin-right: var(--spacing-small);
}