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 {
|
2021-07-20 06:26:52 -04:00
|
|
|
margin: 0 0.5em 0.5em 0;
|
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
|
|
|
}
|
2021-06-07 13:22:36 -04:00
|
|
|
|
|
|
|
.select-kit-header {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2018-03-19 05:16:51 -04:00
|
|
|
}
|
|
|
|
|
2019-04-17 22:44:30 -04:00
|
|
|
.groups-boxes {
|
2021-07-20 06:26:52 -04:00
|
|
|
display: grid;
|
|
|
|
grid-gap: 1em;
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
2019-04-17 22:44:30 -04:00
|
|
|
margin: 1em 0;
|
2016-12-14 04:26:16 -05:00
|
|
|
width: 100%;
|
2021-07-20 06:26:52 -04:00
|
|
|
|
|
|
|
@include breakpoint("medium") {
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
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 {
|
|
|
|
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);
|
2021-07-20 06:26:52 -04:00
|
|
|
|
2019-04-17 22:44:30 -04:00
|
|
|
.discourse-no-touch & {
|
|
|
|
transition: all 0.25s;
|
2021-07-20 06:26:52 -04:00
|
|
|
|
2019-04-17 22:44:30 -04:00
|
|
|
&:hover {
|
|
|
|
box-shadow: shadow("card");
|
2018-11-12 18:13:42 -05:00
|
|
|
}
|
2016-12-14 23:07:22 -05:00
|
|
|
}
|
2021-07-20 06:26:52 -04: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;
|
2021-07-20 06:26:52 -04:00
|
|
|
|
2019-04-17 22:44:30 -04:00
|
|
|
.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
|
|
|
}
|
|
|
|
}
|
2021-07-20 06:26:52 -04: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;
|
2021-07-20 06:26:52 -04:00
|
|
|
min-height: 8em;
|
|
|
|
|
2019-04-17 22:44:30 -04:00
|
|
|
.group-info-wrapper {
|
2021-07-20 06:26:52 -04:00
|
|
|
align-items: center;
|
2019-04-17 22:44:30 -04:00
|
|
|
display: flex;
|
|
|
|
flex: 0 1 auto;
|
2021-07-20 06:26:52 -04:00
|
|
|
margin-bottom: 0.25em;
|
|
|
|
min-height: 40px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-11-13 10:29:16 -05:00
|
|
|
.group-avatar-flair {
|
2021-07-20 06:26:52 -04:00
|
|
|
margin-right: 0.5em;
|
2018-11-13 10:29:16 -05:00
|
|
|
}
|
2021-07-20 06:26:52 -04:00
|
|
|
|
2019-04-17 22:44:30 -04:00
|
|
|
.group-info {
|
2021-07-20 06:26:52 -04:00
|
|
|
flex: 1 1 auto;
|
2019-04-17 22:44:30 -04:00
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
2021-07-20 06:26:52 -04: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
|
|
|
}
|
2021-02-04 14:35:23 -05:00
|
|
|
|
|
|
|
.group-manage-logs-controls {
|
|
|
|
button {
|
|
|
|
.d-icon {
|
|
|
|
// flip the icon order for the remove button
|
|
|
|
order: 2;
|
|
|
|
margin: 0 0 0 0.45em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|