@jsb188/css 1.1.4 → 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/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,7 +11,7 @@
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
17
  }
@@ -42,18 +42,24 @@
42
42
  }
43
43
 
44
44
  .po_list .av_item .av.main {
45
- box-shadow: 0 0 10px var(--color-bg);
45
+ box-shadow: 0 0 10px rgb(var(--color-bg));
46
46
  }
47
47
 
48
48
  /* Pop over; subtitle */
49
49
 
50
50
  .po_subtitle {
51
51
  position: sticky;
52
- top: -.3rem; left: 0; right: 0;
53
- padding: .35rem .4rem .4rem;
52
+ top: 0; left: 0; right: 0;
53
+ padding: 5px .4rem 8px;
54
54
  margin-bottom: .3rem;
55
55
  }
56
56
 
57
+ .po_subtitle_cover {
58
+ position: absolute;
59
+ top: -5px; left: 0; right: 0;
60
+ height: 5px;
61
+ }
62
+
57
63
  /* Pop over; list item */
58
64
 
59
65
  .po_opt .saving_area {
@@ -62,12 +68,25 @@
62
68
  }
63
69
 
64
70
  .po_opt {
65
- min-width: 150px;
66
71
  padding: 5px 0 5px .5rem;
67
- white-space: nowrap;
68
72
  border-radius: var(--radius-small);
69
73
  }
70
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
+
71
90
  /* Pop over; different presets for list item */
72
91
 
73
92
  .po_opt.av_item {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsb188/css",
3
- "version": "1.1.4",
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",