mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 11:38:36 +08:00
category-list-item only used in mobile layout
This commit is contained in:
parent
eeeb374ec9
commit
cf61ef7138
|
@ -4,12 +4,6 @@
|
|||
<tr>
|
||||
<th class="main-link">
|
||||
{{category-link this allowUncategorized=true}}
|
||||
|
||||
<div class='posters'>
|
||||
{{#each featured_users}}
|
||||
<a href="/users/{{unbound username_lower}}">{{avatar this imageSize="small"}}</a>
|
||||
{{/each}}
|
||||
</div>
|
||||
</th>
|
||||
<th class='num posts'>{{i18n posts}}</th>
|
||||
<th class='num age'>{{i18n age}}</th>
|
||||
|
|
|
@ -123,39 +123,6 @@
|
|||
|
||||
}
|
||||
|
||||
.category-list-item {
|
||||
margin-bottom: 10px;
|
||||
#topic-list tbody tr:nth-child(even) {
|
||||
background-color: darken($secondary, 3%);
|
||||
}
|
||||
th .badge-category {
|
||||
float: left;
|
||||
margin: 1px 4px 0 0;
|
||||
}
|
||||
.posters {
|
||||
float: left;
|
||||
}
|
||||
> footer {
|
||||
border-top: 0;
|
||||
padding: 7px 10px;
|
||||
figure {
|
||||
float: left;
|
||||
margin: 3px 7px 0 0;
|
||||
color: scale-color($primary, $lightness: 10%);
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
}
|
||||
figcaption {
|
||||
display: inline;
|
||||
font-weight: normal;
|
||||
}
|
||||
.btn {
|
||||
float: right;
|
||||
margin-left: 7px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.loading #topic-list {
|
||||
border: 0;
|
||||
@include box-shadow(none);
|
||||
|
|
|
@ -232,19 +232,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Category list
|
||||
// --------------------------------------------------
|
||||
|
||||
.category-list-item {
|
||||
th .badge-category {
|
||||
float: left;
|
||||
}
|
||||
.posters {
|
||||
display: block;
|
||||
width: 165px;
|
||||
}
|
||||
}
|
||||
|
||||
#topic-list-bottom {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
|
|
@ -134,11 +134,39 @@
|
|||
}
|
||||
|
||||
.category-list-item {
|
||||
margin-bottom: 10px;
|
||||
#topic-list tbody tr:nth-child(even) {
|
||||
background-color: darken($secondary, 3%);
|
||||
}
|
||||
th .badge-category {
|
||||
float: left;
|
||||
margin: 1px 4px 0 0;
|
||||
}
|
||||
.posters {
|
||||
display: none;
|
||||
float: left;
|
||||
}
|
||||
> footer {
|
||||
border-top: 0;
|
||||
padding: 7px 10px;
|
||||
figure {
|
||||
float: left;
|
||||
margin: 3px 7px 0 0;
|
||||
color: scale-color($primary, $lightness: 10%);
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
}
|
||||
figcaption {
|
||||
display: inline;
|
||||
font-weight: normal;
|
||||
}
|
||||
.btn {
|
||||
float: right;
|
||||
margin-left: 7px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#topic-list-bottom {
|
||||
margin: 20px 12px 0 12px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user