coer-elements 2.0.35 → 2.0.37

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.
@@ -60,41 +60,31 @@
60
60
  }
61
61
  }
62
62
 
63
+ //flex-grow - flex-shrink
64
+ @for $i from 0 through 12 {
65
+ .#{$breakpoint}flex-grow-#{$i} {
66
+ flex-grow: $i !important;
67
+ }
68
+
69
+ .#{$breakpoint}flex-shrink-#{$i} {
70
+ flex-shrink: $i !important;
71
+ }
72
+ }
63
73
 
64
74
  @for $i from 1 through 100 {
65
- .#{$breakpoint}flex-item-#{$i}px {
66
- flex-grow: 0 !important;
75
+ .#{$breakpoint}flex-basis-#{$i}px {
67
76
  flex-basis: $i * 1px !important;
68
77
  }
69
78
 
70
- .#{$breakpoint}flex-item-#{$i} {
71
- flex-grow: 0 !important;
79
+ .#{$breakpoint}flex-basis-#{$i} {
72
80
  flex-basis: $i * 1% !important;
73
- }
74
-
75
- .#{$breakpoint}flex-item-grow-#{$i}px {
76
- flex-grow: 1 !important;
77
- flex-basis: $i * 1px !important;
78
81
  }
79
-
80
- .#{$breakpoint}flex-item-grow-#{$i} {
81
- flex-grow: 1 !important;
82
- flex-basis: $i * 1% !important;
83
- }
84
82
  }
85
83
 
86
-
87
- .#{$breakpoint}flex-item-150px {
88
- flex-grow: 0 !important;
89
- flex-basis: 150px !important;
90
- }
91
-
92
- .#{$breakpoint}flex-item-grow-150px {
93
- flex-grow: 1 !important;
84
+ .#{$breakpoint}flex-basis-150px {
94
85
  flex-basis: 150px !important;
95
86
  }
96
87
 
97
-
98
88
  @each $key, $value in (
99
89
  'content': content,
100
90
  'fit-content': fit-content,
@@ -102,37 +92,18 @@
102
92
  'max-content': max-content
103
93
  ) {
104
94
 
105
- .#{$breakpoint}flex-item-#{$key} {
106
- flex-grow: 0 !important;
95
+ .#{$breakpoint}flex-basis-#{$key} {
107
96
  flex-basis: $value !important;
108
97
  }
109
-
110
- .#{$breakpoint}flex-item-grow-#{$key} {
111
- flex-grow: 1 !important;
112
- flex-basis: $value !important;
113
- }
114
- }
115
-
98
+ }
116
99
 
117
100
  @for $i from 2 through 10 {
118
- .#{$breakpoint}flex-item-#{$i * 100}px {
119
- flex-grow: 0 !important;
101
+ .#{$breakpoint}flex-basis-#{$i * 100}px {
120
102
  flex-basis: $i * 100px !important;
121
- }
122
-
123
- .#{$breakpoint}flex-item-grow-#{$i * 100}px {
124
- flex-grow: 1 !important;
125
- flex-basis: $i * 100px !important;
126
- }
103
+ }
127
104
 
128
105
  @if($i * 100 + 50 < 1000) {
129
- .#{$breakpoint}flex-item-#{$i * 100 + 50}px {
130
- flex-grow: 0 !important;
131
- flex-basis: $i * 100px + 50px;
132
- }
133
-
134
- .#{$breakpoint}flex-item-grow-#{$i * 100 + 50}px {
135
- flex-grow: 1 !important;
106
+ .#{$breakpoint}flex-basis-#{$i * 100 + 50}px {
136
107
  flex-basis: $i * 100px + 50px;
137
108
  }
138
109
  }