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

70 lines
1.3 KiB
SCSS
Raw Normal View History

.directory {
margin-bottom: 100px;
2018-03-29 14:57:10 +08:00
.user-info {
margin-bottom: 0;
}
2018-03-29 14:57:10 +08:00
.period-chooser {
float: left;
}
.filter-name {
float: right;
}
.total-rows {
2017-06-12 10:20:14 +08:00
color: blend-primary-secondary(50%);
text-align: right;
}
.spinner {
clear: both;
}
2018-03-29 14:57:10 +08:00
table {
width: 100%;
margin-bottom: 1em;
2018-03-29 14:57:10 +08:00
td, th {
padding: 0.5em;
text-align: left;
2018-03-29 14:57:10 +08:00
border-bottom: 1px solid $primary-low;
@media screen and (max-width: $small-width) {
padding: .5em .25em;
}
2018-03-29 14:57:10 +08:00
.number, .time-read {
2018-01-13 06:27:38 +08:00
font-size: $font-up-3;
2018-03-29 14:57:10 +08:00
color: $primary-medium;
@media screen and (max-width: $small-width) {
2018-04-26 01:11:04 +08:00
font-size: $font-up-1;
}
}
.time-read {
white-space: nowrap;
}
}
2018-03-29 14:57:10 +08:00
th.sortable {
cursor: pointer;
white-space: nowrap;
width: 13%;
.d-icon-heart {
2015-07-11 05:41:38 +08:00
color: $love;
margin-right: 0.5em;
}
.d-icon-chevron-down, .d-icon-chevron-up {
margin-left: 0.5em;
}
2018-03-29 14:57:10 +08:00
&:hover {
2018-03-29 14:57:10 +08:00
background-color: $primary-low;
}
}
}
2018-02-24 10:41:40 +08:00
.me {
background-color: dark-light-choose($highlight-low, $highlight-medium);
.username a, .name, .title, .number, .time-read {
color: $primary-medium;
}
}
}