mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 07:47:29 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			61 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
| .param-list-header {
 | |
|   border-bottom: 1px solid #999;
 | |
|   font-size: 18px;
 | |
|   padding: 0.2em 0;
 | |
|   margin: 0.5em 0;
 | |
|   color: #253137;
 | |
|   font-weight: normal;
 | |
| }
 | |
| 
 | |
| @import '../JsonSchema/json-schema-common';
 | |
| 
 | |
| header.paramType {
 | |
|   margin: 10px 0;
 | |
|   text-transform: capitalize;
 | |
| }
 | |
| 
 | |
| // paramters can't be multilevel so table representation works for it without javascript
 | |
| .params-wrap {
 | |
|   display: table;
 | |
|   width: 100%;
 | |
| }
 | |
| 
 | |
| .param-name {
 | |
|   display: table-cell;
 | |
|   vertical-align: top;
 | |
| }
 | |
| 
 | |
| .param-info {
 | |
|   display: table-cell;
 | |
|   width: 100%;
 | |
| }
 | |
| 
 | |
| .param {
 | |
|   display: table-row;
 | |
| }
 | |
| 
 | |
| .param:last-of-type > .param-name {
 | |
|   border-left: 0;
 | |
|   &:after {
 | |
|     content: "";
 | |
|     display: block;
 | |
|     position: absolute;
 | |
|     left: 0;
 | |
|     border-left: $line-border;
 | |
|     height: ($param-name-height/2) + $cell-padding + $lines-width;
 | |
|     background-color: white;
 | |
|     top: 0;
 | |
|   }
 | |
| }
 | |
| 
 | |
| .param:first-of-type .param-name:after {
 | |
|   content: "";
 | |
|   display: block;
 | |
|   position: absolute;
 | |
|   left: -$lines-width;
 | |
|   border-left: $line-border-erase;
 | |
|   height: ($param-name-height/2) + $cell-padding;
 | |
|   background-color: white;
 | |
|   top: 0;
 | |
| }
 |