2023-02-07 09:24:57 -06:00
|
|
|
@use "sass:math";
|
|
|
|
|
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 {
|
2021-07-20 05:26:52 -05:00
|
|
|
margin: 0 0.5em 0.5em 0;
|
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
|
|
|
}
|
2021-06-07 12:22:36 -05:00
|
|
|
|
|
|
|
.select-kit-header {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2018-03-19 04:16:51 -05:00
|
|
|
}
|
|
|
|
|
2023-09-08 11:07:04 -05:00
|
|
|
.container.groups-index {
|
|
|
|
background: var(--d-content-background);
|
|
|
|
}
|
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.groups-boxes {
|
2021-07-20 05:26:52 -05:00
|
|
|
display: grid;
|
|
|
|
grid-gap: 1em;
|
2022-06-22 16:14:22 -05:00
|
|
|
grid-template-columns: repeat(auto-fit, minmax(16em, 1fr));
|
2019-04-17 21:44:30 -05:00
|
|
|
margin: 1em 0;
|
2016-12-14 03:26:16 -06:00
|
|
|
width: 100%;
|
2021-07-20 05:26:52 -05:00
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-box {
|
|
|
|
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);
|
2021-07-20 05:26:52 -05:00
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover {
|
2023-06-13 15:38:31 -05:00
|
|
|
box-shadow: var(--shadow-card);
|
2022-08-14 20:36:28 -05:00
|
|
|
border-color: var(--primary-low-mid-or-secondary-high);
|
2018-11-12 17:13:42 -06:00
|
|
|
}
|
2016-12-14 22:07:22 -06:00
|
|
|
}
|
2021-07-20 05:26:52 -05: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;
|
2021-07-20 05:26:52 -05:00
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.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
|
|
|
}
|
|
|
|
}
|
2021-07-20 05:26:52 -05: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;
|
2021-07-20 05:26:52 -05:00
|
|
|
min-height: 8em;
|
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-info-wrapper {
|
2021-07-20 05:26:52 -05:00
|
|
|
align-items: center;
|
2019-04-17 21:44:30 -05:00
|
|
|
display: flex;
|
|
|
|
flex: 0 1 auto;
|
2021-07-20 05:26:52 -05:00
|
|
|
margin-bottom: 0.25em;
|
|
|
|
min-height: 40px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-11-13 09:29:16 -06:00
|
|
|
.group-avatar-flair {
|
2021-07-20 05:26:52 -05:00
|
|
|
margin-right: 0.5em;
|
2018-11-13 09:29:16 -06:00
|
|
|
}
|
2021-07-20 05:26:52 -05:00
|
|
|
|
2019-04-17 21:44:30 -05:00
|
|
|
.group-info {
|
2021-07-20 05:26:52 -05:00
|
|
|
flex: 1 1 auto;
|
2019-04-17 21:44:30 -05:00
|
|
|
|
|
|
|
span {
|
|
|
|
width: 100%;
|
2019-04-18 13:10:52 -05:00
|
|
|
word-break: break-word;
|
2022-10-12 09:05:42 -05:00
|
|
|
line-height: var(--line-height-medium);
|
2019-04-17 21:44:30 -05:00
|
|
|
}
|
2018-11-12 17:13:42 -06:00
|
|
|
}
|
|
|
|
}
|
2021-07-20 05:26:52 -05: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 {
|
2022-10-12 08:31:59 -05:00
|
|
|
font-size: var(--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;
|
2023-02-07 09:24:57 -06:00
|
|
|
$icon-size: math.div($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;
|
|
|
|
}
|
2020-08-06 11:27:27 -05:00
|
|
|
&.groups-notifications-form {
|
2024-03-01 11:34:55 -06:00
|
|
|
max-width: 33em;
|
2020-08-06 11:27:27 -05:00
|
|
|
.control-instructions {
|
2022-10-12 09:05:42 -05:00
|
|
|
color: var(--primary-medium);
|
2020-08-06 11:27:27 -05:00
|
|
|
margin-bottom: 10px;
|
2022-10-12 08:31:59 -05:00
|
|
|
font-size: var(--font-down-1);
|
2022-10-12 09:05:42 -05:00
|
|
|
line-height: var(--line-height-large);
|
2020-08-06 11:27:27 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-selector,
|
|
|
|
.tag-chooser {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2022-05-17 08:08:46 -05:00
|
|
|
|
|
|
|
.groups-form-incoming-email {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2020-07-10 04:05:55 -05:00
|
|
|
}
|
2021-02-04 13:35:23 -06:00
|
|
|
|
|
|
|
.group-manage-logs-controls {
|
|
|
|
button {
|
|
|
|
.d-icon {
|
|
|
|
// flip the icon order for the remove button
|
|
|
|
order: 2;
|
|
|
|
margin: 0 0 0 0.45em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-08-29 19:52:34 -05:00
|
|
|
|
|
|
|
.admin-group-automatic-tooltip {
|
|
|
|
align-items: center;
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
padding: 0.2em 1em;
|
|
|
|
background-color: var(--primary-low);
|
|
|
|
border-radius: var(--d-button-border-radius);
|
|
|
|
|
|
|
|
.fk-d-tooltip__trigger-container {
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|