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

45 lines
741 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;
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
}
}
2020-03-18 18:11:37 +01:00
.icon__wrapper--Heart {
background-color: var(--color-follow-bg);
.icon {
stroke: var(--color-follow-icon);
}
}
.icon__wrapper--Eye {
background-color: var(--color-view-bg);
.icon {
stroke: var(--color-view-icon);
}
}
2019-10-03 23:40:54 +02:00
.icon--help {
2020-01-15 16:25:24 +01:00
color: var(--color-subtitle);
2020-06-01 19:03:19 +02:00
margin-left: var(--spacing-xs);
2019-10-03 23:40:54 +02:00
opacity: 0.7;
2020-01-15 16:25:24 +01:00
top: 2px;
2019-09-26 18:07:11 +02:00
}
.icon--hidden {
2020-06-01 19:03:19 +02:00
margin-right: var(--spacing-s);
}