joyent-portal/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/firewall.spec.js.snap

8891 lines
230 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <Firewall /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c20 {
margin-top: 1.875rem;
}
.c25 {
margin-bottom: 0.75rem;
}
.c23 {
padding: 8rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c27 {
margin: 0;
color: rgb(73,73,73);
font-weight: normal;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c24 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-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;
}
.c22 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c26 {
color: rgb(151,151,151);
text-align: center;
}
.c21 {
width: calc(100% - 0.125rem);
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="l"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="l"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="l"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
<div
className="c20"
>
<div
className="c21 c22"
disabled={false}
name="card"
>
<div
className="c23"
>
<div
className="c24"
>
<div
className="c25"
>
<svg
height={109}
viewBox="0 0 119.34 109.47"
width={119}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<defs>
<style
dangerouslySetInnerHTML={
Object {
"__html": ".cls-1{opacity:0.5;}.cls-2{fill:url(#radial-gradient);}.cls-3{fill:url(#radial-gradient-2);}.cls-4{fill:#fff;}.cls-5{fill:url(#radial-gradient-3);}.cls-6{fill:#1b3240;}.cls-7{fill:url(#radial-gradient-4);}",
}
}
/>
<radialGradient
cx="208.79"
cy="99.06"
gradientTransform="translate(227.6 -122.69) rotate(102.18) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient"
r="57.13"
>
<stop
offset="0.05"
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#415f72"
/>
<stop
offset="0.13"
stopColor="#3a5769"
/>
<stop
offset="0.16"
stopColor="#2e4959"
/>
<stop
offset="0.19"
stopColor="#1d3543"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.9"
stopColor="#2c4656"
/>
<stop
offset="0.95"
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="59.15"
cy="56.86"
gradientTransform="matrix(-0.52, 0.85, -1.09, -0.66, 151.75, 43.43)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-2"
r="46.01"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#426073"
/>
<stop
offset="0.13"
stopColor="#3c5a6c"
/>
<stop
offset="0.16"
stopColor="#344f61"
/>
<stop
offset="0.18"
stopColor="#274050"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.92"
stopColor="#2c4656"
/>
<stop
offset={1}
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="-521.06"
cy="366.16"
gradientTransform="translate(353.22 -558.2) rotate(-21.55) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-3"
r="32.44"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.02"
stopColor="#436275"
stopOpacity="0.97"
/>
<stop
offset="0.34"
stopColor="#436275"
stopOpacity="0.55"
/>
<stop
offset="0.62"
stopColor="#436275"
stopOpacity="0.25"
/>
<stop
offset="0.85"
stopColor="#436275"
stopOpacity="0.07"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
<radialGradient
cx="-136.43"
cy="140.9"
gradientTransform="translate(242.58 104.51) rotate(58.19) scale(1 0.7)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-4"
r="54.82"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.58"
stopColor="#436275"
stopOpacity="0.4"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
</defs>
<title>
Empty-state-illustration
</title>
<g
data-name="Layer 2"
id="Layer_2"
>
<g
data-name="Layer 1"
id="Layer_1-2"
>
<g
className="cls-1"
>
<path
className="cls-2"
d="M80.06,4.35c-13.32-6.18-29.35-5.57-42.71.53S13.26,22.2,6.63,35.31C1.14,46.16-1.69,58.78,1.08,70.63,3.79,82.22,11.75,92.21,21.73,98.69s21.86,9.66,33.73,10.54c11.45.85,23.26-.43,33.68-5.27,19-8.83,31.51-30,30.09-50.91s-20.11-40-38.57-48.3Z"
/>
</g>
<g
className="cls-1"
>
<path
className="cls-3"
d="M91.49,23.42c-11.21-9.58-24.94-13-38.61-11.88A45.54,45.54,0,0,0,19,32.25a49.05,49.05,0,0,0-5.48,39.52,35.93,35.93,0,0,0,7.15,13.75C26,91.54,33.6,95,41.27,97.28a64.6,64.6,0,0,0,20.16,3,47.46,47.46,0,0,0,32-13.61,44.74,44.74,0,0,0,13.06-32.08,42.49,42.49,0,0,0-15-31.19Z"
/>
</g>
<circle
className="cls-4"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-5"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-6"
cx="61.95"
cy="55.24"
r="34.25"
/>
<circle
className="cls-7"
cx="61.95"
cy="55.24"
r="34.25"
/>
</g>
</g>
</svg>
</div>
<h3
className="c26 c27"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c21 {
margin-top: 1.875rem;
}
.c26 {
margin-bottom: 0.75rem;
}
.c20 {
margin-top: 1.5rem;
}
.c24 {
padding: 8rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c28 {
margin: 0;
color: rgb(73,73,73);
font-weight: normal;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c25 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-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;
}
.c23 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c27 {
color: rgb(151,151,151);
text-align: center;
}
.c22 {
width: calc(100% - 0.125rem);
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="n"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="n"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="n"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
<div
className="c20"
>
<form
className="c8"
>
<div
className="c9"
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="p"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="p"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="p"
>
<div
className="c18"
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c21"
>
<div
className="c22 c23"
disabled={false}
name="card"
>
<div
className="c24"
>
<div
className="c25"
>
<div
className="c26"
>
<svg
height={109}
viewBox="0 0 119.34 109.47"
width={119}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<defs>
<style
dangerouslySetInnerHTML={
Object {
"__html": ".cls-1{opacity:0.5;}.cls-2{fill:url(#radial-gradient);}.cls-3{fill:url(#radial-gradient-2);}.cls-4{fill:#fff;}.cls-5{fill:url(#radial-gradient-3);}.cls-6{fill:#1b3240;}.cls-7{fill:url(#radial-gradient-4);}",
}
}
/>
<radialGradient
cx="208.79"
cy="99.06"
gradientTransform="translate(227.6 -122.69) rotate(102.18) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient"
r="57.13"
>
<stop
offset="0.05"
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#415f72"
/>
<stop
offset="0.13"
stopColor="#3a5769"
/>
<stop
offset="0.16"
stopColor="#2e4959"
/>
<stop
offset="0.19"
stopColor="#1d3543"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.9"
stopColor="#2c4656"
/>
<stop
offset="0.95"
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="59.15"
cy="56.86"
gradientTransform="matrix(-0.52, 0.85, -1.09, -0.66, 151.75, 43.43)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-2"
r="46.01"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#426073"
/>
<stop
offset="0.13"
stopColor="#3c5a6c"
/>
<stop
offset="0.16"
stopColor="#344f61"
/>
<stop
offset="0.18"
stopColor="#274050"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.92"
stopColor="#2c4656"
/>
<stop
offset={1}
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="-521.06"
cy="366.16"
gradientTransform="translate(353.22 -558.2) rotate(-21.55) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-3"
r="32.44"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.02"
stopColor="#436275"
stopOpacity="0.97"
/>
<stop
offset="0.34"
stopColor="#436275"
stopOpacity="0.55"
/>
<stop
offset="0.62"
stopColor="#436275"
stopOpacity="0.25"
/>
<stop
offset="0.85"
stopColor="#436275"
stopOpacity="0.07"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
<radialGradient
cx="-136.43"
cy="140.9"
gradientTransform="translate(242.58 104.51) rotate(58.19) scale(1 0.7)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-4"
r="54.82"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.58"
stopColor="#436275"
stopOpacity="0.4"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
</defs>
<title>
Empty-state-illustration
</title>
<g
data-name="Layer 2"
id="Layer_2"
>
<g
data-name="Layer 1"
id="Layer_1-2"
>
<g
className="cls-1"
>
<path
className="cls-2"
d="M80.06,4.35c-13.32-6.18-29.35-5.57-42.71.53S13.26,22.2,6.63,35.31C1.14,46.16-1.69,58.78,1.08,70.63,3.79,82.22,11.75,92.21,21.73,98.69s21.86,9.66,33.73,10.54c11.45.85,23.26-.43,33.68-5.27,19-8.83,31.51-30,30.09-50.91s-20.11-40-38.57-48.3Z"
/>
</g>
<g
className="cls-1"
>
<path
className="cls-3"
d="M91.49,23.42c-11.21-9.58-24.94-13-38.61-11.88A45.54,45.54,0,0,0,19,32.25a49.05,49.05,0,0,0-5.48,39.52,35.93,35.93,0,0,0,7.15,13.75C26,91.54,33.6,95,41.27,97.28a64.6,64.6,0,0,0,20.16,3,47.46,47.46,0,0,0,32-13.61,44.74,44.74,0,0,0,13.06-32.08,42.49,42.49,0,0,0-15-31.19Z"
/>
</g>
<circle
className="cls-4"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-5"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-6"
cx="61.95"
cy="55.24"
r="34.25"
/>
<circle
className="cls-7"
cx="61.95"
cy="55.24"
r="34.25"
/>
</g>
</g>
</svg>
</div>
<h3
className="c27 c28"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>,
]
`;
exports[`renders <Firewall inactive /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c20 {
margin-top: 1.875rem;
}
.c25 {
margin-bottom: 0.75rem;
}
.c23 {
padding: 8rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c27 {
margin: 0;
color: rgb(73,73,73);
font-weight: normal;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c24 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-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;
}
.c22 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c26 {
color: rgb(151,151,151);
text-align: center;
}
.c21 {
width: calc(100% - 0.125rem);
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="r"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="r"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="r"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
<div
className="c20"
>
<div
className="c21 c22"
disabled={false}
name="card"
>
<div
className="c23"
>
<div
className="c24"
>
<div
className="c25"
>
<svg
height={109}
viewBox="0 0 119.34 109.47"
width={119}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<defs>
<style
dangerouslySetInnerHTML={
Object {
"__html": ".cls-1{opacity:0.5;}.cls-2{fill:url(#radial-gradient);}.cls-3{fill:url(#radial-gradient-2);}.cls-4{fill:#fff;}.cls-5{fill:url(#radial-gradient-3);}.cls-6{fill:#1b3240;}.cls-7{fill:url(#radial-gradient-4);}",
}
}
/>
<radialGradient
cx="208.79"
cy="99.06"
gradientTransform="translate(227.6 -122.69) rotate(102.18) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient"
r="57.13"
>
<stop
offset="0.05"
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#415f72"
/>
<stop
offset="0.13"
stopColor="#3a5769"
/>
<stop
offset="0.16"
stopColor="#2e4959"
/>
<stop
offset="0.19"
stopColor="#1d3543"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.9"
stopColor="#2c4656"
/>
<stop
offset="0.95"
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="59.15"
cy="56.86"
gradientTransform="matrix(-0.52, 0.85, -1.09, -0.66, 151.75, 43.43)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-2"
r="46.01"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#426073"
/>
<stop
offset="0.13"
stopColor="#3c5a6c"
/>
<stop
offset="0.16"
stopColor="#344f61"
/>
<stop
offset="0.18"
stopColor="#274050"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.92"
stopColor="#2c4656"
/>
<stop
offset={1}
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="-521.06"
cy="366.16"
gradientTransform="translate(353.22 -558.2) rotate(-21.55) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-3"
r="32.44"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.02"
stopColor="#436275"
stopOpacity="0.97"
/>
<stop
offset="0.34"
stopColor="#436275"
stopOpacity="0.55"
/>
<stop
offset="0.62"
stopColor="#436275"
stopOpacity="0.25"
/>
<stop
offset="0.85"
stopColor="#436275"
stopOpacity="0.07"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
<radialGradient
cx="-136.43"
cy="140.9"
gradientTransform="translate(242.58 104.51) rotate(58.19) scale(1 0.7)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-4"
r="54.82"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.58"
stopColor="#436275"
stopOpacity="0.4"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
</defs>
<title>
Empty-state-illustration
</title>
<g
data-name="Layer 2"
id="Layer_2"
>
<g
data-name="Layer 1"
id="Layer_1-2"
>
<g
className="cls-1"
>
<path
className="cls-2"
d="M80.06,4.35c-13.32-6.18-29.35-5.57-42.71.53S13.26,22.2,6.63,35.31C1.14,46.16-1.69,58.78,1.08,70.63,3.79,82.22,11.75,92.21,21.73,98.69s21.86,9.66,33.73,10.54c11.45.85,23.26-.43,33.68-5.27,19-8.83,31.51-30,30.09-50.91s-20.11-40-38.57-48.3Z"
/>
</g>
<g
className="cls-1"
>
<path
className="cls-3"
d="M91.49,23.42c-11.21-9.58-24.94-13-38.61-11.88A45.54,45.54,0,0,0,19,32.25a49.05,49.05,0,0,0-5.48,39.52,35.93,35.93,0,0,0,7.15,13.75C26,91.54,33.6,95,41.27,97.28a64.6,64.6,0,0,0,20.16,3,47.46,47.46,0,0,0,32-13.61,44.74,44.74,0,0,0,13.06-32.08,42.49,42.49,0,0,0-15-31.19Z"
/>
</g>
<circle
className="cls-4"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-5"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-6"
cx="61.95"
cy="55.24"
r="34.25"
/>
<circle
className="cls-7"
cx="61.95"
cy="55.24"
r="34.25"
/>
</g>
</g>
</svg>
</div>
<h3
className="c26 c27"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c21 {
margin-top: 1.875rem;
}
.c26 {
margin-bottom: 0.75rem;
}
.c20 {
margin-top: 1.5rem;
}
.c24 {
padding: 8rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c28 {
margin: 0;
color: rgb(73,73,73);
font-weight: normal;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c25 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-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;
}
.c23 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c27 {
color: rgb(151,151,151);
text-align: center;
}
.c22 {
width: calc(100% - 0.125rem);
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="t"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="t"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="t"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
<div
className="c20"
>
<form
className="c8"
>
<div
className="c9"
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="v"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="v"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="v"
>
<div
className="c18"
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c21"
>
<div
className="c22 c23"
disabled={false}
name="card"
>
<div
className="c24"
>
<div
className="c25"
>
<div
className="c26"
>
<svg
height={109}
viewBox="0 0 119.34 109.47"
width={119}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<defs>
<style
dangerouslySetInnerHTML={
Object {
"__html": ".cls-1{opacity:0.5;}.cls-2{fill:url(#radial-gradient);}.cls-3{fill:url(#radial-gradient-2);}.cls-4{fill:#fff;}.cls-5{fill:url(#radial-gradient-3);}.cls-6{fill:#1b3240;}.cls-7{fill:url(#radial-gradient-4);}",
}
}
/>
<radialGradient
cx="208.79"
cy="99.06"
gradientTransform="translate(227.6 -122.69) rotate(102.18) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient"
r="57.13"
>
<stop
offset="0.05"
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#415f72"
/>
<stop
offset="0.13"
stopColor="#3a5769"
/>
<stop
offset="0.16"
stopColor="#2e4959"
/>
<stop
offset="0.19"
stopColor="#1d3543"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.9"
stopColor="#2c4656"
/>
<stop
offset="0.95"
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="59.15"
cy="56.86"
gradientTransform="matrix(-0.52, 0.85, -1.09, -0.66, 151.75, 43.43)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-2"
r="46.01"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#426073"
/>
<stop
offset="0.13"
stopColor="#3c5a6c"
/>
<stop
offset="0.16"
stopColor="#344f61"
/>
<stop
offset="0.18"
stopColor="#274050"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.92"
stopColor="#2c4656"
/>
<stop
offset={1}
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="-521.06"
cy="366.16"
gradientTransform="translate(353.22 -558.2) rotate(-21.55) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-3"
r="32.44"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.02"
stopColor="#436275"
stopOpacity="0.97"
/>
<stop
offset="0.34"
stopColor="#436275"
stopOpacity="0.55"
/>
<stop
offset="0.62"
stopColor="#436275"
stopOpacity="0.25"
/>
<stop
offset="0.85"
stopColor="#436275"
stopOpacity="0.07"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
<radialGradient
cx="-136.43"
cy="140.9"
gradientTransform="translate(242.58 104.51) rotate(58.19) scale(1 0.7)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-4"
r="54.82"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.58"
stopColor="#436275"
stopOpacity="0.4"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
</defs>
<title>
Empty-state-illustration
</title>
<g
data-name="Layer 2"
id="Layer_2"
>
<g
data-name="Layer 1"
id="Layer_1-2"
>
<g
className="cls-1"
>
<path
className="cls-2"
d="M80.06,4.35c-13.32-6.18-29.35-5.57-42.71.53S13.26,22.2,6.63,35.31C1.14,46.16-1.69,58.78,1.08,70.63,3.79,82.22,11.75,92.21,21.73,98.69s21.86,9.66,33.73,10.54c11.45.85,23.26-.43,33.68-5.27,19-8.83,31.51-30,30.09-50.91s-20.11-40-38.57-48.3Z"
/>
</g>
<g
className="cls-1"
>
<path
className="cls-3"
d="M91.49,23.42c-11.21-9.58-24.94-13-38.61-11.88A45.54,45.54,0,0,0,19,32.25a49.05,49.05,0,0,0-5.48,39.52,35.93,35.93,0,0,0,7.15,13.75C26,91.54,33.6,95,41.27,97.28a64.6,64.6,0,0,0,20.16,3,47.46,47.46,0,0,0,32-13.61,44.74,44.74,0,0,0,13.06-32.08,42.49,42.49,0,0,0-15-31.19Z"
/>
</g>
<circle
className="cls-4"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-5"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-6"
cx="61.95"
cy="55.24"
r="34.25"
/>
<circle
className="cls-7"
cx="61.95"
cy="55.24"
r="34.25"
/>
</g>
</g>
</svg>
</div>
<h3
className="c27 c28"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>,
]
`;
exports[`renders <Firewall loading /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
.c8 {
fill: rgb(59,70,204);
stroke: rgb(59,70,204);
-webkit-animation: iCqDak 1.5s ease-out 0s infinite;
animation: iCqDak 1.5s ease-out 0s infinite;
}
.c9 {
-webkit-animation-delay: 0.5s;
animation-delay: 0.5s;
}
.c10 {
-webkit-animation-delay: 1s;
animation-delay: 1s;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c7 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 1.25rem;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
}
.c11 {
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
-webkit-align-self: stretch;
-ms-flex-item-align: stretch;
align-self: stretch;
text-align: center;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<svg
height="10"
width="28"
>
<rect
className="c8"
height="6"
width="6"
x="2"
y="2"
/>
<rect
className="c9 c8"
height="6"
width="6"
x="11"
y="2"
/>
<rect
className="c10 c8"
height="6"
width="6"
x="20"
y="2"
/>
</svg>
<p
className="c11 c6"
>
Loading...
</p>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c8 {
fill: rgb(59,70,204);
stroke: rgb(59,70,204);
-webkit-animation: iCqDak 1.5s ease-out 0s infinite;
animation: iCqDak 1.5s ease-out 0s infinite;
}
.c9 {
-webkit-animation-delay: 0.5s;
animation-delay: 0.5s;
}
.c10 {
-webkit-animation-delay: 1s;
animation-delay: 1s;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c7 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 1.25rem;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
}
.c11 {
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
-webkit-align-self: stretch;
-ms-flex-item-align: stretch;
align-self: stretch;
text-align: center;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<svg
height="10"
width="28"
>
<rect
className="c8"
height="6"
width="6"
x="2"
y="2"
/>
<rect
className="c9 c8"
height="6"
width="6"
x="11"
y="2"
/>
<rect
className="c10 c8"
height="6"
width="6"
x="20"
y="2"
/>
</svg>
<p
className="c11 c6"
>
Loading...
</p>
</div>
</div>,
]
`;
exports[`renders <Firewall loadingError /> without throwing 1`] = `
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c23 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c25 {
margin-top: 1.875rem;
}
.c30 {
margin-bottom: 0.75rem;
}
.c28 {
padding: 8rem;
}
.c18 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c18[type='checkbox'],
.c18[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c18[type='number']::-webkit-inner-spin-button,
.c18[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c18[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c18[type='search']::-webkit-search-cancel-button,
.c18[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c18::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c22 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c32 {
margin: 0;
color: rgb(73,73,73);
font-weight: normal;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c11 {
margin: 0;
color: rgb(73,73,73);
font-weight: 600;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c24 {
height: 1px;
background-color: rgb(216,216,216);
}
.c29 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-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;
}
.c8 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
position: relative;
background-color: rgb(255,255,255);
box-shadow: 0 0.125rem 0 0 rgba(0,0,0,0.05);
border: 0.0625rem solid rgb(216,216,216);
border-radius: 0.1875rem;
width: 100%;
}
.c9 {
border-radius: 0.1875rem 0 0 0.1875rem;
min-width: 0.75rem;
background-color: rgb(0,152,88);
background-color: rgb(210,67,58);
}
.c10 {
padding: 1.125rem 1.125rem;
}
.c12 {
line-height: 0.875rem;
font-size: 0.8125rem;
}
.c27 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
.c17 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c17:checked + label::after {
opacity: 1;
}
.c17:selected + label::after {
opacity: 1;
}
.c17:checked + label {
border-color: rgb(59,70,204);
}
.c17:selected + label {
border-color: rgb(59,70,204);
}
.c17:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c19 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c19::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c16 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c20 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c15 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c15 label {
font-weight: 400;
}
.c15 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c15 div[type='checkbox'],
.c15 div[type='checkbox'] input,
.c15 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c14 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c21 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c31 {
color: rgb(151,151,151);
text-align: center;
}
.c26 {
width: calc(100% - 0.125rem);
}
.c13 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<div
className="c8"
>
<div
className="c9"
/>
<div
className="c10"
>
<h4
className="c11"
>
Ooops!
</h4>
<p
className="c12 c6"
>
An error occurred while loading your firewall rules
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c13"
onChange={[Function]}
>
<div
className="c14"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c15"
>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c17 c18"
disabled={false}
id="x"
onBlur={undefined}
type="checkbox"
/>
<label
className="c19"
htmlFor="x"
/>
</div>
<div
checked={false}
className="c20"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c21 c22"
htmlFor="x"
>
<div
className="c23"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c24 c3"
height="0.0625rem"
/>
<div
className="c25"
>
<div
className="c26 c27"
disabled={false}
name="card"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<svg
height={109}
viewBox="0 0 119.34 109.47"
width={119}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<defs>
<style
dangerouslySetInnerHTML={
Object {
"__html": ".cls-1{opacity:0.5;}.cls-2{fill:url(#radial-gradient);}.cls-3{fill:url(#radial-gradient-2);}.cls-4{fill:#fff;}.cls-5{fill:url(#radial-gradient-3);}.cls-6{fill:#1b3240;}.cls-7{fill:url(#radial-gradient-4);}",
}
}
/>
<radialGradient
cx="208.79"
cy="99.06"
gradientTransform="translate(227.6 -122.69) rotate(102.18) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient"
r="57.13"
>
<stop
offset="0.05"
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#415f72"
/>
<stop
offset="0.13"
stopColor="#3a5769"
/>
<stop
offset="0.16"
stopColor="#2e4959"
/>
<stop
offset="0.19"
stopColor="#1d3543"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.9"
stopColor="#2c4656"
/>
<stop
offset="0.95"
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="59.15"
cy="56.86"
gradientTransform="matrix(-0.52, 0.85, -1.09, -0.66, 151.75, 43.43)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-2"
r="46.01"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#426073"
/>
<stop
offset="0.13"
stopColor="#3c5a6c"
/>
<stop
offset="0.16"
stopColor="#344f61"
/>
<stop
offset="0.18"
stopColor="#274050"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.92"
stopColor="#2c4656"
/>
<stop
offset={1}
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="-521.06"
cy="366.16"
gradientTransform="translate(353.22 -558.2) rotate(-21.55) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-3"
r="32.44"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.02"
stopColor="#436275"
stopOpacity="0.97"
/>
<stop
offset="0.34"
stopColor="#436275"
stopOpacity="0.55"
/>
<stop
offset="0.62"
stopColor="#436275"
stopOpacity="0.25"
/>
<stop
offset="0.85"
stopColor="#436275"
stopOpacity="0.07"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
<radialGradient
cx="-136.43"
cy="140.9"
gradientTransform="translate(242.58 104.51) rotate(58.19) scale(1 0.7)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-4"
r="54.82"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.58"
stopColor="#436275"
stopOpacity="0.4"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
</defs>
<title>
Empty-state-illustration
</title>
<g
data-name="Layer 2"
id="Layer_2"
>
<g
data-name="Layer 1"
id="Layer_1-2"
>
<g
className="cls-1"
>
<path
className="cls-2"
d="M80.06,4.35c-13.32-6.18-29.35-5.57-42.71.53S13.26,22.2,6.63,35.31C1.14,46.16-1.69,58.78,1.08,70.63,3.79,82.22,11.75,92.21,21.73,98.69s21.86,9.66,33.73,10.54c11.45.85,23.26-.43,33.68-5.27,19-8.83,31.51-30,30.09-50.91s-20.11-40-38.57-48.3Z"
/>
</g>
<g
className="cls-1"
>
<path
className="cls-3"
d="M91.49,23.42c-11.21-9.58-24.94-13-38.61-11.88A45.54,45.54,0,0,0,19,32.25a49.05,49.05,0,0,0-5.48,39.52,35.93,35.93,0,0,0,7.15,13.75C26,91.54,33.6,95,41.27,97.28a64.6,64.6,0,0,0,20.16,3,47.46,47.46,0,0,0,32-13.61,44.74,44.74,0,0,0,13.06-32.08,42.49,42.49,0,0,0-15-31.19Z"
/>
</g>
<circle
className="cls-4"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-5"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-6"
cx="61.95"
cy="55.24"
r="34.25"
/>
<circle
className="cls-7"
cx="61.95"
cy="55.24"
r="34.25"
/>
</g>
</g>
</svg>
</div>
<h3
className="c31 c32"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders <Firewall mutationError /> without throwing 1`] = `
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c23 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c25 {
margin-top: 1.875rem;
}
.c30 {
margin-bottom: 0.75rem;
}
.c28 {
padding: 8rem;
}
.c18 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c18[type='checkbox'],
.c18[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c18[type='number']::-webkit-inner-spin-button,
.c18[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c18[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c18[type='search']::-webkit-search-cancel-button,
.c18[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c18::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c22 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c32 {
margin: 0;
color: rgb(73,73,73);
font-weight: normal;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c11 {
margin: 0;
color: rgb(73,73,73);
font-weight: 600;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c24 {
height: 1px;
background-color: rgb(216,216,216);
}
.c29 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-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;
}
.c8 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
position: relative;
background-color: rgb(255,255,255);
box-shadow: 0 0.125rem 0 0 rgba(0,0,0,0.05);
border: 0.0625rem solid rgb(216,216,216);
border-radius: 0.1875rem;
width: 100%;
}
.c9 {
border-radius: 0.1875rem 0 0 0.1875rem;
min-width: 0.75rem;
background-color: rgb(0,152,88);
background-color: rgb(210,67,58);
}
.c10 {
padding: 1.125rem 1.125rem;
}
.c12 {
line-height: 0.875rem;
font-size: 0.8125rem;
}
.c27 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
.c17 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c17:checked + label::after {
opacity: 1;
}
.c17:selected + label::after {
opacity: 1;
}
.c17:checked + label {
border-color: rgb(59,70,204);
}
.c17:selected + label {
border-color: rgb(59,70,204);
}
.c17:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c19 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c19::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c16 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c20 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c15 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c15 label {
font-weight: 400;
}
.c15 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c15 div[type='checkbox'],
.c15 div[type='checkbox'] input,
.c15 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c14 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c21 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c31 {
color: rgb(151,151,151);
text-align: center;
}
.c26 {
width: calc(100% - 0.125rem);
}
.c13 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<div
className="c8"
>
<div
className="c9"
/>
<div
className="c10"
>
<h4
className="c11"
>
Ooops!
</h4>
<p
className="c12 c6"
>
error
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c13"
onChange={[Function]}
>
<div
className="c14"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c15"
>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c17 c18"
disabled={false}
id="z"
onBlur={undefined}
type="checkbox"
/>
<label
className="c19"
htmlFor="z"
/>
</div>
<div
checked={false}
className="c20"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c21 c22"
htmlFor="z"
>
<div
className="c23"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c24 c3"
height="0.0625rem"
/>
<div
className="c25"
>
<div
className="c26 c27"
disabled={false}
name="card"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<svg
height={109}
viewBox="0 0 119.34 109.47"
width={119}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<defs>
<style
dangerouslySetInnerHTML={
Object {
"__html": ".cls-1{opacity:0.5;}.cls-2{fill:url(#radial-gradient);}.cls-3{fill:url(#radial-gradient-2);}.cls-4{fill:#fff;}.cls-5{fill:url(#radial-gradient-3);}.cls-6{fill:#1b3240;}.cls-7{fill:url(#radial-gradient-4);}",
}
}
/>
<radialGradient
cx="208.79"
cy="99.06"
gradientTransform="translate(227.6 -122.69) rotate(102.18) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient"
r="57.13"
>
<stop
offset="0.05"
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#415f72"
/>
<stop
offset="0.13"
stopColor="#3a5769"
/>
<stop
offset="0.16"
stopColor="#2e4959"
/>
<stop
offset="0.19"
stopColor="#1d3543"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.9"
stopColor="#2c4656"
/>
<stop
offset="0.95"
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="59.15"
cy="56.86"
gradientTransform="matrix(-0.52, 0.85, -1.09, -0.66, 151.75, 43.43)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-2"
r="46.01"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.1"
stopColor="#426073"
/>
<stop
offset="0.13"
stopColor="#3c5a6c"
/>
<stop
offset="0.16"
stopColor="#344f61"
/>
<stop
offset="0.18"
stopColor="#274050"
/>
<stop
offset="0.19"
stopColor="#1b3240"
/>
<stop
offset="0.26"
stopColor="#1e3644"
/>
<stop
offset="0.32"
stopColor="#274150"
/>
<stop
offset="0.39"
stopColor="#365364"
/>
<stop
offset="0.43"
stopColor="#436275"
/>
<stop
offset="0.49"
stopColor="#3f5d6f"
/>
<stop
offset="0.56"
stopColor="#324e5f"
/>
<stop
offset="0.65"
stopColor="#1e3644"
/>
<stop
offset="0.66"
stopColor="#1b3240"
/>
<stop
offset="0.85"
stopColor="#1b3240"
/>
<stop
offset="0.92"
stopColor="#2c4656"
/>
<stop
offset={1}
stopColor="#436275"
/>
</radialGradient>
<radialGradient
cx="-521.06"
cy="366.16"
gradientTransform="translate(353.22 -558.2) rotate(-21.55) scale(1 1.28)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-3"
r="32.44"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.02"
stopColor="#436275"
stopOpacity="0.97"
/>
<stop
offset="0.34"
stopColor="#436275"
stopOpacity="0.55"
/>
<stop
offset="0.62"
stopColor="#436275"
stopOpacity="0.25"
/>
<stop
offset="0.85"
stopColor="#436275"
stopOpacity="0.07"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
<radialGradient
cx="-136.43"
cy="140.9"
gradientTransform="translate(242.58 104.51) rotate(58.19) scale(1 0.7)"
gradientUnits="userSpaceOnUse"
id="radial-gradient-4"
r="54.82"
>
<stop
offset={0}
stopColor="#436275"
/>
<stop
offset="0.58"
stopColor="#436275"
stopOpacity="0.4"
/>
<stop
offset={1}
stopColor="#436275"
stopOpacity={0}
/>
</radialGradient>
</defs>
<title>
Empty-state-illustration
</title>
<g
data-name="Layer 2"
id="Layer_2"
>
<g
data-name="Layer 1"
id="Layer_1-2"
>
<g
className="cls-1"
>
<path
className="cls-2"
d="M80.06,4.35c-13.32-6.18-29.35-5.57-42.71.53S13.26,22.2,6.63,35.31C1.14,46.16-1.69,58.78,1.08,70.63,3.79,82.22,11.75,92.21,21.73,98.69s21.86,9.66,33.73,10.54c11.45.85,23.26-.43,33.68-5.27,19-8.83,31.51-30,30.09-50.91s-20.11-40-38.57-48.3Z"
/>
</g>
<g
className="cls-1"
>
<path
className="cls-3"
d="M91.49,23.42c-11.21-9.58-24.94-13-38.61-11.88A45.54,45.54,0,0,0,19,32.25a49.05,49.05,0,0,0-5.48,39.52,35.93,35.93,0,0,0,7.15,13.75C26,91.54,33.6,95,41.27,97.28a64.6,64.6,0,0,0,20.16,3,47.46,47.46,0,0,0,32-13.61,44.74,44.74,0,0,0,13.06-32.08,42.49,42.49,0,0,0-15-31.19Z"
/>
</g>
<circle
className="cls-4"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-5"
cx="23.53"
cy="73.77"
r="11.93"
/>
<circle
className="cls-6"
cx="61.95"
cy="55.24"
r="34.25"
/>
<circle
className="cls-7"
cx="61.95"
cy="55.24"
r="34.25"
/>
</g>
</g>
</svg>
</div>
<h3
className="c31 c32"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders <Firewall tagRules /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="B"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="B"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="B"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="D"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="D"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="D"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c21 {
margin-top: 1.875rem;
}
.c20 {
margin-top: 1.5rem;
}
.c23 {
margin-top: 1.125rem;
}
.c24 {
margin-bottom: 0rem;
}
.c29 {
margin-right: 0.1875rem;
}
.c33 {
margin-left: 0.1875rem;
}
.c26 {
padding-top: 0.75rem;
padding-right: 1.125rem;
padding-bottom: 0.75rem;
padding-left: 1.125rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c27 {
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;
}
.c36 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c22 {
margin: 0;
color: rgb(73,73,73);
font-weight: normal;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c31 {
color: rgb(73,73,73);
font-weight: 700;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c28 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c32 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c30 {
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex-basis: auto;
-ms-flex-preferred-size: auto;
flex-basis: auto;
-webkit-box-flex: 0;
-webkit-flex-grow: 0;
-ms-flex-positive: 0;
flex-grow: 0;
-webkit-flex-shrink: 1;
-ms-flex-negative: 1;
flex-shrink: 1;
display: block;
}
.c25 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
border-color: rgb(216,216,216);
background-color: rgb(250,250,250);
color: rgb(73,73,73);
cursor: default;
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c35 {
border: 0.0625rem solid rgb(216,216,216);
box-sizing: border-box;
border-radius: 0.125rem;
font-size: 0.8125rem;
line-height: 1.125rem;
padding: 0.3125rem 0.75rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 0;
-webkit-flex-grow: 0;
-ms-flex-positive: 0;
flex-grow: 0;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c34 {
margin: 0;
padding: 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
list-style: none;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (min-width:0em) {
.c27 {
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
}
@media only screen and (min-width:0em) {
.c36 {
-webkit-flex-basis: 16.666666666666668%;
-ms-flex-preferred-size: 16.666666666666668%;
flex-basis: 16.666666666666668%;
max-width: 16.666666666666668%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="F"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="F"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="F"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
<div
className="c20"
>
<form
className="c8"
>
<div
className="c9"
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="H"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="H"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="H"
>
<div
className="c18"
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c21"
>
<h3
className="c22"
>
Firewall rules from instance tags
</h3>
<div
className="c23"
>
<div
className="c24"
>
<div
className="c25"
disabled={true}
name="card"
>
<div
className="c26"
>
<div
className="c3"
>
<div
className="c27"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
</div>
</div>
<div
className="c32"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Any
</p>
</div>
</div>
</div>
<div
className="c27"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
To:
</strong>
</div>
</div>
<div
className="c32"
>
<div
className="c33"
>
<ul
className="c34"
>
<li
className="c35"
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
<div
className="c36"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
</div>
</div>
<div
className="c32"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
tcp
</p>
</div>
</div>
</div>
<div
className="c36"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
</div>
</div>
<div
className="c32"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
all
</p>
</div>
</div>
</div>
<div
className="c36"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
</div>
</div>
<div
className="c32"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Allow
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>,
]
`;
exports[`renders <Firewall tagRules /> without throwing 2`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="J"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="J"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="J"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="L"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="L"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="L"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c18 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c21 {
margin-top: 1.875rem;
}
.c20 {
margin-top: 1.5rem;
}
.c23 {
margin-top: 1.125rem;
}
.c24 {
margin-bottom: 0rem;
}
.c29 {
margin-right: 0.1875rem;
}
.c33 {
margin-left: 0.1875rem;
}
.c26 {
padding-top: 0.75rem;
padding-right: 1.125rem;
padding-bottom: 0.75rem;
padding-left: 1.125rem;
}
.c13 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c13[type='checkbox'],
.c13[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c13[type='number']::-webkit-inner-spin-button,
.c13[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c13[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c13[type='search']::-webkit-search-cancel-button,
.c13[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c13::-webkit-file-upload-button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
font: inherit;
}
.c6 {
color: rgb(73,73,73);
margin: 0;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c17 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
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;
}
.c4 {
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;
}
.c27 {
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;
}
.c36 {
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;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 62.5rem;
padding-bottom: 1.125rem;
}
.c22 {
margin: 0;
color: rgb(73,73,73);
font-weight: normal;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c31 {
color: rgb(73,73,73);
font-weight: 700;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c19 {
height: 1px;
background-color: rgb(216,216,216);
}
.c28 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c32 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c30 {
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex-basis: auto;
-ms-flex-preferred-size: auto;
flex-basis: auto;
-webkit-box-flex: 0;
-webkit-flex-grow: 0;
-ms-flex-positive: 0;
flex-grow: 0;
-webkit-flex-shrink: 1;
-ms-flex-negative: 1;
flex-shrink: 1;
display: block;
}
.c25 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
border-color: rgb(216,216,216);
background-color: rgb(250,250,250);
color: rgb(73,73,73);
cursor: default;
}
.c12 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c12:checked + label::after {
opacity: 1;
}
.c12:selected + label::after {
opacity: 1;
}
.c12:checked + label {
border-color: rgb(59,70,204);
}
.c12:selected + label {
border-color: rgb(59,70,204);
}
.c12:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c14 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 0;
right: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
.c14::after {
opacity: 0;
content: '';
position: absolute;
width: 0.375rem;
height: 0.125rem;
background: transparent;
top: 0.3125rem;
left: 0.25rem;
border: 0.125rem solid rgb(45,45,45);
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.c11 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c15 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c10 {
list-style-type: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 1.5rem;
}
.c10 label {
font-weight: 400;
}
.c10 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c10 div[type='checkbox'],
.c10 div[type='checkbox'] input,
.c10 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c9 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c16 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c35 {
border: 0.0625rem solid rgb(216,216,216);
box-sizing: border-box;
border-radius: 0.125rem;
font-size: 0.8125rem;
line-height: 1.125rem;
padding: 0.3125rem 0.75rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 0;
-webkit-flex-grow: 0;
-ms-flex-positive: 0;
flex-grow: 0;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c34 {
margin: 0;
padding: 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
list-style: none;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.c8 {
margin-bottom: 0 !important;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (min-width:0em) {
.c27 {
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
}
@media only screen and (min-width:0em) {
.c36 {
-webkit-flex-basis: 16.666666666666668%;
-ms-flex-preferred-size: 16.666666666666668%;
flex-basis: 16.666666666666668%;
max-width: 16.666666666666668%;
}
}
@media only screen and (max-width:47.9375rem) {
.c0 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
<form
className="c8"
onChange={[Function]}
>
<div
className="c9"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="N"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="N"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="N"
>
<div
className="c18"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c19 c3"
height="0.0625rem"
/>
<div
className="c20"
>
<form
className="c8"
>
<div
className="c9"
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c10"
>
<div
checked={false}
className="c11"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c12 c13"
disabled={false}
id="P"
onBlur={undefined}
type="checkbox"
/>
<label
className="c14"
htmlFor="P"
/>
</div>
<div
checked={false}
className="c15"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
className="c16 c17"
htmlFor="P"
>
<div
className="c18"
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
<div
className="c21"
>
<h3
className="c22"
>
Default firewall rules
</h3>
<div
className="c23"
>
<div
className="c24"
>
<div
className="c25"
disabled={true}
name="card"
>
<div
className="c26"
>
<div
className="c3"
>
<div
className="c27"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
</div>
</div>
<div
className="c32"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Any
</p>
</div>
</div>
</div>
<div
className="c27"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
To:
</strong>
</div>
</div>
<div
className="c32"
>
<div
className="c33"
>
<ul
className="c34"
>
<li
className="c35"
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
<div
className="c36"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
</div>
</div>
<div
className="c32"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
tcp
</p>
</div>
</div>
</div>
<div
className="c36"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
</div>
</div>
<div
className="c32"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
all
</p>
</div>
</div>
</div>
<div
className="c36"
>
<div
className="c28"
>
<div
className="c29"
>
<div
className="c30"
>
<strong
className="c31"
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
</div>
</div>
<div
className="c32"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Allow
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>,
]
`;