@onetype/framework 2.0.33 → 2.0.35
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.
|
@@ -14,9 +14,17 @@
|
|
|
14
14
|
{
|
|
15
15
|
position: relative;
|
|
16
16
|
overflow: auto;
|
|
17
|
+
scrollbar-width: thin;
|
|
18
|
+
scrollbar-color: var(--ot-bg-4) var(--ot-bg-1);
|
|
17
19
|
}
|
|
18
20
|
|
|
21
|
+
.ot-page-area::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
22
|
+
.ot-page-area::-webkit-scrollbar-track { background: var(--ot-bg-1); }
|
|
23
|
+
.ot-page-area::-webkit-scrollbar-thumb { background: var(--ot-bg-4); border-radius: 4px; }
|
|
24
|
+
.ot-page-area::-webkit-scrollbar-thumb:hover { background: var(--ot-bg-4-hover); }
|
|
25
|
+
|
|
19
26
|
.ot-page-area > div
|
|
20
27
|
{
|
|
21
|
-
height:
|
|
28
|
+
height: fit-content;
|
|
29
|
+
min-height: 100%;
|
|
22
30
|
}
|
|
@@ -201,6 +201,7 @@
|
|
|
201
201
|
height: 40px;
|
|
202
202
|
background: var(--ot-bg-1);
|
|
203
203
|
border-top: 1px solid var(--ot-bg-2-border);
|
|
204
|
+
border-bottom: 1px solid var(--ot-bg-2-border);
|
|
204
205
|
z-index: 999;
|
|
205
206
|
cursor: pointer;
|
|
206
207
|
}
|
|
@@ -208,7 +209,8 @@
|
|
|
208
209
|
.e-210c16c7 > .bar > .toggle
|
|
209
210
|
{
|
|
210
211
|
font-size: 20px;
|
|
211
|
-
color: var(--ot-
|
|
212
|
+
color: var(--ot-brand);
|
|
213
|
+
pointer-events: none;
|
|
212
214
|
}
|
|
213
215
|
|
|
214
216
|
.e-210c16c7 > .drawer > .toggle
|
|
@@ -249,17 +251,31 @@
|
|
|
249
251
|
max-height: 80vh;
|
|
250
252
|
background: var(--ot-bg-1);
|
|
251
253
|
border-top: 1px solid var(--ot-bg-2-border);
|
|
252
|
-
padding: var(--ot-spacing-
|
|
254
|
+
padding: 0 var(--ot-spacing-s) var(--ot-spacing-s);
|
|
253
255
|
overflow-y: auto;
|
|
254
256
|
z-index: 1001;
|
|
255
257
|
}
|
|
256
258
|
|
|
257
259
|
.e-210c16c7 > .drawer > .toggle
|
|
258
260
|
{
|
|
259
|
-
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
justify-content: center;
|
|
264
|
+
width: 100%;
|
|
265
|
+
height: 40px;
|
|
266
|
+
background: none;
|
|
267
|
+
border: none;
|
|
268
|
+
border-bottom: 1px solid var(--ot-bg-2-border);
|
|
269
|
+
color: var(--ot-text-2);
|
|
270
|
+
cursor: pointer;
|
|
260
271
|
margin-bottom: var(--ot-spacing-s);
|
|
261
272
|
}
|
|
262
273
|
|
|
274
|
+
.e-210c16c7 > .drawer > .toggle > i
|
|
275
|
+
{
|
|
276
|
+
font-size: 20px;
|
|
277
|
+
}
|
|
278
|
+
|
|
263
279
|
.e-210c16c7 > .drawer > .group
|
|
264
280
|
{
|
|
265
281
|
border-top: none;
|
|
@@ -84,7 +84,7 @@ onetype.AddonReady('elements', (elements) =>
|
|
|
84
84
|
<slot name="bottom"></slot>
|
|
85
85
|
</nav>
|
|
86
86
|
<div :class="'bar ' + variant.join(' ')" ot-click="toggle">
|
|
87
|
-
<i class="toggle">
|
|
87
|
+
<i class="toggle">filter_list</i>
|
|
88
88
|
</div>
|
|
89
89
|
<div ot-if="open" class="overlay" ot-click="toggle"></div>
|
|
90
90
|
<nav ot-if="open" :class="'drawer ' + variant.join(' ')">
|
|
@@ -28,8 +28,20 @@
|
|
|
28
28
|
.ot-container-l { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 calc(var(--ot-spacing-m) * 2); }
|
|
29
29
|
.ot-container-full { width: 100%; padding: 0 calc(var(--ot-spacing-m) * 2); }
|
|
30
30
|
|
|
31
|
+
@media screen and (max-width: 900px)
|
|
32
|
+
{
|
|
33
|
+
.ot-container,
|
|
34
|
+
.ot-container-s,
|
|
35
|
+
.ot-container-m,
|
|
36
|
+
.ot-container-l,
|
|
37
|
+
.ot-container-full
|
|
38
|
+
{
|
|
39
|
+
padding: 0 var(--ot-spacing-m);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
31
43
|
/* Scrollbar */
|
|
32
|
-
.ot-scrollbar { overflow: auto; }
|
|
44
|
+
.ot-scrollbar { overflow: auto; scrollbar-width: thin; scrollbar-color: var(--ot-bg-4) var(--ot-bg-1); }
|
|
33
45
|
.ot-scrollbar::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
34
46
|
.ot-scrollbar::-webkit-scrollbar-track { background: var(--ot-bg-1); }
|
|
35
47
|
.ot-scrollbar::-webkit-scrollbar-thumb { background: var(--ot-bg-4); border-radius: 4px; }
|
package/lib/styles/variables.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onetype/framework",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.35",
|
|
4
4
|
"description": "OneType Framework — Full-stack isomorphic JavaScript framework built from scratch. One addon abstraction powers databases, servers, commands, pages, directives, queues, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/load.js",
|