@profitlich/template-toolkit 2.2.4 → 2.3.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
package/scss/core/hamburger.scss
CHANGED
|
@@ -58,11 +58,6 @@
|
|
|
58
58
|
top: 50%;
|
|
59
59
|
margin-top: calc($hamburger-line-width / -2);
|
|
60
60
|
|
|
61
|
-
// transition vor background-color im kompilierten CSS:
|
|
62
|
-
// Setzt transition-Wert *bevor* background-color durch den Multi-Selektor
|
|
63
|
-
// gesetzt wird. Dadurch wird background-color beim allerersten Setzen
|
|
64
|
-
// direkt (ohne Transition) übernommen – erst ab der zweiten Änderung
|
|
65
|
-
// läuft die Transition. Gleiches Verhalten für Element und Pseudoelemente.
|
|
66
61
|
transition:
|
|
67
62
|
transform $hamburger-turn-speed cubic-bezier(0.55, 0.055, 0.675, 0.19),
|
|
68
63
|
background-color $hamburger-color-timing;
|
package/scss/core/layout.scss
CHANGED
|
@@ -195,10 +195,14 @@ $mediaqueries: (
|
|
|
195
195
|
|
|
196
196
|
|
|
197
197
|
// Distance
|
|
198
|
-
@mixin marginPadding($layout, $mode, $position, $top: 0, $right: 0, $bottom: 0, $left: 0) {
|
|
198
|
+
@mixin marginPadding($layout, $mode, $position, $top: 0, $right: 0, $bottom: 0, $left: 0, $important: null) {
|
|
199
199
|
|
|
200
200
|
// @include mode($layout, padding/margin, all/top/right/bottom/left, 0, 0, 0, 0)
|
|
201
201
|
|
|
202
|
+
@if $important == true {
|
|
203
|
+
$important: !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
202
206
|
@if ( map.get(config.$units, $layout) == 'px' ) {
|
|
203
207
|
$top: $top + px;
|
|
204
208
|
$right: $right + px;
|
|
@@ -221,7 +225,7 @@ $mediaqueries: (
|
|
|
221
225
|
}
|
|
222
226
|
|
|
223
227
|
@if $position == all {
|
|
224
|
-
#{$mode}: $top $right $bottom $left;
|
|
228
|
+
#{$mode}: $top $right $bottom $left $important;
|
|
225
229
|
}
|
|
226
230
|
@if $position == top {
|
|
227
231
|
#{$mode}-top: $top;
|