Refactor color input fields and enhance watermark functionality
- Updated color input fields in various HTML pages to remove unnecessary classes for improved styling consistency. - Modified the watermark node to include options for positioning and flattening watermarks. - Enhanced the addTextWatermark function to support customizable positioning and page selection for watermarks. - Added new controls for text and image watermarks in the UI, allowing users to specify text, font size, color, opacity, angle, and image scaling. - Updated the WASM provider to use the latest version of pymupdf-wasm.
This commit is contained in:
@@ -701,6 +701,33 @@ button:disabled,
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Color picker */
|
||||
input[type='color'] {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
padding: 0;
|
||||
border: 2px solid #4b5563;
|
||||
border-radius: 9999px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
input[type='color']::-webkit-color-swatch-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type='color']::-webkit-color-swatch {
|
||||
border: none;
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
input[type='color']::-moz-color-swatch {
|
||||
border: none;
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
/* Hide spin buttons for number inputs */
|
||||
input[type='number'] {
|
||||
appearance: none;
|
||||
|
||||
Reference in New Issue
Block a user