@carbon/styles 1.23.0-rc.0 → 1.23.0
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/styles",
|
|
3
3
|
"description": "Styles for the Carbon Design System",
|
|
4
|
-
"version": "1.23.0
|
|
4
|
+
"version": "1.23.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"scss/**/*.css",
|
|
60
60
|
"css/**/*.css"
|
|
61
61
|
],
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "6234f2b1304e340345fff3935342f80a1e36e08e"
|
|
63
63
|
}
|
|
@@ -4,40 +4,30 @@
|
|
|
4
4
|
// Mixins that can be used to hide elements only at specific breakpoints.
|
|
5
5
|
// Helpful for when you would like to hide elements outside of a Grid context
|
|
6
6
|
@mixin hide-at-sm {
|
|
7
|
-
padding: 2rem 1rem;
|
|
8
|
-
background: #8a3ffc;
|
|
9
7
|
@include breakpoint-between('sm', 'md') {
|
|
10
8
|
display: none;
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
@mixin hide-at-md {
|
|
15
|
-
padding: 2rem 1rem;
|
|
16
|
-
background: #4589ff;
|
|
17
13
|
@include breakpoint-between('md', 'lg') {
|
|
18
14
|
display: none;
|
|
19
15
|
}
|
|
20
16
|
}
|
|
21
17
|
|
|
22
18
|
@mixin hide-at-lg {
|
|
23
|
-
padding: 2rem 1rem;
|
|
24
|
-
background: #42be65;
|
|
25
19
|
@include breakpoint-between('lg', 'xlg') {
|
|
26
20
|
display: none;
|
|
27
21
|
}
|
|
28
22
|
}
|
|
29
23
|
|
|
30
24
|
@mixin hide-at-xlg {
|
|
31
|
-
padding: 2rem 1rem;
|
|
32
|
-
background: #f1c21b;
|
|
33
25
|
@include breakpoint-between('xlg', 'max') {
|
|
34
26
|
display: none;
|
|
35
27
|
}
|
|
36
28
|
}
|
|
37
29
|
|
|
38
30
|
@mixin hide-at-max {
|
|
39
|
-
padding: 2rem 1rem;
|
|
40
|
-
background: #da1e28;
|
|
41
31
|
@include breakpoint-up('max') {
|
|
42
32
|
display: none;
|
|
43
33
|
}
|