2018-03-29 14:57:10 +08:00
|
|
|
.groups-header {
|
2019-02-22 10:42:39 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2018-03-29 14:57:10 +08:00
|
|
|
margin-bottom: 30px;
|
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 {
|
2018-11-22 23:18:02 +08:00
|
|
|
margin-right: 5px;
|
2019-02-22 10:42:39 +08:00
|
|
|
margin-bottom: 0.5em;
|
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
|
|
|
}
|
2018-03-19 17:16:51 +08:00
|
|
|
}
|
|
|
|
|
2016-12-14 17:26:16 +08:00
|
|
|
.groups-table {
|
|
|
|
width: 100%;
|
|
|
|
|
2016-12-15 12:07:22 +08:00
|
|
|
tr {
|
|
|
|
td {
|
2018-03-19 16:14:50 +08:00
|
|
|
padding: 0.8em;
|
2018-03-29 14:57:10 +08:00
|
|
|
color: $primary-medium;
|
2016-12-15 12:07:22 +08:00
|
|
|
}
|
|
|
|
|
2018-03-20 15:50:46 +08:00
|
|
|
td.groups-info {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2018-03-19 18:28:57 +08:00
|
|
|
td.group-user-status {
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2018-03-19 18:28:57 +08:00
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-15 12:07:22 +08:00
|
|
|
td.groups-user-count {
|
2018-03-29 14:57:10 +08:00
|
|
|
width: 17%;
|
|
|
|
font-size: $font-up-2;
|
2018-11-13 07:13:42 +08:00
|
|
|
.d-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-12-15 12:07:22 +08:00
|
|
|
}
|
2018-03-29 14:57:10 +08:00
|
|
|
|
|
|
|
td.groups-table-type {
|
|
|
|
width: 17%;
|
|
|
|
font-size: $font-up-1;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.groups-table-membership {
|
2018-11-13 07:13:42 +08:00
|
|
|
font-size: $font-up-1;
|
|
|
|
|
2018-03-29 14:57:10 +08:00
|
|
|
.group-membership-button {
|
2018-11-13 07:13:42 +08:00
|
|
|
font-size: $font-down-1;
|
2018-03-29 14:57:10 +08:00
|
|
|
display: inline-block;
|
2018-11-13 07:13:42 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include breakpoint(mobile) {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
|
|
padding: 10px 0;
|
|
|
|
td.groups-info,
|
|
|
|
td.groups-user-count,
|
|
|
|
td.groups-table-type,
|
|
|
|
td.groups-table-membership {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
text-align: right;
|
|
|
|
font-size: $font-0;
|
|
|
|
}
|
|
|
|
td.groups-info {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 4;
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 3;
|
|
|
|
text-align: left;
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
margin-bottom: 0.5em;
|
2018-11-13 23:29:16 +08:00
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.group-avatar-flair {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2018-11-13 07:13:42 +08:00
|
|
|
.groups-info-name {
|
|
|
|
word-break: break-all;
|
|
|
|
max-width: 45vw;
|
|
|
|
}
|
|
|
|
.groups-info-full-name {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td.groups-user-count {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
grid-column-start: 4;
|
|
|
|
grid-row-start: 1;
|
|
|
|
.d-icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
color: $primary-low-mid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td.groups-table-type {
|
|
|
|
grid-row-start: 3;
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
|
|
|
text-align: left;
|
|
|
|
align-self: center;
|
2018-11-13 23:29:16 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2018-03-29 14:57:10 +08:00
|
|
|
}
|
2018-11-13 07:13:42 +08:00
|
|
|
td.groups-table-membership {
|
|
|
|
grid-row-start: 3;
|
|
|
|
grid-column-start: 3;
|
|
|
|
grid-column-end: 5;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
button {
|
|
|
|
margin-left: 5px;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// IE11 grid support
|
2018-03-29 14:57:10 +08:00
|
|
|
|
2018-11-13 07:13:42 +08:00
|
|
|
display: -ms-grid;
|
|
|
|
-ms-grid-columns: 1fr 1fr;
|
|
|
|
-ms-grid-rows: 1fr 1fr;
|
|
|
|
td.groups-info {
|
|
|
|
display: -ms-grid;
|
|
|
|
-ms-grid-row: 1;
|
|
|
|
-ms-grid-column: 1;
|
|
|
|
}
|
|
|
|
td.groups-user-count {
|
|
|
|
justify-content: flex-end;
|
|
|
|
-ms-grid-row: 1;
|
|
|
|
-ms-grid-column: 2;
|
|
|
|
}
|
|
|
|
td.groups-table-type {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
-ms-grid-row: 2;
|
|
|
|
-ms-grid-column: 1;
|
2018-03-29 14:57:10 +08:00
|
|
|
}
|
2018-11-13 07:13:42 +08:00
|
|
|
td.groups-table-membership {
|
|
|
|
display: flex;
|
|
|
|
-ms-grid-row: 2;
|
|
|
|
-ms-grid-column: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(mobile) {
|
|
|
|
thead {
|
|
|
|
display: none;
|
2018-03-29 14:57:10 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2016-12-15 12:07:22 +08:00
|
|
|
|
|
|
|
.groups-info {
|
2018-11-29 05:02:49 +08:00
|
|
|
.group-info-details {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2016-12-15 12:07:22 +08:00
|
|
|
.groups-info-name {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $primary;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
2016-12-15 12:07:22 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.groups-info-full-name {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
2016-12-15 12:07:22 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.groups-info-title {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-12-15 12:07:22 +08:00
|
|
|
}
|
|
|
|
|
2018-11-29 05:02:49 +08:00
|
|
|
.group-avatar-flair {
|
|
|
|
vertical-align: middle;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
|
2016-12-14 17:26:16 +08:00
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-01-03 10:07:11 +08:00
|
|
|
$size: 40px;
|
2018-11-30 01:02:11 +08:00
|
|
|
$icon-size: $size / 1.8;
|
2016-12-14 17:26:16 +08:00
|
|
|
|
2017-01-03 10:07:11 +08:00
|
|
|
.avatar-flair {
|
2016-12-14 17:26:16 +08:00
|
|
|
background-size: $size;
|
|
|
|
height: $size;
|
2018-11-29 05:02:49 +08:00
|
|
|
width: $size;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-12-06 19:18:52 +08:00
|
|
|
background-repeat: no-repeat;
|
2016-12-14 17:26:16 +08:00
|
|
|
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2018-11-30 01:02:11 +08:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|