@profitlich/template-toolkit 2.7.2 → 2.7.3
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.js
CHANGED
|
@@ -67,7 +67,7 @@ export class Toolbar {
|
|
|
67
67
|
|
|
68
68
|
#applyState() {
|
|
69
69
|
document.body.setAttribute('data-dev-grid', this.#state.grid);
|
|
70
|
-
document.body.setAttribute('data-dev-content-
|
|
70
|
+
document.body.setAttribute('data-dev-content-types', this.#state.contentType);
|
|
71
71
|
this.#updateImageSize();
|
|
72
72
|
this.#updateContentTypeLabels();
|
|
73
73
|
}
|
package/dev/toolbar/toolbar.scss
CHANGED
|
@@ -13,7 +13,7 @@ $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
|
-
body[data-dev='
|
|
16
|
+
body:not([data-dev-grid='aus']) {
|
|
17
17
|
.dev-toolbar__grid::after {
|
|
18
18
|
// the grid is made through repition
|
|
19
19
|
// 'important' because background settings are more specific than the grid settings
|
|
@@ -25,7 +25,7 @@ $color--dev-grid-center: rgba(0, 0, 0, 0.2);
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
body[data-dev
|
|
28
|
+
body[data-dev-grid="lines"] {
|
|
29
29
|
.dev-toolbar__grid::after {
|
|
30
30
|
background:
|
|
31
31
|
// center of the column spacing
|
|
@@ -38,7 +38,7 @@ $color--dev-grid-center: rgba(0, 0, 0, 0.2);
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
body[data-dev
|
|
41
|
+
body[data-dev-grid="ribbons"] {
|
|
42
42
|
.dev-toolbar__grid::after {
|
|
43
43
|
background:
|
|
44
44
|
// ceft column ribbon
|
|
@@ -111,7 +111,7 @@ picture {
|
|
|
111
111
|
pointer-events: none;
|
|
112
112
|
z-index: 9999999;
|
|
113
113
|
|
|
114
|
-
body[data-dev-content-
|
|
114
|
+
body[data-dev-content-types="true"] & {
|
|
115
115
|
display: block;
|
|
116
116
|
}
|
|
117
117
|
}
|
package/package.json
CHANGED