2018-01-11 22:26:42 +02:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <AddServiceForm /> without throwing 1`] = `
2018-05-17 16:35:32 +03:00
.c0 {
margin-bottom: 1.125rem;
2018-01-30 18:04:03 +02:00
}
2018-05-25 18:27:05 +03:00
.c7 {
2018-05-17 16:35:32 +03:00
margin-top: 0.1875rem;
}
2018-05-25 18:27:05 +03:00
.c9 {
2018-01-29 20:09:18 +02:00
margin-left: 0.75rem;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c1 {
2018-01-11 22:26:42 +02: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;
2018-02-01 17:33:58 +02:00
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
2018-03-28 15:51:34 +03:00
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
2018-05-25 18:27:05 +03:00
.c3 {
2018-03-28 15:51:34 +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;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c2 {
2018-01-30 18:04:03 +02:00
-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
.c13 {
2018-01-11 22:26:42 +02:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
2018-05-25 18:27:05 +03:00
.c13::-moz-focus-inner,
.c13[type='button']::-moz-focus-inner,
.c13[type='reset']::-moz-focus-inner,
.c13[type='submit']::-moz-focus-inner {
2018-01-11 22:26:42 +02:00
border-style: none;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c13:-moz-focusring,
.c13[type='button']:-moz-focusring,
.c13[type='reset']:-moz-focusring,
.c13[type='submit']:-moz-focusring {
2018-01-11 22:26:42 +02:00
outline: 0.0625rem dotted ButtonText;
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-03-28 15:51:34 +03:00
min-width: 7.5rem;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-01-11 22:26:42 +02:00
display: inline-block;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-01-11 22:26:42 +02:00
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
2018-01-19 19:37:31 +02:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
2018-01-11 22:26:42 +02:00
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
2018-02-09 14:41:54 +02:00
-webkit-text-decoration: none;
2018-01-11 22:26:42 +02:00
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
}
2018-05-25 18:27:05 +03:00
.c10:focus {
2018-01-11 22:26:42 +02:00
outline: 0;
2018-02-09 14:41:54 +02:00
-webkit-text-decoration: none;
2018-01-11 22:26:42 +02:00
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
2018-05-25 18:27:05 +03:00
.c10:hover {
2018-01-11 22:26:42 +02:00
background-color: rgb(72,83,217);
2018-04-06 17:53:44 +03:00
border-color: rgb(45,56,132);
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c10:active,
.c10:active:hover,
.c10:active:focus {
2018-01-11 22:26:42 +02:00
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
2018-05-25 18:27:05 +03:00
.c10[disabled] {
2018-01-11 22:26:42 +02:00
cursor: not-allowed;
pointer-events: none;
}
2018-05-25 18:27:05 +03:00
.c6 {
2018-01-17 21:40:10 +02:00
font-size: 0.9375rem;
2018-01-30 18:04:03 +02:00
line-height: 1.125rem;
2018-01-17 21:40:10 +02:00
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
2018-05-25 18:27:05 +03:00
.c4 {
2018-01-11 22:26:42 +02: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
.c8 {
2018-01-11 22:26:42 +02:00
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
2018-02-26 14:07:30 +02:00
padding: 0.8125rem 0.75rem;
2018-01-11 22:26:42 +02:00
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-01-11 22:26:42 +02:00
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
2018-02-23 19:57:13 +02:00
max-width: 22.1875rem;
text-overflow: ellipsis;
}
2018-05-25 18:27:05 +03:00
.c8:focus {
2018-02-23 19:57:13 +02:00
border-color: rgb(59,70,204);
outline: 0;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c8::-webkit-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8::-moz-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8:-ms-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8:invalid {
2018-01-11 22:26:42 +02:00
box-shadow: none;
}
2018-05-25 18:27:05 +03:00
.c8:disabled {
2018-01-11 22:26:42 +02:00
background-color: rgb(250,250,250);
color: rgb(216,216,216);
2018-01-16 20:21:16 +02:00
cursor: not-allowed;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c8:disabled::-webkit-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8:disabled::-moz-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8:disabled:-ms-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c5 {
2018-03-28 15:51:34 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
2018-05-17 16:35:32 +03:00
<div
className="c0"
2018-01-11 22:26:42 +02:00
>
2018-05-17 16:35:32 +03:00
<form
onSubmit={undefined}
2018-01-11 22:26:42 +02:00
>
<div
2018-05-25 18:27:05 +03:00
className="c1"
2018-05-17 16:35:32 +03:00
wrap={true}
2018-01-11 22:26:42 +02:00
>
2018-01-30 18:04:03 +02:00
<div
2018-05-25 18:27:05 +03:00
className="c2"
2018-01-11 22:26:42 +02:00
>
2018-01-30 18:04:03 +02:00
<div
2018-05-25 18:27:05 +03:00
className="c3"
2018-01-30 18:04:03 +02:00
>
2018-03-28 15:51:34 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c4"
2018-05-17 16:35:32 +03:00
name="name"
role="group"
style={undefined}
2018-03-28 15:51:34 +03:00
>
2018-05-17 16:35:32 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c5 c6"
2018-05-17 16:35:32 +03:00
htmlFor="k"
>
Attach to new CNS service name
</label>
<div
2018-05-25 18:27:05 +03:00
className="c7"
2018-05-17 16:35:32 +03:00
>
<input
2018-05-25 18:27:05 +03:00
className="c8"
2018-05-17 16:35:32 +03:00
disabled={false}
id="k"
onBlur={null}
placeholder="Example: mySQLdb"
/>
</div>
2018-03-28 15:51:34 +03:00
</div>
2018-01-30 18:04:03 +02:00
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c2"
2018-01-11 22:26:42 +02:00
>
2018-05-17 16:35:32 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c9"
2018-01-30 18:04:03 +02:00
>
2018-05-17 16:35:32 +03:00
<button
2018-05-25 18:27:05 +03:00
className="c10 c11 c12 c13"
2018-05-17 16:35:32 +03:00
data-ui-button="true"
disabled={undefined}
href=""
type="submit"
>
Add
</button>
</div>
2018-01-30 18:04:03 +02:00
</div>
2018-01-11 22:26:42 +02:00
</div>
2018-05-17 16:35:32 +03:00
</form>
</div>
2018-01-11 22:26:42 +02:00
`;
exports[`renders <AddServiceForm pristine /> without throwing 1`] = `
2018-05-17 16:35:32 +03:00
.c0 {
margin-bottom: 1.125rem;
2018-01-30 18:04:03 +02:00
}
2018-05-25 18:27:05 +03:00
.c7 {
2018-05-17 16:35:32 +03:00
margin-top: 0.1875rem;
}
2018-05-25 18:27:05 +03:00
.c9 {
2018-01-29 20:09:18 +02:00
margin-left: 0.75rem;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c1 {
2018-01-11 22:26:42 +02: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;
2018-02-01 17:33:58 +02:00
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
2018-03-28 15:51:34 +03:00
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
2018-05-25 18:27:05 +03:00
.c3 {
2018-03-28 15:51:34 +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;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c2 {
2018-01-30 18:04:03 +02:00
-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
.c13 {
2018-01-11 22:26:42 +02:00
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
2018-05-25 18:27:05 +03:00
.c13::-moz-focus-inner,
.c13[type='button']::-moz-focus-inner,
.c13[type='reset']::-moz-focus-inner,
.c13[type='submit']::-moz-focus-inner {
2018-01-11 22:26:42 +02:00
border-style: none;
padding: 0;
}
2018-05-25 18:27:05 +03:00
.c13:-moz-focusring,
.c13[type='button']:-moz-focusring,
.c13[type='reset']:-moz-focusring,
.c13[type='submit']:-moz-focusring {
2018-01-11 22:26:42 +02:00
outline: 0.0625rem dotted ButtonText;
}
2018-05-25 18:27:05 +03:00
.c12 {
2018-03-28 15:51:34 +03:00
min-width: 7.5rem;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c11 {
2018-01-11 22:26:42 +02:00
display: inline-block;
}
2018-05-25 18:27:05 +03:00
.c10 {
2018-01-11 22:26:42 +02:00
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
2018-01-19 19:37:31 +02:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
2018-01-11 22:26:42 +02:00
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
2018-02-09 14:41:54 +02:00
-webkit-text-decoration: none;
2018-01-11 22:26:42 +02:00
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
}
2018-05-25 18:27:05 +03:00
.c10:focus {
2018-01-11 22:26:42 +02:00
outline: 0;
2018-02-09 14:41:54 +02:00
-webkit-text-decoration: none;
2018-01-11 22:26:42 +02:00
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
2018-05-25 18:27:05 +03:00
.c10:hover {
2018-01-11 22:26:42 +02:00
background-color: rgb(72,83,217);
2018-04-06 17:53:44 +03:00
border-color: rgb(45,56,132);
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c10:active,
.c10:active:hover,
.c10:active:focus {
2018-01-11 22:26:42 +02:00
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
2018-05-25 18:27:05 +03:00
.c10[disabled] {
2018-01-11 22:26:42 +02:00
cursor: not-allowed;
pointer-events: none;
}
2018-05-25 18:27:05 +03:00
.c6 {
2018-01-17 21:40:10 +02:00
font-size: 0.9375rem;
2018-01-30 18:04:03 +02:00
line-height: 1.125rem;
2018-01-17 21:40:10 +02:00
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
2018-05-25 18:27:05 +03:00
.c4 {
2018-01-11 22:26:42 +02: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
.c8 {
2018-01-11 22:26:42 +02:00
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
2018-02-26 14:07:30 +02:00
padding: 0.8125rem 0.75rem;
2018-01-11 22:26:42 +02:00
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-01-11 22:26:42 +02:00
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
2018-02-23 19:57:13 +02:00
max-width: 22.1875rem;
text-overflow: ellipsis;
}
2018-05-25 18:27:05 +03:00
.c8:focus {
2018-02-23 19:57:13 +02:00
border-color: rgb(59,70,204);
outline: 0;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c8::-webkit-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8::-moz-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8:-ms-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8:invalid {
2018-01-11 22:26:42 +02:00
box-shadow: none;
}
2018-05-25 18:27:05 +03:00
.c8:disabled {
2018-01-11 22:26:42 +02:00
background-color: rgb(250,250,250);
color: rgb(216,216,216);
2018-01-16 20:21:16 +02:00
cursor: not-allowed;
2018-01-11 22:26:42 +02:00
}
2018-05-25 18:27:05 +03:00
.c8:disabled::-webkit-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8:disabled::-moz-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c8:disabled:-ms-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-05-25 18:27:05 +03:00
.c5 {
2018-03-28 15:51:34 +03:00
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
2018-05-17 16:35:32 +03:00
<div
className="c0"
2018-01-11 22:26:42 +02:00
>
2018-05-17 16:35:32 +03:00
<form
onSubmit={undefined}
2018-01-11 22:26:42 +02:00
>
<div
2018-05-25 18:27:05 +03:00
className="c1"
2018-05-17 16:35:32 +03:00
wrap={true}
2018-01-11 22:26:42 +02:00
>
2018-01-30 18:04:03 +02:00
<div
2018-05-25 18:27:05 +03:00
className="c2"
2018-01-11 22:26:42 +02:00
>
2018-01-30 18:04:03 +02:00
<div
2018-05-25 18:27:05 +03:00
className="c3"
2018-01-30 18:04:03 +02:00
>
2018-03-28 15:51:34 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c4"
2018-05-17 16:35:32 +03:00
name="name"
role="group"
style={undefined}
2018-03-28 15:51:34 +03:00
>
2018-05-17 16:35:32 +03:00
<label
2018-05-25 18:27:05 +03:00
className="c5 c6"
2018-05-17 16:35:32 +03:00
htmlFor="l"
>
Attach to new CNS service name
</label>
<div
2018-05-25 18:27:05 +03:00
className="c7"
2018-05-17 16:35:32 +03:00
>
<input
2018-05-25 18:27:05 +03:00
className="c8"
2018-05-17 16:35:32 +03:00
disabled={false}
id="l"
onBlur={null}
placeholder="Example: mySQLdb"
/>
</div>
2018-03-28 15:51:34 +03:00
</div>
2018-01-30 18:04:03 +02:00
</div>
</div>
<div
2018-05-25 18:27:05 +03:00
className="c2"
2018-01-11 22:26:42 +02:00
>
2018-05-17 16:35:32 +03:00
<div
2018-05-25 18:27:05 +03:00
className="c9"
2018-01-30 18:04:03 +02:00
>
2018-05-17 16:35:32 +03:00
<button
2018-05-25 18:27:05 +03:00
className="c10 c11 c12 c13"
2018-05-17 16:35:32 +03:00
data-ui-button="true"
disabled={undefined}
href=""
type="submit"
>
Add
</button>
</div>
2018-01-30 18:04:03 +02:00
</div>
2018-01-11 22:26:42 +02:00
</div>
2018-05-17 16:35:32 +03:00
</form>
</div>
2018-01-11 22:26:42 +02:00
`;
exports[`renders <Header/> without throwing 1`] = `
2018-03-28 15:51:34 +03:00
.c0 {
2018-04-12 12:53:00 +03:00
margin-bottom: 1.875rem;
2018-01-11 22:26:42 +02:00
}
2018-04-12 12:53:00 +03:00
.c3 {
2018-03-28 15:51:34 +03:00
margin-top: 0.75rem;
2018-01-11 22:26:42 +02:00
}
2018-04-12 12:53:00 +03:00
.c5 {
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-04-12 12:53:00 +03:00
margin: 0;
2018-01-11 22:26:42 +02:00
line-height: 1.5rem;
font-size: 0.9375rem;
2018-04-06 17:53:44 +03:00
margin: 0;
2018-03-28 15:51:34 +03:00
}
2018-04-12 12:53:00 +03:00
.c2 {
margin: 0;
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
2018-04-12 12:53:00 +03:00
line-height: 1.625rem;
font-size: 1.3125rem;
}
2018-03-28 15:51:34 +03:00
.c1 {
2018-01-11 22:26:42 +02:00
margin: 0;
}
2018-04-12 12:53:00 +03:00
.c4 {
margin: 0;
}
2018-01-11 22:26:42 +02:00
<div
2018-04-12 12:53:00 +03:00
className="c0"
2018-01-11 22:26:42 +02:00
>
2018-04-12 12:53:00 +03:00
<h3
className="c1 c2"
>
CNS Default Hostnames
</h3>
<div
className="c3"
>
2018-01-11 22:26:42 +02:00
<p
2018-04-12 12:53:00 +03:00
className="c4 c5"
2018-01-11 22:26:42 +02:00
>
2018-04-12 12:53:00 +03:00
Default hostnames are automatically generated from both the instance name and any attached networks.
2018-01-11 22:26:42 +02:00
</p>
2018-04-12 12:53:00 +03:00
</div>
</div>
2018-01-11 22:26:42 +02:00
`;
2018-04-12 12:53:00 +03:00
exports[`renders <Hostname /> without throwing 1`] = `
.c0 {
margin-bottom: 1.125rem;
}
.c6 {
margin-right: 0.375rem;
margin-bottom: 0.1875rem;
}
.c1 {
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;
}
.c5 {
-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;
}
.c4 {
font-size: 80%;
}
.c3 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
color: rgb(73,73,73);
line-height: 1.125rem;
font-size: 0.8125rem;
font-weight: 600;
}
.c7 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
color: rgb(73,73,73);
line-height: 1.125rem;
font-size: 0.8125rem;
}
.c2 {
padding-right: 0.75rem;
margin-right: 0.75rem;
border-right: 0.0625rem solid rgb(216,216,216);
}
<div
className="c0"
>
<div
className="c1"
>
<small
className="c2 c3 c4"
>
Instance name
hostname
s
</small>
<div
className="c5"
>
<div
className="c6"
>
<svg
height="16"
style={
Object {
"transform": "rotate(0deg)",
}
}
viewBox="0 0 12 16"
width="12"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10,6V4A4,4,0,0,0,2,4V6H2A2,2,0,0,0,0,8v6a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V8A2,2,0,0,0,10,6ZM4,4c0-1.65.35-2,2-2s2,.35,2,2V6H4Zm6,9a1,1,0,0,1-1,1H3a1,1,0,0,1-1-1V9A1,1,0,0,1,3,8H9a1,1,0,0,1,1,1ZM6,13H6a1,1,0,0,1-1-1V10A1,1,0,0,1,6,9H6a1,1,0,0,1,1,1v2A1,1,0,0,1,6,13Z"
fill="rgb(73, 73, 73)"
/>
</svg>
</div>
</div>
<div
className="c5"
>
<small
className="c7 c4"
>
Private
</small>
</div>
</div>
</div>
`;
2018-01-11 22:26:42 +02:00
exports[`renders <Hostname values /> without throwing 1`] = `
.c0 {
2018-03-28 15:51:34 +03:00
margin-bottom: 1.125rem;
2018-01-11 22:26:42 +02:00
}
2018-05-17 16:35:32 +03:00
.c10 {
margin-top: 0.1875rem;
}
2018-03-28 15:51:34 +03:00
.c6 {
2018-01-29 20:09:18 +02:00
margin-right: 0.375rem;
2018-03-28 15:51:34 +03:00
margin-bottom: 0.1875rem;
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c8 {
2018-01-30 18:04:03 +02:00
margin-top: 0.1875rem;
margin-bottom: 0.375rem;
}
2018-01-11 22:26:42 +02:00
.c1 {
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-03-28 15:51:34 +03:00
.c5 {
2018-01-11 22:26:42 +02:00
-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;
2018-01-31 14:44:06 +02:00
display: block;
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c4 {
2018-01-11 22:26:42 +02:00
font-size: 80%;
2018-03-28 15:51:34 +03:00
}
.c3 {
2018-01-19 19:37:31 +02:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-01-11 22:26:42 +02:00
line-height: 1.125rem;
font-size: 0.8125rem;
font-weight: 600;
}
2018-03-28 15:51:34 +03:00
.c7 {
2018-01-19 19:37:31 +02:00
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-01-11 22:26:42 +02:00
line-height: 1.125rem;
font-size: 0.8125rem;
}
2018-03-28 15:51:34 +03:00
.c9 {
2018-01-11 22:26:42 +02:00
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
2018-02-26 14:07:30 +02:00
padding: 0.8125rem 0.75rem;
2018-01-11 22:26:42 +02:00
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgb(250,250,250);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
2018-02-23 19:57:13 +02:00
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
2018-05-25 18:27:05 +03:00
white-space: pre-wrap;
2018-02-23 19:57:13 +02:00
font-family: "Roboto Mono",monospace;
width: 100%;
min-width: 100%;
}
2018-03-28 15:51:34 +03:00
.c9:focus {
2018-02-23 19:57:13 +02:00
border-color: rgb(59,70,204);
outline: 0;
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c9::-webkit-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-03-28 15:51:34 +03:00
.c9::-moz-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-03-28 15:51:34 +03:00
.c9:-ms-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-03-28 15:51:34 +03:00
.c9:invalid {
2018-01-11 22:26:42 +02:00
box-shadow: none;
}
2018-03-28 15:51:34 +03:00
.c9::-webkit-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgb(216,216,216);
}
2018-03-28 15:51:34 +03:00
.c9::-moz-placeholder {
2018-01-11 22:26:42 +02:00
color: rgb(216,216,216);
}
2018-03-28 15:51:34 +03:00
.c9:-ms-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgb(216,216,216);
}
2018-03-28 15:51:34 +03:00
.c9:disabled {
2018-01-11 22:26:42 +02:00
background-color: rgb(250,250,250);
color: rgb(216,216,216);
2018-01-16 20:21:16 +02:00
cursor: not-allowed;
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c9:disabled::-webkit-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-03-28 15:51:34 +03:00
.c9:disabled::-moz-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-03-28 15:51:34 +03:00
.c9:disabled:-ms-input-placeholder {
2018-01-11 22:26:42 +02:00
color: rgba(73,73,73,0.5);
}
2018-03-28 15:51:34 +03:00
.c9:disabled {
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c9:disabled::-webkit-input-placeholder {
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c9:disabled::-moz-placeholder {
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c9:disabled:-ms-input-placeholder {
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-01-11 22:26:42 +02:00
}
.c2 {
padding-right: 0.75rem;
margin-right: 0.75rem;
border-right: 0.0625rem solid rgb(216,216,216);
}
<div
className="c0"
>
<div
className="c1"
>
<small
2018-03-28 15:51:34 +03:00
className="c2 c3 c4"
2018-01-11 22:26:42 +02:00
>
Instance name
hostname
2018-01-09 17:59:04 +02:00
s
2018-01-11 22:26:42 +02:00
</small>
<div
2018-03-28 15:51:34 +03:00
className="c5"
2018-01-11 22:26:42 +02:00
>
<div
2018-03-28 15:51:34 +03:00
className="c6"
2018-01-11 22:26:42 +02:00
>
<svg
height="16"
style={
Object {
"transform": "rotate(0deg)",
}
}
viewBox="0 0 12 16"
width="12"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10,6V4A4,4,0,0,0,2,4V6H2A2,2,0,0,0,0,8v6a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V8A2,2,0,0,0,10,6ZM4,4c0-1.65.35-2,2-2s2,.35,2,2V6H4Zm6,9a1,1,0,0,1-1,1H3a1,1,0,0,1-1-1V9A1,1,0,0,1,3,8H9a1,1,0,0,1,1,1ZM6,13H6a1,1,0,0,1-1-1V10A1,1,0,0,1,6,9H6a1,1,0,0,1,1,1v2A1,1,0,0,1,6,13Z"
2018-03-01 15:40:36 +02:00
fill="rgb(73, 73, 73)"
2018-01-11 22:26:42 +02:00
/>
</svg>
</div>
</div>
<div
2018-03-28 15:51:34 +03:00
className="c5"
2018-01-11 22:26:42 +02:00
>
<small
2018-03-28 15:51:34 +03:00
className="c7 c4"
2018-01-11 22:26:42 +02:00
>
Private
</small>
</div>
</div>
2018-01-30 18:04:03 +02:00
<div
2018-03-28 15:51:34 +03:00
className="c8"
2018-01-30 18:04:03 +02:00
>
<input
2018-03-28 15:51:34 +03:00
className="c9"
2018-01-30 18:04:03 +02:00
disabled={true}
id=""
onBlur={null}
value="111"
/>
</div>
<div
2018-03-28 15:51:34 +03:00
className="c10"
2018-01-30 18:04:03 +02:00
>
<input
2018-03-28 15:51:34 +03:00
className="c9"
2018-01-30 18:04:03 +02:00
disabled={true}
id=""
onBlur={null}
value="111"
/>
</div>
2018-01-11 22:26:42 +02:00
</div>
`;
exports[`renders <HostnamesHeader /> without throwing 1`] = `
2018-03-28 15:51:34 +03:00
.c3 {
margin-top: 0.75rem;
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c0 {
margin-top: 1.875rem;
2018-04-12 12:53:00 +03:00
margin-bottom: 1.875rem;
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c5 {
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-04-12 12:53:00 +03:00
margin: 0;
2018-01-11 22:26:42 +02:00
line-height: 1.5rem;
font-size: 0.9375rem;
2018-04-06 17:53:44 +03:00
margin: 0;
2018-01-11 22:26:42 +02:00
}
2018-03-28 15:51:34 +03:00
.c2 {
2018-04-12 12:53:00 +03:00
margin: 0;
2018-03-01 15:40:36 +02:00
color: rgb(73,73,73);
2018-05-25 18:27:05 +03:00
font-weight: 400;
2018-01-11 22:26:42 +02:00
line-height: 1.625rem;
font-size: 1.3125rem;
2018-03-28 15:51:34 +03:00
}
.c1 {
2018-01-11 22:26:42 +02:00
margin: 0;
}
2018-03-28 15:51:34 +03:00
.c4 {
margin: 0;
2018-01-11 22:26:42 +02:00
}
<div
className="c0"
>
<h3
2018-03-28 15:51:34 +03:00
className="c1 c2"
2018-01-11 22:26:42 +02:00
>
2018-04-12 12:53:00 +03:00
CNS Service hostnames
2018-01-11 22:26:42 +02:00
</h3>
<div
2018-03-28 15:51:34 +03:00
className="c3"
2018-01-11 22:26:42 +02:00
>
<p
2018-03-28 15:51:34 +03:00
className="c4 c5"
2018-01-11 22:26:42 +02:00
>
CNS service hostnames are created by attaching a CNS service name to one or more instances. You can serve multiple instances under the same hostname by assigning them to a matching CNS service name.
</p>
</div>
</div>
`;