redoc/lib/components/RequestSamples/request-samples.scss

43 lines
802 B
SCSS
Raw Normal View History

2016-01-31 20:37:51 +03:00
@import '../../common/styles/variables';
header {
2016-03-14 22:29:27 +03:00
font-family: $headers-font;
font-size: $h5;
text-transform: uppercase;
margin: 0;
color: $sample-panel-headers-color;
text-transform: uppercase;
font-weight: normal;
2016-01-31 20:37:51 +03:00
}
:host > tabs > ul li {
2016-03-14 22:29:27 +03:00
font-family: $headers-font;
font-size: .9em;
border-radius: $border-radius;
margin: 2px 0;
padding: 3px 10px 2px 10px;
line-height: 1.25;
color: $sample-panel-headers-color;
2016-01-31 20:37:51 +03:00
&:hover {
2016-03-14 22:29:27 +03:00
background-color: rgba(white, .1);
color: #ffffff;
}
2016-03-14 22:29:27 +03:00
&.active {
background-color: #ffffff;
color: $text-color;
}
2016-01-31 20:37:51 +03:00
}
:host tabs ul {
2016-03-14 22:29:27 +03:00
padding-top: 10px;
2016-01-31 20:37:51 +03:00
}
pre {
2016-03-14 22:29:27 +03:00
overflow-x: auto;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
2016-01-31 20:37:51 +03:00
}