@profitlich/template-toolkit 2.7.3 → 2.7.4
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/dev/toolbar/toolbar.scss +9 -11
- package/package.json +1 -1
package/dev/toolbar/toolbar.scss
CHANGED
|
@@ -13,16 +13,14 @@ $color--dev-grid-center: rgba(0, 0, 0, 0.2);
|
|
|
13
13
|
$margin-left: size($layout, $margin-left);
|
|
14
14
|
$margin-right: size($layout, $margin-right);
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
width: calc(100% - $margin-right + calc($gutter / 2) - $margin-left + calc($gutter / 2));
|
|
25
|
-
}
|
|
16
|
+
.dev-toolbar__grid::after {
|
|
17
|
+
// the grid is made through repition
|
|
18
|
+
// 'important' because background settings are more specific than the grid settings
|
|
19
|
+
background-size: calc((100% - ($columns * $gutter)) * calc(1 / $columns) + $gutter) 1px !important;
|
|
20
|
+
margin: 0 ($margin-right - calc($gutter / 2)) 0 ($margin-left - calc($gutter / 2));
|
|
21
|
+
// The grid is calculated starting from the middle
|
|
22
|
+
// Thats why its necessary to add the half of the column gap to the left and right side
|
|
23
|
+
width: calc(100% - $margin-right + calc($gutter / 2) - $margin-left + calc($gutter / 2));
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
body[data-dev-grid="lines"] {
|
|
@@ -62,7 +60,7 @@ $color--dev-grid-center: rgba(0, 0, 0, 0.2);
|
|
|
62
60
|
position: fixed;
|
|
63
61
|
top: 0;
|
|
64
62
|
|
|
65
|
-
body[data-dev='
|
|
63
|
+
body:not([data-dev-grid='aus']) & {
|
|
66
64
|
display: block;
|
|
67
65
|
}
|
|
68
66
|
|
package/package.json
CHANGED