Includes: * display ToC for API docs * update dgeni-packages to 0.24.1 * add floating sidebar in API docs * add breadcrumbs and structured data for Google crawler * improved rendering of method overloads * properties rendered in a table * params rendered with docs * removal of outdated "infobox" from all API docs PR Close #21874
115 lines
1.9 KiB
SCSS
115 lines
1.9 KiB
SCSS
table {
|
|
margin: 24px 0px;
|
|
box-shadow: 0 2px 2px rgba($black, 0.24), 0 0 2px rgba($black, 0.12);
|
|
border-radius: 2px;
|
|
background: $offwhite;
|
|
|
|
&.is-full-width {
|
|
width: 100%;
|
|
}
|
|
|
|
&.is-fixed-layout {
|
|
table-layout: fixed;
|
|
}
|
|
|
|
thead > {
|
|
vertical-align: middle;
|
|
border-color: inherit;
|
|
|
|
tr {
|
|
vertical-align: inherit;
|
|
border-color: inherit;
|
|
}
|
|
|
|
tr > th {
|
|
background: rgba($lightgray, 0.2);
|
|
border-bottom: 1px solid $lightgray;
|
|
color: $darkgray;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
padding: 8px 24px;
|
|
text-align: left;
|
|
text-transform: uppercase;
|
|
line-height: 28px;
|
|
}
|
|
}
|
|
|
|
tbody > tr > {
|
|
th,
|
|
td {
|
|
border-bottom: 1px solid $lightgray;
|
|
padding: 16px;
|
|
text-align: left;
|
|
line-height: 24px;
|
|
vertical-align: top;
|
|
|
|
@media (max-width: 480px) {
|
|
&:before {
|
|
// content: **ADD TABLE HEADER**;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
td {
|
|
letter-spacing: 0.30px;
|
|
|
|
tr td:first-child {
|
|
@media (max-width: 480px) {
|
|
background-color: $lightgray;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
th {
|
|
background: rgba($lightgray, 0.2);
|
|
border-right: 1px solid $lightgray;
|
|
font-weight: 600;
|
|
max-width: 100px;
|
|
}
|
|
|
|
&:last-child td {
|
|
border: none;
|
|
|
|
@media (max-width: 480px) {
|
|
border-bottom: 1px solid $lightgray;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#cheatsheet {
|
|
|
|
table tbody td {
|
|
overflow: auto;
|
|
}
|
|
|
|
@media only screen and (max-width: 990px) {
|
|
|
|
/* Force table to not be like tables anymore */
|
|
table, thead, tbody, tfoot, tr, th, td {
|
|
display: block;
|
|
position: relative;
|
|
max-width: 100%;
|
|
|
|
code {
|
|
padding: 0;
|
|
background-color: inherit;
|
|
}
|
|
}
|
|
|
|
th {
|
|
border-right: none;
|
|
}
|
|
|
|
th, td {
|
|
&:not(:last-child) {
|
|
border-bottom: none;
|
|
padding-bottom: 0px;
|
|
}
|
|
}
|
|
}
|
|
}
|