update tags style

This commit is contained in:
Roman Hotsiy 2015-11-17 01:43:05 +02:00
parent a825d98a4d
commit dc01ad9556
2 changed files with 15 additions and 8 deletions

View File

@ -33,17 +33,24 @@ span.path {
} }
.method-tags { .method-tags {
margin-top: 10px; margin-top: 20px;
color: #666;
font-weight: bold;
} }
.method-tags a { .method-tags a {
color: #666; font-size: 16px;
font-weight: bold; color: #999;
display: inline-block; display: inline-block;
padding: 0 5px; padding: 0 0.5em;
font-style: italic; text-decoration: none;
}
.method-tags a:before{
content: '#';
margin-right: -0.4em;
}
.method-tags a:first-of-type {
padding: 0;
} }
.content, .samples { .content, .samples {

View File

@ -5,7 +5,7 @@
<span class="http-method" [ng-class]="data.method">{{data.method}}</span> <span class="http-method" [ng-class]="data.method">{{data.method}}</span>
<span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span> <span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>
</h3> </h3>
<div class="method-tags"> Tags: <div class="method-tags" *ng-if="data.methodInfo.tags.length">
<a *ng-for="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a> <a *ng-for="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
</div> </div>
<p *ng-if="data.methodInfo.description" class="method-description" <p *ng-if="data.methodInfo.description" class="method-description"