mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 09:47:31 +03:00 
			
		
		
		
	Styling for tags
This commit is contained in:
		
							parent
							
								
									40ec886f7d
								
							
						
					
					
						commit
						b56c170d3a
					
				| 
						 | 
				
			
			@ -3,8 +3,9 @@ responses-list, params-list {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
h2 {
 | 
			
		||||
  font-size: 32px;
 | 
			
		||||
  font-size: 25px;
 | 
			
		||||
  font-weight: 200;
 | 
			
		||||
  color: #666;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
h3 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user