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

35 lines
608 B
SCSS
Raw Normal View History

2019-09-26 18:07:11 +02:00
.icon__wrapper {
2019-09-27 20:56:15 +02:00
background-color: var(--color-card-actions);
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;
stroke: $lbry-gray-5;
}
2019-10-03 23:40:54 +02:00
[data-mode='dark'] & {
background-color: var(--color-card-actions--dark);
}
}
.icon--help {
margin-left: var(--spacing-small);
bottom: -0.3rem;
opacity: 0.7;
height: 1rem;
width: 1rem;
2019-09-26 18:07:11 +02:00
}
.icon--hidden {
margin-right: var(--spacing-small);
}