mf-styling 1.5.0 → 1.5.3
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/package.json +3 -3
- package/src/images/sort-ascending.svg +39 -0
- package/src/images/sort-descending.svg +38 -0
- package/src/table-sort.css +28 -2
- package/src/images/down.svg +0 -1
- package/src/images/up.svg +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mf-styling",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"files": [
|
|
5
5
|
"src/button.css",
|
|
6
6
|
"src/card.css",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"src/dropdown.css",
|
|
15
15
|
"src/form.css",
|
|
16
16
|
"src/global.css",
|
|
17
|
-
"src/images/
|
|
18
|
-
"src/images/
|
|
17
|
+
"src/images/sort-ascending.svg",
|
|
18
|
+
"src/images/sort-descending.svg",
|
|
19
19
|
"src/layout.css",
|
|
20
20
|
"src/log.css",
|
|
21
21
|
"src/nav.css",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
width="12"
|
|
4
|
+
height="18"
|
|
5
|
+
viewBox="0 0 16.000002 22.5"
|
|
6
|
+
version="1.1"
|
|
7
|
+
id="svg4"
|
|
8
|
+
sodipodi:docname="sort-ascending.svg"
|
|
9
|
+
inkscape:version="1.2 (dc2aeda, 2022-05-15)"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
14
|
+
<defs
|
|
15
|
+
id="defs8" />
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview6"
|
|
18
|
+
pagecolor="#ffffff"
|
|
19
|
+
bordercolor="#000000"
|
|
20
|
+
borderopacity="0.25"
|
|
21
|
+
inkscape:showpageshadow="2"
|
|
22
|
+
inkscape:pageopacity="0.0"
|
|
23
|
+
inkscape:pagecheckerboard="0"
|
|
24
|
+
inkscape:deskcolor="#d1d1d1"
|
|
25
|
+
showgrid="false"
|
|
26
|
+
inkscape:zoom="64.1875"
|
|
27
|
+
inkscape:cx="9.2619279"
|
|
28
|
+
inkscape:cy="11.232717"
|
|
29
|
+
inkscape:window-width="1607"
|
|
30
|
+
inkscape:window-height="1914"
|
|
31
|
+
inkscape:window-x="1633"
|
|
32
|
+
inkscape:window-y="218"
|
|
33
|
+
inkscape:window-maximized="0"
|
|
34
|
+
inkscape:current-layer="svg4"
|
|
35
|
+
showborder="false" />
|
|
36
|
+
<path
|
|
37
|
+
d="m 2.0175268,9.2729633 6,-6 6.0000002,6 2,-2 L 8.0175268,-0.72703673 0.01752678,7.2729633 Z"
|
|
38
|
+
id="path2" />
|
|
39
|
+
</svg>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
width="12"
|
|
4
|
+
height="18"
|
|
5
|
+
viewBox="0 0 16.000002 22.5"
|
|
6
|
+
version="1.1"
|
|
7
|
+
id="svg174"
|
|
8
|
+
sodipodi:docname="sort-descending.svg"
|
|
9
|
+
inkscape:version="1.2 (dc2aeda, 2022-05-15)"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
14
|
+
<defs
|
|
15
|
+
id="defs178" />
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview176"
|
|
18
|
+
pagecolor="#ffffff"
|
|
19
|
+
bordercolor="#000000"
|
|
20
|
+
borderopacity="0.25"
|
|
21
|
+
inkscape:showpageshadow="2"
|
|
22
|
+
inkscape:pageopacity="0.0"
|
|
23
|
+
inkscape:pagecheckerboard="0"
|
|
24
|
+
inkscape:deskcolor="#d1d1d1"
|
|
25
|
+
showgrid="false"
|
|
26
|
+
inkscape:zoom="64.1875"
|
|
27
|
+
inkscape:cx="4.7906524"
|
|
28
|
+
inkscape:cy="8.895813"
|
|
29
|
+
inkscape:window-width="1749"
|
|
30
|
+
inkscape:window-height="1494"
|
|
31
|
+
inkscape:window-x="412"
|
|
32
|
+
inkscape:window-y="415"
|
|
33
|
+
inkscape:window-maximized="0"
|
|
34
|
+
inkscape:current-layer="svg174" />
|
|
35
|
+
<path
|
|
36
|
+
d="m 1.9974044,13.215272 5.9999998,5.999998 5.9999998,-5.999998 2,1.999999 -7.9999998,8 -7.99999976,-8 z"
|
|
37
|
+
id="path2" />
|
|
38
|
+
</svg>
|
package/src/table-sort.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
th[aria-sort]:hover {
|
|
2
|
+
[aria-sort]:hover {
|
|
4
3
|
background-color: var(--color-primary-400);
|
|
5
4
|
}
|
|
6
5
|
|
|
6
|
+
/*
|
|
7
7
|
th[aria-sort]::before {
|
|
8
8
|
float: right;
|
|
9
9
|
margin-left: 0.5em;
|
|
@@ -21,4 +21,30 @@ th[aria-sort="descending"]::before {
|
|
|
21
21
|
th[aria-sort="ascending"]::before {
|
|
22
22
|
content: "↓";
|
|
23
23
|
}
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
th > button {
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
|
|
29
|
+
background: transparent;
|
|
30
|
+
border: 1px solid transparent;
|
|
31
|
+
color: inherit;
|
|
32
|
+
padding: 0.25em 0.5em 0.25em 1em;
|
|
33
|
+
width: 100%;
|
|
34
|
+
min-width: 4.5em;
|
|
35
|
+
display: grid;
|
|
36
|
+
grid-template-columns: minmax(2em, max-content) .65em auto;
|
|
37
|
+
grid-template-areas: "t a x" "t d x";
|
|
38
|
+
}
|
|
24
39
|
|
|
40
|
+
[aria-sort="descending"] img {
|
|
41
|
+
content: url(images/sort-descending.svg)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[aria-sort="ascending"] img {
|
|
45
|
+
content: url(images/sort-ascending.svg)
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[aria-sort="none"] img {
|
|
49
|
+
content: url(images/sort-none.svg)
|
|
50
|
+
}
|
package/src/images/down.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="16" viewBox="0 0 24 20"><path d="M8 7l6 6 6-6 2 2-8 8-8-8z"/></svg>
|
package/src/images/up.svg
DELETED