joyent-portal/packages/cp-frontend/test/unit/containers/service/__snapshots__/delete.js.snap

336 lines
6.5 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <ServiceDelete /> without throwing 1`] = `
.c4 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
min-width: 7.5rem;
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 0;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
line-height: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: ;
background-image: none;
background-color: ;
border-radius: 0.25rem;
border: solid 0.0625rem;
}
.c4::-moz-focus-inner,
.c4[type="button"]::-moz-focus-inner,
.c4[type="reset"]::-moz-focus-inner,
.c4[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c4:-moz-focusring,
.c4[type="button"]:-moz-focusring,
.c4[type="reset"]:-moz-focusring,
.c4[type="submit"]:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c4:focus {
outline: 0;
text-decoration: none;
background-color: ;
border-color: ;
}
.c4:hover {
background-color: ;
border: solid 0.0625rem;
}
.c4:active,
.c4:active:hover,
.c4:active:focus {
background-image: none;
outline: 0;
background-color: ;
border-color: ;
}
.c4[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c4 + button {
margin-left: 1.25rem;
}
.c9 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
min-width: 7.5rem;
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 0;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
line-height: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: ;
background-image: none;
background-color: ;
border-radius: 0.25rem;
border: solid 0.0625rem;
color: ;
background-color: ;
border-color: ;
}
.c9::-moz-focus-inner,
.c9[type="button"]::-moz-focus-inner,
.c9[type="reset"]::-moz-focus-inner,
.c9[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c9:-moz-focusring,
.c9[type="button"]:-moz-focusring,
.c9[type="reset"]:-moz-focusring,
.c9[type="submit"]:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c9:focus {
outline: 0;
text-decoration: none;
background-color: ;
border-color: ;
}
.c9:hover {
background-color: ;
border: solid 0.0625rem;
}
.c9:active,
.c9:active:hover,
.c9:active:focus {
background-image: none;
outline: 0;
background-color: ;
border-color: ;
}
.c9[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c9:focus {
background-color: ;
border-color: ;
}
.c9:hover {
background-color: ;
border-color: ;
}
.c9:active,
.c9:active:hover,
.c9:active:focus {
background-color: ;
border-color: ;
}
.c9 + button {
margin-left: 1.25rem;
}
.c6 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 500;
font-size: 1.5rem;
}
.c8 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-weight: 400;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c3 {
background-color: #FFFFFF;
padding: 0.75rem;
min-width: auto;
border: none;
box-shadow: none;
}
.c3:hover,
.c3:focus,
.c3:active,
.c3:active:hover,
.c3:active:focus {
background-color: #FFFFFF;
border: none;
box-shadow: none;
}
.c0 {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(250,250,250,0.5);
z-index: 100;
}
.c1 {
position: absolute;
left: 50%;
top: 33.33%;
padding: 2.25rem 2.25rem 2.25rem 2.25rem;
background-color: ;
box-shadow: 0 0 0.375rem 0.0625rem rgba(0,0,0,0.1);
width: 28.75rem;
margin: 0 auto 0 -14.375rem;
z-index: 101;
}
.c2 {
position: absolute;
right: 0.375rem;
top: 0.1875rem;
}
.c5 {
line-height: 1.25;
color: ;
margin: 0 0 0.75rem 0;
}
.c7 {
color: ;
margin: 0.75rem 0 1.875rem 0;
}
<div
className="c0"
>
<div
className="c1"
width={460}
>
<button
className="c2 c3 c4"
onClick={[Function]}
>
<svg
className=""
height="12"
viewBox="0 0 12 12"
width="12"
xmlns="http://www.w3.org/2000/svg"
>
<title>
icon: close
</title>
<path
d="M7.314 5.9l4.242-4.243L10.142.243 5.9 4.485 1.657.243.243 1.657l4.242 4.242-4.242 4.243 1.414 1.414 4.242-4.242 4.243 4.242 1.414-1.414L7.314 5.9z"
fill="#494949"
fillRule="evenodd"
/>
</svg>
</button>
<div>
<h2
className="c5 c6"
>
Deleting a service:
<br />
Nginx
</h2>
<p
className="c7 c8"
>
Deleting a service can lead to irreversible loss of data and failures in your application. Are you sure you want to continue?
</p>
<button
className="c9"
onClick={[Function]}
>
Cancel
</button>
<button
className="c4"
onClick={[Function]}
>
Delete service
</button>
</div>
</div>
</div>
`;