soapbox/app/styles/components/profile-media-panel.scss

65 wiersze
1.0 KiB
SCSS

.media-panel {
@include standard-panel-shadow;
display: flex;
width: 100%;
border-radius: 10px;
flex-direction: column;
height: auto;
box-sizing: border-box;
background: var(--foreground-color);
&:first-child {
margin-top: 0;
}
&:not(:last-of-type) {
margin-bottom: 10px;
}
.media-panel-header {
display: flex;
align-items: center;
margin-bottom: 10px;
padding: 15px 15px 0;
&__icon {
margin-right: 10px;
font-size: 20px;
&.svg-icon {
width: 20px;
height: 20px;
}
}
&__label {
flex: 1 1;
color: var(--primary-text-color);
font-size: 16px;
font-weight: bold;
line-height: 19px;
}
}
&__content {
width: 100%;
padding: 8px 0;
}
&__list {
padding: 0 5px;
display: flex;
flex-wrap: wrap;
}
&__empty {
padding: 0 15px 10px 15px;
font-size: 14px;
color: var(--primary-text-color--faint);
}
.loading-indicator {
margin: 0 auto;
}
}