2023-02-07 23:24:57 +08:00
|
|
|
@use "sass:math";
|
|
|
|
|
2018-03-29 14:57:10 +08:00
|
|
|
.groups-header {
|
2019-02-22 10:42:39 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-04-18 10:44:30 +08:00
|
|
|
margin-bottom: 1em;
|
2019-02-22 10:42:39 +08:00
|
|
|
.groups-header-new {
|
|
|
|
order: 2;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2018-03-29 14:57:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.groups-header-filters {
|
2018-11-22 23:18:02 +08:00
|
|
|
display: flex;
|
2019-02-22 10:42:39 +08:00
|
|
|
flex-wrap: wrap;
|
2018-03-21 16:32:08 +08:00
|
|
|
|
2018-11-22 23:18:02 +08:00
|
|
|
.groups-header-filters-name,
|
2018-03-29 14:57:10 +08:00
|
|
|
.groups-header-filters-type {
|
2021-07-20 18:26:52 +08:00
|
|
|
margin: 0 0.5em 0.5em 0;
|
2018-03-23 13:46:02 +08:00
|
|
|
}
|
|
|
|
|
2018-11-22 23:18:02 +08:00
|
|
|
&:last-child {
|
2019-02-22 10:42:39 +08:00
|
|
|
margin-right: auto;
|
2018-03-21 16:32:08 +08:00
|
|
|
}
|
2021-06-08 01:22:36 +08:00
|
|
|
|
|
|
|
.select-kit-header {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2018-03-19 17:16:51 +08:00
|
|
|
}
|
|
|
|
|
2023-09-09 00:07:04 +08:00
|
|
|
.container.groups-index {
|
|
|
|
background: var(--d-content-background);
|
|
|
|
}
|
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.groups-boxes {
|
2021-07-20 18:26:52 +08:00
|
|
|
display: grid;
|
|
|
|
grid-gap: 1em;
|
2022-06-23 05:14:22 +08:00
|
|
|
grid-template-columns: repeat(auto-fit, minmax(16em, 1fr));
|
2019-04-18 10:44:30 +08:00
|
|
|
margin: 1em 0;
|
2016-12-14 17:26:16 +08:00
|
|
|
width: 100%;
|
2021-07-20 18:26:52 +08:00
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.group-box {
|
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
color: var(--primary);
|
2021-07-20 18:26:52 +08:00
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover {
|
2023-06-14 04:38:31 +08:00
|
|
|
box-shadow: var(--shadow-card);
|
2022-08-15 09:36:28 +08:00
|
|
|
border-color: var(--primary-low-mid-or-secondary-high);
|
2018-11-13 07:13:42 +08:00
|
|
|
}
|
2016-12-15 12:07:22 +08:00
|
|
|
}
|
2021-07-20 18:26:52 +08:00
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.group-membership {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-04-18 10:44:30 +08:00
|
|
|
margin-top: auto;
|
|
|
|
padding-top: 1em;
|
2021-07-20 18:26:52 +08:00
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.is-group-owner,
|
|
|
|
.is-group-member {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--success);
|
2018-11-13 07:13:42 +08:00
|
|
|
}
|
|
|
|
}
|
2021-07-20 18:26:52 +08:00
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.group-box-inner {
|
|
|
|
padding: 1em;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
box-sizing: border-box;
|
2021-07-20 18:26:52 +08:00
|
|
|
min-height: 8em;
|
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.group-info-wrapper {
|
2021-07-20 18:26:52 +08:00
|
|
|
align-items: center;
|
2019-04-18 10:44:30 +08:00
|
|
|
display: flex;
|
|
|
|
flex: 0 1 auto;
|
2021-07-20 18:26:52 +08:00
|
|
|
margin-bottom: 0.25em;
|
|
|
|
min-height: 40px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-11-13 23:29:16 +08:00
|
|
|
.group-avatar-flair {
|
2021-07-20 18:26:52 +08:00
|
|
|
margin-right: 0.5em;
|
2018-11-13 23:29:16 +08:00
|
|
|
}
|
2021-07-20 18:26:52 +08:00
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.group-info {
|
2021-07-20 18:26:52 +08:00
|
|
|
flex: 1 1 auto;
|
2019-04-18 10:44:30 +08:00
|
|
|
|
|
|
|
span {
|
|
|
|
width: 100%;
|
2019-04-19 02:10:52 +08:00
|
|
|
word-break: break-word;
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2019-04-18 10:44:30 +08:00
|
|
|
}
|
2018-11-13 07:13:42 +08:00
|
|
|
}
|
|
|
|
}
|
2021-07-20 18:26:52 +08:00
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.group-user-count {
|
2018-11-13 07:13:42 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2018-11-13 07:13:42 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.25em;
|
2019-04-18 10:44:30 +08:00
|
|
|
font-size: 0.8em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-11-13 07:13:42 +08:00
|
|
|
}
|
|
|
|
}
|
2019-04-18 10:44:30 +08:00
|
|
|
.group-description {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2019-04-18 10:44:30 +08:00
|
|
|
word-wrap: break-word;
|
2018-11-13 07:13:42 +08:00
|
|
|
}
|
|
|
|
}
|
2018-11-29 05:02:49 +08:00
|
|
|
|
2016-12-15 12:07:22 +08:00
|
|
|
.groups-info-name {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-1);
|
2016-12-15 12:07:22 +08:00
|
|
|
font-weight: bold;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2016-12-15 12:07:22 +08:00
|
|
|
}
|
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
$size: 40px;
|
2023-02-07 23:24:57 +08:00
|
|
|
$icon-size: math.div($size, 1.8);
|
2016-12-15 12:07:22 +08:00
|
|
|
|
2018-11-29 05:02:49 +08:00
|
|
|
.group-avatar-flair {
|
2016-12-14 17:26:16 +08:00
|
|
|
display: inline-block;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2016-12-14 17:26:16 +08:00
|
|
|
|
2019-04-18 10:44:30 +08: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 17:26:16 +08:00
|
|
|
|
2019-04-18 10:44:30 +08:00
|
|
|
.d-icon {
|
|
|
|
height: $icon-size;
|
|
|
|
width: $icon-size;
|
|
|
|
}
|
2016-12-14 17:26:16 +08:00
|
|
|
}
|
|
|
|
}
|
2017-01-03 10:07:11 +08:00
|
|
|
.avatar-flair-image {
|
|
|
|
width: $size;
|
|
|
|
}
|
2016-12-14 17:26:16 +08:00
|
|
|
}
|
|
|
|
}
|
2020-07-10 17:05:55 +08:00
|
|
|
|
|
|
|
.groups-form {
|
|
|
|
.control-group-inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
2020-08-07 00:27:27 +08:00
|
|
|
&.groups-notifications-form {
|
2024-03-02 01:34:55 +08:00
|
|
|
max-width: 33em;
|
2020-08-07 00:27:27 +08:00
|
|
|
.control-instructions {
|
2022-10-12 22:05:42 +08:00
|
|
|
color: var(--primary-medium);
|
2020-08-07 00:27:27 +08:00
|
|
|
margin-bottom: 10px;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-large);
|
2020-08-07 00:27:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-selector,
|
|
|
|
.tag-chooser {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2022-05-17 21:08:46 +08:00
|
|
|
|
|
|
|
.groups-form-incoming-email {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2020-07-10 17:05:55 +08:00
|
|
|
}
|
2021-02-05 03:35:23 +08: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-30 08:52:34 +08:00
|
|
|
|
2024-12-09 11:21:24 +08:00
|
|
|
.group-automatic-tooltip {
|
2024-08-30 08:52:34 +08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|