2569 lines
55 KiB
Plaintext
2569 lines
55 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders <UserScript /> without throwing 1`] = `
|
|
.c3 {
|
|
font-size: 80%;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.125rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.c6 {
|
|
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;
|
|
}
|
|
|
|
.c5 {
|
|
background-color: rgb(216,216,216);
|
|
margin: 0;
|
|
height: 0.0625rem;
|
|
}
|
|
|
|
.c1 {
|
|
margin-right: 0.375rem;
|
|
}
|
|
|
|
.c4 {
|
|
margin-top: 0.375rem;
|
|
margin-bottom: 2.625rem;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
<div
|
|
className=""
|
|
id={undefined}
|
|
onClick={undefined}
|
|
>
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<svg
|
|
className=""
|
|
height="18"
|
|
innerRef={undefined}
|
|
style={
|
|
Object {
|
|
"transform": "rotate(0deg)",
|
|
}
|
|
}
|
|
viewBox="0 0 15.43 18"
|
|
width="15.43"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M15.09,13.64,12.29,6h.14a3,3,0,0,0,0-6H3A3,3,0,0,0,0,3a3.37,3.37,0,0,0,.09.71,6.85,6.85,0,0,0,.25.64l3,7.68L3,12a3,3,0,0,0,0,6h9.43a2.94,2.94,0,0,0,3-3.43A7.54,7.54,0,0,0,15.09,13.64ZM12.43,1.46a1.54,1.54,0,1,1,0,3.08,1.52,1.52,0,0,1-1.27-.67l-.24-.6a1.24,1.24,0,0,1,0-.27A1.54,1.54,0,0,1,12.43,1.46ZM2,3.74l-.21-.52a.78.78,0,0,1,0-.22A1.29,1.29,0,0,1,3,1.71H9.73A3,3,0,0,0,9.43,3a2.76,2.76,0,0,0,.09.71L9.63,4c0,.09.77,2,.77,2l2.33,6-.3,0H5.36L2.88,6ZM9.73,16.29H3a1.29,1.29,0,0,1,0-2.58H9.73a2.92,2.92,0,0,0,0,2.58Zm2.7.25A1.54,1.54,0,1,1,14,15,1.54,1.54,0,0,1,12.43,16.54Z"
|
|
fill="rgba(73, 73, 73, 1)"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<small
|
|
className="c3"
|
|
>
|
|
User Script
|
|
</small>
|
|
</div>
|
|
<div
|
|
className="c4"
|
|
>
|
|
<div
|
|
className="c5 c6"
|
|
height="0.0625rem"
|
|
/>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders <UserScript expanded /> without throwing 1`] = `
|
|
Array [
|
|
.c3 {
|
|
font-size: 80%;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.125rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.c6 {
|
|
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;
|
|
}
|
|
|
|
.c5 {
|
|
background-color: rgb(216,216,216);
|
|
margin: 0;
|
|
height: 0.0625rem;
|
|
}
|
|
|
|
.c1 {
|
|
margin-right: 0.375rem;
|
|
}
|
|
|
|
.c4 {
|
|
margin-top: 0.375rem;
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
<div
|
|
className=""
|
|
id={undefined}
|
|
onClick={undefined}
|
|
>
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<svg
|
|
className=""
|
|
height="18"
|
|
innerRef={undefined}
|
|
style={
|
|
Object {
|
|
"transform": "rotate(0deg)",
|
|
}
|
|
}
|
|
viewBox="0 0 15.43 18"
|
|
width="15.43"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M15.09,13.64,12.29,6h.14a3,3,0,0,0,0-6H3A3,3,0,0,0,0,3a3.37,3.37,0,0,0,.09.71,6.85,6.85,0,0,0,.25.64l3,7.68L3,12a3,3,0,0,0,0,6h9.43a2.94,2.94,0,0,0,3-3.43A7.54,7.54,0,0,0,15.09,13.64ZM12.43,1.46a1.54,1.54,0,1,1,0,3.08,1.52,1.52,0,0,1-1.27-.67l-.24-.6a1.24,1.24,0,0,1,0-.27A1.54,1.54,0,0,1,12.43,1.46ZM2,3.74l-.21-.52a.78.78,0,0,1,0-.22A1.29,1.29,0,0,1,3,1.71H9.73A3,3,0,0,0,9.43,3a2.76,2.76,0,0,0,.09.71L9.63,4c0,.09.77,2,.77,2l2.33,6-.3,0H5.36L2.88,6ZM9.73,16.29H3a1.29,1.29,0,0,1,0-2.58H9.73a2.92,2.92,0,0,0,0,2.58Zm2.7.25A1.54,1.54,0,1,1,14,15,1.54,1.54,0,0,1,12.43,16.54Z"
|
|
fill="rgba(73, 73, 73, 1)"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<small
|
|
className="c3"
|
|
>
|
|
User Script
|
|
</small>
|
|
</div>
|
|
<div
|
|
className="c4"
|
|
>
|
|
<div
|
|
className="c5 c6"
|
|
height="0.0625rem"
|
|
/>
|
|
</div>
|
|
</div>,
|
|
.c3 {
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.5rem;
|
|
font-size: 0.9375rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c1 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
@media only screen and (min-width:0em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width:48em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 66.66666666666667%;
|
|
-ms-flex-preferred-size: 66.66666666666667%;
|
|
flex-basis: 66.66666666666667%;
|
|
max-width: 66.66666666666667%;
|
|
}
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<p
|
|
className="c3"
|
|
>
|
|
User script can be used to inject a custom boot script.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>,
|
|
.c4 {
|
|
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;
|
|
min-width: 7.5rem;
|
|
}
|
|
|
|
.c4::-moz-focus-inner,
|
|
.c4[type='button']::-moz-focus-inner,
|
|
.c4[type='reset']::-moz-focus-inner,
|
|
.c4[type='submit']::-moz-focus-inner {
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.c4:-moz-focusring,
|
|
.c4[type='button']:-moz-focusring,
|
|
.c4[type='reset']:-moz-focusring,
|
|
.c4[type='submit']:-moz-focusring {
|
|
outline: 0.0625rem dotted ButtonText;
|
|
}
|
|
|
|
.c4 + button,
|
|
.c4 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c3 {
|
|
display: inline-block;
|
|
}
|
|
|
|
.c3 + button,
|
|
.c3 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
font-size: 0.9375rem;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
-webkit-letter-spacing: normal;
|
|
-moz-letter-spacing: normal;
|
|
-ms-letter-spacing: normal;
|
|
letter-spacing: normal;
|
|
-webkit-text-decoration: none;
|
|
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);
|
|
color: rgb(70,70,70);
|
|
-webkit-text-fill-color: currentcolor;
|
|
background-color: rgb(255,255,255);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c2:focus {
|
|
outline: 0;
|
|
-webkit-text-decoration: none;
|
|
text-decoration: none;
|
|
background-color: rgb(59,70,204);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2:hover {
|
|
background-color: rgb(72,83,217);
|
|
border: solid 0.0625rem rgb(45,56,132);
|
|
}
|
|
|
|
.c2:active,
|
|
.c2:active:hover,
|
|
.c2:active:focus {
|
|
background-image: none;
|
|
outline: 0;
|
|
background-color: rgb(45,56,132);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2[disabled] {
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.c2:focus {
|
|
background-color: rgb(255,255,255);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c2:hover {
|
|
background-color: rgb(247,247,247);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c2:active,
|
|
.c2:active:hover,
|
|
.c2:active:focus {
|
|
background-color: rgb(230,230,230);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c5 {
|
|
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;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
font-size: 0.9375rem;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
-webkit-letter-spacing: normal;
|
|
-moz-letter-spacing: normal;
|
|
-ms-letter-spacing: normal;
|
|
letter-spacing: normal;
|
|
-webkit-text-decoration: none;
|
|
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);
|
|
}
|
|
|
|
.c5:focus {
|
|
outline: 0;
|
|
-webkit-text-decoration: none;
|
|
text-decoration: none;
|
|
background-color: rgb(59,70,204);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c5:hover {
|
|
background-color: rgb(72,83,217);
|
|
border: solid 0.0625rem rgb(45,56,132);
|
|
}
|
|
|
|
.c5:active,
|
|
.c5:active:hover,
|
|
.c5:active:focus {
|
|
background-image: none;
|
|
outline: 0;
|
|
background-color: rgb(45,56,132);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c5[disabled] {
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.c0 {
|
|
margin-top: 0.75rem;
|
|
margin-bottom: 2.625rem;
|
|
}
|
|
|
|
.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;
|
|
-webkit-align-items: center;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<button
|
|
className="c2 c3 c4"
|
|
href=""
|
|
onClick={[Function]}
|
|
type="button"
|
|
>
|
|
Add User Script
|
|
</button>
|
|
<button
|
|
className="c5 c3 c4"
|
|
href=""
|
|
onClick={undefined}
|
|
type="submit"
|
|
>
|
|
Next
|
|
</button>
|
|
</div>
|
|
</div>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders <UserScript expanded create /> without throwing 1`] = `
|
|
Array [
|
|
.c3 {
|
|
font-size: 80%;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.125rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.c6 {
|
|
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;
|
|
}
|
|
|
|
.c5 {
|
|
background-color: rgb(216,216,216);
|
|
margin: 0;
|
|
height: 0.0625rem;
|
|
}
|
|
|
|
.c1 {
|
|
margin-right: 0.375rem;
|
|
}
|
|
|
|
.c4 {
|
|
margin-top: 0.375rem;
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
<div
|
|
className=""
|
|
id={undefined}
|
|
onClick={undefined}
|
|
>
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<svg
|
|
className=""
|
|
height="18"
|
|
innerRef={undefined}
|
|
style={
|
|
Object {
|
|
"transform": "rotate(0deg)",
|
|
}
|
|
}
|
|
viewBox="0 0 15.43 18"
|
|
width="15.43"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M15.09,13.64,12.29,6h.14a3,3,0,0,0,0-6H3A3,3,0,0,0,0,3a3.37,3.37,0,0,0,.09.71,6.85,6.85,0,0,0,.25.64l3,7.68L3,12a3,3,0,0,0,0,6h9.43a2.94,2.94,0,0,0,3-3.43A7.54,7.54,0,0,0,15.09,13.64ZM12.43,1.46a1.54,1.54,0,1,1,0,3.08,1.52,1.52,0,0,1-1.27-.67l-.24-.6a1.24,1.24,0,0,1,0-.27A1.54,1.54,0,0,1,12.43,1.46ZM2,3.74l-.21-.52a.78.78,0,0,1,0-.22A1.29,1.29,0,0,1,3,1.71H9.73A3,3,0,0,0,9.43,3a2.76,2.76,0,0,0,.09.71L9.63,4c0,.09.77,2,.77,2l2.33,6-.3,0H5.36L2.88,6ZM9.73,16.29H3a1.29,1.29,0,0,1,0-2.58H9.73a2.92,2.92,0,0,0,0,2.58Zm2.7.25A1.54,1.54,0,1,1,14,15,1.54,1.54,0,0,1,12.43,16.54Z"
|
|
fill="rgba(73, 73, 73, 1)"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<small
|
|
className="c3"
|
|
>
|
|
User Script
|
|
</small>
|
|
</div>
|
|
<div
|
|
className="c4"
|
|
>
|
|
<div
|
|
className="c5 c6"
|
|
height="0.0625rem"
|
|
/>
|
|
</div>
|
|
</div>,
|
|
.c3 {
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.5rem;
|
|
font-size: 0.9375rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c1 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
@media only screen and (min-width:0em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width:48em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 66.66666666666667%;
|
|
-ms-flex-preferred-size: 66.66666666666667%;
|
|
flex-basis: 66.66666666666667%;
|
|
max-width: 66.66666666666667%;
|
|
}
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<p
|
|
className="c3"
|
|
>
|
|
User script can be used to inject a custom boot script.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>,
|
|
.c4 {
|
|
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;
|
|
min-width: 7.5rem;
|
|
}
|
|
|
|
.c4::-moz-focus-inner,
|
|
.c4[type='button']::-moz-focus-inner,
|
|
.c4[type='reset']::-moz-focus-inner,
|
|
.c4[type='submit']::-moz-focus-inner {
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.c4:-moz-focusring,
|
|
.c4[type='button']:-moz-focusring,
|
|
.c4[type='reset']:-moz-focusring,
|
|
.c4[type='submit']:-moz-focusring {
|
|
outline: 0.0625rem dotted ButtonText;
|
|
}
|
|
|
|
.c4 + button,
|
|
.c4 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c3 {
|
|
display: inline-block;
|
|
}
|
|
|
|
.c3 + button,
|
|
.c3 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
font-size: 0.9375rem;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
-webkit-letter-spacing: normal;
|
|
-moz-letter-spacing: normal;
|
|
-ms-letter-spacing: normal;
|
|
letter-spacing: normal;
|
|
-webkit-text-decoration: none;
|
|
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);
|
|
color: rgb(70,70,70);
|
|
-webkit-text-fill-color: currentcolor;
|
|
background-color: rgb(255,255,255);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c2:focus {
|
|
outline: 0;
|
|
-webkit-text-decoration: none;
|
|
text-decoration: none;
|
|
background-color: rgb(59,70,204);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2:hover {
|
|
background-color: rgb(72,83,217);
|
|
border: solid 0.0625rem rgb(45,56,132);
|
|
}
|
|
|
|
.c2:active,
|
|
.c2:active:hover,
|
|
.c2:active:focus {
|
|
background-image: none;
|
|
outline: 0;
|
|
background-color: rgb(45,56,132);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2[disabled] {
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.c2:focus {
|
|
background-color: rgb(255,255,255);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c2:hover {
|
|
background-color: rgb(247,247,247);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c2:active,
|
|
.c2:active:hover,
|
|
.c2:active:focus {
|
|
background-color: rgb(230,230,230);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c5 {
|
|
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;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
font-size: 0.9375rem;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
-webkit-letter-spacing: normal;
|
|
-moz-letter-spacing: normal;
|
|
-ms-letter-spacing: normal;
|
|
letter-spacing: normal;
|
|
-webkit-text-decoration: none;
|
|
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);
|
|
}
|
|
|
|
.c5:focus {
|
|
outline: 0;
|
|
-webkit-text-decoration: none;
|
|
text-decoration: none;
|
|
background-color: rgb(59,70,204);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c5:hover {
|
|
background-color: rgb(72,83,217);
|
|
border: solid 0.0625rem rgb(45,56,132);
|
|
}
|
|
|
|
.c5:active,
|
|
.c5:active:hover,
|
|
.c5:active:focus {
|
|
background-image: none;
|
|
outline: 0;
|
|
background-color: rgb(45,56,132);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c5[disabled] {
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.c0 {
|
|
margin-top: 0.75rem;
|
|
margin-bottom: 2.625rem;
|
|
}
|
|
|
|
.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;
|
|
-webkit-align-items: center;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<button
|
|
className="c2 c3 c4"
|
|
href=""
|
|
onClick={[Function]}
|
|
type="button"
|
|
>
|
|
Add User Script
|
|
</button>
|
|
<button
|
|
className="c5 c3 c4"
|
|
href=""
|
|
onClick={undefined}
|
|
type="submit"
|
|
>
|
|
Next
|
|
</button>
|
|
</div>
|
|
</div>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders <UserScript expanded create formOpen /> without throwing 1`] = `
|
|
Array [
|
|
.c3 {
|
|
font-size: 80%;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.125rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.c6 {
|
|
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;
|
|
}
|
|
|
|
.c5 {
|
|
background-color: rgb(216,216,216);
|
|
margin: 0;
|
|
height: 0.0625rem;
|
|
}
|
|
|
|
.c1 {
|
|
margin-right: 0.375rem;
|
|
}
|
|
|
|
.c4 {
|
|
margin-top: 0.375rem;
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
<div
|
|
className=""
|
|
id={undefined}
|
|
onClick={undefined}
|
|
>
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<svg
|
|
className=""
|
|
height="18"
|
|
innerRef={undefined}
|
|
style={
|
|
Object {
|
|
"transform": "rotate(0deg)",
|
|
}
|
|
}
|
|
viewBox="0 0 15.43 18"
|
|
width="15.43"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M15.09,13.64,12.29,6h.14a3,3,0,0,0,0-6H3A3,3,0,0,0,0,3a3.37,3.37,0,0,0,.09.71,6.85,6.85,0,0,0,.25.64l3,7.68L3,12a3,3,0,0,0,0,6h9.43a2.94,2.94,0,0,0,3-3.43A7.54,7.54,0,0,0,15.09,13.64ZM12.43,1.46a1.54,1.54,0,1,1,0,3.08,1.52,1.52,0,0,1-1.27-.67l-.24-.6a1.24,1.24,0,0,1,0-.27A1.54,1.54,0,0,1,12.43,1.46ZM2,3.74l-.21-.52a.78.78,0,0,1,0-.22A1.29,1.29,0,0,1,3,1.71H9.73A3,3,0,0,0,9.43,3a2.76,2.76,0,0,0,.09.71L9.63,4c0,.09.77,2,.77,2l2.33,6-.3,0H5.36L2.88,6ZM9.73,16.29H3a1.29,1.29,0,0,1,0-2.58H9.73a2.92,2.92,0,0,0,0,2.58Zm2.7.25A1.54,1.54,0,1,1,14,15,1.54,1.54,0,0,1,12.43,16.54Z"
|
|
fill="rgba(73, 73, 73, 1)"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<small
|
|
className="c3"
|
|
>
|
|
User Script
|
|
</small>
|
|
</div>
|
|
<div
|
|
className="c4"
|
|
>
|
|
<div
|
|
className="c5 c6"
|
|
height="0.0625rem"
|
|
/>
|
|
</div>
|
|
</div>,
|
|
.c3 {
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.5rem;
|
|
font-size: 0.9375rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c1 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
@media only screen and (min-width:0em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width:48em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 66.66666666666667%;
|
|
-ms-flex-preferred-size: 66.66666666666667%;
|
|
flex-basis: 66.66666666666667%;
|
|
max-width: 66.66666666666667%;
|
|
}
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<p
|
|
className="c3"
|
|
>
|
|
User script can be used to inject a custom boot script.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>,
|
|
.c4 {
|
|
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;
|
|
min-width: 7.5rem;
|
|
}
|
|
|
|
.c4::-moz-focus-inner,
|
|
.c4[type='button']::-moz-focus-inner,
|
|
.c4[type='reset']::-moz-focus-inner,
|
|
.c4[type='submit']::-moz-focus-inner {
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.c4:-moz-focusring,
|
|
.c4[type='button']:-moz-focusring,
|
|
.c4[type='reset']:-moz-focusring,
|
|
.c4[type='submit']:-moz-focusring {
|
|
outline: 0.0625rem dotted ButtonText;
|
|
}
|
|
|
|
.c4 + button,
|
|
.c4 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c3 {
|
|
display: inline-block;
|
|
}
|
|
|
|
.c3 + button,
|
|
.c3 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
font-size: 0.9375rem;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
-webkit-letter-spacing: normal;
|
|
-moz-letter-spacing: normal;
|
|
-ms-letter-spacing: normal;
|
|
letter-spacing: normal;
|
|
-webkit-text-decoration: none;
|
|
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);
|
|
}
|
|
|
|
.c2:focus {
|
|
outline: 0;
|
|
-webkit-text-decoration: none;
|
|
text-decoration: none;
|
|
background-color: rgb(59,70,204);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2:hover {
|
|
background-color: rgb(72,83,217);
|
|
border: solid 0.0625rem rgb(45,56,132);
|
|
}
|
|
|
|
.c2:active,
|
|
.c2:active:hover,
|
|
.c2:active:focus {
|
|
background-image: none;
|
|
outline: 0;
|
|
background-color: rgb(45,56,132);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2[disabled] {
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.c1 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.c0 {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
overflow: hidden;
|
|
height: auto;
|
|
-webkit-margin-start: 0;
|
|
-webkit-margin-end: 0;
|
|
-webkit-padding-before: 0;
|
|
-webkit-padding-start: 0;
|
|
-webkit-padding-end: 0;
|
|
-webkit-padding-after: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
<form
|
|
onSubmit={undefined}
|
|
>
|
|
<div
|
|
className="baseline-jVaZNU kXgQxt c0"
|
|
name="value"
|
|
role="group"
|
|
style={undefined}
|
|
>
|
|
<span>
|
|
joyent-maifest-editor
|
|
</span>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<button
|
|
className="c2 c3 c4"
|
|
href=""
|
|
type="submit"
|
|
>
|
|
Next
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>,
|
|
.c0 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 2.625rem;
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
/>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders <UserScript expanded edit formOpen /> without throwing 1`] = `
|
|
Array [
|
|
.c3 {
|
|
font-size: 80%;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.125rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.c6 {
|
|
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;
|
|
}
|
|
|
|
.c5 {
|
|
background-color: rgb(216,216,216);
|
|
margin: 0;
|
|
height: 0.0625rem;
|
|
}
|
|
|
|
.c1 {
|
|
margin-right: 0.375rem;
|
|
}
|
|
|
|
.c4 {
|
|
margin-top: 0.375rem;
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
<div
|
|
className=""
|
|
id={undefined}
|
|
onClick={undefined}
|
|
>
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<svg
|
|
className=""
|
|
height="18"
|
|
innerRef={undefined}
|
|
style={
|
|
Object {
|
|
"transform": "rotate(0deg)",
|
|
}
|
|
}
|
|
viewBox="0 0 15.43 18"
|
|
width="15.43"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M15.09,13.64,12.29,6h.14a3,3,0,0,0,0-6H3A3,3,0,0,0,0,3a3.37,3.37,0,0,0,.09.71,6.85,6.85,0,0,0,.25.64l3,7.68L3,12a3,3,0,0,0,0,6h9.43a2.94,2.94,0,0,0,3-3.43A7.54,7.54,0,0,0,15.09,13.64ZM12.43,1.46a1.54,1.54,0,1,1,0,3.08,1.52,1.52,0,0,1-1.27-.67l-.24-.6a1.24,1.24,0,0,1,0-.27A1.54,1.54,0,0,1,12.43,1.46ZM2,3.74l-.21-.52a.78.78,0,0,1,0-.22A1.29,1.29,0,0,1,3,1.71H9.73A3,3,0,0,0,9.43,3a2.76,2.76,0,0,0,.09.71L9.63,4c0,.09.77,2,.77,2l2.33,6-.3,0H5.36L2.88,6ZM9.73,16.29H3a1.29,1.29,0,0,1,0-2.58H9.73a2.92,2.92,0,0,0,0,2.58Zm2.7.25A1.54,1.54,0,1,1,14,15,1.54,1.54,0,0,1,12.43,16.54Z"
|
|
fill="rgba(73, 73, 73, 1)"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<small
|
|
className="c3"
|
|
>
|
|
User Script
|
|
</small>
|
|
</div>
|
|
<div
|
|
className="c4"
|
|
>
|
|
<div
|
|
className="c5 c6"
|
|
height="0.0625rem"
|
|
/>
|
|
</div>
|
|
</div>,
|
|
.c3 {
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.5rem;
|
|
font-size: 0.9375rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c1 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
@media only screen and (min-width:0em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width:48em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 66.66666666666667%;
|
|
-ms-flex-preferred-size: 66.66666666666667%;
|
|
flex-basis: 66.66666666666667%;
|
|
max-width: 66.66666666666667%;
|
|
}
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<p
|
|
className="c3"
|
|
>
|
|
User script can be used to inject a custom boot script.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>,
|
|
.c4 {
|
|
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;
|
|
min-width: 7.5rem;
|
|
}
|
|
|
|
.c4::-moz-focus-inner,
|
|
.c4[type='button']::-moz-focus-inner,
|
|
.c4[type='reset']::-moz-focus-inner,
|
|
.c4[type='submit']::-moz-focus-inner {
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.c4:-moz-focusring,
|
|
.c4[type='button']:-moz-focusring,
|
|
.c4[type='reset']:-moz-focusring,
|
|
.c4[type='submit']:-moz-focusring {
|
|
outline: 0.0625rem dotted ButtonText;
|
|
}
|
|
|
|
.c4 + button,
|
|
.c4 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c3 {
|
|
display: inline-block;
|
|
}
|
|
|
|
.c3 + button,
|
|
.c3 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
font-size: 0.9375rem;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
-webkit-letter-spacing: normal;
|
|
-moz-letter-spacing: normal;
|
|
-ms-letter-spacing: normal;
|
|
letter-spacing: normal;
|
|
-webkit-text-decoration: none;
|
|
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);
|
|
}
|
|
|
|
.c2:focus {
|
|
outline: 0;
|
|
-webkit-text-decoration: none;
|
|
text-decoration: none;
|
|
background-color: rgb(59,70,204);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2:hover {
|
|
background-color: rgb(72,83,217);
|
|
border: solid 0.0625rem rgb(45,56,132);
|
|
}
|
|
|
|
.c2:active,
|
|
.c2:active:hover,
|
|
.c2:active:focus {
|
|
background-image: none;
|
|
outline: 0;
|
|
background-color: rgb(45,56,132);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2[disabled] {
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.c1 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.c0 {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
overflow: hidden;
|
|
height: auto;
|
|
-webkit-margin-start: 0;
|
|
-webkit-margin-end: 0;
|
|
-webkit-padding-before: 0;
|
|
-webkit-padding-start: 0;
|
|
-webkit-padding-end: 0;
|
|
-webkit-padding-after: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
<form
|
|
onSubmit={undefined}
|
|
>
|
|
<div
|
|
className="baseline-jVaZNU kXgQxt c0"
|
|
name="value"
|
|
role="group"
|
|
style={undefined}
|
|
>
|
|
<span>
|
|
joyent-maifest-editor
|
|
</span>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<button
|
|
className="c2 c3 c4"
|
|
href=""
|
|
type="submit"
|
|
>
|
|
Next
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>,
|
|
.c0 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 2.625rem;
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
/>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders <UserScript expanded edit formOpen script /> without throwing 1`] = `
|
|
Array [
|
|
.c3 {
|
|
font-size: 80%;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.125rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.c6 {
|
|
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;
|
|
}
|
|
|
|
.c5 {
|
|
background-color: rgb(216,216,216);
|
|
margin: 0;
|
|
height: 0.0625rem;
|
|
}
|
|
|
|
.c1 {
|
|
margin-right: 0.375rem;
|
|
}
|
|
|
|
.c4 {
|
|
margin-top: 0.375rem;
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
<div
|
|
className=""
|
|
id={undefined}
|
|
onClick={undefined}
|
|
>
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<svg
|
|
className=""
|
|
height="18"
|
|
innerRef={undefined}
|
|
style={
|
|
Object {
|
|
"transform": "rotate(0deg)",
|
|
}
|
|
}
|
|
viewBox="0 0 15.43 18"
|
|
width="15.43"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M15.09,13.64,12.29,6h.14a3,3,0,0,0,0-6H3A3,3,0,0,0,0,3a3.37,3.37,0,0,0,.09.71,6.85,6.85,0,0,0,.25.64l3,7.68L3,12a3,3,0,0,0,0,6h9.43a2.94,2.94,0,0,0,3-3.43A7.54,7.54,0,0,0,15.09,13.64ZM12.43,1.46a1.54,1.54,0,1,1,0,3.08,1.52,1.52,0,0,1-1.27-.67l-.24-.6a1.24,1.24,0,0,1,0-.27A1.54,1.54,0,0,1,12.43,1.46ZM2,3.74l-.21-.52a.78.78,0,0,1,0-.22A1.29,1.29,0,0,1,3,1.71H9.73A3,3,0,0,0,9.43,3a2.76,2.76,0,0,0,.09.71L9.63,4c0,.09.77,2,.77,2l2.33,6-.3,0H5.36L2.88,6ZM9.73,16.29H3a1.29,1.29,0,0,1,0-2.58H9.73a2.92,2.92,0,0,0,0,2.58Zm2.7.25A1.54,1.54,0,1,1,14,15,1.54,1.54,0,0,1,12.43,16.54Z"
|
|
fill="rgba(73, 73, 73, 1)"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<small
|
|
className="c3"
|
|
>
|
|
User Script
|
|
</small>
|
|
</div>
|
|
<div
|
|
className="c4"
|
|
>
|
|
<div
|
|
className="c5 c6"
|
|
height="0.0625rem"
|
|
/>
|
|
</div>
|
|
</div>,
|
|
.c3 {
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.5rem;
|
|
font-size: 0.9375rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c1 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
@media only screen and (min-width:0em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width:48em) {
|
|
.c1 {
|
|
-webkit-flex-basis: 66.66666666666667%;
|
|
-ms-flex-preferred-size: 66.66666666666667%;
|
|
flex-basis: 66.66666666666667%;
|
|
max-width: 66.66666666666667%;
|
|
}
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<p
|
|
className="c3"
|
|
>
|
|
User script can be used to inject a custom boot script.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>,
|
|
.c4 {
|
|
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;
|
|
min-width: 7.5rem;
|
|
}
|
|
|
|
.c4::-moz-focus-inner,
|
|
.c4[type='button']::-moz-focus-inner,
|
|
.c4[type='reset']::-moz-focus-inner,
|
|
.c4[type='submit']::-moz-focus-inner {
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.c4:-moz-focusring,
|
|
.c4[type='button']:-moz-focusring,
|
|
.c4[type='reset']:-moz-focusring,
|
|
.c4[type='submit']:-moz-focusring {
|
|
outline: 0.0625rem dotted ButtonText;
|
|
}
|
|
|
|
.c4 + button,
|
|
.c4 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c3 {
|
|
display: inline-block;
|
|
}
|
|
|
|
.c3 + button,
|
|
.c3 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
font-size: 0.9375rem;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
-webkit-letter-spacing: normal;
|
|
-moz-letter-spacing: normal;
|
|
-ms-letter-spacing: normal;
|
|
letter-spacing: normal;
|
|
-webkit-text-decoration: none;
|
|
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);
|
|
}
|
|
|
|
.c2:focus {
|
|
outline: 0;
|
|
-webkit-text-decoration: none;
|
|
text-decoration: none;
|
|
background-color: rgb(59,70,204);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2:hover {
|
|
background-color: rgb(72,83,217);
|
|
border: solid 0.0625rem rgb(45,56,132);
|
|
}
|
|
|
|
.c2:active,
|
|
.c2:active:hover,
|
|
.c2:active:focus {
|
|
background-image: none;
|
|
outline: 0;
|
|
background-color: rgb(45,56,132);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c2[disabled] {
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.c1 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.c0 {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
overflow: hidden;
|
|
height: auto;
|
|
-webkit-margin-start: 0;
|
|
-webkit-margin-end: 0;
|
|
-webkit-padding-before: 0;
|
|
-webkit-padding-start: 0;
|
|
-webkit-padding-end: 0;
|
|
-webkit-padding-after: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
<form
|
|
onSubmit={undefined}
|
|
>
|
|
<div
|
|
className="baseline-jVaZNU kXgQxt c0"
|
|
name="value"
|
|
role="group"
|
|
style={undefined}
|
|
>
|
|
<span>
|
|
joyent-maifest-editor
|
|
</span>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<button
|
|
className="c2 c3 c4"
|
|
href=""
|
|
type="submit"
|
|
>
|
|
Next
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>,
|
|
.c0 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 2.625rem;
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
/>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders <UserScript proceeded /> without throwing 1`] = `
|
|
Array [
|
|
.c3 {
|
|
font-size: 80%;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.125rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.c6 {
|
|
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;
|
|
}
|
|
|
|
.c5 {
|
|
background-color: rgb(216,216,216);
|
|
margin: 0;
|
|
height: 0.0625rem;
|
|
}
|
|
|
|
.c1 {
|
|
margin-right: 0.375rem;
|
|
}
|
|
|
|
.c4 {
|
|
margin-top: 0.375rem;
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
.c0 {
|
|
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;
|
|
}
|
|
|
|
.c2 {
|
|
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;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-flex-basis: 100%;
|
|
-ms-flex-preferred-size: 100%;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
<div
|
|
className=""
|
|
id={undefined}
|
|
onClick={false}
|
|
>
|
|
<div
|
|
className="c0"
|
|
>
|
|
<div
|
|
className="c1"
|
|
>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<svg
|
|
className=""
|
|
height="18"
|
|
innerRef={undefined}
|
|
style={
|
|
Object {
|
|
"transform": "rotate(0deg)",
|
|
}
|
|
}
|
|
viewBox="0 0 15.43 18"
|
|
width="15.43"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M15.09,13.64,12.29,6h.14a3,3,0,0,0,0-6H3A3,3,0,0,0,0,3a3.37,3.37,0,0,0,.09.71,6.85,6.85,0,0,0,.25.64l3,7.68L3,12a3,3,0,0,0,0,6h9.43a2.94,2.94,0,0,0,3-3.43A7.54,7.54,0,0,0,15.09,13.64ZM12.43,1.46a1.54,1.54,0,1,1,0,3.08,1.52,1.52,0,0,1-1.27-.67l-.24-.6a1.24,1.24,0,0,1,0-.27A1.54,1.54,0,0,1,12.43,1.46ZM2,3.74l-.21-.52a.78.78,0,0,1,0-.22A1.29,1.29,0,0,1,3,1.71H9.73A3,3,0,0,0,9.43,3a2.76,2.76,0,0,0,.09.71L9.63,4c0,.09.77,2,.77,2l2.33,6-.3,0H5.36L2.88,6ZM9.73,16.29H3a1.29,1.29,0,0,1,0-2.58H9.73a2.92,2.92,0,0,0,0,2.58Zm2.7.25A1.54,1.54,0,1,1,14,15,1.54,1.54,0,0,1,12.43,16.54Z"
|
|
fill="rgba(73, 73, 73, 1)"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<small
|
|
className="c3"
|
|
>
|
|
User Script
|
|
</small>
|
|
</div>
|
|
<div
|
|
className="c4"
|
|
>
|
|
<div
|
|
className="c5 c6"
|
|
height="0.0625rem"
|
|
/>
|
|
</div>
|
|
</div>,
|
|
.c3 {
|
|
color: rgba(73,73,73,1);
|
|
line-height: 1.5rem;
|
|
font-size: 0.9375rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.c1 {
|
|
color: rgba(73,73,73,1);
|
|
font-weight: normal;
|
|
line-height: 1.625rem;
|
|
font-size: 1.3125rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.c0 {
|
|
margin-top: 1.125rem;
|
|
}
|
|
|
|
.c2 {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<h3
|
|
className="c1"
|
|
>
|
|
User script added
|
|
</h3>
|
|
<div
|
|
className="c2"
|
|
>
|
|
<p
|
|
className="c3"
|
|
>
|
|
line
|
|
s
|
|
of code
|
|
</p>
|
|
</div>
|
|
</div>,
|
|
.c3 {
|
|
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;
|
|
min-width: 7.5rem;
|
|
}
|
|
|
|
.c3::-moz-focus-inner,
|
|
.c3[type='button']::-moz-focus-inner,
|
|
.c3[type='reset']::-moz-focus-inner,
|
|
.c3[type='submit']::-moz-focus-inner {
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.c3:-moz-focusring,
|
|
.c3[type='button']:-moz-focusring,
|
|
.c3[type='reset']:-moz-focusring,
|
|
.c3[type='submit']:-moz-focusring {
|
|
outline: 0.0625rem dotted ButtonText;
|
|
}
|
|
|
|
.c3 + button,
|
|
.c3 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c2 {
|
|
display: inline-block;
|
|
}
|
|
|
|
.c2 + button,
|
|
.c2 + a {
|
|
margin-left: 0.375rem;
|
|
}
|
|
|
|
.c1 {
|
|
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;
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
font-size: 0.9375rem;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
-webkit-letter-spacing: normal;
|
|
-moz-letter-spacing: normal;
|
|
-ms-letter-spacing: normal;
|
|
letter-spacing: normal;
|
|
-webkit-text-decoration: none;
|
|
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);
|
|
color: rgb(70,70,70);
|
|
-webkit-text-fill-color: currentcolor;
|
|
background-color: rgb(255,255,255);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c1:focus {
|
|
outline: 0;
|
|
-webkit-text-decoration: none;
|
|
text-decoration: none;
|
|
background-color: rgb(59,70,204);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c1:hover {
|
|
background-color: rgb(72,83,217);
|
|
border: solid 0.0625rem rgb(45,56,132);
|
|
}
|
|
|
|
.c1:active,
|
|
.c1:active:hover,
|
|
.c1:active:focus {
|
|
background-image: none;
|
|
outline: 0;
|
|
background-color: rgb(45,56,132);
|
|
border-color: rgb(45,56,132);
|
|
}
|
|
|
|
.c1[disabled] {
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.c1:focus {
|
|
background-color: rgb(255,255,255);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c1:hover {
|
|
background-color: rgb(247,247,247);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c1:active,
|
|
.c1:active:hover,
|
|
.c1:active:focus {
|
|
background-color: rgb(230,230,230);
|
|
border-color: rgb(216,216,216);
|
|
}
|
|
|
|
.c0 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 2.625rem;
|
|
}
|
|
|
|
<div
|
|
className="c0"
|
|
>
|
|
<button
|
|
className="c1 c2 c3"
|
|
href=""
|
|
onClick={undefined}
|
|
type="button"
|
|
>
|
|
Edit
|
|
</button>
|
|
</div>,
|
|
]
|
|
`;
|