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

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