Browse code

Add home and category_page scopes

Martin Filipovic Hinrichs authored on01/02/2026 13:31:00
Showing4 changed files
... ...
@@ -13,33 +13,4 @@
13 13
 
14 14
 .cms-block {
15 15
   overflow: visible;
16
-}
17
-
18
-
19
-body.is-act-home {
20
-  .cms-block-container-row.row.cms-row > .col-12 {
21
-    padding-left: 0px;
22
-    padding-right: 0px;
23
-  }
24
-
25
-  .container-main {
26
-    padding-top: 0;
27
-
28
-    .cms-block.pos-0 {
29
-      .cms-element-image {
30
-        //margin-inline: calc(-1 * (var(--bs-gutter-x) * .5));
31
-      }
32
-    }
33
-
34
-
35
-    .cms-block-text {
36
-      &:has(h2) {
37
-        text-align: center;
38
-      }
39
-
40
-      h2 {
41
-        //@extend %special-h2;
42
-      }
43
-    }
44
-  }
45 16
 }
46 17
\ No newline at end of file
... ...
@@ -12,6 +12,8 @@
12 12
 @import 'scopes/checkout';
13 13
 @import 'scopes/listing';
14 14
 @import 'scopes/detail-page';
15
+@import 'scopes/category-page';
16
+@import 'scopes/home';
15 17
 
16 18
 @import 'widgets/card';
17 19
 @import 'widgets/navigation';
18 20
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+.is-active-route-frontend-navigation-page .cms-page .cms-section {
2
+  .cms-element-text {
3
+    h2 {
4
+      text-transform: none;
5
+    }
6
+  }
7
+}
0 8
\ No newline at end of file
1 9
new file mode 100644
... ...
@@ -0,0 +1,17 @@
1
+body.is-active-route-frontend-home-page {
2
+  .cms-block-container-row.row.cms-row > .col-12 {
3
+    padding-left: 0px;
4
+    padding-right: 0px;
5
+  }
6
+
7
+  .container-main {
8
+    padding-top: 0;
9
+
10
+
11
+    .cms-block-text {
12
+      &:has(h2) {
13
+        text-align: center;
14
+      }
15
+    }
16
+  }
17
+}
0 18
\ No newline at end of file