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