mf-styling 1.5.2 → 1.5.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/package.json +2 -1
- package/src/images/sort-none.svg +41 -0
- package/src/table-sort.css +11 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mf-styling",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"files": [
|
|
5
5
|
"src/button.css",
|
|
6
6
|
"src/card.css",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"src/global.css",
|
|
17
17
|
"src/images/sort-ascending.svg",
|
|
18
18
|
"src/images/sort-descending.svg",
|
|
19
|
+
"src/images/sort-none.svg",
|
|
19
20
|
"src/layout.css",
|
|
20
21
|
"src/log.css",
|
|
21
22
|
"src/nav.css",
|
|
@@ -0,0 +1,41 @@
|
|
|
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="svg208"
|
|
8
|
+
sodipodi:docname="sort-none.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="defs212" />
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview210"
|
|
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.0827653"
|
|
28
|
+
inkscape:cy="11.256086"
|
|
29
|
+
inkscape:window-width="1594"
|
|
30
|
+
inkscape:window-height="1683"
|
|
31
|
+
inkscape:window-x="1413"
|
|
32
|
+
inkscape:window-y="277"
|
|
33
|
+
inkscape:window-maximized="0"
|
|
34
|
+
inkscape:current-layer="svg208" />
|
|
35
|
+
<path
|
|
36
|
+
d="m 2.0181771,13.236045 5.9999998,5.999998 6.0000001,-5.999998 2,1.999999 -8.0000001,8 -7.99999979,-8 z"
|
|
37
|
+
id="path2" />
|
|
38
|
+
<path
|
|
39
|
+
d="m 1.9974043,9.256166 6,-6 6.0000007,6 1.999999,-2 -7.9999997,-8.0000001 -7.99999997,8.0000001 z"
|
|
40
|
+
id="path2-4" />
|
|
41
|
+
</svg>
|
package/src/table-sort.css
CHANGED
|
@@ -1,52 +1,36 @@
|
|
|
1
1
|
|
|
2
2
|
[aria-sort]:hover {
|
|
3
|
-
background-color: var(--color-primary-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
th[aria-sort]::before {
|
|
7
|
-
float: right;
|
|
8
|
-
margin-left: 0.5em;
|
|
9
|
-
margin-right: 0.5em;
|
|
10
|
-
font-size: inherit;
|
|
11
|
-
line-height: inherit;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
content: "↕";
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
th[aria-sort="descending"]::before {
|
|
17
|
-
content: "↑";
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
th[aria-sort="ascending"]::before {
|
|
21
|
-
content: "↓";
|
|
3
|
+
background-color: var(--color-primary-300);
|
|
22
4
|
}
|
|
23
5
|
|
|
24
|
-
|
|
25
6
|
th > button {
|
|
7
|
+
cursor: pointer;
|
|
26
8
|
background: transparent;
|
|
27
9
|
border: 1px solid transparent;
|
|
10
|
+
|
|
11
|
+
/*
|
|
28
12
|
color: inherit;
|
|
29
|
-
font: inherit;
|
|
30
|
-
text-align: left;
|
|
31
|
-
cursor: pointer;
|
|
32
13
|
padding: 0.25em 0.5em 0.25em 1em;
|
|
33
|
-
white-space: nowrap;
|
|
34
14
|
width: 100%;
|
|
35
15
|
min-width: 4.5em;
|
|
36
16
|
display: grid;
|
|
37
17
|
grid-template-columns: minmax(2em, max-content) .65em auto;
|
|
38
18
|
grid-template-areas: "t a x" "t d x";
|
|
19
|
+
*/
|
|
39
20
|
}
|
|
40
21
|
|
|
22
|
+
th > button:hover {
|
|
23
|
+
background-color: var(--color-primary-400);
|
|
24
|
+
}
|
|
41
25
|
|
|
42
|
-
[aria-sort="descending"] img {
|
|
26
|
+
[aria-sort="descending"] > button img {
|
|
43
27
|
content: url(images/sort-descending.svg)
|
|
44
28
|
}
|
|
45
29
|
|
|
46
|
-
[aria-sort="ascending"] img {
|
|
30
|
+
[aria-sort="ascending"] > button img {
|
|
47
31
|
content: url(images/sort-ascending.svg)
|
|
48
32
|
}
|
|
49
33
|
|
|
50
|
-
[aria-sort="none"] img {
|
|
34
|
+
[aria-sort="none"] > button img {
|
|
51
35
|
content: url(images/sort-none.svg)
|
|
52
36
|
}
|