discourse/app/assets/stylesheets/common/base/groups.scss

98 lines
1.5 KiB
SCSS
Raw Normal View History

2016-12-14 17:26:16 +08:00
.groups-page {
h1 {
margin-bottom: 20px;
display: inline-block;
2016-12-14 17:26:16 +08:00
}
}
.groups-filter {
display: inline-block;
float: right;
.groups-type-filter {
vertical-align: middle;
}
.groups-name-filter {
vertical-align: middle;
margin: 0;
}
}
2016-12-14 17:26:16 +08:00
.groups-table {
width: 100%;
2016-12-15 12:07:22 +08:00
th {
2017-10-11 04:07:46 +08:00
border-bottom: 1px solid $primary-low;
padding: 0.5em;
2016-12-15 12:07:22 +08:00
text-align: left;
}
.sortable {
&:hover {
background-color: $primary-low;
cursor: pointer;
}
}
2016-12-15 12:07:22 +08:00
tr {
border-bottom: 1px solid $primary-low;
2016-12-15 12:07:22 +08:00
td {
2017-06-12 10:20:14 +08:00
color: blend-primary-secondary(50%);
padding: 0.8em;
2016-12-15 12:07:22 +08:00
}
td.groups-info {
width: 50%;
}
td.group-user-status {
i {
color: $primary;
}
}
2016-12-15 12:07:22 +08:00
td.groups-user-count {
2018-01-13 06:27:38 +08:00
font-size: $font-up-2
2016-12-15 12:07:22 +08:00
}
}
.groups-info {
.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
}
2016-12-14 17:26:16 +08:00
span {
display: inline-block;
vertical-align: middle;
}
$size: 40px;
2016-12-14 17:26:16 +08:00
.avatar-flair {
2016-12-14 17:26:16 +08:00
background-size: $size;
height: $size;
i {
font-size: $size !important;
}
}
.avatar-flair-image {
width: $size;
}
2016-12-14 17:26:16 +08:00
}
}