2018-03-29 01:57:10 -05:00
|
|
|
.groups-header {
|
2019-02-21 20:42:39 -06:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-04-17 21:44:30 -05:00
|
|
|
margin-bottom: 1em;
|
2019-02-21 20:42:39 -06:00
|
|
|
.groups-header-new {
|
|
|
|
order: 2;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2018-03-29 01:57:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.groups-header-filters {
|
2018-11-22 09:18:02 -06:00
|
|
|
display: flex;
|
2019-02-21 20:42:39 -06:00
|
|
|
flex-wrap: wrap;
|
2018-03-21 03:32:08 -05:00
|
|
|
|
2018-11-22 09:18:02 -06:00
|
|
|
.groups-header-filters-name,
|
2018-03-29 01:57:10 -05:00
|
|
|
.groups-header-filters-type {
|
2018-11-22 09:18:02 -06:00
|
|
|
margin-right: 5px;
|
2019-02-21 20:42:39 -06:00
|
|
|
margin-bottom: 0.5em;
|
2018-03-23 00:46:02 -05:00
|
|
|
}
|
|
|
|
|
2018-11-22 09:18:02 -06:00
|
|
|
&:last-child {
|
2019-02-21 20:42:39 -06:00
|
|
|
margin-right: auto;
|
2018-03-21 03:32:08 -05:00
|
|
|
}
|
2018-03-19 04:16:51 -05:00
|
|
|
}
|
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.groups-boxes {
|
|
|
|
margin: 1em 0;
|
2016-12-14 03:26:16 -06:00
|
|
|
width: 100%;
|
2019-04-17 21:44:30 -05:00
|
|
|
@supports (display: grid) {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(4, 24%);
|
|
|
|
grid-column-gap: 1.333%;
|
|
|
|
grid-row-gap: 1em;
|
|
|
|
@include breakpoint("tablet") {
|
|
|
|
grid-template-columns: repeat(3, 32%);
|
|
|
|
grid-column-gap: 2%;
|
|
|
|
}
|
2019-07-18 15:33:12 -05:00
|
|
|
@include breakpoint("mobile-large") {
|
2019-04-17 21:44:30 -05:00
|
|
|
grid-template-columns: 100%;
|
2018-03-19 05:28:57 -05:00
|
|
|
}
|
2019-04-17 21:44:30 -05:00
|
|
|
}
|
2018-03-19 05:28:57 -05:00
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-box {
|
2019-07-18 15:33:12 -05:00
|
|
|
@include breakpoint("mobile-large") {
|
2019-04-17 21:44:30 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
2020-08-03 21:57:10 -05:00
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
color: var(--primary);
|
2019-04-17 21:44:30 -05:00
|
|
|
.discourse-no-touch & {
|
|
|
|
transition: all 0.25s;
|
|
|
|
&:hover {
|
|
|
|
box-shadow: shadow("card");
|
2018-11-12 17:13:42 -06:00
|
|
|
}
|
2016-12-14 22:07:22 -06:00
|
|
|
}
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-membership {
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary-medium);
|
2019-04-17 21:44:30 -05:00
|
|
|
margin-top: auto;
|
|
|
|
padding-top: 1em;
|
|
|
|
.is-group-owner,
|
|
|
|
.is-group-member {
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--success);
|
2018-11-12 17:13:42 -06:00
|
|
|
}
|
|
|
|
}
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-box-inner {
|
|
|
|
padding: 1em;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
box-sizing: border-box;
|
|
|
|
.group-info-wrapper {
|
|
|
|
display: flex;
|
|
|
|
overflow: hidden;
|
|
|
|
flex: 0 1 auto;
|
2018-11-13 09:29:16 -06:00
|
|
|
.group-avatar-flair {
|
2019-04-18 13:10:52 -05:00
|
|
|
margin-top: 0.2em;
|
2019-04-17 21:44:30 -05:00
|
|
|
margin-right: 8px;
|
|
|
|
flex: 0 0 auto;
|
2018-11-13 09:29:16 -06:00
|
|
|
}
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-info {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
width: 70%;
|
|
|
|
|
|
|
|
span {
|
|
|
|
width: 100%;
|
2019-04-18 13:10:52 -05:00
|
|
|
word-break: break-word;
|
|
|
|
line-height: $line-height-medium;
|
2019-04-17 21:44:30 -05:00
|
|
|
}
|
2018-11-12 17:13:42 -06:00
|
|
|
}
|
|
|
|
}
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-user-count {
|
2018-11-12 17:13:42 -06:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary-high);
|
2018-11-12 17:13:42 -06:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.25em;
|
2019-04-17 21:44:30 -05:00
|
|
|
font-size: 0.8em;
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary-medium);
|
2018-11-12 17:13:42 -06:00
|
|
|
}
|
|
|
|
}
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-description {
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary-high);
|
2019-04-17 21:44:30 -05:00
|
|
|
word-wrap: break-word;
|
2018-11-12 17:13:42 -06:00
|
|
|
}
|
|
|
|
}
|
2018-11-28 15:02:49 -06:00
|
|
|
|
2016-12-14 22:07:22 -06:00
|
|
|
.groups-info-name {
|
2019-04-17 21:44:30 -05:00
|
|
|
font-size: $font-up-1;
|
2016-12-14 22:07:22 -06:00
|
|
|
font-weight: bold;
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary);
|
2016-12-14 22:07:22 -06:00
|
|
|
}
|
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
$size: 40px;
|
|
|
|
$icon-size: $size / 1.8;
|
2016-12-14 22:07:22 -06:00
|
|
|
|
2018-11-28 15:02:49 -06:00
|
|
|
.group-avatar-flair {
|
2016-12-14 03:26:16 -06:00
|
|
|
display: inline-block;
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary);
|
2016-12-14 03:26:16 -06:00
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.avatar-flair {
|
|
|
|
background-size: $size;
|
|
|
|
height: $size;
|
|
|
|
width: $size;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-repeat: no-repeat;
|
2016-12-14 03:26:16 -06:00
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.d-icon {
|
|
|
|
height: $icon-size;
|
|
|
|
width: $icon-size;
|
|
|
|
}
|
2016-12-14 03:26:16 -06:00
|
|
|
}
|
|
|
|
}
|
2017-01-02 20:07:11 -06:00
|
|
|
.avatar-flair-image {
|
|
|
|
width: $size;
|
|
|
|
}
|
2016-12-14 03:26:16 -06:00
|
|
|
}
|
|
|
|
}
|
2020-07-10 04:05:55 -05:00
|
|
|
|
|
|
|
.groups-form {
|
|
|
|
.control-group-inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|