@imiobe/plonetheme-smartweb-base 0.3.9 → 0.3.11

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.9",
26
+ "version": "0.3.11",
27
27
  "license": "GPL version 2",
28
28
  "scripts": {
29
29
  "stylelint": "npx stylelint 'src/**/*.{css,less}' 'src/**/*.{css,less}",
@@ -2,12 +2,6 @@
2
2
  padding-left: 0;
3
3
  }
4
4
 
5
- .offcanvas-start {
6
- top: 0;
7
- left: 0;
8
- width: 95% !important;
9
- }
10
-
11
5
  .contact_gallery {
12
6
  img {
13
7
  max-width: 100%;
@@ -245,10 +245,6 @@ textarea {
245
245
  overflow: hidden;
246
246
  }
247
247
 
248
- #content header .lead.rich_description {
249
- max-width: 1024px;
250
- }
251
-
252
248
  .procedure a {
253
249
  background: $primary;
254
250
  padding: 0.75rem;
@@ -44,3 +44,96 @@ figcaption {
44
44
  margin: 1rem auto;
45
45
  padding: 0.2rem;
46
46
  }
47
+
48
+ /* Reset propre */
49
+ .folder-factories {
50
+ list-style: none;
51
+ margin: 0;
52
+ padding: 0;
53
+ display: grid;
54
+ grid-template-columns: repeat(auto-fill, minmax(216px, 2fr));
55
+ gap: 1.25rem;
56
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
57
+ }
58
+
59
+ /* Chaque item */
60
+ .folder-factories li {
61
+ position: relative;
62
+ display: flex;
63
+ flex-direction: column;
64
+ padding: 0.75rem;
65
+ border-radius: 14px;
66
+ background: #fff;
67
+ border: 1px solid #e5e7eb;
68
+ transition: all 0.25s ease;
69
+ height: 100%;
70
+ cursor: pointer;
71
+ }
72
+
73
+ /* On cache le radio natif */
74
+ .folder-factories input[type="radio"] {
75
+ position: absolute;
76
+ opacity: 0%;
77
+ }
78
+
79
+ /* Hover */
80
+ .folder-factories li:hover {
81
+ border-color: #cbd5e1;
82
+ box-shadow: 0 6px 18px rgba(0, 0, 0, 6%);
83
+ transform: translateY(-2px);
84
+ }
85
+
86
+ /* Icône */
87
+ .folder-factories label img {
88
+ display: none;
89
+ }
90
+
91
+ /* Titre */
92
+ .folder-factories label {
93
+ font-weight: 600;
94
+ font-size: 1rem;
95
+ color: #111827;
96
+ }
97
+
98
+ .folder-factories label::before {
99
+ content: "";
100
+ display: block;
101
+ position: absolute;
102
+ left: 0;
103
+ right: 0;
104
+ top: 0;
105
+ bottom: 0;
106
+ }
107
+
108
+ /* Description */
109
+ .folder-factories .discreet {
110
+ display: block;
111
+ font-size: 0.85rem;
112
+ color: #6b7280;
113
+ line-height: 1.4;
114
+ }
115
+
116
+ /* Etat sélectionné */
117
+ .folder-factories input[type="radio"]:checked + li {
118
+ border: 2px solid #2563eb;
119
+ background: #f0f7ff;
120
+ box-shadow: 0 0 0 4px rgba(37, 99, 235, 15%);
121
+ }
122
+
123
+ /* Petit indicateur sélection */
124
+ .folder-factories input[type="radio"]:checked + label::after {
125
+ content: "✓";
126
+ position: absolute;
127
+ top: 14px;
128
+ right: 16px;
129
+ background: #2563eb;
130
+ color: white;
131
+ font-size: 0.75rem;
132
+ font-weight: bold;
133
+ width: 22px;
134
+ height: 22px;
135
+ border-radius: 50%;
136
+ display: flex;
137
+ align-items: center;
138
+ justify-content: center;
139
+ }
@@ -10,7 +10,7 @@
10
10
 
11
11
  &:hover,
12
12
  &:focus {
13
- color: lighten($colofon-color, 20%) !important;
13
+ color: lighten($colofon-color, 20%);
14
14
  }
15
15
  }
16
16
 
@@ -92,3 +92,7 @@ body .r-item-arrow-more {
92
92
  padding-left: 2rem;
93
93
  }
94
94
  }
95
+
96
+ .r-search-highlighter {
97
+ border-bottom: 2px solid $primary !important;
98
+ }
@@ -63,3 +63,9 @@
63
63
  top: 50%;
64
64
  }
65
65
  }
66
+
67
+ .template-search {
68
+ .smartweb_herobanner {
69
+ display: none;
70
+ }
71
+ }
@@ -91,6 +91,10 @@ $roboto-base-path: "@theme/assets/fonts/";
91
91
  @import "./homepage/album";
92
92
  @import "./homepage/newsletter";
93
93
 
94
+ .r-search-item-category {
95
+ display: none !important;
96
+ }
97
+
94
98
  #faceted-map-container {
95
99
  z-index: 0;
96
100
  }
@@ -1,6 +1,5 @@
1
1
  .sectionfiles .section-title {
2
2
  display: flex;
3
- color: #fff;
4
3
  }
5
4
 
6
5
  .sectionfiles {
@@ -1,8 +1,16 @@
1
1
  $row-gap-tamp: 10px;
2
2
 
3
3
  .sectiontimestampedpublications {
4
+ margin-top: 2rem;
5
+ margin-bottom: 2rem;
6
+
7
+ .section-title {
8
+ margin-bottom: 1.5rem;
9
+ }
10
+
4
11
  .row {
5
12
  gap: $row-gap-tamp;
13
+ margin-bottom: 0;
6
14
 
7
15
  @for $i from 1 through 12 {
8
16
  .col-md-#{$i} {
@@ -35,4 +43,29 @@ $row-gap-tamp: 10px;
35
43
  }
36
44
  }
37
45
  }
46
+
47
+ .table_display {
48
+ background: #f1f1f1;
49
+ padding: 30px;
50
+ border-radius: 10px;
51
+ list-style: none;
52
+
53
+ &::marker {
54
+ display: none !important;
55
+ }
56
+
57
+ .table_image {
58
+ text-decoration: none;
59
+ }
60
+
61
+ .table_date {
62
+ font-size: 0.75rem;
63
+ }
64
+
65
+ .table_title {
66
+ font-weight: 700;
67
+ font-size: 1.125rem;
68
+ padding-bottom: 20px;
69
+ }
70
+ }
38
71
  }
@@ -376,7 +376,7 @@ $section-contact-portrait-ration: calc(4 / 5);
376
376
  $section-contact-background: #f3f3f3 !default;
377
377
 
378
378
  // section-files
379
- $section-file-background-color: #b97c7c !default;
379
+ $section-file-background-color: #f8f8f8 !default;
380
380
  $enable-full-width-section-files: false !default;
381
381
  $enable-light-color-section-files: false !default;
382
382
 
package/theme.zip CHANGED
Binary file
@@ -1,30 +1,34 @@
1
1
  #!/usr/bin/env node
2
- const { execSync } = require('child_process');
3
- const fs = require('fs');
4
- const path = require('path');
2
+ const { execSync } = require("child_process");
3
+ const fs = require("fs");
4
+ const path = require("path");
5
5
 
6
6
  const version = process.argv[2];
7
7
  if (!version) {
8
- console.error('Usage: node update-changelog.js <version>');
8
+ console.error("Usage: node update-changelog.js <version>");
9
9
  process.exit(1);
10
10
  }
11
11
 
12
- const date = new Date().toISOString().split('T')[0];
13
- const repoUrl = 'https://github.com/IMIO/imio_smartweb_themes';
12
+ const date = new Date().toISOString().split("T")[0];
13
+ const repoUrl = "https://github.com/IMIO/imio_smartweb_themes";
14
14
 
15
15
  // Previous tag (before new one is created)
16
16
  let prevTag;
17
17
  try {
18
- prevTag = execSync('git describe --tags --abbrev=0', { encoding: 'utf8' }).trim();
18
+ prevTag = execSync("git describe --tags --abbrev=0", {
19
+ encoding: "utf8",
20
+ }).trim();
19
21
  } catch (e) {
20
22
  prevTag = null;
21
23
  }
22
24
 
23
25
  // Commits touching current directory (base/) since previous tag
24
- let commits = '';
26
+ let commits = "";
25
27
  try {
26
- const range = prevTag ? `${prevTag}...HEAD` : 'HEAD';
27
- commits = execSync(`git log --pretty=format:"* %s (%h)" ${range} -- .`, { encoding: 'utf8' }).trim();
28
+ const range = prevTag ? `${prevTag}...HEAD` : "HEAD";
29
+ commits = execSync(`git log --pretty=format:"* %s (%h)" ${range} -- .`, {
30
+ encoding: "utf8",
31
+ }).trim();
28
32
  } catch (e) {
29
33
  // no commits
30
34
  }
@@ -39,13 +43,13 @@ const newEntry = commits
39
43
  : `## [${version}](${compareUrl}) (${date})`;
40
44
 
41
45
  // Prepend to CHANGELOG.md
42
- const infile = path.join(__dirname, 'CHANGELOG.md');
43
- let existing = '';
46
+ const infile = path.join(__dirname, "CHANGELOG.md");
47
+ let existing = "";
44
48
  try {
45
- existing = fs.readFileSync(infile, 'utf8').trim();
49
+ existing = fs.readFileSync(infile, "utf8").trim();
46
50
  } catch (e) {
47
51
  // file doesn't exist yet
48
52
  }
49
53
 
50
- fs.writeFileSync(infile, newEntry + (existing ? '\n\n' + existing : '') + '\n');
54
+ fs.writeFileSync(infile, newEntry + (existing ? "\n\n" + existing : "") + "\n");
51
55
  console.log(`CHANGELOG.md updated for v${version}`);