|
|
@ -4,6 +4,7 @@ |
|
|
|
--radius: 5px; |
|
|
|
--radius: 5px; |
|
|
|
--hgap: 5px; |
|
|
|
--hgap: 5px; |
|
|
|
--gap: 10px; |
|
|
|
--gap: 10px; |
|
|
|
|
|
|
|
--transform-amimate: transform .1s ease-in-out; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
html, body { |
|
|
|
html, body { |
|
|
@ -40,7 +41,8 @@ canvas.movemode.moving { |
|
|
|
pointer-events: none; |
|
|
|
pointer-events: none; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pallete-wrapper { |
|
|
|
.pallete-wrapper, |
|
|
|
|
|
|
|
.sizer-wrapper { |
|
|
|
position: fixed; |
|
|
|
position: fixed; |
|
|
|
top: 0; |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
left: 0; |
|
|
@ -49,6 +51,13 @@ canvas.movemode.moving { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
transition: var(--transform-amimate); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.sizer-wrapper { |
|
|
|
|
|
|
|
height: unset; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
flex-direction: row; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pallete { |
|
|
|
.pallete { |
|
|
@ -64,11 +73,19 @@ canvas.movemode.moving { |
|
|
|
padding-bottom: var(--gap); |
|
|
|
padding-bottom: var(--gap); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pallete-wrapper.hidden { |
|
|
|
|
|
|
|
transform: translateX(-125%); /* to account for a selected color, which is also offset to the right */ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.sizer-wrapper.hidden { |
|
|
|
|
|
|
|
transform: translateY(-125%); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pallete .color { |
|
|
|
.pallete .color { |
|
|
|
padding: var(--gap); |
|
|
|
padding: var(--gap); |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
background: var(--dark-blue); |
|
|
|
background: var(--dark-blue); |
|
|
|
transition: transform .1s ease-in-out; |
|
|
|
transition: var(--transform-amimate); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pallete .color:hover { |
|
|
|
.pallete .color:hover { |
|
|
@ -92,7 +109,8 @@ canvas.movemode.moving { |
|
|
|
border-radius: var(--radius); |
|
|
|
border-radius: var(--radius); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tools { |
|
|
|
.tools, |
|
|
|
|
|
|
|
.sizer { |
|
|
|
pointer-events: all; |
|
|
|
pointer-events: all; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
@ -106,6 +124,12 @@ canvas.movemode.moving { |
|
|
|
padding-right: var(--gap); |
|
|
|
padding-right: var(--gap); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.sizer { |
|
|
|
|
|
|
|
border-radius: 0; |
|
|
|
|
|
|
|
border-bottom-right-radius: var(--radius); |
|
|
|
|
|
|
|
border-bottom-left-radius: var(--radius); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tool { |
|
|
|
.tool { |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
padding-left: var(--gap); |
|
|
|
padding-left: var(--gap); |
|
|
@ -114,7 +138,7 @@ canvas.movemode.moving { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
background: var(--dark-blue); |
|
|
|
background: var(--dark-blue); |
|
|
|
transition: transform .1s ease-in-out; |
|
|
|
transition: var(--transform-amimate); |
|
|
|
user-select: none; |
|
|
|
user-select: none; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -134,3 +158,89 @@ canvas.movemode.moving { |
|
|
|
width: 24px; |
|
|
|
width: 24px; |
|
|
|
filter: invert(100%); |
|
|
|
filter: invert(100%); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input[type=range] { |
|
|
|
|
|
|
|
-webkit-appearance: none; |
|
|
|
|
|
|
|
width: 200px; |
|
|
|
|
|
|
|
background: transparent; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input[type=range]:focus { |
|
|
|
|
|
|
|
outline: none; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input[type=range]::-webkit-slider-thumb { |
|
|
|
|
|
|
|
-webkit-appearance: none; |
|
|
|
|
|
|
|
border: none; |
|
|
|
|
|
|
|
background: white; |
|
|
|
|
|
|
|
height: 20px; |
|
|
|
|
|
|
|
width: 20px; |
|
|
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
border: 2px solid var(--dark-blue); |
|
|
|
|
|
|
|
margin-top: -6px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input[type=range]::-moz-range-thumb { |
|
|
|
|
|
|
|
border: none; |
|
|
|
|
|
|
|
background: white; |
|
|
|
|
|
|
|
height: 16px; |
|
|
|
|
|
|
|
width: 16px; |
|
|
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
border: 2px solid var(--dark-blue); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input[type=range]::-webkit-slider-runnable-track { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 8px; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
background: white; |
|
|
|
|
|
|
|
border-radius: 2px; |
|
|
|
|
|
|
|
border: none; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input[type=range]:focus::-webkit-slider-runnable-track { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 8px; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
background: white; |
|
|
|
|
|
|
|
border-radius: 2px; |
|
|
|
|
|
|
|
border: none; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input[type=range]::-moz-range-track { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 8px; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
background: white; |
|
|
|
|
|
|
|
border-radius: 2px; |
|
|
|
|
|
|
|
border: none; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.phone-extra-controls { |
|
|
|
|
|
|
|
display: none; |
|
|
|
|
|
|
|
cursor: pointer; /* for click events on mobile */ |
|
|
|
|
|
|
|
pointer-events: all; |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
right: 0; |
|
|
|
|
|
|
|
background: var(--dark-blue); |
|
|
|
|
|
|
|
height: 42px; |
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
padding-left: var(--gap); |
|
|
|
|
|
|
|
padding-right: var(--gap); |
|
|
|
|
|
|
|
border-top-left-radius: var(--radius); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.phone-extra-controls img { |
|
|
|
|
|
|
|
height: 24px; |
|
|
|
|
|
|
|
width: 24px; |
|
|
|
|
|
|
|
filter: invert(100%); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media (hover: none) and (pointer: coarse) { |
|
|
|
|
|
|
|
.phone-extra-controls { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |