@imiobe/plonetheme-smartweb-base 0.3.13 → 0.3.15

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
@@ -23,7 +23,7 @@
23
23
  "plone",
24
24
  "smartweb"
25
25
  ],
26
- "version": "0.3.13",
26
+ "version": "0.3.15",
27
27
  "license": "GPL version 2",
28
28
  "scripts": {
29
29
  "stylelint": "npx stylelint 'src/**/*.{css,less}' 'src/**/*.{css,less}",
@@ -137,3 +137,15 @@ figcaption {
137
137
  align-items: center;
138
138
  justify-content: center;
139
139
  }
140
+
141
+ .faceted-results .display-portrait .card-img-top {
142
+ aspect-ratio: 0.7;
143
+ }
144
+
145
+ .faceted-results .display-carre .card-img-top {
146
+ aspect-ratio: 1;
147
+ }
148
+
149
+ .faceted-results .display-paysage .card-img-top {
150
+ aspect-ratio: 1.67;
151
+ }
@@ -68,7 +68,7 @@ $roboto-base-path: "@theme/assets/fonts/";
68
68
  @import "./trucaverif";
69
69
 
70
70
  //// Sections
71
-
71
+ // @import "./sections/se-table-view";
72
72
  @import "./sections/se-textes";
73
73
  @import "./sections/se-contact";
74
74
  @import "./sections/se-file";
@@ -80,6 +80,7 @@ $roboto-base-path: "@theme/assets/fonts/";
80
80
  @import "./sections/se-postit";
81
81
  @import "./sections/se-map";
82
82
  @import "./sections/se-horodatee";
83
+ @import "./sections/se-collection";
83
84
  // Home page
84
85
 
85
86
  @import "./homepage/general-home";
@@ -0,0 +1,37 @@
1
+ .sectioncollection {
2
+ background: $section-link-background-color;
3
+ position: relative;
4
+
5
+ .display-paysage {
6
+ .table_image:not(.no-image) {
7
+ .image.d-block.is-image.w-100 {
8
+ aspect-ratio: 1.67;
9
+ background-size: auto;
10
+ background-repeat: no-repeat;
11
+ margin-bottom: 10px;
12
+ }
13
+ }
14
+ }
15
+
16
+ .display-portrait {
17
+ .table_image:not(.no-image) {
18
+ .image.d-block.is-image.w-100 {
19
+ aspect-ratio: 0.7;
20
+ margin-bottom: 10px;
21
+ }
22
+ }
23
+ }
24
+
25
+ .display-carre {
26
+ .table_image:not(.no-image) {
27
+ .image.d-block.is-image.w-100 {
28
+ aspect-ratio: 1;
29
+ margin-bottom: 10px;
30
+ }
31
+ }
32
+ }
33
+
34
+ li {
35
+ list-style: none;
36
+ }
37
+ }
@@ -20,6 +20,8 @@
20
20
  .table_image:not(.no-image) {
21
21
  .image.d-block.is-image.w-100 {
22
22
  aspect-ratio: 1.67;
23
+ background-size: auto;
24
+ background-repeat: no-repeat;
23
25
  margin-bottom: 10px;
24
26
  }
25
27
  }
@@ -1,4 +1,41 @@
1
1
  .sectionselections {
2
2
  @include section-padding-top;
3
3
  @include section-padding-bottom;
4
+
5
+ .table_title {
6
+ padding: 10px;
7
+ }
8
+
9
+ .display-paysage {
10
+ .table_image:not(.no-image) {
11
+ .image.d-block.is-image.w-100 {
12
+ aspect-ratio: 1.67;
13
+ background-size: auto;
14
+ background-repeat: no-repeat;
15
+ margin-bottom: 10px;
16
+ }
17
+ }
18
+ }
19
+
20
+ .display-portrait {
21
+ .table_image:not(.no-image) {
22
+ .image.d-block.is-image.w-100 {
23
+ aspect-ratio: 0.7;
24
+ margin-bottom: 10px;
25
+ }
26
+ }
27
+ }
28
+
29
+ .display-carre {
30
+ .table_image:not(.no-image) {
31
+ .image.d-block.is-image.w-100 {
32
+ aspect-ratio: 1;
33
+ margin-bottom: 10px;
34
+ }
35
+ }
36
+ }
37
+
38
+ li {
39
+ list-style: none;
40
+ }
4
41
  }
@@ -0,0 +1,21 @@
1
+ .body-section {
2
+ ul {
3
+ li {
4
+ list-style: none;
5
+
6
+ .table_image {
7
+ .image {
8
+ aspect-ratio: 1.6;
9
+ }
10
+
11
+ .table_date {
12
+ padding: $actu-date-padding;
13
+ margin: $actu-date-margin;
14
+ color: $actu-date-color;
15
+ font-size: $actu-date-font-size;
16
+ text-align: $actu-date-align;
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
package/theme.zip CHANGED
Binary file