2020-01-04 19:14:12 +01:00
|
|
|
/* http://www.eaglefonts.com/fg-virgil-ttf-131249.htm */
|
|
|
|
@font-face {
|
|
|
|
font-family: "Virgil";
|
|
|
|
src: url("https://uploads.codesandbox.io/uploads/user/ed077012-e728-4a42-8395-cbd299149d62/AflB-FG_Virgil.ttf");
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidePanel {
|
|
|
|
width: 230px;
|
|
|
|
background-color: #eee;
|
|
|
|
padding: 10px;
|
|
|
|
overflow-y: auto;
|
2020-01-05 19:57:50 -08:00
|
|
|
position: relative;
|
2020-01-04 19:14:12 +01:00
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin: 10px 0 10px 0;
|
|
|
|
}
|
|
|
|
|
2020-01-09 01:06:36 +04:00
|
|
|
.panel {
|
|
|
|
position: relative;
|
|
|
|
.btn-panel-collapse {
|
|
|
|
position: absolute;
|
|
|
|
top: -2px;
|
|
|
|
right: 5px;
|
|
|
|
background: none;
|
|
|
|
margin: 0px;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-panel-collapse-icon {
|
|
|
|
transform: none;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-panel-collapse-icon-closed {
|
|
|
|
transform: rotateZ(90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-04 19:14:12 +01:00
|
|
|
.panelTools {
|
|
|
|
display: flex;
|
2020-01-06 00:10:35 +01:00
|
|
|
flex-wrap: wrap;
|
2020-01-04 19:14:12 +01:00
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
label {
|
2020-01-06 00:10:35 +01:00
|
|
|
margin: 2px 0;
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panelColumn {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-01-05 13:05:55 -08:00
|
|
|
|
|
|
|
h5 {
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
2020-01-05 19:57:50 -08:00
|
|
|
h5:first-child {
|
2020-01-05 13:05:55 -08:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
2020-01-05 19:11:35 -08:00
|
|
|
|
|
|
|
.buttonList {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tool {
|
2020-01-05 01:08:27 +05:00
|
|
|
position: relative;
|
|
|
|
|
2020-01-04 19:14:12 +01:00
|
|
|
input[type="radio"] {
|
2020-01-05 01:08:27 +05:00
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"] {
|
|
|
|
& + .toolIcon {
|
|
|
|
background-color: #ddd;
|
|
|
|
|
|
|
|
width: 41px;
|
|
|
|
height: 41px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
2020-01-04 12:47:12 -08:00
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 1em;
|
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
|
|
|
&:hover + .toolIcon {
|
|
|
|
background-color: #e7e5e5;
|
|
|
|
}
|
|
|
|
&:checked + .toolIcon {
|
|
|
|
background-color: #bdbebc;
|
|
|
|
}
|
2020-01-05 01:08:27 +05:00
|
|
|
&:focus + .toolIcon {
|
|
|
|
box-shadow: 0 0 0 2px steelblue;
|
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin-right: 6px;
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="number"] {
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"] {
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
2020-01-05 20:37:24 -03:00
|
|
|
input[type="range"] {
|
|
|
|
width: 230px;
|
|
|
|
}
|
|
|
|
|
2020-01-04 19:14:12 +01:00
|
|
|
input {
|
|
|
|
margin-right: 5px;
|
2020-01-05 01:08:27 +05:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: transparent;
|
|
|
|
box-shadow: 0 0 0 2px steelblue;
|
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: #ddd;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin: 2px 0;
|
|
|
|
padding: 5px;
|
2020-01-05 01:08:27 +05:00
|
|
|
outline: transparent;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0 0 0 2px steelblue;
|
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #e7e5e5;
|
|
|
|
border-color: #d6d4d4;
|
|
|
|
}
|
|
|
|
|
2020-01-07 07:50:59 +05:00
|
|
|
&:active,
|
|
|
|
&.active {
|
2020-01-04 19:14:12 +01:00
|
|
|
background-color: #bdbebc;
|
|
|
|
border-color: #bdbebc;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
2020-01-05 13:05:55 -08:00
|
|
|
|
|
|
|
.popover {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
.cover {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.swatch {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
display: inline;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.swatch-input {
|
|
|
|
font-size: 16px;
|
|
|
|
display: inline;
|
|
|
|
width: 100px;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 2px 4px;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
}
|
2020-01-05 22:26:00 +00:00
|
|
|
.project-name {
|
|
|
|
font-size: 14px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-name-input {
|
|
|
|
width: 200px;
|
|
|
|
font: inherit;
|
|
|
|
}
|