@jsb188/css 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/css/alert.css CHANGED
@@ -1,46 +1,113 @@
1
-
2
1
  /* Modal cover for alerts & screens */
3
2
 
4
3
  .gr_modal {
5
- background: linear-gradient(360deg, rgba(var(--color-modal), 1) 0%, rgba(var(--color-modal), .58) 50%);
6
- backdrop-filter: saturate(125%) blur(1px);
4
+ background: linear-gradient(360deg, rgba(var(--color-modal), 1) 0%, rgba(var(--color-modal), 0.58) 50%);
5
+ backdrop-filter: saturate(125%) blur(1px);
6
+ }
7
+
8
+ .gr_modal_background {
9
+ background: linear-gradient(
10
+ to bottom,
11
+ rgba(var(--color-modal-alt), 1) 0%,
12
+ rgba(var(--color-modal-alt), 0.87) 50%,
13
+ rgba(var(--color-modal-alt), 1) 100%
14
+ );
15
+ backdrop-filter: saturate(125%) blur(1px);
16
+ }
17
+
18
+ .gr_modal_solid {
19
+ background: linear-gradient(to bottom, rgba(var(--color-bg), 1) 0%, rgba(var(--color-bg), 0.87) 50%, rgba(var(--color-bg), 1) 100%);
20
+ backdrop-filter: saturate(125%) blur(1px);
21
+
22
+ --color-modal: 210, 210, 210;
7
23
  }
8
24
 
9
25
  .gr_modal_content {
10
- background-image: url('https://assets.chiefhappiness.co/marketday/static/modal-content.jpg');
11
- background-position: top center;
12
- background-repeat: no-repeat;
13
- background-size: 100% auto;
26
+ background-image: linear-gradient(to bottom, #CCF0FF 0px, transparent 250px);
27
+ }
28
+
29
+ .gr_cta_popup {
30
+ background-image: url("https://assets.chiefhappiness.co/marketday/static/modal-cta-popup.jpg?v=20260906");
31
+ /*background-image: url('/img/modal-cta-popup.jpg');*/
32
+ background-position: top center;
33
+ background-repeat: no-repeat;
34
+ }
35
+
36
+ .gr_contrast {
37
+ background-color: rgba(10, 10, 10, 0.93);
38
+ backdrop-filter: saturate(125%) blur(1px);
14
39
  }
15
40
 
16
41
  .modal_main_content {
17
- cursor: auto;
42
+ cursor: auto;
43
+ }
44
+
45
+ .modal_pattern_fade_out:before {
46
+ /* Let modal controls receive clicks through the decorative pattern. */
47
+ pointer-events: none;
48
+ background: linear-gradient(to bottom, rgba(var(--color-assist), 0.25) 0px, rgba(var(--color-assist), 0) 350px);
49
+ }
50
+
51
+ /* Gradient and color helpers for modals */
52
+
53
+ .fade_modal_down {
54
+ background: linear-gradient(
55
+ to bottom,
56
+ rgba(var(--color-modal-alt), 1) 0%,
57
+ rgba(var(--color-modal-alt), 0.58) 58%,
58
+ rgba(var(--color-modal-alt), 0) 100%
59
+ );
60
+ }
61
+ .fade_modal_up {
62
+ background: linear-gradient(
63
+ to top,
64
+ rgba(var(--color-modal-alt), 1) 0%,
65
+ rgba(var(--color-modal-alt), 0.58) 58%,
66
+ rgba(var(--color-modal-alt), 0) 100%
67
+ );
68
+ }
69
+
70
+ .bg_modal {
71
+ background: rgba(var(--color-modal), 0.8);
72
+ }
73
+ .bg_modal_alt {
74
+ background: rgba(var(--color-modal-alt), 0.8);
18
75
  }
19
76
 
20
77
  /* Alert black-to-transparent background */
21
78
 
22
79
  .gr_modal_alert_w_screen {
23
- background-color: rgba(var(--color-darker-rgb), .064);
80
+ background-color: rgba(var(--color-darker-rgb), 0.064);
24
81
  }
25
82
 
26
83
  /* Different outlines + shadows for each modal type */
27
84
 
28
85
  .alert_shadow_default {
29
- /* box-shadow: 0 0 20px rgb(var(--color-modal)), 0 4px 12px rgba(0,0,0,.04); */
30
- /* box-shadow: 0 0 40px 10px rgb(var(--color-modal)); */
31
- box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 20px 40px rgb(var(--color-modal)), 0 0 100px rgba(255,255,255, 1);
86
+ /* box-shadow: 0 0 20px rgb(var(--color-modal)), 0 4px 12px rgba(0,0,0,.04); */
87
+ /* box-shadow: 0 0 40px 10px rgb(var(--color-modal)); */
88
+ box-shadow:
89
+ 0 20px 40px rgb(var(--color-modal)),
90
+ 0 0 100px rgba(255, 255, 255, 1);
32
91
  }
33
92
 
34
93
  .alert_shadow_drawer {
35
- /* box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 0 40px rgb(var(--color-modal)), -75px 0 75px rgba(255,255,255, 1); */
36
- box-shadow: 0 0 0 3px rgba(var(--color-modal),.5), 0 0 30px rgb(var(--color-bg-medium)), -75px 0 75px rgba(255,255,255, 1);
37
- /* box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 20px 40px rgb(var(--color-modal)), 0 0 100px rgba(255,255,255, 1); */
94
+ /* box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 0 40px rgb(var(--color-modal)), -75px 0 75px rgba(255,255,255, 1); */
95
+ box-shadow:
96
+ 0 0 0 3px rgba(var(--color-modal), 0.5),
97
+ 0 0 30px rgb(var(--color-bg-medium)),
98
+ -75px 0 75px rgba(255, 255, 255, 1);
99
+ /* box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 20px 40px rgb(var(--color-modal)), 0 0 100px rgba(255,255,255, 1); */
38
100
  }
39
101
 
40
102
  .full.alert_shadow_default {
41
- box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 20px 40px rgb(var(--color-modal));
103
+ box-shadow:
104
+ 0 0 4px rgba(0, 0, 0, 0.03),
105
+ 0 20px 40px rgb(var(--color-modal));
42
106
  }
43
107
 
44
108
  .alert_shadow_error {
45
- box-shadow: 0 8px 15px rgba(0,0,0,.07), 0 0 0 4px rgba(var(--color-error), .5), 0 0 20px rgba(var(--color-error), .1);
109
+ box-shadow:
110
+ 0 8px 15px rgba(0, 0, 0, 0.07),
111
+ 0 0 0 4px rgba(var(--color-error), 0.5),
112
+ 0 0 20px rgba(var(--color-error), 0.1);
46
113
  }