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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmihel-windeco-components",
3
- "version": "2.0.0-beta.58",
3
+ "version": "2.0.0-beta.59",
4
4
  "description": "components for orders windeco",
5
5
  "main": "dist/windeco-components.js",
6
6
  "scripts": {
@@ -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
+ }