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

10171 lines
278 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;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c20 {
margin-top: 1.875rem;
}
.c25 {
margin-bottom: 0.75rem;
}
.c23 {
padding: 8rem;
}
.c7 {
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;
}
.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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c27 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.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);
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
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);
}
.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="l"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="l"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="l"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
/>
</div>
<div
className="c20"
>
<div
className="c21 c22"
disabled={false}
name="card"
>
<div
className="c23"
>
<div
className="c24"
>
<div
className="c25"
>
<svg
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
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;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c20 {
margin-top: 1.875rem;
}
.c25 {
margin-bottom: 0.75rem;
}
.c23 {
padding: 8rem;
}
.c7 {
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;
}
.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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c27 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.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);
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
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);
}
.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="n"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="n"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="n"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
>
<form>
<div
className="c10"
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="p"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="p"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="p"
>
<div
className="c19"
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c20"
>
<div
className="c21 c22"
disabled={false}
name="card"
>
<div
className="c23"
>
<div
className="c24"
>
<div
className="c25"
>
<svg
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
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>,
]
`;
exports[`renders <Firewall inactive /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c20 {
margin-top: 1.875rem;
}
.c25 {
margin-bottom: 0.75rem;
}
.c23 {
padding: 8rem;
}
.c7 {
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;
}
.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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c27 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.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);
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
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);
}
.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="r"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="r"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="r"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
/>
</div>
<div
className="c20"
>
<div
className="c21 c22"
disabled={false}
name="card"
>
<div
className="c23"
>
<div
className="c24"
>
<div
className="c25"
>
<svg
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
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;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c20 {
margin-top: 1.875rem;
}
.c25 {
margin-bottom: 0.75rem;
}
.c23 {
padding: 8rem;
}
.c7 {
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;
}
.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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c27 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.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);
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
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);
}
.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="t"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="t"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="t"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
>
<form>
<div
className="c10"
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="v"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="v"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="v"
>
<div
className="c19"
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c20"
>
<div
className="c21 c22"
disabled={false}
name="card"
>
<div
className="c23"
>
<div
className="c24"
>
<div
className="c25"
>
<svg
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
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>,
]
`;
exports[`renders <Firewall loading /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
.c12 {
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;
}
.c13 {
-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;
}
.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;
margin: 0;
}
.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: 78.75rem;
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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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
className="c12"
>
<div
className="c13"
/>
<div
className="c13"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c12 {
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;
}
.c13 {
-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;
}
.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;
margin: 0;
}
.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: 78.75rem;
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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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
className="c12"
>
<div
className="c13"
/>
<div
className="c13"
/>
</div>
</div>,
]
`;
exports[`renders <Firewall loadingError /> without throwing 1`] = `
.c2 {
margin-bottom: 1.125rem;
}
.c15 {
margin-right: 1.875rem;
}
.c25 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c26 {
margin-top: 1.875rem;
}
.c31 {
margin-bottom: 0.75rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c29 {
padding: 8rem;
}
.c13 {
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;
}
.c30 {
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;
}
.c14 {
-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;
}
.c20 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c20[type='checkbox'],
.c20[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c20[type='number']::-webkit-inner-spin-button,
.c20[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c20[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c20[type='search']::-webkit-search-cancel-button,
.c20[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c20::-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;
margin: 0;
}
.c24 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c33 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c11 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c28 {
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);
}
.c19 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c19:checked + label::after {
opacity: 1;
}
.c19:selected + label::after {
opacity: 1;
}
.c19:checked + label {
border-color: rgb(59,70,204);
}
.c19:selected + label {
border-color: rgb(59,70,204);
}
.c19:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c21 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c21::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);
}
.c18 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c22 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c17 {
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;
}
.c17 label {
font-weight: 400;
}
.c17 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c17 div[type='checkbox'],
.c17 div[type='checkbox'] input,
.c17 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c16 {
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;
}
.c23 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.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;
}
.c32 {
color: rgb(151,151,151);
text-align: center;
}
.c27 {
width: calc(100% - 0.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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="c13"
>
<div
className="c14"
>
<div
className="c15"
>
<form
onChange={[Function]}
>
<div
className="c16"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c17"
>
<div
checked={false}
className="c18"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c19 c20"
disabled={false}
id="x"
onBlur={undefined}
type="checkbox"
/>
<label
className="c21"
htmlFor="x"
/>
</div>
<div
checked={false}
className="c22"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c23 c24"
htmlFor="x"
>
<div
className="c25"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c14"
/>
</div>
<div
className="c26"
>
<div
className="c27 c28"
disabled={false}
name="card"
>
<div
className="c29"
>
<div
className="c30"
>
<div
className="c31"
>
<svg
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
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="c32 c33"
>
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;
}
.c15 {
margin-right: 1.875rem;
}
.c25 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c26 {
margin-top: 1.875rem;
}
.c31 {
margin-bottom: 0.75rem;
}
.c7 {
margin-bottom: 1.875rem;
}
.c29 {
padding: 8rem;
}
.c13 {
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;
}
.c30 {
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;
}
.c14 {
-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;
}
.c20 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c20[type='checkbox'],
.c20[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c20[type='number']::-webkit-inner-spin-button,
.c20[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c20[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c20[type='search']::-webkit-search-cancel-button,
.c20[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c20::-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;
margin: 0;
}
.c24 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c33 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c11 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c28 {
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);
}
.c19 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c19:checked + label::after {
opacity: 1;
}
.c19:selected + label::after {
opacity: 1;
}
.c19:checked + label {
border-color: rgb(59,70,204);
}
.c19:selected + label {
border-color: rgb(59,70,204);
}
.c19:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c21 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c21::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);
}
.c18 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c22 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c17 {
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;
}
.c17 label {
font-weight: 400;
}
.c17 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c17 div[type='checkbox'],
.c17 div[type='checkbox'] input,
.c17 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c16 {
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;
}
.c23 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.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;
}
.c32 {
color: rgb(151,151,151);
text-align: center;
}
.c27 {
width: calc(100% - 0.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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="c13"
>
<div
className="c14"
>
<div
className="c15"
>
<form
onChange={[Function]}
>
<div
className="c16"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c17"
>
<div
checked={false}
className="c18"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c19 c20"
disabled={false}
id="z"
onBlur={undefined}
type="checkbox"
/>
<label
className="c21"
htmlFor="z"
/>
</div>
<div
checked={false}
className="c22"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c23 c24"
htmlFor="z"
>
<div
className="c25"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c14"
/>
</div>
<div
className="c26"
>
<div
className="c27 c28"
disabled={false}
name="card"
>
<div
className="c29"
>
<div
className="c30"
>
<div
className="c31"
>
<svg
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
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="c32 c33"
>
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;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c7 {
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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="B"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="B"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="B"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c7 {
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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="D"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="D"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="D"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c20 {
margin-top: 1.875rem;
}
.c22 {
margin-top: 1.125rem;
}
.c23 {
margin-bottom: 0rem;
}
.c28 {
display: inline-block;
margin-left: 0.375rem;
margin-right: 0.375rem;
}
.c30 {
display: inline-block;
margin-right: 0.375rem;
margin-left: 1.875rem;
}
.c31 {
margin-left: 0.1875rem;
}
.c34 {
display: inline-block;
margin-right: 1.5rem;
margin-left: 0.375rem;
}
.c35 {
display: inline-block;
margin-left: 1.5rem;
margin-right: 1.5rem;
}
.c36 {
display: inline-block;
margin-right: 0.375rem;
margin-left: 1.5rem;
}
.c40 {
margin-right: 0.1875rem;
}
.c26 {
padding-left: 1.125rem;
padding-right: 1.125rem;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
.c37 {
padding-top: 0.75rem;
padding-right: 1.125rem;
padding-bottom: 0.75rem;
padding-left: 1.125rem;
}
.c7 {
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;
}
.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;
}
.c27 {
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: row;
-ms-flex-direction: row;
flex-direction: row;
}
.c39 {
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;
}
.c41 {
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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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;
}
.c38 {
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;
}
.c42 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c21 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c29 {
color: rgb(73,73,73);
font-weight: 700;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c24 {
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;
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c33 {
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;
}
.c32 {
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;
}
.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) {
.c38 {
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
}
@media only screen and (min-width:0em) {
.c42 {
-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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="F"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="F"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="F"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
>
<form>
<div
className="c10"
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="H"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="H"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="H"
>
<div
className="c19"
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c20"
>
<h3
className="c21"
>
Firewall rules from instance tags
</h3>
<div
className="c22"
>
<div
className="c23"
>
<div
className="c24"
disabled={true}
name="card"
>
<span
name="react-responsive-mock"
query="only screen and (max-width: 62.4375rem)"
>
<div
className="c25"
>
<div
className="c26"
>
<div
className="c27"
>
<div
className="c28"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
<div
className="c28"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Any
</p>
</div>
</div>
<div
className="c30"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
To:
</strong>
<div
className="c28"
>
<div
className="c31"
>
<ul
className="c32"
>
<li
className="c33"
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
</div>
<div
className="c26"
style={
Object {
"border-top": "1px solid #D8D8D8",
}
}
>
<span
name="react-responsive-mock"
query="only screen and (max-width: 37.4375rem)"
>
<div
className="c25"
>
<div
className="c28"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
<div
className="c28"
>
tcp
</div>
</div>
<div
className="c28"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
<div
className="c28"
>
all
</div>
</div>
<div
className="c28"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
<div
className="c28"
>
Allow
</div>
</div>
</div>
</span>
<span
name="react-responsive-mock"
query="only screen and (min-width: 37.5rem)"
>
<div
className="c27"
>
<div
className="c34"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
<div
className="c28"
>
tcp
</div>
</div>
<div
className="c35"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
<div
className="c28"
>
all
</div>
</div>
<div
className="c36"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
<div
className="c28"
>
Allow
</div>
</div>
</div>
</span>
</div>
</div>
</span>
<span
name="react-responsive-mock"
query="only screen and (min-width: 62.5rem)"
>
<div
className="c37"
>
<div
className="c3"
>
<div
className="c38"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
</div>
</div>
<div
className="c41"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Any
</p>
</div>
</div>
</div>
<div
className="c38"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
To:
</strong>
</div>
</div>
<div
className="c41"
>
<div
className="c31"
>
<ul
className="c32"
>
<li
className="c33"
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
<div
className="c42"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
</div>
</div>
<div
className="c41"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
tcp
</p>
</div>
</div>
</div>
<div
className="c42"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
</div>
</div>
<div
className="c41"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
all
</p>
</div>
</div>
</div>
<div
className="c42"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
</div>
</div>
<div
className="c41"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Allow
</p>
</div>
</div>
</div>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
</div>,
]
`;
exports[`renders <Firewall tagRules /> without throwing 2`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c7 {
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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="J"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="J"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="J"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c7 {
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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="L"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="L"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="L"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
.c9 {
margin-right: 1.875rem;
}
.c19 {
margin-right: 0.75rem;
margin-left: 0.75rem;
}
.c20 {
margin-top: 1.875rem;
}
.c22 {
margin-top: 1.125rem;
}
.c23 {
margin-bottom: 0rem;
}
.c28 {
display: inline-block;
margin-left: 0.375rem;
margin-right: 0.375rem;
}
.c30 {
display: inline-block;
margin-right: 0.375rem;
margin-left: 1.875rem;
}
.c31 {
margin-left: 0.1875rem;
}
.c34 {
display: inline-block;
margin-right: 1.5rem;
margin-left: 0.375rem;
}
.c35 {
display: inline-block;
margin-left: 1.5rem;
margin-right: 1.5rem;
}
.c36 {
display: inline-block;
margin-right: 0.375rem;
margin-left: 1.5rem;
}
.c40 {
margin-right: 0.1875rem;
}
.c26 {
padding-left: 1.125rem;
padding-right: 1.125rem;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
.c37 {
padding-top: 0.75rem;
padding-right: 1.125rem;
padding-bottom: 0.75rem;
padding-left: 1.125rem;
}
.c7 {
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;
}
.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;
}
.c27 {
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: row;
-ms-flex-direction: row;
flex-direction: row;
}
.c39 {
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;
}
.c41 {
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;
}
.c8 {
-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;
}
.c14 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
.c14[type='checkbox'],
.c14[type='radio'] {
box-sizing: border-box;
padding: 0;
}
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
height: auto;
}
.c14[type='search'] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.c14::-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;
margin: 0;
}
.c18 {
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;
}
.c38 {
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;
}
.c42 {
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: 78.75rem;
padding-bottom: 1.125rem;
}
.c21 {
margin: 0;
color: rgb(73,73,73);
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c29 {
color: rgb(73,73,73);
font-weight: 700;
line-height: 1.5rem;
font-size: 0.9375rem;
}
.c24 {
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;
}
.c13 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
.c13:checked + label::after {
opacity: 1;
}
.c13:selected + label::after {
opacity: 1;
}
.c13:checked + label {
border-color: rgb(59,70,204);
}
.c13:selected + label {
border-color: rgb(59,70,204);
}
.c13:disabled + label {
background-color: rgb(249,249,249);
cursor: not-allowed;
}
.c15 {
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
top: 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;
}
.c15::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);
}
.c12 {
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
.c16 label {
font-weight: normal;
font-size: 0.9375rem;
}
.c11 {
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;
}
.c11 label {
font-weight: 400;
}
.c11 label::after {
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
height: 1.5rem;
width: 1.5rem;
}
.c10 {
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;
}
.c17 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c33 {
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;
}
.c32 {
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;
}
.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) {
.c38 {
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
}
@media only screen and (min-width:0em) {
.c42 {
-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:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.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"
>
<form
onChange={[Function]}
>
<div
className="c10"
id="fw-toggle-firewall"
name="enabled"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="N"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="N"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="N"
>
<div
className="c19"
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c8"
>
<form>
<div
className="c10"
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
<li
className="c11"
>
<div
checked={false}
className="c12"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
className="c13 c14"
disabled={false}
id="P"
onBlur={undefined}
type="checkbox"
/>
<label
className="c15"
htmlFor="P"
/>
</div>
<div
checked={false}
className="c16"
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
className="c17 c18"
htmlFor="P"
>
<div
className="c19"
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
className="c20"
>
<h3
className="c21"
>
Default firewall rules
</h3>
<div
className="c22"
>
<div
className="c23"
>
<div
className="c24"
disabled={true}
name="card"
>
<span
name="react-responsive-mock"
query="only screen and (max-width: 62.4375rem)"
>
<div
className="c25"
>
<div
className="c26"
>
<div
className="c27"
>
<div
className="c28"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
<div
className="c28"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Any
</p>
</div>
</div>
<div
className="c30"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
To:
</strong>
<div
className="c28"
>
<div
className="c31"
>
<ul
className="c32"
>
<li
className="c33"
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
</div>
<div
className="c26"
style={
Object {
"border-top": "1px solid #D8D8D8",
}
}
>
<span
name="react-responsive-mock"
query="only screen and (max-width: 37.4375rem)"
>
<div
className="c25"
>
<div
className="c28"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
<div
className="c28"
>
tcp
</div>
</div>
<div
className="c28"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
<div
className="c28"
>
all
</div>
</div>
<div
className="c28"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
<div
className="c28"
>
Allow
</div>
</div>
</div>
</span>
<span
name="react-responsive-mock"
query="only screen and (min-width: 37.5rem)"
>
<div
className="c27"
>
<div
className="c34"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
<div
className="c28"
>
tcp
</div>
</div>
<div
className="c35"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
<div
className="c28"
>
all
</div>
</div>
<div
className="c36"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
<div
className="c28"
>
Allow
</div>
</div>
</div>
</span>
</div>
</div>
</span>
<span
name="react-responsive-mock"
query="only screen and (min-width: 62.5rem)"
>
<div
className="c37"
>
<div
className="c3"
>
<div
className="c38"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
</div>
</div>
<div
className="c41"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Any
</p>
</div>
</div>
</div>
<div
className="c38"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
To:
</strong>
</div>
</div>
<div
className="c41"
>
<div
className="c31"
>
<ul
className="c32"
>
<li
className="c33"
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
<div
className="c42"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
</div>
</div>
<div
className="c41"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
tcp
</p>
</div>
</div>
</div>
<div
className="c42"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
</div>
</div>
<div
className="c41"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
all
</p>
</div>
</div>
</div>
<div
className="c42"
>
<div
className="c39"
>
<div
className="c40"
>
<div
className="c8"
>
<strong
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
</div>
</div>
<div
className="c41"
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Allow
</p>
</div>
</div>
</div>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
</div>,
]
`;