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