@imiobe/plonetheme-smartweb-base 0.3.12 → 0.3.14

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/css/theme.css +5 -0
  3. package/dist/fonts/roboto-bold..eot +0 -0
  4. package/dist/fonts/roboto-bold..ttf +0 -0
  5. package/dist/fonts/roboto-bold..woff +0 -0
  6. package/dist/fonts/roboto-bold..woff2 +0 -0
  7. package/dist/fonts/roboto-bolditalic..eot +0 -0
  8. package/dist/fonts/roboto-bolditalic..ttf +0 -0
  9. package/dist/fonts/roboto-bolditalic..woff +0 -0
  10. package/dist/fonts/roboto-bolditalic..woff2 +0 -0
  11. package/dist/fonts/roboto-italic..eot +0 -0
  12. package/dist/fonts/roboto-italic..ttf +0 -0
  13. package/dist/fonts/roboto-italic..woff +0 -0
  14. package/dist/fonts/roboto-italic..woff2 +0 -0
  15. package/dist/fonts/roboto-light..eot +0 -0
  16. package/dist/fonts/roboto-light..ttf +0 -0
  17. package/dist/fonts/roboto-light..woff +0 -0
  18. package/dist/fonts/roboto-light..woff2 +0 -0
  19. package/dist/fonts/roboto-lightitalic..eot +0 -0
  20. package/dist/fonts/roboto-lightitalic..ttf +0 -0
  21. package/dist/fonts/roboto-lightitalic..woff +0 -0
  22. package/dist/fonts/roboto-lightitalic..woff2 +0 -0
  23. package/dist/fonts/roboto-medium..eot +0 -0
  24. package/dist/fonts/roboto-medium..ttf +0 -0
  25. package/dist/fonts/roboto-medium..woff +0 -0
  26. package/dist/fonts/roboto-medium..woff2 +0 -0
  27. package/dist/fonts/roboto-mediumitalic..eot +0 -0
  28. package/dist/fonts/roboto-mediumitalic..ttf +0 -0
  29. package/dist/fonts/roboto-mediumitalic..woff +0 -0
  30. package/dist/fonts/roboto-mediumitalic..woff2 +0 -0
  31. package/dist/fonts/roboto-regular..eot +0 -0
  32. package/dist/fonts/roboto-regular..ttf +0 -0
  33. package/dist/fonts/roboto-regular..woff +0 -0
  34. package/dist/fonts/roboto-regular..woff2 +0 -0
  35. package/dist/fonts/robotocondensed-light..eot +0 -0
  36. package/dist/fonts/robotocondensed-light..ttf +0 -0
  37. package/dist/fonts/robotocondensed-light..woff +0 -0
  38. package/dist/fonts/robotocondensed-light..woff2 +0 -0
  39. package/dist/fonts/robotocondensed-lightitalic..eot +0 -0
  40. package/dist/fonts/robotocondensed-lightitalic..ttf +0 -0
  41. package/dist/fonts/robotocondensed-lightitalic..woff +0 -0
  42. package/dist/fonts/robotocondensed-lightitalic..woff2 +0 -0
  43. package/dist/js/theme.js +1 -2269
  44. package/package.json +1 -1
  45. package/src/scss/_trucaverif.scss +0 -35
  46. package/src/scss/common/_com-faceted.scss +13 -0
  47. package/src/scss/main.scss +2 -1
  48. package/src/scss/sections/_se-collection.scss +37 -0
  49. package/src/scss/sections/_se-link.scss +2 -0
  50. package/src/scss/sections/_se-linked-content.scss +37 -0
  51. package/src/scss/sections/_se-table-view.scss +21 -0
  52. package/theme.zip +0 -0
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "plone",
24
24
  "smartweb"
25
25
  ],
26
- "version": "0.3.12",
26
+ "version": "0.3.14",
27
27
  "license": "GPL version 2",
28
28
  "scripts": {
29
29
  "stylelint": "npx stylelint 'src/**/*.{css,less}' 'src/**/*.{css,less}",
@@ -416,18 +416,6 @@ body#visual-portal-wrapper.userrole-anonymous.portaltype-imio-smartweb-procedure
416
416
  }
417
417
 
418
418
  /* section links */
419
- .portaltype-imio-smartweb-page #content .sectionlinks ul.row,
420
- .portaltype-imio-smartweb-procedure #content .sectionlinks ul.row {
421
- margin-left: 0;
422
- }
423
-
424
- .portaltype-imio-smartweb-procedure #content .sectionlinks .table_display,
425
- .portaltype-imio-smartweb-procedure #content .sectionlinks li.col-md-12,
426
- .portaltype-imio-smartweb-page #content .sectionlinks .table_display,
427
- .portaltype-imio-smartweb-page #content .sectionlinks li.col-md-12 {
428
- max-width: 760px;
429
- margin: 0.5rem auto;
430
- }
431
419
 
432
420
  .portaltype-imio-smartweb-procedure #content .sectionlinks a.table_image,
433
421
  .portaltype-imio-smartweb-page #content .sectionlinks a.table_image {
@@ -575,29 +563,6 @@ body#visual-portal-wrapper.userrole-anonymous.portaltype-imio-smartweb-procedure
575
563
  background-position: top;
576
564
  }
577
565
 
578
- @media screen and (min-width: 1215px) {
579
- div#container-section-temps-dattente-aux-guichets {
580
- margin-top: -12rem !important;
581
- }
582
- }
583
-
584
- @media screen and (min-width: 768px) {
585
- div#container-section-temps-dattente-aux-guichets {
586
- width: 40%;
587
- flex-direction: row !important;
588
- }
589
- }
590
-
591
- div#container-section-temps-dattente-aux-guichets {
592
- margin: 0;
593
- display: flex;
594
- align-items: center;
595
-
596
- /* z-index: -1; */
597
- position: relative;
598
- flex-direction: column;
599
- }
600
-
601
566
  #content-core .sortable-section .collapse:not(.show) {
602
567
  display: none;
603
568
  }
@@ -203,3 +203,16 @@ html #portal-footer-wrapper #portal-footer .show-on-focus.skip-before-footer {
203
203
  .leaflet-container {
204
204
  z-index: 0;
205
205
  }
206
+
207
+ #top---default---widgets {
208
+ #search_widget {
209
+ #search_button {
210
+ font-size: 0;
211
+ border-left: 0;
212
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
213
+ background-repeat: no-repeat;
214
+ background-position: center;
215
+ padding: 0 1.6rem;
216
+ }
217
+ }
218
+ }
@@ -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