Styling for tags

This commit is contained in:
Roman Gotsiy 2015-10-28 23:37:16 +02:00
parent 40ec886f7d
commit b56c170d3a
3 changed files with 19 additions and 3 deletions

View File

@ -3,8 +3,9 @@ responses-list, params-list {
}
h2 {
font-size: 32px;
font-size: 25px;
font-weight: 200;
color: #666;
}
h3 {

View File

@ -4,6 +4,19 @@ method {
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.tag-info {
padding: 0 20px;
width: 60%;
box-sizing: border-box;
}
.tag-info h1 {
color: rgb(102, 102, 102);
text-transform: capitalize;
padding-left: 10px;
border-left: 5px solid green;
}
.methods {
display: block;
position: relative;;

View File

@ -1,7 +1,9 @@
<div class="methods">
<div class="tag" *ng-for="#tag of data.tags">
<div class="tag-info">
<h1> {{tag.name}} </h1>
<p *ng-if="tag.description" inner-html="{{ tag.description | marked }}"> </p>
</div>
<method *ng-for="#method of tag.methods" [pointer]="method.pointer" [attr.pointer]="method.pointer"
[attr.tag]="method.tag"></method>
</tag>