You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
1.3 KiB
90 lines
1.3 KiB
![]()
2 years ago
|
.section-specification {
|
||
|
table {
|
||
|
width: auto;
|
||
|
|
||
|
th {
|
||
|
text-align: left;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.method-title {
|
||
|
margin-left: -15px;
|
||
|
margin-bottom: 8px;
|
||
|
transition: margin-left .3s ease-out;
|
||
|
|
||
|
.section-method.hide & {
|
||
|
margin-left: 0;
|
||
|
}
|
||
|
|
||
|
code {
|
||
|
font-weight: 400;
|
||
|
font-size: .85em;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.method-info {
|
||
|
background: $object-background;
|
||
|
border-bottom: 1px solid $object-border;
|
||
|
margin: 0 -25px;
|
||
|
padding: 20px 25px 0 25px;
|
||
|
transition: height .3s ease-out;
|
||
|
|
||
|
position: relative;
|
||
|
|
||
|
.pointy-thing {
|
||
|
background: $content-background;
|
||
|
height: 10px;
|
||
|
border-bottom: 1px solid $object-border;
|
||
|
margin: -20px -25px 16px -25px;
|
||
|
|
||
|
&:before {
|
||
|
display: inline-block;
|
||
|
content: "";
|
||
|
|
||
|
background: $object-background;
|
||
|
border: 1px solid $object-border;
|
||
|
border-bottom: 0;
|
||
|
border-right: 0;
|
||
|
|
||
|
position: absolute;
|
||
|
left: 21px;
|
||
|
top: 3px;
|
||
|
width: 12px;
|
||
|
height: 12px;
|
||
|
transform: rotate(45deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.method-subsection {
|
||
|
margin-bottom: 15px;
|
||
|
|
||
|
.argument-name {
|
||
|
width: 1px;
|
||
|
text-align: right;
|
||
|
|
||
|
code {
|
||
|
color: #808080;
|
||
|
font-style: italic;
|
||
|
font-weight: 400;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.section-method {
|
||
|
&.hide .method-info {
|
||
|
height: 0 !important;
|
||
|
overflow: hidden;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
&.hide.animating .method-info {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
&.animating .method-info {
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
}
|