fmihel-windeco-components 2.0.0-beta.58 → 2.0.0-beta.59
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 +1 -1
- package/style/utils/screen.scss +20 -0
package/package.json
CHANGED
package/style/utils/screen.scss
CHANGED
|
@@ -2,6 +2,13 @@ $wd-large-width:900px;
|
|
|
2
2
|
$wd-middle-width:700px;
|
|
3
3
|
$wd-small-width:500px;
|
|
4
4
|
|
|
5
|
+
$wd-xs: 0;
|
|
6
|
+
$wd-sm: 576px;//mobile
|
|
7
|
+
$wd-md: 768px;
|
|
8
|
+
$wd-lg: 992px;//compact
|
|
9
|
+
$wd-xl: 1200px;
|
|
10
|
+
$wd-xxl: 1400px;
|
|
11
|
+
|
|
5
12
|
$wd-widths:('small':$wd-small-width,'middle':$wd-middle-width,'large':$wd-small-width);
|
|
6
13
|
|
|
7
14
|
|
|
@@ -117,3 +124,16 @@ $wd-widths:('small':$wd-small-width,'middle':$wd-middle-width,'large':$wd-small-
|
|
|
117
124
|
@error 'not define code for width'+$name;
|
|
118
125
|
}
|
|
119
126
|
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
@mixin less($width){
|
|
130
|
+
@media (min-width:0px) and (max-width:$width){
|
|
131
|
+
@content;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@mixin more($width){
|
|
136
|
+
@media (min-width:$width){
|
|
137
|
+
@content;
|
|
138
|
+
}
|
|
139
|
+
}
|