quill-html-button.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /* */
  2. /* quill-html-button */
  3. /* */
  4. .ql-html-overlayContainer {
  5. backdrop-filter: blur(4px);
  6. /* background: none !important; */
  7. background-image: linear-gradient(132deg,rgba(31,39,41,.6),rgba(35,41,47,.6));
  8. }
  9. .ql-html-popupContainer {
  10. --shadow-color: 200 3% 15%;
  11. --shadow-strength: 5%;
  12. --shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color)/calc(var(--shadow-strength) + 2%)),0 3px 2px -2px hsl(var(--shadow-color)/calc(var(--shadow-strength) + 3%)),0 7px 5px -2px hsl(var(--shadow-color)/calc(var(--shadow-strength) + 3%)),0 12px 10px -2px hsl(var(--shadow-color)/calc(var(--shadow-strength) + 4%)),0 22px 18px -2px hsl(var(--shadow-color)/calc(var(--shadow-strength) + 5%)),0 41px 33px -2px hsl(var(--shadow-color)/calc(var(--shadow-strength) + 6%)),0 100px 80px -2px hsl(var(--shadow-color)/calc(var(--shadow-strength) + 7%));
  13. border: 3px solid hsl(var(--shadow-color));
  14. border-radius: 1.5rem;
  15. box-shadow: var(--shadow-6);
  16. border-radius: 1.5rem !important;
  17. background-color: hsl(200deg 15% 90%) !important;
  18. background-image: var(--grain-pattern) !important;
  19. margin-inline: auto;
  20. max-width: 50rem;
  21. /* max-width: 60rem; */
  22. }
  23. .ql-html-popupTitle {
  24. font-style: unset !important;
  25. /* padding-bottom: 1rem; */
  26. color: var(--clr-blue-desaturated-600);
  27. display: grid !important;
  28. align-content: center;
  29. }
  30. .ql-html-textArea {
  31. overflow: auto;
  32. /* height: calc(100% - 5rem) !important; */
  33. border: dotted 1px var(--clr-blue-desaturated-700);
  34. border-radius: 0.5rem;
  35. position: relative !important;
  36. /* height: calc(100% - 0) !important; */
  37. height: 100% !important;
  38. width: 100% !important;
  39. inset: unset;
  40. inset: 0 !important;
  41. order: 2;
  42. grid-column-start: 1;
  43. grid-column-end: 3;
  44. padding: 0.75rem;
  45. padding-block-start: .25rem;
  46. box-shadow: inset 0 0 5px 1px hsl(200deg 40% 20% / 15%);
  47. min-height: 75vh;
  48. min-height: calc(100svh - 12rem);
  49. overscroll-behavior: contain;
  50. }
  51. .ql-html-textArea .ql-editor {
  52. /* padding: .25rem 1rem 1rem 1rem !important; */
  53. padding: 0 !important;
  54. }
  55. .ql-html-textContainer {
  56. height: 100% !important;
  57. /* padding: 0 !important; */
  58. padding: 1.5rem !important;
  59. padding-top: 1rem !important;
  60. padding-bottom: 2rem !important;
  61. gap: 1rem;
  62. width: 100% !important;
  63. position: relative;
  64. display: grid;
  65. grid-template-columns: auto auto;
  66. grid-template-rows: auto auto;
  67. }
  68. .ql-html-buttonGroup {
  69. /* bottom: -3rem !important; */
  70. /* transform: none !important; */
  71. /* left: unset !important; */
  72. /* width: calc(100% - 2.5rem); */
  73. /* text-align: center; */
  74. display: flex;
  75. flex-wrap: wrap;
  76. justify-content: center;
  77. justify-content: end;
  78. gap: 1.5rem;
  79. gap: clamp(20px, 5vw, 35px);
  80. position: relative !important;
  81. inset: 0 !important;
  82. width: 100%;
  83. transform: scale(.75) !important;
  84. transform-origin: right center;
  85. align-content: center;
  86. }
  87. @media (max-width:800px) {
  88. .ql-html-buttonGroup {
  89. grid-column-start: 1;
  90. grid-column-end: 3;
  91. }
  92. .ql-html-popupTitle {
  93. display: none !important;
  94. }
  95. }
  96. .ql-html-buttonOk, .ql-html-buttonCancel {
  97. font-weight: 600 !important;
  98. height: min-content;
  99. }
  100. .ql-html-buttonCancel {
  101. margin-right: unset !important;
  102. }
  103. .ql-syntax {
  104. margin: 0;
  105. }