mod-base 1.0.2 → 1.0.3-beta.2
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
CHANGED
|
@@ -14,9 +14,76 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Show
|
|
17
|
+
* Show an element based on screen size;
|
|
18
|
+
* Hidden class should be added in comibnation with a visible class —
|
|
19
|
+
* Except for .visible-sm-down (this will be our "mobile only" class)
|
|
18
20
|
*/
|
|
19
|
-
|
|
20
|
-
.
|
|
21
|
+
.hidden,
|
|
22
|
+
.visible-sm-up
|
|
23
|
+
.visible-md-up,
|
|
24
|
+
.visible-lg-up,
|
|
25
|
+
.visible-xl-up,
|
|
26
|
+
.visible-xxl-up,
|
|
27
|
+
.visible-sm, /* Add with .hidden class to show for that breakpoint only */
|
|
28
|
+
.visible-md,
|
|
29
|
+
.visible-lg,
|
|
30
|
+
.visible-xl,
|
|
31
|
+
.visible-xxl {
|
|
21
32
|
display: none;
|
|
22
33
|
}
|
|
34
|
+
|
|
35
|
+
.visible-sm-down {
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include breakpoint-sm {
|
|
40
|
+
.visible-sm-up,
|
|
41
|
+
.visible-sm {
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@include breakpoint-md {
|
|
47
|
+
.visible-md-up,
|
|
48
|
+
.visible-md {
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.visible-sm-down,
|
|
53
|
+
.visible-sm {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@include breakpoint-lg {
|
|
59
|
+
.visible-lg-up,
|
|
60
|
+
.visible-lg {
|
|
61
|
+
display: block;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.visible-md {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@include breakpoint-xl {
|
|
70
|
+
.visible-xl-up,
|
|
71
|
+
.visible-xl {
|
|
72
|
+
display: block;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.visible-lg {
|
|
76
|
+
display: none;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@include breakpoint-xxl {
|
|
81
|
+
.visible-xxl-up,
|
|
82
|
+
.visible-xxl {
|
|
83
|
+
display: block;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.visible-xl {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
}
|