gab-social/app/javascript/styles/gabsocial/components/group-detail.scss

94 lines
2.1 KiB
SCSS

.group {
.group__header-container {
width: 100%;
display: flex;
justify-content: center;
flex-direction: row;
}
.group__header {
width: 100%;
max-width: 1150px;
background: $gab-background-container;
body.theme-gabsocial-light & {
background: $gab-background-container-light;
}
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: $primary-text-color;
&:hover,
&--active {
border-bottom: 2px solid $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 10px;
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: $gab-background-container;
body.theme-gabsocial-light & {
background: $gab-background-container-light;
}
font-size: 13px;
padding: 4px 8px;
}
}
.group__feed {
background: $gab-background-container;
body.theme-gabsocial-light & {
background: $gab-background-container-light;
}
border-top-left-radius: 10px;
border-top-right-radius: 10px;
overflow: hidden;
}
}