soapbox/app/styles/components/group-detail.scss

85 wiersze
1.5 KiB
SCSS

.group {
.group__header-container {
width: 100%;
display: flex;
justify-content: center;
flex-direction: row;
}
.group__header {
width: 100%;
max-width: 1150px;
background: var(--foreground-color);
border-radius: 10px;
overflow: hidden;
margin: 20px 0;
.group__cover {
img {
width: 100%;
}
}
.group__tabs {
.group__tabs__tab {
display: inline-block;
text-decoration: none;
padding: 16px 22px;
text-align: center;
color: var(--primary-text-color);
&:hover,
&--active {
border-bottom: 2px solid var(--primary-text-color);
}
}
&::after {
content: "";
clear: both;
display: table;
}
button {
float: right;
margin: 7px;
}
div {
float: right;
margin: 4px;
}
}
}
.group__panel {
padding: 10px 10px 20px;
h1 {
font-size: 22px;
font-weight: bold;
margin-bottom: 10px;
}
.group__panel__description {
font-size: 14px;
}
.group__panel__label {
display: inline-block;
margin-bottom: 10px;
border-radius: 4px;
background: var(--foreground-color);
font-size: 13px;
padding: 4px 8px;
}
}
.group__feed {
background: var(--foreground-color);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
overflow: hidden;
}
}