Merge branch 'categories-parent-acp' of https://github.com/NicolasSiver/NodeBB into NicolasSiver-categories-parent-acp
commit
394497c9d5
@ -0,0 +1,68 @@
|
||||
div.categories {
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.fa-ul {
|
||||
li {
|
||||
min-height: 0;
|
||||
display: inline;
|
||||
margin: 0 @acp-margin 0 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
min-height: @acp-line-height;
|
||||
margin: @acp-base-line 0;
|
||||
|
||||
&.placeholder {
|
||||
border: 1px dashed #2196F3;
|
||||
background-color: #E1F5FE;
|
||||
}
|
||||
}
|
||||
|
||||
.disabled {
|
||||
|
||||
.icon, .header, .description {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.stats {
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: @acp-line-height;
|
||||
height: @acp-line-height;
|
||||
border-radius: 50%;
|
||||
line-height: @acp-line-height;
|
||||
text-align: center;
|
||||
vertical-align: bottom;
|
||||
background-size: cover;
|
||||
float: left;
|
||||
margin-right: @acp-margin;
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.information {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-top: 0;
|
||||
margin-bottom: @acp-base-line;
|
||||
}
|
||||
|
||||
.description {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.stats, .btn-group {
|
||||
float: left;
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
@acp-base-line: 8px;
|
||||
@acp-line-height: @acp-base-line * 6;
|
||||
@acp-margin: @acp-base-line * 2;
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,26 @@
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
<div class="clearfix">
|
||||
<div class="icon">
|
||||
<i data-name="icon" value="{icon}" class="fa {icon}"></i>
|
||||
</div>
|
||||
<div class="information">
|
||||
<h5 class="header">{name}</h5>
|
||||
|
||||
<p class="description">{description}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="clearfix pull-right">
|
||||
<ul class="fa-ul stats">
|
||||
<li class="fa-li"><i class="fa fa-book"></i> {topic_count}</li>
|
||||
<li class="fa-li"><i class="fa fa-pencil"></i> {post_count}</li>
|
||||
</ul>
|
||||
<div class="btn-group">
|
||||
<button data-action="toggle" data-disabled="{disabled}" class="btn btn-xs"></button>
|
||||
<a href="./categories/{cid}" class="btn btn-default btn-xs">Edit</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue