2016-05-06 00:48:41 +03:00
|
|
|
@import '../../shared/styles/variables';
|
2016-07-21 13:35:27 +03:00
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
|
2016-01-20 19:02:13 +03:00
|
|
|
:host {
|
|
|
|
padding-bottom: 100px;
|
|
|
|
display: block;
|
2016-03-01 01:18:00 +03:00
|
|
|
border-bottom: 1px solid rgba(127, 127, 127, 0.25);
|
2016-08-31 20:41:13 +03:00
|
|
|
margin-top: 1em;
|
2016-11-23 02:23:32 +03:00
|
|
|
transform: translateZ(0);
|
|
|
|
z-index: 2;
|
2016-01-20 19:02:13 +03:00
|
|
|
}
|
|
|
|
|
2016-11-23 02:23:32 +03:00
|
|
|
// :host:last-of-type {
|
|
|
|
// border-bottom: 0;
|
|
|
|
// }
|
2016-07-10 15:43:17 +03:00
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-header {
|
2016-11-23 02:23:32 +03:00
|
|
|
margin-bottom: calc(1em - 6px);
|
2015-10-10 15:34:46 +03:00
|
|
|
}
|
|
|
|
|
2015-10-30 12:43:51 +03:00
|
|
|
.method-tags {
|
2015-11-17 02:43:05 +03:00
|
|
|
margin-top: 20px;
|
2015-10-30 12:43:51 +03:00
|
|
|
|
2016-11-01 18:00:38 +03:00
|
|
|
> 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;
|
|
|
|
}
|
|
|
|
}
|
2015-10-30 12:43:51 +03:00
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-content, .method-samples {
|
2015-10-21 14:07:22 +03:00
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-content {
|
|
|
|
width: 100% - $samples-panel-width;
|
2016-11-01 18:00:38 +03:00
|
|
|
padding: $section-spacing;
|
2015-10-21 14:46:15 +03:00
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-samples {
|
|
|
|
color: $sample-panel-color;
|
2015-10-21 14:46:15 +03:00
|
|
|
width: 40%;
|
2016-11-01 18:00:38 +03:00
|
|
|
padding: $section-spacing;
|
2016-01-20 19:02:13 +03:00
|
|
|
background: $samples-panel-bg-color;
|
2015-10-21 14:46:15 +03:00
|
|
|
}
|
2015-10-21 14:07:22 +03:00
|
|
|
|
2016-03-08 23:03:05 +03:00
|
|
|
.method-samples header,
|
|
|
|
.method-samples > h5 {
|
2015-11-22 16:45:27 +03:00
|
|
|
color: $sample-panel-headers-color;
|
|
|
|
text-transform: uppercase;
|
2015-10-25 14:26:38 +03:00
|
|
|
}
|
|
|
|
|
2016-03-08 23:03:05 +03:00
|
|
|
.method-samples > h5 {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-samples schema-sample {
|
2015-10-25 14:26:38 +03:00
|
|
|
display: block;
|
2015-10-21 17:24:04 +03:00
|
|
|
}
|
|
|
|
|
2015-10-21 14:07:22 +03:00
|
|
|
.method:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear:both;
|
|
|
|
}
|
|
|
|
|
2015-10-18 20:16:40 +03:00
|
|
|
.method-description {
|
2016-03-08 23:03:05 +03:00
|
|
|
padding: 6px 0 10px 0;
|
2016-01-23 15:53:10 +03:00
|
|
|
margin: 0;
|
2015-10-18 20:16:40 +03:00
|
|
|
}
|
|
|
|
|
2016-07-17 18:07:51 +03:00
|
|
|
[select-on-click] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2016-08-10 15:29:49 +03:00
|
|
|
@media (max-width: $right-panel-squash-breakpoint) {
|
2016-01-20 19:02:13 +03:00
|
|
|
.methods:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.method-samples, .method-content {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.method-samples {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
:host {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|