* style: update gray brand colors (#994) * Style: Update brand colors (#1043) * style: update brand colors * chore: upgrade react components (#1072) * chore: upgrade react components chore: upgrade docs-page * chore: pin deps * chore: update logos (#1083) * chore: upgrade components to latest chore: upgrade components to stable * chore: style fixes style: color fixes style: adjust body copy color * chore: upgrade deps to stable * style(home): feature icons path to black * chore: upgrade deps for body copy colors * chore: upgrades alert banner * feat: updates favicon * style(home-hero): updates progress bar base * style(home-hero): fix download cta color override
146 lines
2.3 KiB
CSS
146 lines
2.3 KiB
CSS
.root {
|
|
border-bottom: 1px solid var(--gray-5);
|
|
margin: 0;
|
|
margin-top: -1px;
|
|
position: relative;
|
|
transition: border-color 0.2s;
|
|
|
|
&[data-is-hovered='true'] {
|
|
border-bottom-color: var(--brand);
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
position: relative;
|
|
padding: 16px 0;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.meta {
|
|
width: 100%;
|
|
}
|
|
|
|
.title {
|
|
position: relative;
|
|
display: inline-block;
|
|
composes: g-type-body-x-strong from global;
|
|
color: var(--gray-2);
|
|
margin: 0 0 4px 0;
|
|
padding: 0;
|
|
|
|
&[data-is-highlighted='true'] {
|
|
&::before {
|
|
content: '\200B';
|
|
position: absolute;
|
|
top: -4px;
|
|
left: -8px;
|
|
right: -8px;
|
|
bottom: -4px;
|
|
background: var(--warning-l1);
|
|
z-index: -1;
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
|
|
&[data-is-hovered='true'] {
|
|
color: var(--brand);
|
|
}
|
|
}
|
|
|
|
.endpoint {
|
|
composes: g-type-code from global;
|
|
|
|
& .method {
|
|
color: var(--gray-3);
|
|
|
|
&[data-is-hovered='true'] {
|
|
color: var(--brand);
|
|
}
|
|
}
|
|
|
|
& .path {
|
|
color: var(--gray-2);
|
|
}
|
|
}
|
|
|
|
.toggleButton {
|
|
border: none;
|
|
color: var(--brand);
|
|
background: none;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: inherit;
|
|
margin: 0;
|
|
padding: 0 0 0 24px;
|
|
transition: color 0.2s;
|
|
|
|
& .toggleIcon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-left: 8px;
|
|
position: relative;
|
|
top: 1px;
|
|
transition: transform 0.3s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
& svg {
|
|
& [fill] {
|
|
fill: var(--brand);
|
|
}
|
|
& [stroke] {
|
|
stroke: var(--brand);
|
|
}
|
|
}
|
|
|
|
&[data-is-collapsed='false'] {
|
|
transform: rotate(-180deg);
|
|
}
|
|
}
|
|
|
|
&[data-is-hovered='true'] {
|
|
color: var(--brand);
|
|
}
|
|
}
|
|
|
|
.details {
|
|
padding-bottom: 80px;
|
|
|
|
& .summary {
|
|
color: var(--gray-2);
|
|
margin: 8px 0 24px 0;
|
|
}
|
|
|
|
& .columnHeading {
|
|
margin: 0 0 1em 0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
& .columnSectionHeading {
|
|
margin: 0 !important; /* Needed to override ".g-content p" margins */
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid var(--gray-5);
|
|
color: var(--gray-3);
|
|
}
|
|
}
|
|
|
|
.twoColumnLayout {
|
|
display: flex;
|
|
|
|
& > div:nth-child(1),
|
|
& > div:nth-child(3) {
|
|
position: relative;
|
|
width: calc(50% - 16px);
|
|
}
|
|
|
|
& > div:nth-child(2) {
|
|
width: 32px;
|
|
}
|
|
}
|