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

31 lines
526 B
SCSS
Raw Normal View History

2019-09-26 18:07:11 +02:00
.icon__wrapper {
2019-11-22 22:13:00 +01:00
background-color: var(--color-primary-alt);
2019-09-26 18:07:11 +02: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 22:13:00 +01:00
stroke: var(--color-primary);
2019-10-03 23:40:54 +02:00
}
}
.icon--help {
margin-left: var(--spacing-small);
2019-11-22 22:13:00 +01:00
top: 0.2rem;
2019-10-03 23:40:54 +02:00
opacity: 0.7;
height: 1rem;
width: 1rem;
2019-09-26 18:07:11 +02:00
}
.icon--hidden {
margin-right: var(--spacing-small);
}