joyent-portal/packages/ui-toolkit/src/breadcrumb/__tests__/__snapshots__/index.spec.js.snap

356 lines
6.5 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Breadcrumb Default Breadcrumb 1`] = `
.c7 {
color: rgb(73,73,73);
font-weight: 600;
line-height: 1.5rem;
font-size: 0.9375rem;
margin: 0;
font-weight: normal;
margin: 0.75rem 0;
}
.c7 + p,
.c7 + small,
.c7 + h1,
.c7 + h2,
.c7 + label,
.c7 + h3,
.c7 + h4,
.c7 + h5,
.c7 + div,
.c7 + span {
margin-top: 0.75rem;
}
.c8 {
margin: 0.1875rem 0.625rem;
}
.c6 {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c6:first-child a {
color: inherit;
-webkit-text-decoration: none;
text-decoration: none;
}
.c6:last-child svg {
display: none;
}
.c1 {
margin-right: auto;
margin-left: auto;
padding-right: 1.875rem;
padding-left: 1.875rem;
box-sizing: border-box;
width: 100%;
padding-left: 0;
padding-right: 0;
}
.c3 {
margin-right: auto;
margin-left: auto;
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
}
.c4 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c5 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c2 {
padding-top: 0.375rem;
padding-bottom: 0.375rem;
}
.c0 {
border-bottom: 0.0625rem solid rgb(216,216,216);
}
@media only screen and (min-width:48em) {
.c3 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c3 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c3 {
width: 59rem;
}
}
@media only screen and (max-width:47.9375rem) {
.c3 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
@media only screen and (min-width:0em) {
.c5 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
name="breadcrum"
>
<div
className="c5"
>
<div
className="c6"
>
<h4
className="c7"
name="breadcrum-item"
>
Home
</h4>
<svg
className="c8 "
height="6"
innerRef={undefined}
style={
Object {
"transform": "rotate(-90deg)",
}
}
viewBox="0 0 9.6 6"
width="9.6"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9.6,1.12,8.24,0,4.8,3.5,1.36,0,0,1.12,4.8,6Z"
fill="rgb(151, 151, 151)"
/>
</svg>
</div>
<div
className="c6"
>
<h4
className="c7"
name="breadcrum-item"
>
Warp Records Blog
</h4>
<svg
className="c8 "
height="6"
innerRef={undefined}
style={
Object {
"transform": "rotate(-90deg)",
}
}
viewBox="0 0 9.6 6"
width="9.6"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9.6,1.12,8.24,0,4.8,3.5,1.36,0,0,1.12,4.8,6Z"
fill="rgb(151, 151, 151)"
/>
</svg>
</div>
<div
className="c6"
>
<h4
className="c7"
name="breadcrum-item"
>
Services
</h4>
<svg
className="c8 "
height="6"
innerRef={undefined}
style={
Object {
"transform": "rotate(-90deg)",
}
}
viewBox="0 0 9.6 6"
width="9.6"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9.6,1.12,8.24,0,4.8,3.5,1.36,0,0,1.12,4.8,6Z"
fill="rgb(151, 151, 151)"
/>
</svg>
</div>
<div
className="c6"
>
<h4
className="c7"
name="breadcrum-item"
>
Nginx
</h4>
<svg
className="c8 "
height="6"
innerRef={undefined}
style={
Object {
"transform": "rotate(-90deg)",
}
}
viewBox="0 0 9.6 6"
width="9.6"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9.6,1.12,8.24,0,4.8,3.5,1.36,0,0,1.12,4.8,6Z"
fill="rgb(151, 151, 151)"
/>
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
`;
exports[`Breadcrumb Default Item 1`] = `
.c1 {
color: rgb(73,73,73);
font-weight: 600;
line-height: 1.5rem;
font-size: 0.9375rem;
margin: 0;
font-weight: normal;
margin: 0.75rem 0;
}
.c1 + p,
.c1 + small,
.c1 + h1,
.c1 + h2,
.c1 + label,
.c1 + h3,
.c1 + h4,
.c1 + h5,
.c1 + div,
.c1 + span {
margin-top: 0.75rem;
}
.c2 {
margin: 0.1875rem 0.625rem;
}
.c0 {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c0:first-child a {
color: inherit;
-webkit-text-decoration: none;
text-decoration: none;
}
.c0:last-child svg {
display: none;
}
<div
className="c0"
>
<h4
className="c1"
name="breadcrum-item"
>
Home
</h4>
<svg
className="c2 "
height="6"
innerRef={undefined}
style={
Object {
"transform": "rotate(-90deg)",
}
}
viewBox="0 0 9.6 6"
width="9.6"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9.6,1.12,8.24,0,4.8,3.5,1.36,0,0,1.12,4.8,6Z"
fill="rgb(151, 151, 151)"
/>
</svg>
</div>
`;