Merge branch 'styling/patch-colors-for-groups-updates' into 'groups-updates'

Updates for the Groups styling

See merge request gab/social/gab-social!14
This commit is contained in:
Rob Colbert
2019-07-22 02:55:26 +00:00
10 changed files with 64 additions and 52 deletions

View File

@@ -0,0 +1,23 @@
button,
a.button {
&.standard {
// NOTE - will define the larger standard buttons here and apply class where used.
&-small {
height: 20px;
padding: 5px 15px;
border: none;
border-radius: 4px;
@include font-size(11);
@include line-height(11);
@include font-weight(bold);
text-transform: uppercase;
color: white;
background: $gab-small-cta-primary;
}
}
}

View File

@@ -1,47 +1,38 @@
$height: 80px;
.group-column-header {
border-radius: 10px;
background: $gab-background-container;
overflow: hidden;
@include gab-container-standards();
.group-column-header__title {
padding: 15px;
font-size: 20px;
font-weight: bold;
}
.group-column-header__cta {
float: right;
padding: 15px;
font-size: 17px;
a {
color: $primary-text-color;
}
a {color: #fff;}
}
}
.group-card-list {
display: flex;
flex-direction: row;
align-items: flex-start;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
margin-top: 15px;
margin-top: 20px;
}
.group-card {
display: block;
flex: 0 0 calc(50% - 15px/2);
flex: 0 0 calc(50% - 20px/2);
@include gab-container-standards();
margin-bottom: 15px;
background: $gab-background-container;
text-decoration: none;
border-radius: 10px;
overflow: hidden;
.group-card__header {
height: $height;
overflow: hidden;
img {

View File

@@ -49,18 +49,5 @@
position: absolute;
pointer-events: none;
}
button {
background: $gab-blue;
color: white;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 14px;
border: none;
border-radius: 4px;
height: 25px;
padding: 1px 12px;
font-weight: bold;
float: right;
}
button {float: right;}
}

View File

@@ -1,15 +1,9 @@
.user-panel {
display: flex;
width: 285px;
width: 265px;
flex-direction: column;
overflow-y: hidden;
border-radius: 10px;
background: $gab-background-container;
body.theme-gabsocial-light & {
@include light-theme-shadow();
background: $gab-background-container-light;
}
@include gab-container-standards();
&__header {
display: block;
height: 112px;