Updated accordion style
This commit is contained in:
parent
c6f3f573fe
commit
da3805a15c
@ -126,3 +126,9 @@ a.accordion-toggle:focus, a.accordion-toggle:hover {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disable all boarders and shadows on accordians */
|
||||||
|
.panel {
|
||||||
|
border: 0;
|
||||||
|
box-shadow: 0 0 0 0;
|
||||||
|
}
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
is-open="operation_open">
|
is-open="operation_open">
|
||||||
<accordion-heading>
|
<accordion-heading>
|
||||||
<div class="operation-header">
|
<div class="operation-header">
|
||||||
|
<i class="pull-right glyphicon"
|
||||||
|
ng-class="{'glyphicon-menu-down': operation_open, 'glyphicon-menu-right': !operation_open}">
|
||||||
|
</i>
|
||||||
<div class="operation-method">
|
<div class="operation-method">
|
||||||
<swagger-method method="operation.method"></swagger-method>
|
<swagger-method method="operation.method"></swagger-method>
|
||||||
</div>
|
</div>
|
||||||
@ -69,7 +72,7 @@
|
|||||||
src="operation.examples"
|
src="operation.examples"
|
||||||
trigger-load="operation_open">
|
trigger-load="operation_open">
|
||||||
</swagger-example>
|
</swagger-example>
|
||||||
<div ng-if="isEmpty(response.examples)">
|
<div ng-if="isEmpty(operation.examples)" class="well text-muted">
|
||||||
No request recorded.
|
No request recorded.
|
||||||
</div>
|
</div>
|
||||||
<h4>Responses</h4>
|
<h4>Responses</h4>
|
||||||
@ -81,7 +84,7 @@
|
|||||||
{{ status_code }}: {{ response.description }}
|
{{ status_code }}: {{ response.description }}
|
||||||
<i ng-if="!isEmpty(response.examples)"
|
<i ng-if="!isEmpty(response.examples)"
|
||||||
class="pull-right glyphicon"
|
class="pull-right glyphicon"
|
||||||
ng-class="{'glyphicon-chevron-down': status.open, 'glyphicon-chevron-right': !status.open}"></i>
|
ng-class="{'glyphicon-menu-down': status.open, 'glyphicon-menu-right': !status.open}"></i>
|
||||||
</accordion-heading>
|
</accordion-heading>
|
||||||
<swagger-example swagger="swagger"
|
<swagger-example swagger="swagger"
|
||||||
src="response.examples"
|
src="response.examples"
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
is-open="operation_open">
|
is-open="operation_open">
|
||||||
<accordion-heading>
|
<accordion-heading>
|
||||||
<div class="operation-header">
|
<div class="operation-header">
|
||||||
|
<i class="pull-right glyphicon"
|
||||||
|
ng-class="{'glyphicon-menu-down': operation_open, 'glyphicon-menu-right': !operation_open}">
|
||||||
|
</i>
|
||||||
<div class="operation-method">
|
<div class="operation-method">
|
||||||
<swagger-method method="operation.method"></swagger-method>
|
<swagger-method method="operation.method"></swagger-method>
|
||||||
</div>
|
</div>
|
||||||
@ -73,7 +76,7 @@
|
|||||||
src="operation.examples"
|
src="operation.examples"
|
||||||
trigger-load="operation_open">
|
trigger-load="operation_open">
|
||||||
</swagger-example>
|
</swagger-example>
|
||||||
<div ng-if="isEmpty(response.examples)">
|
<div ng-if="isEmpty(operation.examples)" class="well text-muted">
|
||||||
No request recorded.
|
No request recorded.
|
||||||
</div>
|
</div>
|
||||||
<h4>Responses</h4>
|
<h4>Responses</h4>
|
||||||
@ -85,7 +88,7 @@
|
|||||||
{{ status_code }}: {{ response.description }}
|
{{ status_code }}: {{ response.description }}
|
||||||
<i ng-if="!isEmpty(response.examples)"
|
<i ng-if="!isEmpty(response.examples)"
|
||||||
class="pull-right glyphicon"
|
class="pull-right glyphicon"
|
||||||
ng-class="{'glyphicon-chevron-down': status.open, 'glyphicon-chevron-right': !status.open}"></i>
|
ng-class="{'glyphicon-menu-down': status.open, 'glyphicon-menu-right': !status.open}"></i>
|
||||||
</accordion-heading>
|
</accordion-heading>
|
||||||
<swagger-example swagger="swagger"
|
<swagger-example swagger="swagger"
|
||||||
src="response.examples"
|
src="response.examples"
|
||||||
|
Loading…
Reference in New Issue
Block a user