1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/// The minimum value for the backdrop blur slider.
pub const STICKY_BLUR_MIN: &str = "0";
/// The maximum value for the backdrop blur slider.
pub const STICKY_BLUR_MAX: &str = "30";
/// The step value for the backdrop blur slider.
pub const STICKY_BLUR_STEP: &str = "1";
/// The minimum value for the gradient angle slider.
pub const STICKY_ANGLE_MIN: &str = "0";
/// The maximum value for the gradient angle slider.
pub const STICKY_ANGLE_MAX: &str = "360";
/// The step value for the gradient angle slider.
pub const STICKY_ANGLE_STEP: &str = "1";
/// The text displayed in the sticky header.
pub const STICKY_HEADER_TEXT: &str = "I am a sticky header!";
/// The label for the blur slider control.
pub const STICKY_BLUR_LABEL: &str = "Backdrop Blur";
/// The label for the angle slider control.
pub const STICKY_ANGLE_LABEL: &str = "Gradient Angle";
/// The placeholder text content for scrollable areas.
pub const STICKY_PLACEHOLDER_TEXT: &str = "Scroll down to see the sticky header stick to the top. This is placeholder content to make the page scrollable.";
/// The CSS selector for the blur overlay element used in direct DOM manipulation.
pub const STICKY_BLUR_OVERLAY_SELECTOR: &str = ".c_sticky_blur_overlay";
/// The CSS selector for the blur label element used in direct DOM manipulation.
pub const STICKY_BLUR_LABEL_SELECTOR: &str = ".c_sticky_slider_blur_label";
/// The CSS selector for the gradient wheel element used in direct DOM manipulation.
pub const STICKY_GRADIENT_WHEEL_SELECTOR: &str = ".c_sticky_gradient_wheel";
/// The CSS selector for the angle label element used in direct DOM manipulation.
pub const STICKY_ANGLE_LABEL_SELECTOR: &str = ".c_sticky_slider_angle_label";
/// The initial backdrop blur value in pixels.
pub const STICKY_BLUR_INITIAL: i32 = 10;
/// The initial gradient angle in degrees.
pub const STICKY_ANGLE_INITIAL: i32 = 135;