2023-02-25 20:20:01 +00:00
|
|
|
$doodle-background: #d9e1e8;
|
|
|
|
|
2017-10-13 22:58:38 +00:00
|
|
|
.doodle-modal {
|
|
|
|
width: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.doodle-modal__container {
|
2023-02-25 20:20:01 +00:00
|
|
|
background: $doodle-background;
|
2017-10-14 10:24:35 +00:00
|
|
|
text-align: center;
|
2017-10-13 22:58:38 +00:00
|
|
|
line-height: 0; // remove weird gap under canvas
|
|
|
|
canvas {
|
2023-02-25 20:20:01 +00:00
|
|
|
border: 5px solid $doodle-background;
|
2017-10-13 22:58:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.doodle-modal__action-bar {
|
|
|
|
.filler {
|
|
|
|
flex-grow: 1;
|
2017-10-14 10:24:35 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2017-10-13 22:58:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.doodle-toolbar {
|
2017-10-14 10:24:35 +00:00
|
|
|
line-height: 1;
|
2017-10-13 22:58:38 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 0;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
&.with-inputs {
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
width: 70px;
|
2023-04-16 15:45:18 +00:00
|
|
|
text-align: end;
|
|
|
|
margin-inline-end: 2px;
|
2017-10-13 22:58:38 +00:00
|
|
|
}
|
|
|
|
|
2023-02-13 03:57:03 +00:00
|
|
|
input[type='number'],
|
|
|
|
input[type='text'] {
|
2017-10-13 22:58:38 +00:00
|
|
|
width: 40px;
|
|
|
|
}
|
2023-02-25 20:20:01 +00:00
|
|
|
|
2017-10-13 22:58:38 +00:00
|
|
|
span.val {
|
|
|
|
display: inline-block;
|
2023-04-16 15:45:18 +00:00
|
|
|
text-align: start;
|
2017-10-13 22:58:38 +00:00
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.doodle-palette {
|
2023-04-16 15:45:18 +00:00
|
|
|
padding-inline-end: 0 !important;
|
2017-10-13 22:58:38 +00:00
|
|
|
border: 1px solid black;
|
2023-02-13 03:57:03 +00:00
|
|
|
line-height: 0.2rem;
|
2017-10-13 22:58:38 +00:00
|
|
|
flex-grow: 0;
|
|
|
|
background: white;
|
|
|
|
|
|
|
|
button {
|
|
|
|
appearance: none;
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2023-02-13 03:57:03 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2017-10-13 22:58:38 +00:00
|
|
|
text-align: center;
|
|
|
|
color: black;
|
|
|
|
text-shadow: 0 0 1px white;
|
|
|
|
cursor: pointer;
|
2023-02-13 03:57:03 +00:00
|
|
|
box-shadow: inset 0 0 1px rgba(white, 0.5);
|
2017-10-13 22:58:38 +00:00
|
|
|
border: 1px solid black;
|
2023-02-13 03:57:03 +00:00
|
|
|
outline-offset: -1px;
|
2017-10-14 10:24:35 +00:00
|
|
|
|
|
|
|
&.foreground {
|
|
|
|
outline: 1px dashed white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.background {
|
|
|
|
outline: 1px dashed red;
|
|
|
|
}
|
2017-10-13 22:58:38 +00:00
|
|
|
|
2017-10-14 10:24:35 +00:00
|
|
|
&.foreground.background {
|
|
|
|
outline: 1px dashed red;
|
|
|
|
border-color: white;
|
2017-10-13 22:58:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|