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

61 lines
932 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;
2020-07-23 16:22:57 +02:00
height: 3.5rem;
2019-09-26 18:07:11 +02:00
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;
2019-09-26 18:07:11 +02:00
}
.icon--hidden {
2020-06-01 19:03:19 +02:00
margin-right: var(--spacing-s);
}
2020-09-02 22:08:37 +02:00
.icon__lbc {
vertical-align: middle;
}
2020-09-10 17:54:41 +02:00
.icon__lbc--before-text {
margin-left: 4px;
2020-09-02 22:08:37 +02:00
}
2020-09-10 17:54:41 +02:00
.icon__lbc--after-text {
margin-right: 2px;
2020-09-10 17:54:41 +02:00
}
2020-09-02 22:08:37 +02:00
.icon__lbc--title {
margin-bottom: 4px;
}