@jsb188/css 1.1.1 → 1.1.2

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/loading.css CHANGED
@@ -1,159 +1,179 @@
1
-
2
1
  /* Activity dots */
3
2
 
4
3
  @keyframes anim-activity-dot {
5
- 0% { opacity: .25; }
6
- 50% { opacity: 1; }
7
- 100% { opacity: .25; }
4
+ 0% {
5
+ opacity: 0.25;
6
+ }
7
+ 50% {
8
+ opacity: 1;
9
+ }
10
+ 100% {
11
+ opacity: 0.25;
12
+ }
8
13
  }
9
14
 
10
15
  .dot {
11
- width: .3rem;
12
- height: .3rem;
13
- margin: 0 .35rem;
16
+ width: 0.3rem;
17
+ height: 0.3rem;
18
+ margin: 0 0.35rem;
14
19
  }
15
20
 
16
- .dot.tiny {
17
- width: 0.3rem;
18
- height: 0.3rem;
19
- margin: 0 .073rem;
21
+ .dot.tn {
22
+ width: 0.3rem;
23
+ height: 0.3rem;
24
+ margin: 0 0.09rem;
20
25
  }
21
26
 
22
- .dot.small {
23
- width: 0.375rem;
24
- height: 0.375rem;
25
- margin: 0 .12rem;
27
+ .dot.sm {
28
+ width: 0.375rem;
29
+ height: 0.375rem;
30
+ margin: 0 0.12rem;
26
31
  }
27
32
 
28
- .dot.default {
29
- width: .5rem;
30
- height: .5rem;
31
- margin: 0 .13rem;
33
+ .dot.df {
34
+ width: 0.5rem;
35
+ height: 0.5rem;
36
+ margin: 0 0.13rem;
32
37
  }
33
38
 
34
- .dot.medium {
35
- width: .75rem;
36
- height: .75rem;
37
- margin: 0 .24rem;
39
+ .dot.md {
40
+ width: 0.64rem;
41
+ height: 0.64rem;
42
+ margin: 0 0.2rem;
38
43
  }
39
44
 
40
- .dot.large {
41
- width: 1rem;
42
- height: 1rem;
43
- margin: 0 .24rem;
45
+ .dot.lg {
46
+ width: 1rem;
47
+ height: 1rem;
48
+ margin: 0 0.24rem;
44
49
  }
45
50
 
46
51
  .activity .dot {
47
- opacity: 1;
48
- flex-shrink: 0;
49
- background-color: var(--color-text);
52
+ opacity: 1;
53
+ flex-shrink: 0;
54
+ background-color: var(--color-text-bold);
55
+ }
56
+
57
+ .bg_err .dot,
58
+ .bg_primary .dot,
59
+ .bg_secondary .dot {
60
+ background-color: var(--color-solid);
61
+ }
62
+
63
+ .bg_main .activity .dot,
64
+ .bg_primary .activity .dot,
65
+ .bg_secondary .activity .dot {
66
+ background-color: var(--color-solid);
50
67
  }
51
68
 
52
- .activity .d0, .activity .d1, .activity .d2 {
53
- animation-duration: 1.5s;
54
- animation-fill-mode: both;
55
- animation-iteration-count: infinite;
69
+ .activity .d0,
70
+ .activity .d1,
71
+ .activity .d2 {
72
+ animation-duration: 1.5s;
73
+ animation-fill-mode: both;
74
+ animation-iteration-count: infinite;
56
75
  }
57
76
 
58
77
  .activity .d0 {
59
- animation-name: anim-activity-dot;
78
+ animation-name: anim-activity-dot;
60
79
  }
61
80
 
62
81
  .activity .d1 {
63
- animation-name: anim-activity-dot;
64
- animation-delay: .2s;
82
+ animation-name: anim-activity-dot;
83
+ animation-delay: 0.2s;
65
84
  }
66
85
 
67
86
  .activity .d2 {
68
- animation-name: anim-activity-dot;
69
- animation-delay: .4s;
87
+ animation-name: anim-activity-dot;
88
+ animation-delay: 0.4s;
70
89
  }
71
90
 
72
91
  .bg_main .activity .dot,
73
92
  .bg_primary .activity .dot,
74
93
  .bg_contrast .activity .dot {
75
- background-color: var(--color-solid);
94
+ background-color: var(--color-solid);
76
95
  }
77
96
 
78
97
  /* Big loader */
79
98
 
80
99
  .big_loader {
81
- width: 45px;
82
- aspect-ratio: 1;
83
- border-radius: 50%;
84
- animation: l5 2s infinite;
100
+ width: 45px;
101
+ aspect-ratio: 1;
102
+ border-radius: 50%;
103
+ animation: l5 2s infinite;
85
104
  }
86
105
 
87
106
  .big_loader.default {
88
- background:
89
- radial-gradient(farthest-side,var(--color-bg) 94%,#0000),
90
- radial-gradient(farthest-side,var(--color-secondary) 94%,#0000),
91
- radial-gradient(farthest-side,var(--color-primary) 94%,#0000),
92
- radial-gradient(farthest-side,var(--color-main) 94%,#0000),
93
- var(--color-bg);
94
- background-size: 105% 105%;
95
- background-repeat: no-repeat;
107
+ background:
108
+ radial-gradient(farthest-side, rgb(var(--color-bg)) 94%, #0000),
109
+ radial-gradient(farthest-side, rgb(var(--color-secondary)) 94%, #0000),
110
+ radial-gradient(farthest-side, rgb(var(--color-primary)) 94%, #0000),
111
+ radial-gradient(farthest-side, rgb(var(--color-main)) 94%, #0000),
112
+ rgb(var(--color-bg));
113
+ background-size: 105% 105%;
114
+ background-repeat: no-repeat;
96
115
  }
97
116
 
98
117
  .big_loader.alt {
99
- background:
100
- radial-gradient(farthest-side,var(--color-bg-alt) 94%,#0000),
101
- radial-gradient(farthest-side,var(--color-secondary) 94%,#0000),
102
- radial-gradient(farthest-side,var(--color-primary) 94%,#0000),
103
- radial-gradient(farthest-side,var(--color-main) 94%,#0000),
104
- var(--color-bg-alt);
105
- background-size: 105% 105%;
106
- background-repeat: no-repeat;
118
+ background:
119
+ radial-gradient(farthest-side, rgb(var(--color-bg-alt)) 94%, #0000),
120
+ radial-gradient(farthest-side, rgb(var(--color-secondary)) 94%, #0000),
121
+ radial-gradient(farthest-side, rgb(var(--color-primary)) 94%, #0000),
122
+ radial-gradient(farthest-side, rgb(var(--color-main)) 94%, #0000),
123
+ rgb(var(--color-bg-alt));
124
+ background-size: 105% 105%;
125
+ background-repeat: no-repeat;
107
126
  }
108
127
 
109
128
  .big_loader.active {
110
- background:
111
- radial-gradient(farthest-side,var(--color-bg-active) 94%,#0000),
112
- radial-gradient(farthest-side,var(--color-secondary) 94%,#0000),
113
- radial-gradient(farthest-side,var(--color-primary) 94%,#0000),
114
- radial-gradient(farthest-side,var(--color-main) 94%,#0000),
115
- var(--color-bg-active);
116
- background-size: 105% 105%;
117
- background-repeat: no-repeat;
129
+ background:
130
+ radial-gradient(farthest-side, rgb(var(--color-bg-active)) 94%, #0000),
131
+ radial-gradient(farthest-side, rgb(var(--color-secondary)) 94%, #0000),
132
+ radial-gradient(farthest-side, rgb(var(--color-primary)) 94%, #0000),
133
+ radial-gradient(farthest-side, rgb(var(--color-main)) 94%, #0000),
134
+ rgb(var(--color-bg-active));
135
+ background-size: 105% 105%;
136
+ background-repeat: no-repeat;
118
137
  }
119
138
 
120
139
  @keyframes l5 {
121
- 0% {background-position: 50% -55px,-48px 50%, 50% calc(100% + 55px),calc(100% + 55px) 50%}
122
- 20%,
123
- 25% {background-position: 50% -55px,-55px 50%, 50% calc(100% + 55px),50% 50%}
124
- 45%,
125
- 50% {background-position: 50% -55px,-55px 50%, 50% 50%, 50% 50%}
126
- 75%,
127
- 75% {background-position: 50% -55px, 50% 50%, 50% 50%, 50% 50%}
128
- 95%,
129
- 100%{background-position: 50% 50% , 50% 50%, 50% 50%, 50% 50%}
130
- }
131
-
132
- /* Circular progress */
133
-
134
- .circular_progress {
135
- position: absolute;
136
- top: -16px; left: -16px; right: -16px; bottom: -16px;
137
- }
138
-
139
- .circular_progress svg {
140
- width: 100%;
141
- height: 100%;
142
- }
143
-
144
- .circular_progress .pill {
145
- position: absolute;
146
- top: 0; left: 50%;
147
- transform: translate(-50%, -25%);
148
- }
149
-
150
- circle.circle_outline {
151
- stroke: var(--color-bg-alt);
152
- }
153
-
154
- circle.circle_line {
155
- stroke: var(--color-main);
156
- transition: all .25s ease-in-out;
157
- transform: rotate(-90deg);
158
- transform-origin: 50% 50%;
140
+ 0% {
141
+ background-position:
142
+ 50% -55px,
143
+ -48px 50%,
144
+ 50% calc(100% + 55px),
145
+ calc(100% + 55px) 50%;
146
+ }
147
+ 20%,
148
+ 25% {
149
+ background-position:
150
+ 50% -55px,
151
+ -55px 50%,
152
+ 50% calc(100% + 55px),
153
+ 50% 50%;
154
+ }
155
+ 45%,
156
+ 50% {
157
+ background-position:
158
+ 50% -55px,
159
+ -55px 50%,
160
+ 50% 50%,
161
+ 50% 50%;
162
+ }
163
+ 75%,
164
+ 75% {
165
+ background-position:
166
+ 50% -55px,
167
+ 50% 50%,
168
+ 50% 50%,
169
+ 50% 50%;
170
+ }
171
+ 95%,
172
+ 100% {
173
+ background-position:
174
+ 50% 50%,
175
+ 50% 50%,
176
+ 50% 50%,
177
+ 50% 50%;
178
+ }
159
179
  }
package/css/misc.css CHANGED
@@ -1,79 +1,7 @@
1
-
2
- /* Themes container */
3
-
4
- .themes_cnt {
5
- /* -10 for item padding; -5 for border */
6
- margin: 2rem -15px;
7
- }
8
-
9
- /* Boxed item */
10
-
11
- .box_item {
12
- position: relative;
13
- width: 118px;
14
- padding: 9px;
15
- margin: 8px 8px 0;
16
- border: solid 5px transparent;
17
- }
18
-
19
- .box_item:disabled {
20
- cursor: not-allowed;
21
- }
22
-
23
- .box_item:hover {
24
- background-color: var(--color-bg-alt);
25
- }
26
-
27
- .box_item.sel {
28
- border-color: var(--color-bg-alt);
29
- }
30
-
31
- .box_item.sel:hover {
32
- border-color: var(--color-bg-active);
33
- }
34
-
35
- /* Circle inside box item */
36
-
37
- .cl_circle {
38
- width: 70px;
39
- height: 70px;
40
- border-radius: 50%;
41
- background-size: 125% auto;
42
- background-position: 50% 25%;
43
- }
44
-
45
- /* Icon inside circle svg */
46
-
47
- .box_item .icon_cnt {
48
- position: absolute;
49
- top: 9px; left: 15px; right: 15px;
50
- /* This size is hard-coded to the SVG circle size in [MiscElements.tsx] */
51
- height: 70px;
52
- }
53
-
54
- /* Close icon */
55
-
56
- .box_item .close {
57
- position: absolute;
58
- top: -11px;
59
- right: -11px;
60
- }
61
-
62
1
  /* Shorcut key button */
63
2
 
64
3
  .shortcut {
65
- display: inline-block;
66
- padding: 3px 4px 2px;
67
- margin: 0 7px;
68
- border-radius: 5px;
69
- transform: translateY(-1px);
70
- box-shadow: 0 0 0 1px var(--color-solid-hover);
71
- }
72
-
73
- .shortcut:first-child {
74
- margin-left: 0;
75
- }
76
-
77
- .shortcut:last-child {
78
- margin-right: 0;
4
+ display: inline-block;
5
+ padding: 3px 6px 2px;
6
+ border-radius: 5px;
79
7
  }
package/css/modal.css CHANGED
@@ -1,233 +1,98 @@
1
-
2
- /* Modal content container */
3
-
4
- .mw_content {
5
- flex: 1;
6
- height: 100%;
7
- }
8
-
9
- .mw_content.w_pad {
10
- padding-bottom: 3.5rem;
11
- }
12
-
13
1
  /* Themed container */
14
2
 
15
3
  .mw_themed {
16
- position: relative;
17
- padding: 4px;
4
+ position: relative;
5
+ padding: 4px;
18
6
  }
19
7
 
20
8
  .mw_themed .inside.small {
21
- width: 220px;
9
+ width: 220px;
22
10
  }
23
11
 
24
12
  .mw_themed .inside.big {
25
- width: 75vw;
26
- max-width: 1000px;
13
+ width: 75vw;
14
+ max-width: 1000px;
27
15
  }
28
16
 
29
17
  /* Call; different interfaces */
30
18
 
31
19
  .mw_themed.call_invite .inside {
32
- padding: 1.75rem 1rem 1.75rem;
20
+ padding: 1.75rem 1rem 1.75rem;
33
21
  }
34
22
 
35
23
  .call_active .inside {
36
- display: flex;
37
- flex-direction: column;
38
- align-items: stretch;
24
+ display: flex;
25
+ flex-direction: column;
26
+ align-items: stretch;
39
27
  }
40
28
 
41
29
  .mw_themed.call_invite .inside,
42
30
  .mw_themed.call_active .inside {
43
- /* Must be slightly less than small radius */
44
- border-radius: 5px;
45
- background-color: var(--color-solid);
46
- color: var(--color-contrast);
31
+ /* Must be slightly less than small radius */
32
+ border-radius: 5px;
33
+ background-color: var(--color-solid);
34
+ color: var(--color-contrast);
47
35
  }
48
36
 
49
37
  .mw_themed.call_active .call_controls {
50
- padding: 8px;
51
- border-bottom: solid 1px var(--color-solid-hover);
38
+ padding: 8px;
39
+ border-bottom: solid 1px var(--color-solid-hover);
52
40
  }
53
41
 
54
42
  /* Normal themed container inside modal */
55
43
 
56
44
  .mw_themed.normal {
57
- /* Same radius as outer modal container */
58
- border-radius: var(--radius-default);
59
- align-self: stretch;
45
+ /* Same radius as outer modal container */
46
+ border-radius: var(--radius-default);
47
+ align-self: stretch;
60
48
  }
61
49
 
62
50
  .mw_themed.normal .inside {
63
- /* Same radius as outer modal container */
64
- border-radius: 10px;
65
- background-color: var(--color-bg);
51
+ /* Same radius as outer modal container */
52
+ border-radius: 10px;
53
+ background-color: rgb(var(--color-bg));
66
54
  }
67
55
 
68
56
  /* Modal header */
69
57
 
70
58
  .mw_header {
71
- position: relative;
72
- height: 4.5rem;
73
- margin-bottom: .3125rem; /* 5px */
59
+ position: relative;
60
+ height: 4.5rem;
74
61
  }
75
62
 
76
63
  .mw_desc {
77
- max-width: 580px;
78
- }
79
-
80
- /* Modal side nav */
81
-
82
- .mw_snav {
83
- align-self: stretch;
84
- width: 240px;
85
- padding: var(--rem-large) 0 var(--rem-large) 40px;
86
- }
87
-
88
- .mw_snav .msn_list {
89
- list-style: none;
90
- padding: var(--rem-default);
91
- margin: 0;
92
- }
93
-
94
- /* Normal item */
95
-
96
- .mw_snav .msn_item {
97
- position: relative;
98
- padding: .3rem .5rem;
99
- margin: 0 0 1px;
100
- }
101
-
102
- .mw_snav .msn_item.pointer:hover {
103
- background-color: var(--color-bg-alt);
104
- }
105
-
106
- .mw_snav .msn_item.sel {
107
- background-color: var(--color-bg-alt) !important;
108
- /* background-color: var(--color-bg-active) !important; */
109
- /* background-color: var(--color-main) !important; */
110
- color: var(--color-text) !important;
111
- }
112
-
113
- /* List title */
114
-
115
- .mw_snav .msn_item.title {
116
- padding: .3rem .5rem .5rem;
117
- }
118
-
119
- .mw_snav .msn_item.title .ic_cnt {
120
- position: absolute;
121
- top: -3px;
122
- left: -32px;
123
- width: 32px;
124
- height: 32px;
125
- }
126
-
127
- /* Modal top nav */
128
-
129
- .mw_tnav {
130
- border-bottom: solid 9px var(--opaque-light);
131
- }
132
-
133
- .mw_tnav.sticky {
134
- top: -1.25rem;
64
+ max-width: 580px;
135
65
  }
136
66
 
137
- /* Modal save button */
138
-
139
- .mfs_cnt {
140
- position: absolute;
141
- bottom: 0;
142
- left: 256px; /* 240px + 16px */
143
- right: 16px;
144
- transform: translateY(100%);
145
- transition: transform ease .15s;
146
- padding: .75rem;
147
- background-color: var(--color-solid);
148
- }
149
-
150
- .mfs_cnt.active {
151
- box-shadow: var(--shadow-float-full);
152
- transform: translateY(0);
153
- }
154
-
155
- /* Small modal list item */
156
-
157
- .mli_small {
158
- margin-bottom: var(--rem-xsmall);
159
- }
160
-
161
- .mli_small.bg, .mli_small.bg_alt {
162
- width: 100%;
163
- border-radius: var(--radius-small);
164
- }
165
-
166
- .mli_small.bg:hover {
167
- background-color: var(--color-bg-alt);
168
- }
169
-
170
- .mli_small.bg_alt:hover {
171
- background-color: var(--color-bg);
172
- }
173
-
174
- .mli_small:last-child {
175
- margin-bottom: 0;
176
- }
177
-
178
- .mli_small .ic_cnt {
179
- min-width: 22px;
180
- }
181
-
182
- .mli_small.text_link {
183
- color: var(--color-text-medium);
184
- }
185
-
186
- .mli_small.text_link:hover {
187
- color: var(--color-text);
188
- }
189
-
190
- .mli_small.continue_list {
191
- width: 100%;
192
- margin-bottom: 1px;
193
- border-radius: 0;
194
- background-color: var(--opaque-default);
195
- }
196
-
197
- .mli_small.continue_list:hover {
198
- background-color: var(--color-bg-active);
199
- }
200
-
201
- .mli_small.continue_list:first-child {
202
- border-top-left-radius: var(--radius-small);
203
- border-top-right-radius: var(--radius-small);
204
- }
67
+ /* Modal tabs nav */
205
68
 
206
- .mli_small.continue_list:last-child {
207
- border-bottom-left-radius: var(--radius-small);
208
- border-bottom-right-radius: var(--radius-small);
69
+ .mw_tabs_nav .tab_item:hover .indicator {
70
+ background-color: rgba(var(--color-darker-rgb), 0.1);
209
71
  }
210
72
 
211
73
  /* Update notes */
212
74
 
213
75
  .mw_content_title {
214
- padding: 3rem 1rem 2rem;
76
+ padding: 3rem 1rem 2rem;
215
77
  }
216
78
 
217
79
  .mw_content_title:before {
218
- content: ' ';
219
- position: absolute; z-index: -1;
220
- top: -45px; left: -25px;
221
- width: 180px; height: 180px;
222
- border-radius: 50%;
223
- background-color: var(--color-primary);
224
- opacity: .25;
80
+ content: " ";
81
+ position: absolute;
82
+ z-index: -1;
83
+ top: -45px;
84
+ left: -25px;
85
+ width: 180px;
86
+ height: 180px;
87
+ border-radius: 50%;
88
+ background-color: rgb(var(--color-primary));
89
+ opacity: 0.25;
225
90
  }
226
91
 
227
92
  .mw_content_title.secondary:before {
228
- background-color: var(--color-secondary);
93
+ background-color: rgb(var(--color-secondary));
229
94
  }
230
95
 
231
96
  .mw_content_title.main:before {
232
- background-color: var(--color-main);
97
+ background-color: rgb(var(--color-main));
233
98
  }