mf-styling 1.2.9 → 1.2.12
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 -2
- package/src/tabs.css +0 -74
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mf-styling",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
4
4
|
"files": [
|
|
5
5
|
"src/button.css",
|
|
6
6
|
"src/card.css",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"vite": "^2.9.9"
|
|
56
56
|
},
|
|
57
57
|
"optionalDependencies": {
|
|
58
|
-
"mf-hosting": "^1.
|
|
58
|
+
"mf-hosting": "^1.4.0"
|
|
59
59
|
},
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|
package/src/tabs.css
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
.tabs {
|
|
2
|
-
position: relative;
|
|
3
|
-
margin: 3rem 0;
|
|
4
|
-
|
|
5
|
-
/* background: var(--color-primary-600); */
|
|
6
|
-
height: 14.75rem;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.tabs::before,
|
|
10
|
-
.tabs::after {
|
|
11
|
-
content: "";
|
|
12
|
-
display: table;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.tabs::after {
|
|
16
|
-
clear: both;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.tab {
|
|
20
|
-
float: left;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.tab-switch {
|
|
24
|
-
display: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.tab-label {
|
|
28
|
-
position: relative;
|
|
29
|
-
display: block;
|
|
30
|
-
line-height: 2.75em;
|
|
31
|
-
height: 3em;
|
|
32
|
-
padding: 0 1.618em;
|
|
33
|
-
background: var(--color-primary-600);
|
|
34
|
-
border-right: 0.125rem solid var(--color-primary-600);
|
|
35
|
-
color: #fff;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
top: 0;
|
|
38
|
-
transition: all var(--transition-time);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.tab-label:hover {
|
|
42
|
-
top: -0.25rem;
|
|
43
|
-
transition: top var(--transition-time);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.tab-content {
|
|
47
|
-
height: 12rem;
|
|
48
|
-
position: absolute;
|
|
49
|
-
z-index: 1;
|
|
50
|
-
top: 2.75em;
|
|
51
|
-
left: 0;
|
|
52
|
-
padding: 1.618rem;
|
|
53
|
-
background: #fff;
|
|
54
|
-
color: var(--color-primary-600);
|
|
55
|
-
border-bottom: 0.25rem solid #bdc3c7;
|
|
56
|
-
opacity: 0;
|
|
57
|
-
transition: all var(--transition-time);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.tab-switch:checked + .tab-label {
|
|
61
|
-
background: #fff;
|
|
62
|
-
color: var(--color-primary-600);
|
|
63
|
-
border-bottom: 0;
|
|
64
|
-
border-right: 0.125rem solid #fff;
|
|
65
|
-
transition: all var(--transition-time);
|
|
66
|
-
z-index: 1;
|
|
67
|
-
top: -0.0625rem;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.tab-switch:checked + label + .tab-content {
|
|
71
|
-
z-index: 2;
|
|
72
|
-
opacity: 1;
|
|
73
|
-
transition: all var(--transition-time);
|
|
74
|
-
}
|