@jsb188/css 1.1.8 → 1.1.11

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,163 +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
21
  .dot.tn {
17
- width: 0.3rem;
18
- height: 0.3rem;
19
- margin: 0 .073rem;
22
+ width: 0.3rem;
23
+ height: 0.3rem;
24
+ margin: 0 0.09rem;
20
25
  }
21
26
 
22
27
  .dot.sm {
23
- width: 0.375rem;
24
- height: 0.375rem;
25
- margin: 0 .12rem;
28
+ width: 0.375rem;
29
+ height: 0.375rem;
30
+ margin: 0 0.12rem;
26
31
  }
27
32
 
28
33
  .dot.df {
29
- width: .5rem;
30
- height: .5rem;
31
- margin: 0 .13rem;
34
+ width: 0.5rem;
35
+ height: 0.5rem;
36
+ margin: 0 0.13rem;
32
37
  }
33
38
 
34
39
  .dot.md {
35
- width: .64rem;
36
- height: .64rem;
37
- margin: 0 .2rem;
40
+ width: 0.64rem;
41
+ height: 0.64rem;
42
+ margin: 0 0.2rem;
38
43
  }
39
44
 
40
45
  .dot.lg {
41
- width: 1rem;
42
- height: 1rem;
43
- margin: 0 .24rem;
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);
50
55
  }
51
56
 
52
- .bg_main .activity .dot, .bg_primary .activity .dot, .bg_secondary .activity .dot {
53
- background-color: var(--color-solid);
57
+ .bg_err .dot,
58
+ .bg_primary .dot,
59
+ .bg_secondary .dot {
60
+ background-color: var(--color-solid);
54
61
  }
55
62
 
56
- .activity .d0, .activity .d1, .activity .d2 {
57
- animation-duration: 1.5s;
58
- animation-fill-mode: both;
59
- animation-iteration-count: infinite;
63
+ .bg_main .activity .dot,
64
+ .bg_primary .activity .dot,
65
+ .bg_secondary .activity .dot {
66
+ background-color: var(--color-solid);
67
+ }
68
+
69
+ .activity .d0,
70
+ .activity .d1,
71
+ .activity .d2 {
72
+ animation-duration: 1.5s;
73
+ animation-fill-mode: both;
74
+ animation-iteration-count: infinite;
60
75
  }
61
76
 
62
77
  .activity .d0 {
63
- animation-name: anim-activity-dot;
78
+ animation-name: anim-activity-dot;
64
79
  }
65
80
 
66
81
  .activity .d1 {
67
- animation-name: anim-activity-dot;
68
- animation-delay: .2s;
82
+ animation-name: anim-activity-dot;
83
+ animation-delay: 0.2s;
69
84
  }
70
85
 
71
86
  .activity .d2 {
72
- animation-name: anim-activity-dot;
73
- animation-delay: .4s;
87
+ animation-name: anim-activity-dot;
88
+ animation-delay: 0.4s;
74
89
  }
75
90
 
76
91
  .bg_main .activity .dot,
77
92
  .bg_primary .activity .dot,
78
93
  .bg_contrast .activity .dot {
79
- background-color: var(--color-solid);
94
+ background-color: var(--color-solid);
80
95
  }
81
96
 
82
97
  /* Big loader */
83
98
 
84
99
  .big_loader {
85
- width: 45px;
86
- aspect-ratio: 1;
87
- border-radius: 50%;
88
- animation: l5 2s infinite;
100
+ width: 45px;
101
+ aspect-ratio: 1;
102
+ border-radius: 50%;
103
+ animation: l5 2s infinite;
89
104
  }
90
105
 
91
106
  .big_loader.default {
92
- background:
93
- radial-gradient(farthest-side,rgb(var(--color-bg)) 94%,#0000),
94
- radial-gradient(farthest-side,rgb(var(--color-secondary)) 94%,#0000),
95
- radial-gradient(farthest-side,rgb(var(--color-primary)) 94%,#0000),
96
- radial-gradient(farthest-side,rgb(var(--color-main)) 94%,#0000),
97
- rgb(var(--color-bg));
98
- background-size: 105% 105%;
99
- 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;
100
115
  }
101
116
 
102
117
  .big_loader.alt {
103
- background:
104
- radial-gradient(farthest-side,rgb(var(--color-bg-alt)) 94%,#0000),
105
- radial-gradient(farthest-side,rgb(var(--color-secondary)) 94%,#0000),
106
- radial-gradient(farthest-side,rgb(var(--color-primary)) 94%,#0000),
107
- radial-gradient(farthest-side,rgb(var(--color-main)) 94%,#0000),
108
- rgb(var(--color-bg-alt));
109
- background-size: 105% 105%;
110
- 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;
111
126
  }
112
127
 
113
128
  .big_loader.active {
114
- background:
115
- radial-gradient(farthest-side,rgb(var(--color-bg-active)) 94%,#0000),
116
- radial-gradient(farthest-side,rgb(var(--color-secondary)) 94%,#0000),
117
- radial-gradient(farthest-side,rgb(var(--color-primary)) 94%,#0000),
118
- radial-gradient(farthest-side,rgb(var(--color-main)) 94%,#0000),
119
- rgb(var(--color-bg-active));
120
- background-size: 105% 105%;
121
- 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;
122
137
  }
123
138
 
124
139
  @keyframes l5 {
125
- 0% {background-position: 50% -55px,-48px 50%, 50% calc(100% + 55px),calc(100% + 55px) 50%}
126
- 20%,
127
- 25% {background-position: 50% -55px,-55px 50%, 50% calc(100% + 55px),50% 50%}
128
- 45%,
129
- 50% {background-position: 50% -55px,-55px 50%, 50% 50%, 50% 50%}
130
- 75%,
131
- 75% {background-position: 50% -55px, 50% 50%, 50% 50%, 50% 50%}
132
- 95%,
133
- 100%{background-position: 50% 50% , 50% 50%, 50% 50%, 50% 50%}
134
- }
135
-
136
- /* Circular progress */
137
-
138
- .circular_progress {
139
- position: absolute;
140
- top: -16px; left: -16px; right: -16px; bottom: -16px;
141
- }
142
-
143
- .circular_progress svg {
144
- width: 100%;
145
- height: 100%;
146
- }
147
-
148
- .circular_progress .pill {
149
- position: absolute;
150
- top: 0; left: 50%;
151
- transform: translate(-50%, -25%);
152
- }
153
-
154
- circle.circle_outline {
155
- stroke: rgb(var(--color-bg-alt));
156
- }
157
-
158
- circle.circle_line {
159
- stroke: rgb(var(--color-main));
160
- transition: all .25s ease-in-out;
161
- transform: rotate(-90deg);
162
- 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
+ }
163
179
  }
package/css/misc.css CHANGED
@@ -1,79 +1,80 @@
1
-
2
1
  /* Themes container */
3
2
 
4
3
  .themes_cnt {
5
- /* -10 for item padding; -5 for border */
6
- margin: 2rem -15px;
4
+ /* -10 for item padding; -5 for border */
5
+ margin: 2rem -15px;
7
6
  }
8
7
 
9
8
  /* Boxed item */
10
9
 
11
10
  .box_item {
12
- position: relative;
13
- width: 118px;
14
- padding: 9px;
15
- margin: 8px 8px 0;
16
- border: solid 5px transparent;
11
+ position: relative;
12
+ width: 118px;
13
+ padding: 9px;
14
+ margin: 8px 8px 0;
15
+ border: solid 5px transparent;
17
16
  }
18
17
 
19
18
  .box_item:disabled {
20
- cursor: not-allowed;
19
+ cursor: not-allowed;
21
20
  }
22
21
 
23
22
  .box_item:hover {
24
- background-color: rgb(var(--color-bg-alt));
23
+ background-color: rgb(var(--color-bg-alt));
25
24
  }
26
25
 
27
26
  .box_item.sel {
28
- border-color: rgb(var(--color-bg-alt));
27
+ border-color: rgb(var(--color-bg-alt));
29
28
  }
30
29
 
31
30
  .box_item.sel:hover {
32
- border-color: rgb(var(--color-bg-active));
31
+ border-color: rgb(var(--color-bg-active));
33
32
  }
34
33
 
35
34
  /* Circle inside box item */
36
35
 
37
36
  .cl_circle {
38
- width: 70px;
39
- height: 70px;
40
- border-radius: 50%;
41
- background-size: 125% auto;
42
- background-position: 50% 25%;
37
+ width: 70px;
38
+ height: 70px;
39
+ border-radius: 50%;
40
+ background-size: 125% auto;
41
+ background-position: 50% 25%;
43
42
  }
44
43
 
45
44
  /* Icon inside circle svg */
46
45
 
47
46
  .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;
47
+ position: absolute;
48
+ top: 9px;
49
+ left: 15px;
50
+ right: 15px;
51
+ /* This size is hard-coded to the SVG circle size in [MiscElements.tsx] */
52
+ height: 70px;
52
53
  }
53
54
 
54
55
  /* Close icon */
55
56
 
56
57
  .box_item .close {
57
- position: absolute;
58
- top: -11px;
59
- right: -11px;
58
+ position: absolute;
59
+ top: -11px;
60
+ right: -11px;
60
61
  }
61
62
 
62
63
  /* Shorcut key button */
63
64
 
64
65
  .shortcut {
65
- display: inline-block;
66
- padding: 3px 6px 2px;
67
- margin: 0 7px;
68
- border-radius: 5px;
69
- transform: translateY(-1px);
70
- box-shadow: 0 0 0 1px var(--color-solid-hover);
66
+ display: inline-block;
67
+ padding: 3px 6px 2px;
68
+ margin: 0 7px;
69
+ border-radius: 5px;
70
+ transform: translateY(-1px);
71
+ box-shadow: 0 0 0 1px var(--color-solid-hover);
71
72
  }
72
73
 
73
74
  .shortcut:first-child {
74
- margin-left: 0;
75
+ margin-left: 0;
75
76
  }
76
77
 
77
78
  .shortcut:last-child {
78
- margin-right: 0;
79
+ margin-right: 0;
79
80
  }
package/css/modal.css CHANGED
@@ -1,132 +1,135 @@
1
-
2
1
  /* Modal content container */
3
2
 
4
3
  .mw_content {
5
- flex: 1;
6
- height: 100%;
4
+ flex: 1;
5
+ height: 100%;
6
+ overflow-y: auto;
7
7
  }
8
8
 
9
9
  .mw_content.w_pad {
10
- padding-bottom: 3.5rem;
10
+ padding-bottom: 3.5rem;
11
11
  }
12
12
 
13
13
  /* Themed container */
14
14
 
15
15
  .mw_themed {
16
- position: relative;
17
- padding: 4px;
16
+ position: relative;
17
+ padding: 4px;
18
18
  }
19
19
 
20
20
  .mw_themed .inside.small {
21
- width: 220px;
21
+ width: 220px;
22
22
  }
23
23
 
24
24
  .mw_themed .inside.big {
25
- width: 75vw;
26
- max-width: 1000px;
25
+ width: 75vw;
26
+ max-width: 1000px;
27
27
  }
28
28
 
29
29
  /* Call; different interfaces */
30
30
 
31
31
  .mw_themed.call_invite .inside {
32
- padding: 1.75rem 1rem 1.75rem;
32
+ padding: 1.75rem 1rem 1.75rem;
33
33
  }
34
34
 
35
35
  .call_active .inside {
36
- display: flex;
37
- flex-direction: column;
38
- align-items: stretch;
36
+ display: flex;
37
+ flex-direction: column;
38
+ align-items: stretch;
39
39
  }
40
40
 
41
41
  .mw_themed.call_invite .inside,
42
42
  .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);
43
+ /* Must be slightly less than small radius */
44
+ border-radius: 5px;
45
+ background-color: var(--color-solid);
46
+ color: var(--color-contrast);
47
47
  }
48
48
 
49
49
  .mw_themed.call_active .call_controls {
50
- padding: 8px;
51
- border-bottom: solid 1px var(--color-solid-hover);
50
+ padding: 8px;
51
+ border-bottom: solid 1px var(--color-solid-hover);
52
52
  }
53
53
 
54
54
  /* Normal themed container inside modal */
55
55
 
56
56
  .mw_themed.normal {
57
- /* Same radius as outer modal container */
58
- border-radius: var(--radius-default);
59
- align-self: stretch;
57
+ /* Same radius as outer modal container */
58
+ border-radius: var(--radius-default);
59
+ align-self: stretch;
60
60
  }
61
61
 
62
62
  .mw_themed.normal .inside {
63
- /* Same radius as outer modal container */
64
- border-radius: 10px;
65
- background-color: rgb(var(--color-bg));
63
+ /* Same radius as outer modal container */
64
+ border-radius: 10px;
65
+ background-color: rgb(var(--color-bg));
66
66
  }
67
67
 
68
68
  /* Modal header */
69
69
 
70
70
  .mw_header {
71
- position: relative;
72
- height: 4.5rem;
71
+ position: relative;
72
+ height: 4.5rem;
73
73
  }
74
74
 
75
75
  .mw_desc {
76
- max-width: 580px;
76
+ max-width: 580px;
77
77
  }
78
78
 
79
79
  /* Modal tabs nav */
80
80
 
81
81
  .mw_tabs_nav .tab_item:hover .indicator {
82
- background-color: rgba(var(--color-darker-rgb),.1);
82
+ background-color: rgba(var(--color-darker-rgb), 0.1);
83
83
  }
84
84
 
85
85
  /* Modal side nav */
86
86
 
87
87
  .mw_snav {
88
- align-self: stretch;
89
- width: 270px;
90
- padding: var(--rem-large) 0 var(--rem-large) 40px;
88
+ align-self: stretch;
89
+ width: 270px;
90
+ padding: var(--rem-large) 0 var(--rem-large) 40px;
91
91
  }
92
92
 
93
93
  /* Modal save button */
94
94
 
95
95
  .mfs_cnt {
96
- position: absolute;
97
- bottom: 0;
98
- left: 286px; /* 270px + 16px */
99
- right: 16px;
100
- transform: translateY(100%);
101
- transition: transform ease .15s;
102
- padding: .75rem;
96
+ position: absolute;
97
+ bottom: 0;
98
+ left: 286px; /* 270px + 16px */
99
+ right: 16px;
100
+ transform: translateY(100%);
101
+ transition: transform ease 0.15s;
102
+ padding: 0.75rem;
103
103
  }
104
104
 
105
105
  .mfs_cnt.active {
106
- box-shadow: var(--shadow-float-full);
107
- transform: translateY(0);
106
+ box-shadow: var(--shadow-float-full);
107
+ transform: translateY(0);
108
108
  }
109
109
 
110
110
  /* Update notes */
111
111
 
112
112
  .mw_content_title {
113
- padding: 3rem 1rem 2rem;
113
+ padding: 3rem 1rem 2rem;
114
114
  }
115
115
 
116
116
  .mw_content_title:before {
117
- content: ' ';
118
- position: absolute; z-index: -1;
119
- top: -45px; left: -25px;
120
- width: 180px; height: 180px;
121
- border-radius: 50%;
122
- background-color: rgb(var(--color-primary));
123
- opacity: .25;
117
+ content: " ";
118
+ position: absolute;
119
+ z-index: -1;
120
+ top: -45px;
121
+ left: -25px;
122
+ width: 180px;
123
+ height: 180px;
124
+ border-radius: 50%;
125
+ background-color: rgb(var(--color-primary));
126
+ opacity: 0.25;
124
127
  }
125
128
 
126
129
  .mw_content_title.secondary:before {
127
- background-color: rgb(var(--color-secondary));
130
+ background-color: rgb(var(--color-secondary));
128
131
  }
129
132
 
130
133
  .mw_content_title.main:before {
131
- background-color: rgb(var(--color-main));
134
+ background-color: rgb(var(--color-main));
132
135
  }