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

10171 lines
278 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <Firewall /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c20 {
margin-top: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c25 {
margin-bottom: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c23 {
padding: 8rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c24 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c27 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
2018-05-25 18:27:05 +03:00
.c22 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c26 {
color: rgb(151,151,151);
text-align: center;
}
2018-05-25 18:27:05 +03:00
.c21 {
2018-02-26 15:53:04 +02:00
width: calc(100% - 0.125rem);
2018-02-01 12:38:12 +02:00
}
.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"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="l"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="l"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="l"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
className="c8"
/>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c20"
>
<div
2018-05-25 18:27:05 +03:00
className="c21 c22"
disabled={false}
name="card"
>
<div
2018-05-25 18:27:05 +03:00
className="c23"
>
<div
2018-05-25 18:27:05 +03:00
className="c24"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
>
2018-02-06 12:32:47 +02:00
<svg
2018-05-23 19:29:04 +03:00
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
viewBox="0 0 119.34 109.47"
2018-05-23 19:29:04 +03:00
width="119"
2018-02-06 12:32:47 +02:00
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);}",
}
}
2018-02-06 12:32:47 +02:00
/>
<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>
2018-02-06 12:32:47 +02:00
</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>
2018-02-06 12:32:47 +02:00
</svg>
</div>
<h3
2018-05-25 18:27:05 +03:00
className="c26 c27"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c20 {
margin-top: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c25 {
margin-bottom: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c23 {
2018-05-16 17:09:35 +03:00
padding: 8rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c24 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c27 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
2018-05-25 18:27:05 +03:00
.c22 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
2018-05-16 17:09:35 +03:00
border: 0.0625rem solid rgb(216,216,216);
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c26 {
color: rgb(151,151,151);
text-align: center;
}
2018-05-25 18:27:05 +03:00
.c21 {
2018-02-26 15:53:04 +02:00
width: calc(100% - 0.125rem);
2018-02-01 12:38:12 +02:00
}
.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"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="n"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="n"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="n"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
2018-05-25 18:27:05 +03:00
<form>
2018-05-17 13:05:28 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
2018-05-17 13:05:28 +03:00
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-16 17:09:35 +03:00
disabled={false}
2018-05-17 13:05:28 +03:00
id="fw-toggle-inactive"
2018-05-16 17:09:35 +03:00
onBlur={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="p"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="p"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="p"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c20"
>
<div
2018-05-25 18:27:05 +03:00
className="c21 c22"
disabled={false}
name="card"
>
<div
2018-05-25 18:27:05 +03:00
className="c23"
>
<div
2018-05-25 18:27:05 +03:00
className="c24"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
>
2018-02-06 12:32:47 +02:00
<svg
2018-05-23 19:29:04 +03:00
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
viewBox="0 0 119.34 109.47"
2018-05-23 19:29:04 +03:00
width="119"
2018-02-06 12:32:47 +02:00
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);}",
}
}
2018-02-06 12:32:47 +02:00
/>
<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>
2018-02-06 12:32:47 +02:00
</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>
2018-02-06 12:32:47 +02:00
</svg>
</div>
<h3
2018-05-25 18:27:05 +03:00
className="c26 c27"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>,
]
`;
exports[`renders <Firewall inactive /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c20 {
margin-top: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c25 {
margin-bottom: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c23 {
padding: 8rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c24 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c27 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
2018-05-25 18:27:05 +03:00
.c22 {
2018-02-05 17:12:47 +02:00
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);
2018-02-05 17:12:47 +02:00
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
color: rgb(100,100,100);
position: absolute;
width: 1.125rem;
height: 1.125rem;
box-sizing: border-box;
2018-05-16 17:09:35 +03:00
top: 0;
cursor: pointer;
background-color: rgb(255,255,255);
box-shadow: none;
border: 0.0625rem solid rgb(216,216,216);
2018-05-16 17:09:35 +03:00
cursor: pointer;
border-radius: 0.25rem;
width: 1.125rem;
height: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
opacity: 0;
content: '';
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c26 {
color: rgb(151,151,151);
text-align: center;
}
2018-05-25 18:27:05 +03:00
.c21 {
2018-02-26 15:53:04 +02:00
width: calc(100% - 0.125rem);
2018-02-01 12:38:12 +02:00
}
.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"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="r"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="r"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="r"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
</div>
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
className="c8"
/>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c20"
>
<div
2018-05-25 18:27:05 +03:00
className="c21 c22"
disabled={false}
name="card"
>
<div
2018-05-25 18:27:05 +03:00
className="c23"
>
<div
2018-05-25 18:27:05 +03:00
className="c24"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
>
2018-02-06 12:32:47 +02:00
<svg
2018-05-23 19:29:04 +03:00
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
viewBox="0 0 119.34 109.47"
2018-05-23 19:29:04 +03:00
width="119"
2018-02-06 12:32:47 +02:00
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);}",
}
}
2018-02-06 12:32:47 +02:00
/>
<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>
2018-02-06 12:32:47 +02:00
</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>
2018-02-06 12:32:47 +02:00
</svg>
</div>
<h3
2018-05-25 18:27:05 +03:00
className="c26 c27"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c20 {
margin-top: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c25 {
margin-bottom: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c23 {
2018-05-16 17:09:35 +03:00
padding: 8rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c24 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c27 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
2018-05-25 18:27:05 +03:00
.c22 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c26 {
color: rgb(151,151,151);
text-align: center;
}
2018-05-25 18:27:05 +03:00
.c21 {
2018-02-26 15:53:04 +02:00
width: calc(100% - 0.125rem);
2018-02-01 12:38:12 +02:00
}
.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"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="t"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="t"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="t"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
2018-05-25 18:27:05 +03:00
<form>
2018-05-17 13:05:28 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
2018-05-17 13:05:28 +03:00
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-16 17:09:35 +03:00
disabled={false}
2018-05-17 13:05:28 +03:00
id="fw-toggle-inactive"
2018-05-16 17:09:35 +03:00
onBlur={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="v"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="v"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="v"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c20"
>
<div
2018-05-25 18:27:05 +03:00
className="c21 c22"
disabled={false}
name="card"
>
<div
2018-05-25 18:27:05 +03:00
className="c23"
>
<div
2018-05-25 18:27:05 +03:00
className="c24"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
>
2018-02-06 12:32:47 +02:00
<svg
2018-05-23 19:29:04 +03:00
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
viewBox="0 0 119.34 109.47"
2018-05-23 19:29:04 +03:00
width="119"
2018-02-06 12:32:47 +02:00
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);}",
}
}
2018-02-06 12:32:47 +02:00
/>
<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>
2018-02-06 12:32:47 +02:00
</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>
2018-02-06 12:32:47 +02:00
</svg>
</div>
<h3
2018-05-25 18:27:05 +03:00
className="c26 c27"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>,
]
`;
exports[`renders <Firewall loading /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.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;
2018-04-06 17:53:44 +03:00
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>
2018-05-17 13:05:28 +03:00
<div
className="c12"
>
<div
className="c13"
/>
<div
className="c13"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.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;
2018-04-06 17:53:44 +03:00
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>
2018-05-17 13:05:28 +03:00
<div
className="c12"
>
<div
className="c13"
/>
<div
className="c13"
/>
</div>
</div>,
]
`;
exports[`renders <Firewall loadingError /> without throwing 1`] = `
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c15 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c25 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c26 {
margin-top: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c31 {
margin-bottom: 0.75rem;
}
2018-05-17 13:05:28 +03:00
.c7 {
margin-bottom: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c29 {
padding: 8rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c30 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c20 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c20[type='checkbox'],
.c20[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c20[type='number']::-webkit-inner-spin-button,
.c20[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c20[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c20[type='search']::-webkit-search-cancel-button,
.c20[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c20::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c24 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c33 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c11 {
margin: 0;
color: rgb(73,73,73);
2018-04-06 17:53:44 +03:00
font-weight: 400;
line-height: 1.5rem;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c28 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c19:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c19:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c19:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c19:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c19:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c21 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c21::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c18 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c22 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c17 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c17 div[type='checkbox'],
.c17 div[type='checkbox'] input,
.c17 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c16 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c23 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
2018-04-06 17:53:44 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c32 {
color: rgb(151,151,151);
text-align: center;
}
2018-05-25 18:27:05 +03:00
.c27 {
2018-02-26 15:53:04 +02:00
width: calc(100% - 0.125rem);
2018-02-01 12:38:12 +02:00
}
.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"
2018-02-26 15:53:04 +02:00
/>
<div
className="c10"
>
2018-02-26 15:53:04 +02:00
<h4
className="c11"
>
2018-02-26 15:53:04 +02:00
Ooops!
</h4>
<p
className="c12 c6"
2018-02-26 15:53:04 +02:00
>
An error occurred while loading your firewall rules
</p>
</div>
</div>
</div>
<div
2018-05-17 13:05:28 +03:00
className="c13"
>
2018-05-17 13:05:28 +03:00
<div
className="c14"
>
<div
2018-05-17 13:05:28 +03:00
className="c15"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c16"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c17"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c18"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c19 c20"
2018-05-17 13:05:28 +03:00
disabled={false}
id="x"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c21"
2018-05-17 13:05:28 +03:00
htmlFor="x"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c22"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c23 c24"
2018-05-17 13:05:28 +03:00
htmlFor="x"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
className="c14"
/>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c26"
>
<div
2018-05-25 18:27:05 +03:00
className="c27 c28"
disabled={false}
name="card"
>
<div
2018-05-25 18:27:05 +03:00
className="c29"
>
<div
2018-05-25 18:27:05 +03:00
className="c30"
>
<div
2018-05-25 18:27:05 +03:00
className="c31"
>
2018-02-06 12:32:47 +02:00
<svg
2018-05-23 19:29:04 +03:00
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
viewBox="0 0 119.34 109.47"
2018-05-23 19:29:04 +03:00
width="119"
2018-02-06 12:32:47 +02:00
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);}",
}
}
2018-02-06 12:32:47 +02:00
/>
<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>
2018-02-06 12:32:47 +02:00
</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>
2018-02-06 12:32:47 +02:00
</svg>
</div>
<h3
2018-05-25 18:27:05 +03:00
className="c32 c33"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders <Firewall mutationError /> without throwing 1`] = `
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c15 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c25 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c26 {
margin-top: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c31 {
margin-bottom: 0.75rem;
}
2018-05-17 13:05:28 +03:00
.c7 {
margin-bottom: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c29 {
2018-05-17 13:05:28 +03:00
padding: 8rem;
2018-05-16 17:09:35 +03:00
}
2018-05-17 13:05:28 +03:00
.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;
2018-05-16 17:09:35 +03:00
}
2018-05-25 18:27:05 +03:00
.c30 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c20 {
2018-05-17 13:05:28 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c20[type='checkbox'],
.c20[type='radio'] {
2018-05-17 13:05:28 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c20[type='number']::-webkit-inner-spin-button,
.c20[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c20[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c20[type='search']::-webkit-search-cancel-button,
.c20[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c20::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c24 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c33 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
.c11 {
margin: 0;
color: rgb(73,73,73);
2018-04-06 17:53:44 +03:00
font-weight: 400;
line-height: 1.5rem;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c28 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c19:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c19:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c19:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c19:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c19:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c21 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c21::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c18 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c22 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c17 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c17 div[type='checkbox'],
.c17 div[type='checkbox'] input,
.c17 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c16 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c23 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
2018-04-06 17:53:44 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c32 {
color: rgb(151,151,151);
text-align: center;
}
2018-05-25 18:27:05 +03:00
.c27 {
2018-02-26 15:53:04 +02:00
width: calc(100% - 0.125rem);
2018-02-01 12:38:12 +02:00
}
.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"
2018-02-26 15:53:04 +02:00
/>
<div
className="c10"
>
2018-02-26 15:53:04 +02:00
<h4
className="c11"
>
2018-02-26 15:53:04 +02:00
Ooops!
</h4>
<p
className="c12 c6"
2018-02-26 15:53:04 +02:00
>
error
</p>
</div>
</div>
</div>
<div
2018-05-17 13:05:28 +03:00
className="c13"
>
2018-05-17 13:05:28 +03:00
<div
className="c14"
>
<div
2018-05-17 13:05:28 +03:00
className="c15"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c16"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c17"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c18"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c19 c20"
2018-05-17 13:05:28 +03:00
disabled={false}
id="z"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c21"
2018-05-17 13:05:28 +03:00
htmlFor="z"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c22"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c23 c24"
2018-05-17 13:05:28 +03:00
htmlFor="z"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
className="c14"
/>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c26"
>
<div
2018-05-25 18:27:05 +03:00
className="c27 c28"
disabled={false}
name="card"
>
<div
2018-05-25 18:27:05 +03:00
className="c29"
>
<div
2018-05-25 18:27:05 +03:00
className="c30"
>
<div
2018-05-25 18:27:05 +03:00
className="c31"
>
2018-02-06 12:32:47 +02:00
<svg
2018-05-23 19:29:04 +03:00
height="109"
style={
Object {
"transform": "rotate(0deg)",
}
}
viewBox="0 0 119.34 109.47"
2018-05-23 19:29:04 +03:00
width="119"
2018-02-06 12:32:47 +02:00
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);}",
}
}
2018-02-06 12:32:47 +02:00
/>
<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>
2018-02-06 12:32:47 +02:00
</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>
2018-02-06 12:32:47 +02:00
</svg>
</div>
<h3
2018-05-25 18:27:05 +03:00
className="c32 c33"
>
Sorry, but we werent able to find any firewall rules.
</h3>
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders <Firewall tagRules /> without throwing 1`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
list-style-type: none;
2018-02-05 17:12:47 +02:00
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;
2018-05-16 17:09:35 +03:00
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;
2018-02-05 17:12:47 +02:00
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
2018-05-25 18:27:05 +03:00
.c17 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
2018-05-16 17:09:35 +03:00
cursor: pointer;
}
2018-05-16 17:09:35 +03:00
.c5 {
font-weight: 200;
}
2018-05-16 17:09:35 +03:00
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
2018-05-16 17:09:35 +03:00
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
2018-05-16 17:09:35 +03:00
@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"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="B"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="B"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="B"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
className="c8"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-17 13:05:28 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-17 13:05:28 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-17 13:05:28 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-17 13:05:28 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
2018-05-16 17:09:35 +03:00
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="D"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="D"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="D"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
className="c8"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c20 {
margin-top: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c22 {
margin-top: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c23 {
margin-bottom: 0rem;
}
2018-05-25 18:27:05 +03:00
.c28 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-left: 0.375rem;
margin-right: 0.375rem;
}
2018-05-25 18:27:05 +03:00
.c30 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-right: 0.375rem;
margin-left: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c31 {
margin-left: 0.1875rem;
}
2018-05-25 18:27:05 +03:00
.c34 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-right: 1.5rem;
margin-left: 0.375rem;
}
2018-05-25 18:27:05 +03:00
.c35 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-left: 1.5rem;
margin-right: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c36 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-right: 0.375rem;
margin-left: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c40 {
2018-06-01 18:05:05 +03:00
margin-right: 0.1875rem;
}
2018-05-25 18:27:05 +03:00
.c26 {
2018-06-01 18:05:05 +03:00
padding-left: 1.125rem;
padding-right: 1.125rem;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c37 {
padding-top: 0.75rem;
padding-right: 1.125rem;
padding-bottom: 0.75rem;
padding-left: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c25 {
2018-06-01 18:05:05 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c27 {
2018-06-01 18:05:05 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c39 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c41 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
2018-05-25 18:27:05 +03:00
.c38 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
2018-05-25 18:27:05 +03:00
.c42 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c21 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
2018-05-25 18:27:05 +03:00
.c29 {
color: rgb(73,73,73);
font-weight: 700;
line-height: 1.5rem;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c24 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c33 {
border: 0.0625rem solid rgb(216,216,216);
box-sizing: border-box;
border-radius: 0.125rem;
font-size: 0.8125rem;
line-height: 1.125rem;
padding: 0.3125rem 0.75rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 0;
-webkit-flex-grow: 0;
-ms-flex-positive: 0;
flex-grow: 0;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
2018-05-25 18:27:05 +03:00
.c32 {
margin: 0;
padding: 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
list-style: none;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (min-width:0em) {
2018-05-25 18:27:05 +03:00
.c38 {
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
}
@media only screen and (min-width:0em) {
2018-05-25 18:27:05 +03:00
.c42 {
-webkit-flex-basis: 16.666666666666668%;
-ms-flex-preferred-size: 16.666666666666668%;
flex-basis: 16.666666666666668%;
max-width: 16.666666666666668%;
}
}
@media only screen and (max-width:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="F"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="F"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="F"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
2018-05-25 18:27:05 +03:00
<form>
2018-05-17 13:05:28 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
2018-05-17 13:05:28 +03:00
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-16 17:09:35 +03:00
disabled={false}
2018-05-17 13:05:28 +03:00
id="fw-toggle-inactive"
2018-05-16 17:09:35 +03:00
onBlur={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="H"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="H"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="H"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c20"
>
<h3
2018-05-25 18:27:05 +03:00
className="c21"
>
Firewall rules from instance tags
</h3>
<div
2018-05-25 18:27:05 +03:00
className="c22"
>
<div
2018-05-25 18:27:05 +03:00
className="c23"
>
<div
2018-05-25 18:27:05 +03:00
className="c24"
disabled={true}
name="card"
>
2018-06-01 18:05:05 +03:00
<span
name="react-responsive-mock"
query="only screen and (max-width: 62.4375rem)"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
>
<div
2018-05-25 18:27:05 +03:00
className="c26"
>
<div
2018-05-25 18:27:05 +03:00
className="c27"
>
<div
2018-05-25 18:27:05 +03:00
className="c28"
>
2018-06-01 18:05:05 +03:00
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
>
2018-06-01 18:05:05 +03:00
<p
className="c6"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
Any
</p>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c30"
>
2018-06-01 18:05:05 +03:00
<strong
2018-05-25 18:27:05 +03:00
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
To:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c31"
2018-06-01 18:05:05 +03:00
>
<ul
2018-05-25 18:27:05 +03:00
className="c32"
2018-06-01 18:05:05 +03:00
>
<li
2018-05-25 18:27:05 +03:00
className="c33"
2018-06-01 18:05:05 +03:00
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c26"
2018-06-01 18:05:05 +03:00
style={
Object {
"border-top": "1px solid #D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
<span
name="react-responsive-mock"
query="only screen and (max-width: 37.4375rem)"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
>
<div
2018-05-25 18:27:05 +03:00
className="c28"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
Protocol:
</strong>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
tcp
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c28"
>
2018-06-01 18:05:05 +03:00
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
Ports:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
all
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
Allow
</div>
</div>
</div>
2018-06-01 18:05:05 +03:00
</span>
<span
name="react-responsive-mock"
query="only screen and (min-width: 37.5rem)"
>
<div
2018-05-25 18:27:05 +03:00
className="c27"
>
<div
2018-05-25 18:27:05 +03:00
className="c34"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
tcp
</div>
</div>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c35"
2018-06-01 18:05:05 +03:00
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
all
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c36"
>
2018-06-01 18:05:05 +03:00
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
Allow
</div>
</div>
</div>
2018-06-01 18:05:05 +03:00
</span>
</div>
2018-06-01 18:05:05 +03:00
</div>
</span>
<span
name="react-responsive-mock"
query="only screen and (min-width: 62.5rem)"
>
<div
2018-05-25 18:27:05 +03:00
className="c37"
2018-06-01 18:05:05 +03:00
>
<div
2018-06-01 18:05:05 +03:00
className="c3"
>
<div
2018-05-25 18:27:05 +03:00
className="c38"
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
>
<div
2018-05-25 18:27:05 +03:00
className="c40"
>
2018-06-01 18:05:05 +03:00
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<p
className="c6"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
Any
</p>
</div>
</div>
2018-06-01 18:05:05 +03:00
</div>
<div
2018-05-25 18:27:05 +03:00
className="c38"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c40"
>
2018-06-01 18:05:05 +03:00
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
To:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c31"
2018-06-01 18:05:05 +03:00
>
<ul
2018-05-25 18:27:05 +03:00
className="c32"
2018-06-01 18:05:05 +03:00
>
<li
2018-05-25 18:27:05 +03:00
className="c33"
2018-06-01 18:05:05 +03:00
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c42"
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
>
<div
2018-05-25 18:27:05 +03:00
className="c40"
>
2018-06-01 18:05:05 +03:00
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<p
className="c6"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
tcp
</p>
</div>
</div>
2018-06-01 18:05:05 +03:00
</div>
<div
2018-05-25 18:27:05 +03:00
className="c42"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c40"
>
2018-06-01 18:05:05 +03:00
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
all
</p>
</div>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c42"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c40"
2018-06-01 18:05:05 +03:00
>
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Allow
</p>
</div>
</div>
</div>
</div>
</div>
2018-06-01 18:05:05 +03:00
</span>
</div>
</div>
</div>
</div>
</div>,
]
`;
exports[`renders <Firewall tagRules /> without throwing 2`] = `
Array [
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="J"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="J"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="J"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
className="c8"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (max-width:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="L"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="L"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="L"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
className="c8"
/>
</div>
</div>,
.c2 {
margin-bottom: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.c9 {
margin-right: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c19 {
2018-05-16 17:09:35 +03:00
margin-right: 0.75rem;
margin-left: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c20 {
margin-top: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c22 {
margin-top: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c23 {
margin-bottom: 0rem;
}
2018-05-25 18:27:05 +03:00
.c28 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-left: 0.375rem;
margin-right: 0.375rem;
}
2018-05-25 18:27:05 +03:00
.c30 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-right: 0.375rem;
margin-left: 1.875rem;
}
2018-05-25 18:27:05 +03:00
.c31 {
margin-left: 0.1875rem;
}
2018-05-25 18:27:05 +03:00
.c34 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-right: 1.5rem;
margin-left: 0.375rem;
}
2018-05-25 18:27:05 +03:00
.c35 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-left: 1.5rem;
margin-right: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c36 {
2018-06-01 18:05:05 +03:00
display: inline-block;
margin-right: 0.375rem;
margin-left: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c40 {
2018-06-01 18:05:05 +03:00
margin-right: 0.1875rem;
}
2018-05-25 18:27:05 +03:00
.c26 {
2018-06-01 18:05:05 +03:00
padding-left: 1.125rem;
padding-right: 1.125rem;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
2018-05-25 18:27:05 +03:00
.c37 {
padding-top: 0.75rem;
padding-right: 1.125rem;
padding-bottom: 0.75rem;
padding-left: 1.125rem;
}
2018-05-17 13:05:28 +03:00
.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;
}
2018-05-25 18:27:05 +03:00
.c25 {
2018-06-01 18:05:05 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c27 {
2018-06-01 18:05:05 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c39 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c41 {
2018-05-17 13:05:28 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c14 {
2018-05-16 17:09:35 +03:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
}
2018-05-25 18:27:05 +03:00
.c14[type='checkbox'],
.c14[type='radio'] {
2018-05-16 17:09:35 +03:00
box-sizing: border-box;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c14[type='number']::-webkit-inner-spin-button,
.c14[type='number']::-webkit-outer-spin-button {
2018-05-16 17:09:35 +03:00
height: auto;
}
2018-05-25 18:27:05 +03:00
.c14[type='search'] {
2018-05-16 17:09:35 +03:00
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
outline-offset: -0.125rem;
}
2018-05-25 18:27:05 +03:00
.c14[type='search']::-webkit-search-cancel-button,
.c14[type='search']::-webkit-search-decoration {
2018-05-16 17:09:35 +03:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2018-05-25 18:27:05 +03:00
.c14::-webkit-file-upload-button {
2018-05-16 17:09:35 +03:00
-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;
2018-04-06 17:53:44 +03:00
margin: 0;
}
2018-05-25 18:27:05 +03:00
.c18 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
margin-right: auto;
margin-left: auto;
}
.c3 {
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.c4 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
2018-05-25 18:27:05 +03:00
.c38 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
2018-05-25 18:27:05 +03:00
.c42 {
box-sizing: border-box;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.625rem;
padding-left: 0.625rem;
display: block;
}
.c0 {
box-sizing: border-box;
width: 100%;
max-width: 78.75rem;
padding-bottom: 1.125rem;
}
2018-05-25 18:27:05 +03:00
.c21 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
line-height: 1.625rem;
font-size: 1.3125rem;
}
2018-05-25 18:27:05 +03:00
.c29 {
color: rgb(73,73,73);
font-weight: 700;
line-height: 1.5rem;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c24 {
box-sizing: content-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
border-width: 0.0625rem;
border-style: solid;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
color: rgb(73,73,73);
background-color: rgb(255,255,255);
border-color: rgb(216,216,216);
border-color: rgb(216,216,216);
background-color: rgb(250,250,250);
color: rgb(73,73,73);
cursor: default;
}
2018-05-25 18:27:05 +03:00
.c13 {
2018-05-16 17:09:35 +03:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:selected + label::after {
2018-05-16 17:09:35 +03:00
opacity: 1;
}
2018-05-25 18:27:05 +03:00
.c13:checked + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:selected + label {
2018-05-16 17:09:35 +03:00
border-color: rgb(59,70,204);
}
2018-05-25 18:27:05 +03:00
.c13:disabled + label {
2018-05-16 17:09:35 +03:00
background-color: rgb(249,249,249);
cursor: not-allowed;
}
2018-05-25 18:27:05 +03:00
.c15 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c15::after {
2018-05-16 17:09:35 +03:00
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);
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-05-16 17:09:35 +03:00
display: inline-block;
vertical-align: text-bottom;
width: 1.125rem;
height: 1.125rem;
position: relative;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c16 label {
2018-05-16 17:09:35 +03:00
font-weight: normal;
font-size: 0.9375rem;
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c11 label {
2018-05-16 17:09:35 +03:00
font-weight: 400;
}
2018-05-25 18:27:05 +03:00
.c11 label::after {
2018-05-16 17:09:35 +03:00
width: 0.475rem;
height: 0.205rem;
top: 0.4125rem;
left: 0.35rem;
}
2018-05-25 18:27:05 +03:00
.c11 div[type='checkbox'],
.c11 div[type='checkbox'] input,
.c11 div[type='checkbox'] label {
2018-05-16 17:09:35 +03:00
height: 1.5rem;
width: 1.5rem;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-05-16 17:09:35 +03:00
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;
}
2018-05-25 18:27:05 +03:00
.c17 {
2018-05-16 17:09:35 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
cursor: pointer;
}
2018-05-25 18:27:05 +03:00
.c33 {
border: 0.0625rem solid rgb(216,216,216);
box-sizing: border-box;
border-radius: 0.125rem;
font-size: 0.8125rem;
line-height: 1.125rem;
padding: 0.3125rem 0.75rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 0;
-webkit-flex-grow: 0;
-ms-flex-positive: 0;
flex-grow: 0;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
2018-05-25 18:27:05 +03:00
.c32 {
margin: 0;
padding: 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
list-style: none;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.c5 {
font-weight: 200;
}
@media only screen and (min-width:48em) {
.c1 {
width: 46rem;
}
}
@media only screen and (min-width:64em) {
.c1 {
width: 56rem;
}
}
@media only screen and (min-width:75em) {
.c1 {
width: 59rem;
}
}
@media only screen and (min-width:0em) {
.c4 {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
}
@media only screen and (min-width:48em) {
.c4 {
-webkit-flex-basis: 58.333333333333336%;
-ms-flex-preferred-size: 58.333333333333336%;
flex-basis: 58.333333333333336%;
max-width: 58.333333333333336%;
}
}
@media only screen and (min-width:0em) {
2018-05-25 18:27:05 +03:00
.c38 {
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
}
@media only screen and (min-width:0em) {
2018-05-25 18:27:05 +03:00
.c42 {
-webkit-flex-basis: 16.666666666666668%;
-ms-flex-preferred-size: 16.666666666666668%;
flex-basis: 16.666666666666668%;
max-width: 16.666666666666668%;
}
}
@media only screen and (max-width:37.4375rem) {
.c0 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media only screen and (min-width:37.5rem) and (max-width:62.4375rem) {
.c0 {
padding-left: 1.875rem;
padding-right: 1.875rem;
}
}
@media only screen and (min-width:62.5rem) and (max-width:87.4375rem) {
.c0 {
padding-left: 4.375rem;
padding-right: 4.375rem;
}
}
<div
className="c0 c1"
>
<div
className="c2"
>
<div
className="c3"
>
<div
className="c4"
>
<p
className="c5 c6"
>
Cloud Firewall rules control traffic across instances. Enabling the firewall adds a default set of rules and rules defined by your chosen tags.
<a
href="https://docs.joyent.com/private-cloud/install/cns"
rel="noopener noreferrer"
target="__blank"
>
Read the docs
</a>
</p>
</div>
</div>
</div>
<div
className="c7"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
<div
2018-05-16 17:09:35 +03:00
className="c9"
>
2018-05-17 13:05:28 +03:00
<form
onChange={[Function]}
>
2018-05-16 17:09:35 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
id="fw-toggle-firewall"
2018-05-17 13:05:28 +03:00
name="enabled"
role="group"
style={undefined}
2018-05-16 17:09:35 +03:00
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-16 17:09:35 +03:00
<div
2018-05-17 13:05:28 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
type="checkbox"
>
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="N"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="N"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-firewall"
onBlur={undefined}
>
2018-05-17 13:05:28 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="N"
>
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Enable Firewall
</div>
</label>
2018-05-16 17:09:35 +03:00
</div>
2018-05-17 13:05:28 +03:00
</li>
</div>
2018-05-17 13:05:28 +03:00
</form>
</div>
2018-05-17 13:05:28 +03:00
</div>
<div
2018-05-16 17:09:35 +03:00
className="c8"
>
2018-05-25 18:27:05 +03:00
<form>
2018-05-17 13:05:28 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c10"
2018-05-17 13:05:28 +03:00
id="fw-toggle-inactive"
name="inactive"
role="group"
style={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<li
2018-05-25 18:27:05 +03:00
className="c11"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-16 17:09:35 +03:00
checked={false}
2018-05-25 18:27:05 +03:00
className="c12"
2018-05-16 17:09:35 +03:00
disabled={false}
2018-05-17 13:05:28 +03:00
id="fw-toggle-inactive"
2018-05-16 17:09:35 +03:00
onBlur={undefined}
type="checkbox"
>
2018-05-17 13:05:28 +03:00
<input
checked={false}
2018-05-25 18:27:05 +03:00
className="c13 c14"
2018-05-17 13:05:28 +03:00
disabled={false}
id="P"
onBlur={undefined}
type="checkbox"
/>
<label
2018-05-25 18:27:05 +03:00
className="c15"
2018-05-17 13:05:28 +03:00
htmlFor="P"
/>
</div>
<div
checked={false}
2018-05-25 18:27:05 +03:00
className="c16"
2018-05-17 13:05:28 +03:00
disabled={false}
id="fw-toggle-inactive"
onBlur={undefined}
>
<label
2018-05-25 18:27:05 +03:00
className="c17 c18"
2018-05-17 13:05:28 +03:00
htmlFor="P"
>
2018-05-17 13:05:28 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c19"
2018-05-17 13:05:28 +03:00
>
Show inactive rules
</div>
</label>
</div>
</li>
</div>
</form>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c20"
>
<h3
2018-05-25 18:27:05 +03:00
className="c21"
>
Default firewall rules
</h3>
<div
2018-05-25 18:27:05 +03:00
className="c22"
>
<div
2018-05-25 18:27:05 +03:00
className="c23"
>
<div
2018-05-25 18:27:05 +03:00
className="c24"
disabled={true}
name="card"
>
2018-06-01 18:05:05 +03:00
<span
name="react-responsive-mock"
query="only screen and (max-width: 62.4375rem)"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
>
<div
2018-05-25 18:27:05 +03:00
className="c26"
>
<div
2018-05-25 18:27:05 +03:00
className="c27"
>
<div
2018-05-25 18:27:05 +03:00
className="c28"
>
2018-06-01 18:05:05 +03:00
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
>
2018-06-01 18:05:05 +03:00
<p
className="c6"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
Any
</p>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c30"
>
2018-06-01 18:05:05 +03:00
<strong
2018-05-25 18:27:05 +03:00
className="c29"
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
To:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c31"
2018-06-01 18:05:05 +03:00
>
<ul
2018-05-25 18:27:05 +03:00
className="c32"
2018-06-01 18:05:05 +03:00
>
<li
2018-05-25 18:27:05 +03:00
className="c33"
2018-06-01 18:05:05 +03:00
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c26"
2018-06-01 18:05:05 +03:00
style={
Object {
"border-top": "1px solid #D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
<span
name="react-responsive-mock"
query="only screen and (max-width: 37.4375rem)"
>
<div
2018-05-25 18:27:05 +03:00
className="c25"
>
<div
2018-05-25 18:27:05 +03:00
className="c28"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
Protocol:
</strong>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
tcp
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c28"
>
2018-06-01 18:05:05 +03:00
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
Ports:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
all
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
Allow
</div>
</div>
</div>
2018-06-01 18:05:05 +03:00
</span>
<span
name="react-responsive-mock"
query="only screen and (min-width: 37.5rem)"
>
<div
2018-05-25 18:27:05 +03:00
className="c27"
>
<div
2018-05-25 18:27:05 +03:00
className="c34"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
tcp
</div>
</div>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c35"
2018-06-01 18:05:05 +03:00
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
all
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c36"
>
2018-06-01 18:05:05 +03:00
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
<div
2018-05-25 18:27:05 +03:00
className="c28"
2018-06-01 18:05:05 +03:00
>
Allow
</div>
</div>
</div>
2018-06-01 18:05:05 +03:00
</span>
</div>
2018-06-01 18:05:05 +03:00
</div>
</span>
<span
name="react-responsive-mock"
query="only screen and (min-width: 62.5rem)"
>
<div
2018-05-25 18:27:05 +03:00
className="c37"
2018-06-01 18:05:05 +03:00
>
<div
2018-06-01 18:05:05 +03:00
className="c3"
>
<div
2018-05-25 18:27:05 +03:00
className="c38"
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
>
<div
2018-05-25 18:27:05 +03:00
className="c40"
>
2018-06-01 18:05:05 +03:00
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
From:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<p
className="c6"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
Any
</p>
</div>
</div>
2018-06-01 18:05:05 +03:00
</div>
<div
2018-05-25 18:27:05 +03:00
className="c38"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c40"
>
2018-06-01 18:05:05 +03:00
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
To:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c31"
2018-06-01 18:05:05 +03:00
>
<ul
2018-05-25 18:27:05 +03:00
className="c32"
2018-06-01 18:05:05 +03:00
>
<li
2018-05-25 18:27:05 +03:00
className="c33"
2018-06-01 18:05:05 +03:00
fill={null}
name="wat"
style={
Object {
"color": "#D8D8D8",
}
}
value=""
/>
</ul>
</div>
</div>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c42"
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
>
<div
2018-05-25 18:27:05 +03:00
className="c40"
>
2018-06-01 18:05:05 +03:00
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Protocol:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<p
className="c6"
2018-02-01 12:38:12 +02:00
style={
Object {
"color": "#D8D8D8",
}
}
>
2018-06-01 18:05:05 +03:00
tcp
</p>
</div>
</div>
2018-06-01 18:05:05 +03:00
</div>
<div
2018-05-25 18:27:05 +03:00
className="c42"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
>
2018-06-01 18:05:05 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c40"
2018-06-01 18:05:05 +03:00
>
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Ports:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
>
2018-06-01 18:05:05 +03:00
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
all
</p>
</div>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c42"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c39"
2018-06-01 18:05:05 +03:00
>
<div
2018-05-25 18:27:05 +03:00
className="c40"
2018-06-01 18:05:05 +03:00
>
<div
className="c8"
>
<strong
2018-05-25 18:27:05 +03:00
className="c29"
2018-06-01 18:05:05 +03:00
style={
Object {
"color": "#D8D8D8",
}
}
>
Action:
</strong>
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c41"
2018-06-01 18:05:05 +03:00
>
<p
className="c6"
style={
Object {
"color": "#D8D8D8",
}
}
>
Allow
</p>
</div>
</div>
</div>
</div>
</div>
2018-06-01 18:05:05 +03:00
</span>
</div>
</div>
</div>
</div>
</div>,
]
`;