@jsb188/css 1.1.3 → 1.1.5

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
@@ -86,33 +86,33 @@
86
86
 
87
87
  .big_loader.default {
88
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);
89
+ radial-gradient(farthest-side,rgb(var(--color-bg)) 94%,#0000),
90
+ radial-gradient(farthest-side,rgb(var(--color-secondary)) 94%,#0000),
91
+ radial-gradient(farthest-side,rgb(var(--color-primary)) 94%,#0000),
92
+ radial-gradient(farthest-side,rgb(var(--color-main)) 94%,#0000),
93
+ rgb(var(--color-bg));
94
94
  background-size: 105% 105%;
95
95
  background-repeat: no-repeat;
96
96
  }
97
97
 
98
98
  .big_loader.alt {
99
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);
100
+ radial-gradient(farthest-side,rgb(var(--color-bg-alt)) 94%,#0000),
101
+ radial-gradient(farthest-side,rgb(var(--color-secondary)) 94%,#0000),
102
+ radial-gradient(farthest-side,rgb(var(--color-primary)) 94%,#0000),
103
+ radial-gradient(farthest-side,rgb(var(--color-main)) 94%,#0000),
104
+ rgb(var(--color-bg-alt));
105
105
  background-size: 105% 105%;
106
106
  background-repeat: no-repeat;
107
107
  }
108
108
 
109
109
  .big_loader.active {
110
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);
111
+ radial-gradient(farthest-side,rgb(var(--color-bg-active)) 94%,#0000),
112
+ radial-gradient(farthest-side,rgb(var(--color-secondary)) 94%,#0000),
113
+ radial-gradient(farthest-side,rgb(var(--color-primary)) 94%,#0000),
114
+ radial-gradient(farthest-side,rgb(var(--color-main)) 94%,#0000),
115
+ rgb(var(--color-bg-active));
116
116
  background-size: 105% 105%;
117
117
  background-repeat: no-repeat;
118
118
  }
@@ -148,11 +148,11 @@
148
148
  }
149
149
 
150
150
  circle.circle_outline {
151
- stroke: var(--color-bg-alt);
151
+ stroke: rgb(var(--color-bg-alt));
152
152
  }
153
153
 
154
154
  circle.circle_line {
155
- stroke: var(--color-main);
155
+ stroke: rgb(var(--color-main));
156
156
  transition: all .25s ease-in-out;
157
157
  transform: rotate(-90deg);
158
158
  transform-origin: 50% 50%;
package/css/misc.css CHANGED
@@ -21,15 +21,15 @@
21
21
  }
22
22
 
23
23
  .box_item:hover {
24
- background-color: var(--color-bg-alt);
24
+ background-color: rgb(var(--color-bg-alt));
25
25
  }
26
26
 
27
27
  .box_item.sel {
28
- border-color: var(--color-bg-alt);
28
+ border-color: rgb(var(--color-bg-alt));
29
29
  }
30
30
 
31
31
  .box_item.sel:hover {
32
- border-color: var(--color-bg-active);
32
+ border-color: rgb(var(--color-bg-active));
33
33
  }
34
34
 
35
35
  /* Circle inside box item */
@@ -63,7 +63,7 @@
63
63
 
64
64
  .shortcut {
65
65
  display: inline-block;
66
- padding: 3px 4px 2px;
66
+ padding: 3px 6px 2px;
67
67
  margin: 0 7px;
68
68
  border-radius: 5px;
69
69
  transform: translateY(-1px);
package/css/modal.css CHANGED
@@ -62,7 +62,7 @@
62
62
  .mw_themed.normal .inside {
63
63
  /* Same radius as outer modal container */
64
64
  border-radius: 10px;
65
- background-color: var(--color-bg);
65
+ background-color: rgb(var(--color-bg));
66
66
  }
67
67
 
68
68
  /* Modal header */
@@ -81,70 +81,20 @@
81
81
 
82
82
  .mw_snav {
83
83
  align-self: stretch;
84
- width: 240px;
84
+ width: 270px;
85
85
  padding: var(--rem-large) 0 var(--rem-large) 40px;
86
86
  }
87
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; left: 0; right: 0;
135
- }
136
-
137
88
  /* Modal save button */
138
89
 
139
90
  .mfs_cnt {
140
91
  position: absolute;
141
92
  bottom: 0;
142
- left: 256px; /* 240px + 16px */
93
+ left: 286px; /* 270px + 16px */
143
94
  right: 16px;
144
95
  transform: translateY(100%);
145
96
  transition: transform ease .15s;
146
97
  padding: .75rem;
147
- background-color: var(--color-solid);
148
98
  }
149
99
 
150
100
  .mfs_cnt.active {
@@ -152,62 +102,6 @@
152
102
  transform: translateY(0);
153
103
  }
154
104
 
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
- }
205
-
206
- .mli_small.continue_list:last-child {
207
- border-bottom-left-radius: var(--radius-small);
208
- border-bottom-right-radius: var(--radius-small);
209
- }
210
-
211
105
  /* Update notes */
212
106
 
213
107
  .mw_content_title {
@@ -220,14 +114,14 @@
220
114
  top: -45px; left: -25px;
221
115
  width: 180px; height: 180px;
222
116
  border-radius: 50%;
223
- background-color: var(--color-primary);
117
+ background-color: rgb(var(--color-primary));
224
118
  opacity: .25;
225
119
  }
226
120
 
227
121
  .mw_content_title.secondary:before {
228
- background-color: var(--color-secondary);
122
+ background-color: rgb(var(--color-secondary));
229
123
  }
230
124
 
231
125
  .mw_content_title.main:before {
232
- background-color: var(--color-main);
126
+ background-color: rgb(var(--color-main));
233
127
  }
package/css/popover.css CHANGED
@@ -11,10 +11,9 @@
11
11
  .popover .tooltip {
12
12
  display: inline-block;
13
13
  /* padding: .58rem .7rem; */
14
- padding: .55rem .68rem;
14
+ padding: .57rem .68rem;
15
15
  /* box-shadow: var(--shadow-light); */
16
16
  box-shadow: var(--shadow);
17
- /* box-shadow: var(--shadow-float-light); */
18
17
  }
19
18
 
20
19
  .popover.small .tooltip {
@@ -32,7 +31,7 @@
32
31
  }
33
32
 
34
33
  .po_list .inside {
35
- padding: .3rem;
34
+ padding: 5px;
36
35
  display: flex; flex-direction: column;
37
36
  justify-content: flex-start;
38
37
  align-items: stretch;
@@ -43,30 +42,25 @@
43
42
  }
44
43
 
45
44
  .po_list .av_item .av.main {
46
- box-shadow: 0 0 10px var(--color-bg);
45
+ box-shadow: 0 0 10px rgb(var(--color-bg));
47
46
  }
48
47
 
49
48
  /* Pop over; subtitle */
50
49
 
51
50
  .po_subtitle {
52
51
  position: sticky;
53
- top: -.3rem; left: 0; right: 0;
54
- padding: .35rem .4rem .4rem;
52
+ top: 0; left: 0; right: 0;
53
+ padding: 5px .4rem 8px;
55
54
  margin-bottom: .3rem;
56
55
  }
57
56
 
58
- /* Pop over; list item */
59
-
60
- .po_opt.link:not(:disabled):hover,
61
- .po_opt.link:not(.disabled):hover {
62
- background-color: var(--color-darker-soft);
57
+ .po_subtitle_cover {
58
+ position: absolute;
59
+ top: -5px; left: 0; right: 0;
60
+ height: 5px;
63
61
  }
64
62
 
65
- .po_opt.link:not(:disabled):active,
66
- .po_opt.link:not(.disabled):active {
67
- background-color: var(--color-darker-light);
68
- /* transform: translateY(0); */
69
- }
63
+ /* Pop over; list item */
70
64
 
71
65
  .po_opt .saving_area {
72
66
  width: 24px;
@@ -74,12 +68,25 @@
74
68
  }
75
69
 
76
70
  .po_opt {
77
- min-width: 150px;
78
- padding: .35rem 0 .35rem .5rem;
79
- white-space: nowrap;
71
+ padding: 5px 0 5px .5rem;
80
72
  border-radius: var(--radius-small);
81
73
  }
82
74
 
75
+ .po_opt.default:first-child {
76
+ margin-top: 5px;
77
+ }
78
+
79
+ .po_opt.default:last-child {
80
+ margin-bottom: 5px;
81
+ }
82
+
83
+ /* Pop over; text item */
84
+
85
+ .po_opt.text_item {
86
+ padding: 5px .5rem;
87
+ margin-bottom: 0;
88
+ }
89
+
83
90
  /* Pop over; different presets for list item */
84
91
 
85
92
  .po_opt.av_item {
@@ -94,7 +101,7 @@
94
101
  /* Pop over; list break */
95
102
 
96
103
  .po_list_break {
97
- margin: .3rem 0;
104
+ margin: 3px 0;
98
105
  border-top: solid 1px var(--color-darker-light);
99
106
  }
100
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsb188/css",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Re-usable, base CSS styles for any app (NOTE: Bring your own variables).",
5
5
  "license": "ISC",
6
6
  "author": "jsb188",