8000 feat(theme istex): sous-theme termino by HeleneCreusot · Pull Request #2836 · Inist-CNRS/lodex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

feat(theme istex): sous-theme termino #2836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/custom/themes/istex/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Les paramètres du thème s'insèrent dans
- `matomoID`:
identifiant de suivi du site
- `sousTheme`:
un seul sous-theme existe pour l'instant : "corpus". Permet l'ajout d'une css spécifique
deux sous-themes existent : "corpus" ou "termino". Permet l'ajout d'une css spécifique
- choix des images pour les bannieres listées par leur nom ci-après: "datamining - doigtdossier - doigtecran - femmebureau - femmededos - filet - graph - graphLodex - hommebureau - mainAI - mainreseau - mainspirale - meeting - terre - translation",
`BanniereSimple`: "hommebureau",
`BanniereDouble`: "doigtdossier"
Expand Down
52 changes: 52 additions & 0 deletions src/app/custom/themes/istex/css/termino.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/* css pour corpus scientifiques */
/* by Helene Creusot */
/* juin 2025 */
.header-resource-section {
position: sticky !important;
z-index: 1000;
background-color: white;
top: 42px;
padding: 10px 0 0 15px;
box-shadow:
0px 2px 4px -1px rgba(0, 0, 0, 0.2),
0px 4px 5px 0px rgba(0, 0, 0, 0.14),
0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}
.header-resource-section .property.format_title {
flex-direction: row !important;
flex-wrap: nowrap;
}
.header-resource-section h1 {
font-size: 1.5rem !important;
padding: 0 !important;
}
.main-resource-section > div > div {
gap: 0 !important;
}
.main-resource-section .property {
margin-bottom: 0 !important;
padding: 0 !important;
border-top: 1px solid;
flex-direction: row !important;
flex-wrap: nowrap;
}
.main-resource-section .property > .property_label_container {
flex: 1;
}
.main-resource-section .property > .property_value_container {
flex: 2;
}
.main-resource-section .property > .property_value_container > .MuiBox-root {
padding: 0 !important;
}
.main-resource-section
.property
span.property_label[style*='color: rgb(158, 158, 158)']:not(:empty) {
font-size: 0.9rem !important;
}
.main-resource-section ul {
margin-top: 10px !important;
}
.main-resource-section li span {
font-size: var(--font-size-texte) !important;
}
3 changes: 3 additions & 0 deletions src/app/custom/themes/istex/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
<% if (custom.sousTheme == 'corpus') { %>
<link rel="stylesheet" href="<%= theme.current.href %>/css/corpus.css" />
<% } %>
<% if (custom.sousTheme == 'termino') { %>
<link rel="stylesheet" href="<%= theme.current.href %>/css/termino.css" />
<% } %>
<style><%= theme.cssVariable %>
<% if (custom.BanniereSimple) {%>
/* import config theme banniere simple*/
Expand Down
Loading
0