mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 09:47:31 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			106 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
@import '../../shared/styles/variables';
 | 
						|
 | 
						|
 | 
						|
:host {
 | 
						|
  padding-bottom: 100px;
 | 
						|
  display: block;
 | 
						|
  border-bottom: 1px solid rgba(127, 127, 127, 0.25);
 | 
						|
  margin-top: 1em;
 | 
						|
  transform: translateZ(0);
 | 
						|
  z-index: 2;
 | 
						|
}
 | 
						|
 | 
						|
// :host:last-of-type {
 | 
						|
//   border-bottom: 0;
 | 
						|
// }
 | 
						|
 | 
						|
.method-header {
 | 
						|
  margin-bottom: calc(1em - 6px);
 | 
						|
}
 | 
						|
 | 
						|
.method-tags {
 | 
						|
  margin-top: 20px;
 | 
						|
 | 
						|
  > a {
 | 
						|
    font-size: 16px;
 | 
						|
    color: #999;
 | 
						|
    display: inline-block;
 | 
						|
    padding: 0 0.5em;
 | 
						|
    text-decoration: none;
 | 
						|
 | 
						|
    &:before {
 | 
						|
      content: '#';
 | 
						|
      margin-right: -0.4em;
 | 
						|
    }
 | 
						|
 | 
						|
    &:first-of-type {
 | 
						|
      padding: 0;
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.method-content, .method-samples {
 | 
						|
  display: block;
 | 
						|
  box-sizing: border-box;
 | 
						|
  float: left;
 | 
						|
}
 | 
						|
 | 
						|
.method-content {
 | 
						|
  width: 100% - $samples-panel-width;
 | 
						|
  padding: $section-spacing;
 | 
						|
}
 | 
						|
 | 
						|
.method-samples {
 | 
						|
  color: $sample-panel-color;
 | 
						|
  width: 40%;
 | 
						|
  padding: $section-spacing;
 | 
						|
  background: $samples-panel-bg-color;
 | 
						|
}
 | 
						|
 | 
						|
.method-samples header,
 | 
						|
.method-samples > h5 {
 | 
						|
  color: $sample-panel-headers-color;
 | 
						|
  text-transform: uppercase;
 | 
						|
}
 | 
						|
 | 
						|
.method-samples > h5 {
 | 
						|
    margin-bottom: 8px;
 | 
						|
}
 | 
						|
 | 
						|
.method-samples schema-sample {
 | 
						|
  display: block;
 | 
						|
}
 | 
						|
 | 
						|
.method:after {
 | 
						|
  content: "";
 | 
						|
  display: table;
 | 
						|
  clear:both;
 | 
						|
}
 | 
						|
 | 
						|
.method-description {
 | 
						|
  padding: 6px 0 10px 0;
 | 
						|
  margin: 0;
 | 
						|
}
 | 
						|
 | 
						|
[select-on-click] {
 | 
						|
  cursor: pointer;
 | 
						|
}
 | 
						|
 | 
						|
@media (max-width: $right-panel-squash-breakpoint) {
 | 
						|
  .methods:before {
 | 
						|
    display: none;
 | 
						|
  }
 | 
						|
 | 
						|
  .method-samples, .method-content  {
 | 
						|
    width: 100%;
 | 
						|
  }
 | 
						|
 | 
						|
  .method-samples {
 | 
						|
    margin-top: 2em;
 | 
						|
  }
 | 
						|
 | 
						|
  :host {
 | 
						|
    padding-bottom: 0;
 | 
						|
  }
 | 
						|
}
 |