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:
23
app/javascript/styles/gabsocial/components/buttons.scss
Normal file
23
app/javascript/styles/gabsocial/components/buttons.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user