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

69 lines
1 KiB
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;
2020-07-23 10:22:57 -04:00
height: 3.5rem;
2019-09-26 12:07:11 -04:00
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
}
}
2020-03-18 13:11:37 -04: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);
}
}
.icon__wrapper--Anonymous {
background-color: var(--color-gray-1);
.icon {
stroke: var(--color-black);
}
}
2019-10-03 17:40:54 -04:00
.icon--help {
2020-01-15 10:25:24 -05:00
color: var(--color-subtitle);
2020-06-01 13:03:19 -04:00
margin-left: var(--spacing-xs);
2019-10-03 17:40:54 -04:00
opacity: 0.7;
2019-09-26 12:07:11 -04:00
}
.icon--hidden {
2020-06-01 13:03:19 -04:00
margin-right: var(--spacing-s);
}
2020-09-02 16:08:37 -04:00
.icon__lbc {
vertical-align: middle;
}
2020-09-10 11:54:41 -04:00
.icon__lbc--before-text {
margin-left: 4px;
2020-09-02 16:08:37 -04:00
}
2020-09-10 11:54:41 -04:00
.icon__lbc--after-text {
margin-right: 2px;
2020-09-10 11:54:41 -04:00
}
2020-09-02 16:08:37 -04:00
.icon__lbc--title {
margin-bottom: 4px;
}