You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.5 KiB

  1. $doodleBg: #d9e1e8;
  2. .doodle-modal {
  3. @extend .boost-modal;
  4. width: unset;
  5. }
  6. .doodle-modal__container {
  7. background: $doodleBg;
  8. text-align: center;
  9. line-height: 0; // remove weird gap under canvas
  10. canvas {
  11. border: 5px solid $doodleBg;
  12. }
  13. }
  14. .doodle-modal__action-bar {
  15. @extend .boost-modal__action-bar;
  16. .filler {
  17. flex-grow: 1;
  18. margin: 0;
  19. padding: 0;
  20. }
  21. .doodle-toolbar {
  22. line-height: 1;
  23. display: flex;
  24. flex-direction: column;
  25. flex-grow: 0;
  26. justify-content: space-around;
  27. &.with-inputs {
  28. label {
  29. display: inline-block;
  30. width: 70px;
  31. text-align: right;
  32. margin-right: 2px;
  33. }
  34. input[type="number"],input[type="text"] {
  35. width: 40px;
  36. }
  37. span.val {
  38. display: inline-block;
  39. text-align: left;
  40. width: 50px;
  41. }
  42. }
  43. }
  44. .doodle-palette {
  45. padding-right: 0 !important;
  46. border: 1px solid black;
  47. line-height: .2rem;
  48. flex-grow: 0;
  49. background: white;
  50. button {
  51. appearance: none;
  52. width: 1rem;
  53. height: 1rem;
  54. margin: 0; padding: 0;
  55. text-align: center;
  56. color: black;
  57. text-shadow: 0 0 1px white;
  58. cursor: pointer;
  59. box-shadow: inset 0 0 1px rgba(white, .5);
  60. border: 1px solid black;
  61. outline-offset:-1px;
  62. &.foreground {
  63. outline: 1px dashed white;
  64. }
  65. &.background {
  66. outline: 1px dashed red;
  67. }
  68. &.foreground.background {
  69. outline: 1px dashed red;
  70. border-color: white;
  71. }
  72. }
  73. }
  74. }