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

66 lines
1.2 KiB
SCSS
Raw Normal View History

2016-12-14 17:26:16 +08:00
.groups-page {
h1 {
margin: 20px 0px;
}
}
.groups-table {
width: 100%;
2016-12-15 12:07:22 +08:00
th {
2017-06-12 10:20:14 +08:00
border-bottom: 1px solid $primary-low;
2016-12-15 12:07:22 +08:00
padding: 5px 0px;
text-align: left;
}
tr {
2017-06-12 10:20:14 +08:00
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%);
2016-12-15 12:07:22 +08:00
padding: 0.8em 0;
}
td.groups-user-count {
font-size: 1.2em;
}
}
.groups-info {
.groups-info-name {
font-weight: bold;
color: $primary;
color: dark-light-choose(scale-color($primary, $lightness: 30%), scale-color($secondary, $lightness: 70%));
2016-12-15 12:07:22 +08:00
}
.groups-info-full-name {
color: dark-light-choose(scale-color($primary, $lightness: 30%), scale-color($secondary, $lightness: 70%));
}
.groups-info-title {
font-size: 0.9em;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
}
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
}
}