diff --git a/themes/default/css/custom.css b/themes/default/css/custom.css index f57b172..5030f67 100644 --- a/themes/default/css/custom.css +++ b/themes/default/css/custom.css @@ -1,2168 +1,1912 @@ -/*Stage 2019 css générique ccjcorea omeka-c Jérémie Hoarau - -couleurs utilisées: - ---mainColor: #006dac;(bleu des liens , titres et bandeau titre) ---darkMainColor: #005c9e;(pour les hover) ---lightbeige: #fafafa ;(footer et navbar) ---darkgray: #333; (pour les placeholder) ---buttongray: #666; (pour les boutons type loupe) - --black; (pour forcer à mettre en noir ex: dans le solr facet ou la navbar) --lightgray; (background color) --blanc: white; (bandeau titre, background de blocs) - --orange: orange; (liens de navigation) -*/ - -@font-face { - font-family: 'Questrial'; - font-style: normal; - font-weight: 400; - src: local('Questrial'), local('Questrial-Regular'), url(fonts/questrial-v9-latin-regular.woff) format('woff'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans-Regular'), url(fonts/open-sans-v16-latin-regular.woff) format('woff'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +@font-face{ + font-family: 'Questrial'; + font-style: normal; + font-weight: 400; + src: local('Questrial'), local('Questrial-Regular'), url(fonts/questrial-v9-latin-regular.woff) format('woff'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } -/* ____________________________________________________________________________ - RÉGLAGES GÉNÉRAUX - ____________________________________________________________________________ -*/ +@font-face{ + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + src: local('Open Sans'), local('OpenSans-Regular'), url(fonts/open-sans-v16-latin-regular.woff) format('woff'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +:root{ + --mainColor: #006dac; + --lightbeige: #fafafa; + --darkMainColor: #005c9e; + --darkgray: #333; + --buttongray: #666; +} -:root { - --mainColor: #006dac; - --lightbeige: #fafafa; - --darkMainColor: #005c9e; - --darkgray: #333; - --buttongray: #666; +*, input, .button, button, input[type="reset"], input[type="submit"], input[type="button"]{ + font-family: 'Open Sans', sans-serif; } -*, input, .button, button, input[type="reset"], input[type="submit"], input[type="button"] { - font-family: 'Open Sans', sans-serif; + +body{ + font-family: 'Open Sans', sans-serif; + min-width: 340px; } -/* pour annuler font de la css style */ -body { - font-family: 'Open Sans', sans-serif; -} + textarea, select, input[type='date'], input[type='datetime'], input[type='datetime-local'], input[type='email'], input[type='month'], input[type='number'], input[type='password'], input[type='search'], input[type='tel'], input[type='text'], input[type='time'], input[type='url'], input[type='week']{ - font-family: 'Open Sans', sans-serif; -} -/* pour Edge*/ -/*::placeholder { - font-family: 'Open Sans', sans-serif; -}*/ -::-ms-input-placeholder { - font-family: 'Open Sans', sans-serif; -} -/* fin de edge */ -h1, .h1, h2, .h2{ - font-variant: small-caps; - font-weight: normal; + font-family: 'Open Sans', sans-serif; } -/*placeholder*/ -::placeholder, ::-ms-input-placeholder { - font-style: italic; -} -::-ms-input-placeholder { - font-style: italic; +::-ms-input-placeholder{ + font-family: 'Open Sans', sans-serif; } -#search-container #search-form #query::placeholder, -#content #advanced-search-form input::placeholder, -#search_block #search-keywords #keyword-search::placeholder { - color: var(--darkgray); +h1, .h1, h2, .h2, .hasH2{ + font-variant: small-caps; + font-weight: normal; } -/*cache l'arbre de navigation*/ -.breadcrumb { - display: none; +::placeholder, ::-ms-input-placeholder{ + font-style: italic; } -/* enleve la bordure pointillée des liens sur toutes les pages */ -a { - border: 0; +::-ms-input-placeholder{ + font-style: italic; } -/*grossi les liens au survol*/ -a:hover { - text-decoration: underline; +#search-container #search-form #query::placeholder, #content #advanced-search-form input::placeholder, #search_block #search-keywords #keyword-search::placeholder{ + color: var(--darkgray); } -body a:visited { - color: var(--mainColor); +a{ + border: 0; } -/* force la hauteur du bloc principal */ -#wrap { - min-height: 100vh; - min-width: 99vw; +a:hover{ + text-decoration: underline; } -/*disposition contenu sur la page home*/ -#home #content { - display: flex; - align-items: flex-start; - flex-flow: row wrap; - width: 100%; - height: 100%; - border-radius: 10px; - padding-top: 1em; +body a:visited{ + color: var(--mainColor); } -/* retire le contour quand on clique sur l'élément */ -#content:focus { - outline: 0; +ul.navigation a, footer .links a{ + text-decoration: none; } -/* retire le sous-lignage des liens */ -ul.navigation a, footer .links a { - text-decoration: none; +/* header */ +header{ + display: flex; + flex-flow: row nowrap; + border: 0; + margin: 0 auto; + padding: 0 1em 0 1em; + justify-content: flex-end; + align-items: center; } -#content ol { - width: 100%; - text-align: center; - margin: 0; - padding: 0; +#site-title{ + display: flex; + z-index: 10; + align-items: center; + justify-content: left; + margin: 0 auto; + padding: 0; + min-width: 10rem; + flex:1; } -/* ____________________________________________________________________________ - HEADER - ____________________________________________________________________________ -*/ -header { - display: flex; - flex-flow: row wrap; - height: 100%; - border: 0; - margin: 0 auto; - padding: 0 1em 0 1em; +#site-title a img{ + padding: 1rem; + max-width: 100%; } -/* _____________________________ Logo principal ______________________________*/ -#site-title { - display: flex; - width: 60%; - z-index: 10; - bottom: 5px; - padding: 0.5em 0 0.3em 0; - align-items: center; +#site-title a img:hover{ + border-radius: 10px; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); } -#site-title a img:hover { - border-radius: 10px; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +header .header-icons{ + display: flex; + flex: 1; + flex-direction: row-reverse; + align-items: center; + justify-content: center; + margin: 1rem; + max-width: max-content; } -/*________________ Icones de connexion,flux et réseau social _________________*/ -i { - font-family: "Font Awesome 5 Free"; - font-size: 2em; - margin: 0 0.2em; - font-weight: 900; +header .header-icons a{ + box-sizing: border-box; + text-decoration: none; } + +header .header-icons i:hover{ + filter: drop-shadow(2px 3px 2px gray); +} + +i{ + font-family: "Font Awesome 5 Free"; + font-size: 2em; + margin: 0 0.2em; + font-weight: 900; +} + i.fas.fa-external-link-alt{ - font-size: 1em; -} -#user-icon::before { - color: var(--mainColor); + font-size: 1em; } -#user-icon:hover { - color: orange; +#user-icon::before{ + color: var(--mainColor); } -#rss-icon::before { - color: orange; +#user-icon:hover{ + color: var(--mainColor); } -#rss-icon:hover { - color: var(--mainColor); +#rss-icon::before{ + color: var(--mainColor); } -#share-icon::before { - font-style: normal; - color: var(--mainColor); +#rss-icon:hover{ + color: var(--mainColor); } -#share-icon:hover { - color: orange; +#share-icon{ + cursor: pointer; } -header .header-icons { - display: flex; - flex: 1; - flex-direction: row-reverse; - align-items: center; - right: 0; - top: 2em; +#share-icon::before{ + font-style: normal; + color: var(--mainColor); } -header .header-icons a { - box-sizing: border-box; - text-decoration: none; +#share-icon:hover{ + color: orange; } -header .header-icons i:hover { - transform: scale(1.1); - filter: drop-shadow(2px 3px 2px gray); +header #shareMenu{ + background-color: var(--lightbeige); + z-index: 1002; + position: absolute; + top: 75px; + right: 10px; + display: none; + overflow: hidden; + max-width: 220px; + height: auto; + border-radius: 10px; + padding: 0.5em; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); } -/*____________________________ Menu de partage _______________________________*/ -header .shareMenu { - background-color: var(--lightbeige); - z-index: 1002; - position: absolute; - top: 75px; - right: 10px; - display: none; - overflow: hidden; - max-width: 220px; - height: auto; - border-radius: 10px; - padding: 0.5em; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); -} -header .shareMenu h4 { - text-align: center; - color: black; -} -header .shareMenu a, header .shareMenu div { - display: flex; - flex-direction: row; - justify-content: left; - align-items: center; - height: auto; - width: 200px; - margin-bottom: 5px; - background-color: lightgray; - box-shadow: 1px 1px 1px black; - border-radius: 10px; - padding: 5px; - text-decoration: none; - cursor: pointer; -} -header .shareMenu a:hover, header .shareMenu div:hover { - transform: scale(1.03); -} -header .shareMenu h5 { - margin: 0; - font-size: 13px; - font-weight: bold; - font-style: normal; - color: var(--darkgray); - text-align: center; - width: 100%; +header #shareMenu h4{ + text-align: center; + color: black; } -header .shareMenu img { - width: auto; - max-width: 50px; - height: auto; - max-height: 1.5em; +header #shareMenu a{ + display: flex; + flex-direction: row; + justify-content: left; + align-items: center; + height: auto; + width: 200px; + margin-bottom: 5px; + background-color: lightgray; + box-shadow: 1px 1px 1px black; + border-radius: 10px; + padding: 5px; + text-decoration: none; + cursor: pointer; } -/* ___________________________ Barre de recherche ___________________________*/ -/*arrondi els angles de la barre de recherche(gauche)*/ -#search-container input#query { - border-radius: 15px; - margin: 0; +header #shareMenu h5{ + margin: 0; + font-size: 13px; + font-weight: bold; + font-style: normal; + color: var(--darkgray); + text-align: center; + width: 100%; } -#search-container input#query::placeholder { - color: var(--darkgray); +header .shareMenu img{ + width: auto; + max-width: 50px; + height: auto; + max-height: 1.5em; } -/*arrondi els angles du bouton de recherche(droite)*/ -#search-container button { - display: flex; - justify-content: center; - border-radius: 0 15px 15px 0; - background-color: var(--buttongray); - border: solid 1px var(--buttongray); - height: 30px; - width: 50px; /*correctif du bug natif de stylesheet de hauteur du bouton*/ +#search-container{ + flex: 3; + margin: 1rem; + text-align: right; } -#search-container button::after { - text-indent: 16px; +#search-container input#query{ + border-radius: 15px; + margin: 0; + width:28rem; } -#search-container { - width: 30em; - margin: auto 0; +#search-container input#query::placeholder{ + color: var(--darkgray); } -#search-form { - margin: 0; +#search-container button{ + display: flex; + justify-content: center; + border-radius: 0 15px 15px 0; + background-color: var(--buttongray); + border: solid 1px var(--buttongray); + height: 30px; + width: 50px; } -/*empeche le grossisement des "..." de la barre de recherche */ -#search-form > a.show-advanced.button:hover { - transform: none; +#search-container button::after{ + text-indent: 16px; } -#advanced-form { - border-radius: 0 0 10px 10px; - border-top: none; - top: 30px; +#search-form{ + margin: 0; } -/*___________________________ Navbar en ligne ________________________________*/ -#primary-nav { - display: flex; - justify-content: center; - align-items: center; - margin: 0; - width: 100%; +#search-form > a.show-advanced.button:hover{ + transform: none; } -#primary-nav .navigation { - background-color: var(--lightbeige); +#advanced-form{ + border-radius: 0 0 10px 10px; + border-top: none; + top: 30px; } -#primary-nav ul.navigation.nav-menu { - display: flex; - flex-flow: row wrap; - justify-content: center; - align-items: center; - width: 100%; - min-height: 3em; - height: auto; - font-size: 1em; - border: 0; - background-color: var(--lightbeige); - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +#bandeauTitre{ + display: flex; + flex-direction: row; + flex-wrap: wrap; + align-items: center; + background-color: var(--mainColor); + height: 2.2em; + width: 100%; + margin: 0; + padding: 0; } -#primary-nav ul.navigation * { - width: max-content; +#bandeauTitre h1{ + font-family: 'Questrial', sans-serif; + font-size: 1.8em; + font-weight: normal; + font-variant: unset; } -#primary-nav ul.navigation li a:before { - display: none; +#titre1{ + display: flex; + align-items: center; + text-align: center; + margin: 0 auto; + height: 100%; } -body #primary-nav ul.navigation.nav-menu li, -body #primary-nav ul.navigation.nav-menu li a, -#primary-nav ul.navigation.nav-menu li.nav-item { - background-color: transparent; +#bandeauTitre #titre1 h1{ + margin: 0; + color: white; } -#primary-nav ul.navigation.nav-menu li.nav-item { - display: flex; - align-items: center; - vertical-align: top; - height: 100%; - width: auto; - margin: 0; +#et{ + margin: 0 0.2em; + line-height: 0.6; + font-size: 1.8em; + text-shadow: -2px 4px 1px white; + color: var(--mainColor); } -#wrap .items-nav.navigation.secondary-nav .navigation li.active a { - color: orange; +#titre2{ + display: flex; + justify-content: center; + align-items: center; + margin: 0 auto; + height: 100%; } -/* ____________________________________________________________________________ - BANDEAU TITRE PERSONNALISÉ - ____________________________________________________________________________ -*/ -#bandeauTitre { - display: flex; - flex-direction: row; - flex-wrap: wrap; - align-items: center; - background-color: var(--mainColor); - height: 2.2em; - width: 100%; - margin: 0; - padding: 0; +#bandeauTitre #titre2 h1{ + height: 100%; + display: flex; + align-items: center; + text-align: center; + margin: 0; + background-color: white; + color: var(--mainColor); + padding: 0 0.5em; + border-left: 2px solid #aae1fa; + border-right: 2px solid #aae1fa; } -/*Correspond au titre dans la partie de gauche (zone bleu écriture blanche)*/ -#titre1 { - display: flex; - align-items: center; - text-align: center; - margin: 0 auto; - height: 100%; +#primary-nav{ + margin: 0; + width: 100%; } -#bandeauTitre #titre1 h1 { - font-family: 'Questrial', sans-serif; - font-size: 1.8em; - font-weight: normal; - margin: 0; - color: white; - font-variant: unset; +#primary-nav ul.navigation.nav-menu{ + display: flex; + flex-flow: row wrap; + justify-content: center; + align-items: center; + width: 100%; + min-height: 3em; + height: auto; + font-size: 1em; + border: 0; + background-color: var(--lightbeige); + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); } -/*ajustement de la span pour l'esperluette entre Corpus et Ressources*/ -#et { - margin: 0 0.2em; - line-height: 0.6; - font-size: 1.8em; - text-shadow: -2px 4px 1px white; - color: var(--mainColor); +#primary-nav ul.navigation *{ + width: max-content; } -/*Correspond au titre dans la partie de droite (zone blanche écriture bleue)*/ -#titre2 { - display: flex; - justify-content: center; - align-items: center; - margin: 0 auto; - height: 100%; +#primary-nav ul.navigation.nav-menu li, #primary-nav ul.navigation.nav-menu li a{ + background-color: transparent; } -#bandeauTitre #titre2 h1 { - height: 100%; - display: flex; - align-items: center; - font-family: 'Questrial', sans-serif; - font-size: 1.8em; - font-variant: unset; - font-weight: normal; - text-align: center; - margin: 0; - background-color: white; - color: var(--mainColor); - padding: 0 0.5em; - border-left: 2px solid #aae1fa; - border-right: 2px solid #aae1fa; +#primary-nav ul.navigation.nav-menu li.nav-item{ + display: flex; + align-items: center; + vertical-align: top; + height: 100%; + width: auto; + margin: 0; } -/* ____________________________________________________________________________ - WRAP - ____________________________________________________________________________ -*/ -/* ___________________________ Barre de navigation __________________________*/ -/* rend orange les mots lors du survol ou quand actif*/ -#primary-nav ul.navigation.nav-menu li.nav-item a:hover, -#primary-nav ul.navigation.nav-menu a img:hover { - transform: scale(1.09); - color: orange; +#primary-nav ul.navigation.nav-menu li.nav-item.active a, #primary-nav ul.navigation.nav-menu li.nav-item a:hover, #primary-nav ul.navigation.nav-menu a img:hover{ + color: orange; } -#primary-nav ul.navigation.nav-menu li.nav-item.active a { - color: orange; - background-color: transparent; +#primary-nav ul.navigation > li a{ + border: none; + display: block; } -/*corrige le bug de la maison qui se déplace*/ -#primary-nav ul.navigation.nav-menu a.nav-item { - display: flex; - height: 32px; - width: 32px; - transform: translateX(10px); +#primary-nav ul.navigation.nav-menu li.nav-item a{ + text-align: center; + width: 100%; + word-break: keep-all; + margin: 0 auto; + padding: 0 1em; + border: 0; + color: black; + background-color: var(--lightbeige); + font-weight: bold; } -/*ajuste le positionnement des liens*/ -#primary-nav ul.navigation.nav-menu li.nav-item a { - text-align: center; - width: 100%; - word-break: keep-all; - margin: 0 auto; - padding: 0 1em; - background-color: transparent; +#primary-nav ul.navigation.nav-menu li.nav-item:not(:last-of-type) a{ + border-right: 1px solid lightgray; } -#primary-nav ul.navigation.nav-menu li.nav-item:not(:last-of-type) a { - border-right: 1px solid lightgray; +#primary-nav ul.navigation > li a:before{ + content: ""; } -#primary-nav ul.navigation.nav-menu li a { - border: 0; - color: black; - background-color: var(--lightbeige); - padding: 0; - font-weight: bold; +.menu-button.button{ + background-color: #404040; + width: 100%; + text-indent: 1em; + margin: 0; } -/* enleve le symbole fleche devant les items du menu */ -#primary-nav ul.navigation > li a:before { - content: ""; +#wrap{ + min-height: 100vh; + min-width: 99vw; } -.menu-button.button { - background-color: #404040; - width: 100%; - text-indent: 1em; - margin: 0; +#home #wrap{ + min-width: 0; + width: 100%; + padding: 0; } -/* ________________________________ -* page items/show/ -*/ -.item.show #wrap { - display: flex; - flex-flow: row wrap; - align-items: start; +#content{ + float: none; + display: flex; + flex-direction: row; + flex-wrap: wrap; + padding: 2em; + margin: 0 auto; + width: 80%; + min-height: 53vh; } -.item.show #wrap #content { - display: block; - min-height: max-content; - flex-flow: row wrap; - flex-basis: 50%; - align-items: start; - height: max-content; - min-width: 19em; - margin: 2em auto; - border-radius: 10px; - background-color: white; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +#home #content{ + width: 90%; + padding: 0; } -.item.show #collection .element-text p { - margin: 0; +#content h1{ + text-align: center; + flex-basis: 100%; } -.item.show #dublin-core-creator .element-text a { - text-decoration: none; +#content .items-nav.navigation.secondary-nav{ + width: 100%; } -.item.show #wrap #content h1 { - text-align: left; +#content .items-nav.navigation.secondary-nav .navigation li.active a{ + color: orange; } + +#content .pagination-nav{ + flex-basis: 100%; +} + +#content .pagination-nav .pagination{ + display:flex; + justify-content: flex-end; + width: 100%; +} + +#content #sort-links .sort-label, #content #sort-links #sort-links-list{ + margin: 0; + padding: 0; +} + +#content #sort-links{ + height: 3em; + margin-bottom: 1em; +} + +#content:focus{ + outline: 0; +} + +#home #content{ + align-items: flex-start; +} + +#home #primary{ + float: none; + display: flex; + flex-flow: column wrap; + flex-basis: calc(2 * (100% / 3)); + justify-content: center; + align-items: center; + height: max-content; + margin: 4em auto; + padding: 0; +} + +@keyframes slidy{ + 0% {left: 0%;} + 20%{left: 0%;} + 25%{left: -100%;} + 45%{left: -100%;} + 50%{left: -200%;} + 70%{left: -200%;} + 75%{left: -100%;} + 95%{left: -100%;} + 100%{left: 0%;} +} + +.slider{ + width: 90%; + min-width: 15rem; + overflow: hidden; + border-radius: 5px; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +} + +.slider div img{ + width: calc(100% / 3); + float: left; +} + +.slider div{ + position: relative; + width: 300%; + margin: 0; + left: 0; + text-align: left; + font-size: 0; + animation: 30s slidy infinite; +} + +#primary .imgune{ + display: flex; + text-align: center; + align-items: center; + max-width: 100%; + padding-top: 2em; + flex-direction: column; + border-radius: 10px; +} + +#primary .imgune .titre{ + display: flex; + align-items: center; + justify-content: center; + color: white; + width: 100%; + height: 2em; + background-color: rgba(88, 89, 86, .9); + border-radius: 0 0 10px 10px; + transform: translateY(-2em); +} + +#primary .imgune img{ + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); + border-radius: 10px; + width: 100%; +} + +#primary p{ + text-align: justify; +} + +#home .collections{ + display: flex; + flex-flow: row wrap; + flex-basis: 95%; + margin: 0; +} + +#home .collections h2{ + width: 100%; + margin: 1em auto; + text-align: center; + font-variant: small-caps; + font-weight: normal; + border-bottom: 1px solid var(--mainColor); +} + +#home .collections a{ + display: flex; + justify-content: center; + align-items: center;flex-basis: 30%; + min-width: 16rem; + min-height: 16rem; + margin: 0.6em auto; + background-size: cover; + background-repeat: no-repeat; + text-align: center; + border-radius: 5px; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +} + +#home .collections a span{ + padding: 5px; + font-size: 1.15em; + word-break: keep-all; + background-color: var(--mainColor); + color: white; + width: 100%; +} + +#home #secondary{ + float: none; + flex-basis: calc(100% / 3); + display: flex; + flex-flow: row wrap; + justify-content: center; + margin-top: 2em; + padding: 0; +} + +#home #content #secondary #featured-collection, #home #content #secondary #featured-exhibit, #home #content #secondary #featured-item, #home #content #secondary #recent-items{ + float: none; + display: flex; + flex-flow: row wrap; + align-items: center; + justify-content: center; + text-align: center; + margin: 1em 0; + min-width: 19em; + max-width: 100%; + flex: 1; + width: 100%; + height: 100%; + background-color: transparent; + padding: 0; +} + +#home #content #secondary #featured-collection .collection.record, #home #content #secondary #featured-exhibit .exhibit.record, #home #secondary #featured-item .item.record, #home #secondary #recent-items .item.record{ + display: flex; + flex-direction: column; + flex-wrap: nowrap; + align-items: center; + text-align: center; + margin: 1em auto; + padding: 1em; + min-width: 17.5em; + min-height: 20em; + width: 100%; + background-color: white; + border-radius: 5px; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +} + +#home #content #secondary #featured-collection .collection.record p, #home #content #secondary #featured-exhibit .exhibit.record p, #home #secondary #featured-item .item.record p, #home #secondary #recent-items .item.record p{ + margin: 1.5em; + font-size: 0.9em; + text-align: justify; +} + +#home #content #secondary #featured-collection h2, #home #content #secondary #featured-exhibit h2, #home #secondary #featured-item h2, #home #secondary #recent-items h2{ + font-variant: small-caps; + font-weight: normal; + margin-top: 0; + width: 80%; + border-bottom: 1px solid var(--mainColor); +} + +#home #content #secondary #featured-collection h3, #home #content #secondary #featured-exhibit h3, #home #content #secondary #featured-item h3, #home #content #secondary #recent-items h3{ + align-self: stretch; + margin-bottom: 2em; + text-align: center; + font-size: 1em; +} + +#home #content #secondary #featured-collection h3:hover, #home #content #secondary #featured-exhibit h3:hover, #home #content #secondary #featured-item h3:hover, #home #content #secondary #recent-items h3:hover{ + text-decoration: underline; +} + +#home #content #secondary #featured-collection h3 a, #home #content #secondary #featured-exhibit h3 a, #home #content #secondary #featured-item h3 a, #home #content #secondary #recent-items h3 a{ + font-weight: normal; + text-decoration: none; +} + +#home #content #secondary #featured-collection .image, #home #content #secondary #featured-exhibit .image, #home #content #secondary #featured-item .image, #home #content #secondary #recent-items .image{ + text-align: center; + margin: 0; + width: 80%; + height: auto; + box-shadow: none; +} + +#home #content #secondary #featured-collection img, #home #content #secondary #featured-exhibit img, #home #content #secondary #featured-item img, #home #content #secondary #recent-items img{ + width: 80%; + height: auto; + border-radius: 5px; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +} + +#home #secondary #recent-items .item.record{ + display: flex; + flex-direction: row; + min-height: 0; +} + +#home #secondary #recent-items .item.record > *{ + flex: 1; +} + +#home #secondary #recent-items .item.record a{ + max-width: 100px; + max-height: 100px; +} + +#home #content #secondary #recent-items .item.record h3{ + margin-bottom: 0; +} + +#recent-items .view-items-link{ + min-width: 17.5em; + margin: 1em auto; +} + +#content .exhibit.even{ + padding: 1em; +} + +#content .exhibit.even .description p{ + text-align: justify; +} + +/* page item */ +.item.show #wrap{ + display: flex; + flex-flow: row wrap; + align-items: start; +} + +.item.show #wrap #content{ + flex-basis: 40%; + min-height: max-content; + justify-content: center; + align-items: start; + height: max-content; + min-width: 19em; + margin: 2em auto; + border-radius: 10px; + background-color: white; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +} + +.item.show .element h3::after, .item.show .element h2::after{ + content: "\0000a0:\0000a0"; +} + +.item.show #collection .element-text p{ + margin: 0; +} + +.item.show #dublin-core-creator .element-text a{ + text-decoration: none; +} + +.item.show #wrap #content h1{ + text-align: left; +} + .item.show #titre-pactols{ - font-weight: bold; -} -.item.show #wrap #content h2:first-of-type, -#item-citation { - flex-basis: 100%; - margin: 1em 0; - padding-top: 1em; - border-top: dotted lightgray; - border-top-width: 0.3em; + font-weight: bold; } -.item.show nav { - margin-top: 2em; +.item.show #wrap #content h2:first-of-type, #item-citation{ + flex-basis: 100%; + margin: 1em 0; + padding-top: 1em; + border-top: dotted lightgray; + border-top-width: 0.3em; } -.item.show #item-images { - display: flex; - flex-flow: row wrap; - justify-content: start; - flex-wrap: wrap; - height: 10em; - margin-bottom: 1em; +.item.show nav{ + margin-top: 2em; } + +.item.show #item-images{ + display: flex; + flex-flow: row wrap; + justify-content: start; + flex-wrap: wrap; + height: 10em; + margin-bottom: 1em; +} + .item.show #item-images > div{ - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} -.item.show #item-images > div a { - margin: 0; - height: auto; - -} -.item.show #item-images > div a:last-child { - color:white; - width:87%; - padding: 0.5em; - border-radius: 0 0 8px 8px; - background-color: var(--buttongray); + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; } -.item.show #item-images > div a:hover { +.item.show #item-images > div a{ + margin: 0; + height: auto; } -.item.show #item-images > div a img { - width: 7em; - margin: 0.5em 0.5em 0; +.item.show #item-images > div a:last-child{ + color:white; + width:87%; + padding: 0.5em; + border-radius: 0 0 8px 8px; + background-color: var(--buttongray); } -.item.show #item-images > div a img:hover { - transform: scale(1.05); - cursor: pointer; +.item.show #item-images > div a img{ + width: 7em; + margin: 0.5em 0.5em 0; } -.item.show #itemfiles h3 > div { - margin-top: 0.5em; +.item.show #item-images > div a img:hover{ + cursor: pointer; } -#fichiers { - width: 80%; - padding-top: 1em; +.item.show #itemfiles h3 > div{ + margin-top: 0.5em; } - -.element-set { - display: flex; - flex-flow: row wrap; - width: 100%; +#fichiers{ + width: 80%; + padding-top: 1em; } -/* justification du texte abstracts */ -#pactols-item-type-metadata-pactols-sujets .element-text { - width: 33%; +.element-set{ + display: flex; + flex-flow: row wrap; + width: 100%; } -#pactols-item-type-metadata-pactols-sujets h3 { - flex-basis: 100%; +#pactols-item-type-metadata-pactols-sujets .element-text{ + width: 33%; } -.element-set .element h3, .element-set .element-text { - display: inline-flex; - margin: 0; - margin-bottom: 0.5em; +#pactols-item-type-metadata-pactols-sujets h3{ + flex-basis: 100%; } -.element-set .element h3 { +.element-set .element h3, .element-set .element-text{ + display: inline-flex; + margin: 0; + margin-bottom: 0.5em; } -#dublin-core-format .element-text { + +#dublin-core-format .element-text{ display:block; margin-left: 31%; } -.item.show h3, .item.show h2 { - font-size: 16px; - line-height: 20px; - height: max-content; - margin: 0; + +.item.show h3, .item.show h2{ + font-size: 16px; + line-height: 20px; + height: max-content; + margin: 0; } -.element { - width: 100%; +.element{ + width: 100%; } -/* mettre un point-virgule entre les champs en ligne */ -.item.show .element-set > div > .element-text > *:after { - content: ""; +.item.show .element-set > div > .element-text > *:after{ + content: ""; } -/* enlève le point virgule sur le dernier élément des champs en ligne */ -.item.show .element-set > div > .element-text:last-of-type > *:after { - content: ""; +.item.show .element-set > div > .element-text:last-of-type > *:after{ + content: ""; +} +.element-text a:hover{ + font-weight: bold; + color: var(--darkMainColor); } -.element-text a:hover { - font-weight: bold; - color: var(--darkMainColor); +body.items.tags #wrap #content p{ + width: 100%; + text-align: center; } -body.items.tags #wrap #content p { - width: 100%; - text-align: center; +#dublin-core-subject :not(:first-child):not(:last-child)::after{ + content: ";"; } -#dublin-core-subject :not(:first-child):not(:last-child)::after { - content: ";"; +#rightDiv{ + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + flex-basis: 40%; + text-align: center; + margin: 2em auto; + padding: 1.5em 0.5em; + min-width: 19em; + width: auto; + height: auto; + border-radius: 10px; + background-color: white; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); } -#rightDiv { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - flex-basis: 40%; - text-align: center; - margin: 2em auto; - padding: 1.5em 0.5em; - min-width: 19em; - width: auto; - height: auto; - border-radius: 10px; - background-color: white; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +#rightDiv ol{ + margin: 0.5em auto; + padding: 0 2em; + text-align: left; + word-break: break-all; } -#rightDiv ol { - margin: 0.5em auto; - padding: 0 2em; - text-align: left; - word-break: break-all; +#rightDiv #transcribe, #rightDiv #item-relations-display-item-relations, #scripto-transcription{ + width: 80%; + border-top: dotted lightgray; + border-top-width: 0.25em; + padding: 2em 0; } -#rightDiv #transcribe, -#rightDiv #item-relations-display-item-relations, -#scripto-transcription { - width: 80%; - border-top: dotted lightgray; - border-top-width: 0.25em; - padding: 2em 0; +#item-relations-display-item-relations h2{ + margin-bottom: 1em; } -#item-relations-display-item-relations h2 { - margin-bottom: 1em; +#pactols-item-type-metadata-pactols-sujets{ + display: flex; + flex-flow: row wrap; + text-align: justify; } -#item-relations-display-item-relations table tbody tr td img.thumbnail:hover { - transform: scale(1.1); +#content .element-set:nth-of-type(n+2) .element .element-text a:first-of-type{ + padding-left: 1em; + margin-right: 5px; } -/*supprime l'espace blanc causé par justify dans Sujet*/ -#pactols-item-type-metadata-pactols-sujets { - display: flex; - flex-flow: row wrap; - text-align: justify; -} - -#content .element-set:nth-of-type(n+2) .element .element-text a:first-of-type { - padding-left: 1em; - margin-right: 5px; -} #dublin-core-creator .element-text a{ - margin-left: 5px; + margin-left: 5px; } -#content .element-set:nth-of-type(2) .element-set > div, -#content .element-set:nth-of-type(2) .element-set .element-text { - display: flex; - flex-direction: row; - flex: 1; +#content .element-set:nth-of-type(2) .element-set > div, #content .element-set:nth-of-type(2) .element-set .element-text{ + display: flex; + flex-direction: row; + flex: 1; } -#geolocation, #geolocation-browse { - width: 100%; - padding: 0.5em; - align-self: center; - margin: 1em 0; -} -#geolocation h2 { - margin-bottom: 1em; +.item.show #geolocation, #geolocation-browse{ + width: 100%; + padding: 0.5em; + align-self: center; + margin: 1em 0; } -/* formats de sortie dans parcourir les contenus*/ -#outputs { - width: 100%; +.item.show #geolocation h2{ + margin-bottom: 1em; } -#outputs .outputs-label::after { - content: ":"; +/* formats de sortie*/ +#outputs{ + width: 100%; } - -/* formats de sortie */ -#item-output-formats li { - display: inline-block; +#outputs .outputs-label::after{ + content: ":"; } -#item-output-formats { - text-align: center; - padding-top: 1em; - border-top: 1px dotted lightgray; - border-top-width: 0.3em; +#item-output-formats li{ + display: inline-block; } - -#output-format-list { - margin-top: 0; - padding-left: 0; +#item-output-formats{ + text-align: center; + padding-top: 1em; + border-top: 1px dotted lightgray; + border-top-width: 0.3em; } -/* séparation entre chaque élément */ -#item-output-formats li:after { - content: ", "; +#output-format-list{ + margin-top: 0; + padding-left: 0; } -#item-output-formats li:last-of-type:after { - content: ""; +#item-output-formats li:after{ + content: ", "; +} +#item-output-formats li:last-of-type:after{ + content: ""; } -/* ________________________________ -* page items/search/ (recherche avancée) -*/ -.inputs .search-entry * { - height: 30px; +select, textarea, input{ + max-width: 100%; } -.inputs #keyword-search::placeholder { - text-indent: 1em; - color: var(--darkgray); +/* recherche avancée & carte */ +.items.advanced-search #advanced-search-form, .map.browse #search{ + display: flex; + align-items: center; + justify-content: center; + flex-flow: column; + margin: 0 auto; } -.remove_search { - width: auto; +.inputs #keyword-search::placeholder{ + text-indent: 1em; + color: var(--darkgray); } -.items.advanced-search #content { - width: 80%; - float: none; - margin-left: auto; - margin-right: auto; +#content #search-narrow-by-fields .search-entry{ + display: flex; + justify-content: flex-end; + border-radius: 10px; + background-color: var(--lightbeige); } -.items.advanced-search #advanced-search-form, -.map.browse #search { - display: flex; - align-items: center; - justify-content: center; - flex-flow: column; - width: 80%; +.inputs .search-entry *{ + height: 30px; } -#content #search-narrow-by-fields .search-entry { - display: flex; - justify-content: right; - border-radius: 10px; - background-color: var(--lightbeige); +#search-narrow-by-fields .search-entry select, #search-narrow-by-fields .advanced-search-terms{ + margin-right: 3px; +} +#advanced-search-form #search-narrow-by-fields .advanced-search-element, #advanced-search-form #search-narrow-by-fields .advanced-search-type, #advanced-search-form #search-narrow-by-fields .advanced-search-terms, #search #search-narrow-by-fields .advanced-search-element, #search #search-narrow-by-fields .advanced-search-type, #search #search-narrow-by-fields .advanced-search-terms{ + width: 30%; } -.items.advanced-search #search-narrow-by-fields .advanced-search-joiner, -#search_block #search-narrow-by-fields .advanced-search-joiner { - width: 8%; - background-color: lightgray; - margin-right: 2em; - font-size: 0.95em; - min-width: max-content; +option[disabled]{ + display: none; } -#search-narrow-by-fields .inputs .remove_search { - width: 30px; +.add_search, #submit_search_advanced{ + width: max-content; + align-self: center; } -#search-narrow-by-fields .search-entry select, -#search-narrow-by-fields .advanced-search-terms { - margin-right: 3px; +.add_search, .remove_search{ + background-color: var(--buttongray); } -.items.advanced-search #content #search-narrow-by-fields .advanced-search-element,/*recherche avancée*/ -#search-narrow-by-fields .advanced-search-element,/*recherche avancée géolocation*/ -.items.advanced-search #content #search-narrow-by-fields .advanced-search-type,/*recherche avancée*/ -#search-narrow-by-fields .advanced-search-type,/*recherche avancée géolocation*/ -.items.advanced-search #content #search-narrow-by-fields .advanced-search-terms,/*recherche avancée*/ -#search-narrow-by-fields .advanced-search-terms/*recherche avancée géolocation*/ { - width: 30%; +#submit_search_advanced{ + background-color: var(--mainColor); } -/*cache les options inutiles dans les select*/ -option[disabled] { - display: none; +.field label, .field .label{ + margin: 1em 0; + width: 100%; + margin-bottom: 1.5em; } -#search_block #search div { - display: flex; - flex-direction: column; - width: 100%; +#advanced-search-form #search-narrow-by-fields .advanced-search-joiner, #search #search-narrow-by-fields .search-entry select.advanced-search-joiner{ + width: 8%; + background-color: lightgray; + margin-right: 2em; + font-size: 0.95em; + min-width: max-content; } -#search_block #search #search-narrow-by-fields .inputs .search-entry { - display: flex; - flex-direction: row; - margin-top: 0; +#advanced-search-form #search-narrow-by-fields .search-entry:first-child .advanced-search-joiner, #search #search-narrow-by-fields .search-entry:first-child .advanced-search-joiner{ + display: block; + visibility: hidden; } - -.add_search, #submit_search_advanced { - width: max-content; - align-self: center; +/* carte */ +#map-links ul li{ + margin-bottom: 0; + line-height: 20px; } -.add_search, .remove_search { - background-color: var(--buttongray); +.gm-style-iw img{ + max-width: 100% !important; + max-height: 150px !important; } -#submit_search_advanced { - background-color: var(--mainColor); +#search_block{ + flex-basis: 80%; +} +#search input, #search select{ + width: 100%; + display: block; + margin-bottom: 1.5em; } -.field label, .field .label { - margin: 1em 0; - width: 100%; - margin-bottom: 1.5em; +#search .field{ + border-bottom: 1px solid #ccc; + width: 100%; + overflow: auto; + padding: 1.5em 0; + margin-bottom: 0em; } -#search-narrow-by-fields .search-entry:first-child .advanced-search-joiner { - display: block; - visibility: hidden; +#search .field .inputs{ + width: 100%; } -/* ________________________________ -* page scripto-transcribe -*/ -#scripto-transcribe.scripto /*.item-file.application-pdf*/.item-file.application-pdf{ - display: flex; - min-height: max-content; - flex-flow: row wrap; - flex-basis: 50%; - align-items: start; - height: max-content; - min-width: 19em; - margin: 2em auto; - border-radius: 10px; - background-color: white; +#search input[type="submit"], #search button{ + clear: both; + width: auto; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0; +} + +/* scripto */ +.pageScripto #primary{ + flex-basis: 100%; +} + +#scripto-transcribe.scripto{ + display: flex; + flex-direction: column; + align-items: stretch; +} + +.pageScripto #primary .scripto > p{ + font-size: 1em; + text-align: center; +} + +a.download-file img{ + max-width:100%; + object-fit: cover; +} + +#scripto-transcribe.scripto #scripto-transcription, #scripto-transcribe.scripto #scripto-talk{ + border-top: dotted lightgray; + border-top-width: 0.25em; + padding: 2em 0; + width: 100%; + text-align: center; +} + +#scripto-transcribe.scripto .item-file.application-pdf{ + display: flex; + min-height: max-content; + flex-flow: row wrap; + flex-basis: 40%; + align-items: start; + height: max-content; + min-width: 19em; + margin: 2em auto; + border-radius: 10px; + background-color: white; box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); padding: 2em; justify-content: center; - } -/* ________________________________ -* files show -*/ -.files.show.primary-secondary #content { - justify-content: space-between; + +#scripto-transcribe.scripto .item-file.image-jpeg{ + text-align: center; } -.files.show #wrap #content #primary, - .files.show.primary-secondary #content #sidebar{ - display: flex; - min-height: max-content; - flex-flow: row wrap; - flex-basis: 50%; - align-items: start; - height: max-content; - min-width: 19em; - margin: 2em auto; - border-radius: 10px; - background-color: white; + +#scripto-transcription-page-html{ + border-radius: 10px; + background-color: white; box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); padding: 2em; } + +#scripto-transcription-page-html *{ + font-family: times; + color: #1E5C96; +} + +.files.show.primary-secondary #content{ + justify-content: space-around; +} + .files.show #wrap #content #primary{ order:2; - align-content:center; - justify-content:space-around; + text-align: center; + flex-basis: 60%; } + .files.show #wrap #content #primary > *{ margin: 0.5rem 0; } + .files.show #wrap #content #primary #scripto-transcription{ - width: 100%; } -.files.show.primary-secondary #content #sidebar { + +.files.show.primary-secondary #content #sidebar{ order:1; flex-basis:30%; } -/* ________________________________ -* simple page -*/ - -#credits #wrap, #mentions-legales #wrap, -#politique-confidentialite #wrap, .collections.show #wrap { - display: flex; - flex-direction: column; +#credits #wrap, #mentions-legales #wrap, #politique-confidentialite #wrap, .collections.show #wrap{ + display: flex; + flex-direction: column; } -#credits #content, #mentions-legales #content, -#politique-confidentialite #content, .collections.show #content { - text-align: justify; - width: 80%; - margin: 0 auto; +/* page collection */ +.collections.show #wrap #content h2, .collections.show #wrap #content #collection-items, .collections.show #wrap #content #collection-tree{ + flex-basis: 100%; + text-align: left; } -/* ________________________________ -* page collections -*/ -.collections.show #wrap #content h2, -.collections.show #wrap #content #collection-items, -.collections.show #wrap #content #collection-tree { - width: 100%; - text-align: left; -} .collections.show #wrap #content #collection-items h2 a{ - padding-left: 1.2em; - background: url(../logos_img/img/parcourirpetit.png) no-repeat left center; -} -.collections.show #wrap #content .element-set #dublin-core-description .element-text { - display: flex; - flex-direction: column; - width: 100%; - justify-content: center; + padding-left: 1.2em; + background: url(../img/parcourirpetit.png) no-repeat left center; } -.collections.show .element { - margin-bottom: 0; +.collections.show #wrap #content .element-set #dublin-core-description .element-text{ + display: flex; + flex-direction: column; + width: 100%; + justify-content: center; } -.collections.show #wrap #content h2, .admin-bar.collections.show #wrap #content h2 { - margin-top: 2em; +.collections.show .element{ + margin-bottom: 0; } -/* _______________________________ #content _________________________________*/ -#solr-search-form { - /* cache la deuxieme barre dans la page solr search qui apparait dans le #content après une recherche*/ - display: none; +.collections.show #wrap #content h2, .admin-bar.collections.show #wrap #content h2{ + margin-top: 2em; } -#content { - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: center; - padding: 2em; - border-radius: 10px; - width: 100%; - min-height: 53vh; +/* page collections */ +.collections.browse #content .collection h2{ + margin-bottom: 0.5em; } -#content h1 { - width: 100%; - text-align: center; +.collections.browse #content .collection .image{ + height: 125px; } -#wrap #content .pagination-nav { - display: flex; - justify-content: center; - text-align: center; - width: 100%; -} - -#wrap #content .pagination-nav .pagination { - margin: 0; - width: auto; - min-width: 11em; -} - -#wrap #content #sort-links .sort-label, -#wrap #content #sort-links #sort-links-list { - margin: 0; - padding: 0; -} - -#wrap #content #sort-links { - width: 100%; - height: 3em; - margin-bottom: 1em; -} - -#content .item.hentry { - width: 100%; - text-align: justify; -} - -#content #advanced-search-form { - width: 100%; - column-count: 4; - padding-left: 1.15em; -} - -#content #advanced-search-form > div { - display: flex; - flex-direction: column; - justify-content: start; -} - -#content #advanced-search-form div label, -#content #advanced-search-form div .label { - width: 100%; -} - -#content .items-nav.navigation.secondary-nav { - width: 100%; -} -/* recherche dans map */ -.field .remove_search::after { - content: "\f00d"; - font-family: "FontAwesome"; - text-indent: 0; - text-align: center; - width: 100%; - top: 0; - left: 0; - position: absolute; - line-height: 30px; -} - -/* ________________________________ -* page collections/browse/ -*/ -.collections.browse #content .collection h2 { - margin-bottom: 0.5em; -} - -.collections.browse .view-items-link a { +.view-items-link a, a.itemsLink{ padding-left: 2em; - background: url(../logos_img/img/parcourirpetit.png) no-repeat left center; + background: url(../img/parcourirpetit.png) no-repeat left center; } + .collections.browse .view-items-link a span{ font-weight: bold; } + #views{ - flex-basis: 100%; - border-bottom: 0.0625em solid #ccc; + border-bottom: 0.1rem solid #ccc; + margin: 0 auto; + flex-basis: 100%; } #views div{ - width: max-content; - margin-left: auto; + width: max-content; + margin-left: auto; } #views a:nth-of-type(2){ - border-left: 0.0625em solid #ccc; + border-left: 0.1rem solid #ccc; } #views a i{ - font-size: 16px; + font-size: 16px; } #views a .active{ - color: orange; + color: orange; } -#content .collection { - display: flex; - flex-flow: row wrap; - text-align: justify; - width: 100%; - padding: 1em; +#content .collection{ + display: flex; + flex-flow: row wrap; + text-align: justify; + width: 100%; + padding: 1em; } -#content .collection h2, -#content .collection p { - width: 100%; +#content .collection h2, #content .collection p{ + width: 100%; } -#description-box { - display: flex; - justify-content: center; +#description-box{ + display: flex; + justify-content: center; } -#description-box .collection-description { - height: 100%; +#description-box .collection-description{ + height: 100%; } -#description-box .collection-description p { - padding-left: 1em; - margin: 0; - width: 50%; +#description-box .collection-description p{ + padding-left: 1em; + margin: 0; + width: 50%; } -#description-box .image { - margin: 0; - text-align: left; - box-shadow: none; +#description-box .image{ + margin: 0; + text-align: left; + box-shadow: none; } -#description-box .image img { - padding: 0; +#description-box .image img{ + padding: 0; +} + +#collection-tree{ + margin: 0 auto; +} + +#collection-tree > ul{ + width: 100%; + padding: 0; +} + +#collection-tree ul li{ + display: flex; + flex-flow: column; + list-style: none; + border-top: 1px solid #ccc; + margin-top: .5em; + padding: 1em; +} + +#collection-tree ul ul{ + flex-basis: 100%; } /* page contenus & collections */ -/* 2e navbar (pagination et tout parcourir/recherche) */ -.items h1 { - margin: 0; +.items h1{ + margin: 0; } -.secondary-nav { - display: flex; - flex-basis: 100%; - margin-left: 1em; +.secondary-nav{ + display: flex; + flex-basis: 100%; + margin-left: 1em; } -.pagination-nav .pagination { - width: auto; - margin: auto; +#sort-links{ + width: 100%; } -#sort-links { - width: 100%; +#sort-links ul{ + margin: 0; + padding: 0; } -#sort-links ul { - margin: 0; - padding: 0; +#content .item.hentry{ + text-align: justify; } -.item.hentry, .collection { - width: 100%; - padding-top: 0.5em; - padding-bottom: 0.5em; +.item.hentry, .collection{ + width: 100%; + padding-top: 0.5em; + padding-bottom: 0.5em; } -.item.hentry .item-meta { - display: flex; +.item.hentry .item-meta{ + display: flex; } -.item.hentry .item-meta .item-img { - float: none; - margin: 0 1rem 0.5em; +.item.hentry .item-meta .item-img{ + float: none; + margin: 0 1rem 0.5em; } -.item.hentry h2 { - padding-left: 0.5em; - margin-bottom: 0.5em; - line-height: normal; +.item.hentry h2{ + padding-left: 0.5em; + margin-bottom: 0.5em; + line-height: normal; } -.item.hentry a, .item-description { - font-size: 0.9em; - text-decoration: none; +.item.hentry a, .item-description{ + font-size: 0.9em; + text-decoration: none; } -.item.hentry a:hover, .collection a:hover { - color: var(--darkMainColor); +.item.hentry a:hover, .collection a:hover{ + color: var(--darkMainColor); } -/* page carte */ -select, textarea, input { - max-width: 100%; +/* solr */ +#content #solr-applied-facets{ + margin: 1.2rem 0; + width: 100%; } -#map-links ul li { - margin-bottom: 0; - line-height: 20px; +#content #solr-applied-facets ul{ + display: flex; + flex-direction: column; + margin: 0; } -/* image de la bulle d'info, pour que cela ne déborde pas */ -.gm-style-iw img { - max-width: 100% !important; - max-height: 150px !important; +#solr-applied-facets ul li a .fas{ + margin-right: 0; + font-size: 16px; } -/*____________________________ #primary _____________________________________*/ -#home #primary { - float: none; - display: flex; - flex-flow: row wrap; - justify-content: center; - align-items: center; - flex: 4; - height: max-content;/*33em*/ - margin: 2em auto 0 0; - padding: 0; +#content #solr-facets, #content #solr-facets h2{ + flex-basis: 30%; + min-width: 17em; + height: max-content; } -/*_________________________ image d'accueil __________________________________ - peut idéalement être remplacée par un carousel !! -*/ -/*caroussel*/ -@keyframes slidy { - 0% {left: 0%;} /*1ère image*/ - 20% {left: 0%;} /*idem pour attente*/ - - 25% {left: -100%;} /*2ème image*/ - 45% {left: -100%;} /*idem pour attente*/ - - 50% {left: -200%;} /*3ème image*/ - 70% {left: -200%;} /*idem pour attente*/ - - 75% {left: -100%;} /*4ème image*/ - 95% {left: -100%;} /*idem pour attente*/ - - 100% {left: 0%;} /*1ère image*/ +#solr-facets strong{ + display: flex; + align-items: center; + text-indent: 1em; + height: auto; + margin-bottom: 10px; + border-bottom: solid 1px var(--mainColor); + background-color: var(--lightbeige); + border-radius: 5px 5px 0 0; } -.slider { - width: 70%; - min-width: 17.5em; - overflow: hidden; - - border-radius: 5px; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +#solr-facets ul{ + padding: 0; + margin-left: 2em; } -.slider div img { - width: calc(100% / 3); - float: left; +#solr-facets ul li{ + display: block; } -.slider div { - position: relative; - width: 300%; - margin: 0; - left: 0; - text-align: left; - font-size: 0; - animation: 30s slidy infinite; +#solr-facets a:hover{ + transform: none; } -/* image d'accueil */ -#primary .imgune { - display: flex; - text-align: center; - align-items: center; - max-width: 100%; - padding-top: 2em; - flex-direction: column; - border-radius: 10px; +#solr-results{ + flex-basis: 50%; + margin: 0 auto; + text-align: center; } -#primary .imgune .titre { - display: flex; - align-items: center; - justify-content: center; - color: white; - width: 100%; - height: 2em; - background-color: rgba(88, 89, 86, .9); - border-radius: 0 0 10px 10px; - transform: translateY(-2em); +#solr-results ul.hl{ + text-align: left; } -#primary .imgune img { - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); - border-radius: 10px; - width: 100%; +#solr-results h2{ + text-align: left; } -/*permet d'avoir un texte justifié dans les rubriques telles que -contactez-nous, à propos, crédits, mentions légales et poilitiques de conf*/ -#primary p { - text-align: justify; +#solr-facets h3{ + cursor: pointer; + width: 100%; + color: black; + background-color: lightgray; } -/* collections accueil */ -#collections { - display: flex; - flex-flow: row wrap; - flex-basis: 95%; - margin: 2em auto; +#solr-facets, #solr-results .result{ + padding: 1em; + background-color: white; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); } -#primary #collections h2 { - width: 80%; - margin: 1em auto; - text-align: center; - font-variant: small-caps; - font-weight: normal; - border-bottom: 1px solid var(--mainColor); +#solr-facets div .more{ + color: black; + width: max-content; + text-indent: 1em; + cursor: pointer; + margin-bottom: 0.5em; } -#collections a { - display: flex; - justify-content: center; - align-items: center; - flex-basis: 24%; - min-width: 10em; - height: 160px; - margin: 0.6em auto; - background-size: cover; - background-repeat: no-repeat; - text-align: center; - border-radius: 5px; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +#solr-facets div .more:hover{ + color: orange; } -/* mettre une couleur de fond pour le texte */ -#collections a div { - padding: 5px; - font-size: 1.15em; - word-break: keep-all; - background-color: var(--mainColor); - color: white; - width: 100%; +#solr-results .result .hl li em{ + font-weight: bold; } -/*____________________________________________________________________________*/ -/* Collection, exposition, contenu mise en avant (avec titre,image et texte) */ - -#home #content #secondary #featured-collection, -#home #content #secondary #featured-exhibit, -#home #content #secondary #featured-item, -#home #content #secondary #recent-items { - float: none; - display: flex; - flex-flow: row wrap; - align-items: center; - justify-content: center; - text-align: center; - margin: 1em 0; - min-width: 19em; - max-width: 100%; - flex: 1; - width: 100%; - height: 100%; - background-color: transparent; - padding: 0; +#solr-results .gallery{ + display: flex; + flex-direction: row; + justify-content: center; + flex-wrap: wrap; } -#home #content #secondary #featured-collection .collection.record, -#home #content #secondary #featured-exhibit .exhibit.record, -#home #secondary #featured-item .item.record, -#home #secondary #recent-items .item.record { - display: flex; - flex-direction: column; - flex-wrap: nowrap; - align-items: center; - text-align: center; - margin: 1em auto; - padding: 1em; - min-width: 17.5em; - min-height: 20em; - width: 17.5em; - background-color: white; - border-radius: 5px; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +#solr-results .gallery img{ + margin: 0.5rem; + border-radius: 5px; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.5); + max-width: 6rem; + max-height: 6rem; } -#home #content #secondary #featured-collection .collection.record p, -#home #content #secondary #featured-exhibit .exhibit.record p, -#home #secondary #featured-item .item.record p, -#home #secondary #recent-items .item.record p { - margin: 1.5em; - font-size: 0.9em; - text-align: justify; +#solr-facets .Creator ul li > a:first-of-type{ + margin-right: 5px; } -#home #content #secondary #featured-collection h2, -#home #content #secondary #featured-exhibit h2, -#home #secondary #featured-item h2, -#home #secondary #recent-items h2 { - font-variant: small-caps; - font-weight: normal; - margin-top: 0; - width: 80%; - border-bottom: 1px solid var(--mainColor); +#previous-item, #next-item{ + display: flex; + align-items: center; + justify-content: center; } -#home #content #secondary #featured-collection h3, -#home #content #secondary #featured-exhibit h3, -#home #content #secondary #featured-item h3, -#home #content #secondary #recent-items h3 { - align-self: stretch; - margin-bottom: 2em; - text-align: center; - font-size: 1em; +/* footer */ +footer{ + padding: 0; + border-top: none; + background-color: var(--lightbeige); } -#home #content #secondary #featured-collection h3:hover, -#home #content #secondary #featured-exhibit h3:hover, -#home #content #secondary #featured-item h3:hover, -#home #content #secondary #recent-items h3:hover { - transform: scale(1.02); - text-decoration: underline; +#footer-text{ + display: flex; + flex-flow: row wrap; + align-items: center; } - -#home #content #secondary #featured-collection h3 a, -#home #content #secondary #featured-exhibit h3 a, -#home #content #secondary #featured-item h3 a, -#home #content #secondary #recent-items h3 a { - font-weight: normal; - text-decoration: none; +body footer #footer-text *{ + padding-top: 0; } -#home #content #secondary #featured-collection .image, -#home #content #secondary #featured-exhibit .image, -#home #content #secondary #featured-item .image, -#home #content #secondary #recent-items .image { - text-align: center; - margin: 0; - width: 80%; - height: auto; - box-shadow: none; +#footer-text div, #footer-text p:first-of-type{ + padding: 1em; } -#home #content #secondary #featured-collection img, -#home #content #secondary #featured-exhibit img, -#home #content #secondary #featured-item img, -#home #content #secondary #recent-items img { - width: 80%; - height: auto; - border-radius: 5px; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); +#footer-text .logos{ + display: flex; + flex-basis: 60%; + flex-flow: row wrap; + justify-content: center; } -#recent-items .view-items-link { - min-width: 17.5em; - margin: 1em auto; +#footer-text .logos span{ + display: flex; } -#content .exhibit.even { - padding: 1em; +#footer-text .logos img{ + margin: 1.5em; + max-height: 80px; } -#content .exhibit.even .description p { - text-align: justify; +#footer-text .links{ + display: flex; + flex: 1; + flex-flow: column wrap; + align-content: center; + border-right: 1px dotted #ccc; + border-left: 1px dotted #ccc; + border-width: 0.2em; + padding: 1em; + line-height: normal; } -/*____________________________ #secondary _____________________________________*/ -#home #secondary { - float: none; - display: flex; - flex-flow: row wrap; - flex: 3; - width: 20%; - justify-content: center; - margin-top: 2em; - padding: 0; +#footer-text .logos a{ + margin: auto; } -/*____________ solr ___________*/ -#content #solr-facets, #content #solr-facets h2 { - flex-basis: 30%; - min-width: 17em; - height: max-content; +#footer-text .links a{ + font-size: 13px; + font-weight: bold; + color: var(--darkgray); } -#content nav { - width: 100%; - height: 100%; +#footer-text .links a:hover{ + color: orange; } -/* titres des facettes */ -#solr-facets strong { - display: flex; - align-items: center; - text-indent: 1em; - height: auto; - margin-bottom: 10px; - border-bottom: solid 1px var(--mainColor); - background-color: var(--lightbeige); - border-radius: 5px 5px 0 0; +#footer-text .license{ + display: flex; + align-items: center; + text-align: justify; + width: 30%; + font-size: 0.8em; + margin: 0; + padding-bottom: 0; } -#solr-facets ul { - padding: 0; - margin-left: 2em; +#footer-text .license img{ + margin-right: 1em; } -#solr-facets ul li { - display: block; +#footer-text .license p{ + width: 100%; } -#solr-facets a:hover { - transform: none; +/* cookies */ +#cookies{ + z-index: 7; + position: fixed; + bottom: 0; + display: flex; + width: 100%; + background-color: lightgray; + align-items: center; + text-align: center; } -#solr-results { - flex-basis: 50%; - margin: 0 auto; - text-align: center; +#cookies button, #cookies a{ + width: auto; + margin-right: 10px; + border-radius: 10px; + background-color: var(--mainColor); + color: white; + text-decoration: none; } -#solr-results ul.hl { - text-align: left; - margin-bottom: 1rem; +#cookies button{ + font-family: 'Questrial', sans-serif; } -#solr-results h2 { - text-align: left; +#cookies a{ + padding: 5px; } -#solr-facets h3 { - cursor: pointer; - width: 100%; - color: black; - background-color: lightgray; +#cookies p{ + font-size: small; + flex-basis: 80%; + color: black; + margin: 0; } -#solr-facets, -#solr-results .result { - padding: 1em; - background-color: white; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2); -} +@media screen and (max-width: 1585px){ + header{ + z-index: 1003; + } -#solr-facets div .more { - color: black; - width: max-content; - text-indent: 1em; - cursor: pointer; - margin-bottom: 0.5em; -} + header .shareMenu{ + top: 40px; + right: 10px; + } -#solr-facets div .more:hover { - color: orange; -} + #primary-nav ul.navigation{ + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + width: 100%; + border-bottom: 1px solid #ccc; + } -#solr-results .result .hl li em { - font-weight: bold; -} + #primary-nav ul.navigation > li{ + padding: 0; + width: auto; + background-color: transparent; + } -#solr-results .gallery { - display: flex; - flex-direction: row; - justify-content: center; - flex-wrap: wrap; -} + #primary-nav ul.navigation > li.active a{ + color: orange; + } -#solr-results .gallery img { - margin: 0.5rem; - border-radius: 5px; - box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.5); - max-width: 6rem; - max-height: 6rem; -} + #primary-nav ul.navigation > li a{ + color: black; + font-weight: bold; + width: auto; + } -#content .pagination-nav { - margin: 0 auto; -} + #primary-nav ul.navigation > li a:hover{ + color: orange; + } -#content .pagination-nav .pagination { - margin-left: 20em; -} + #primary .imgune{ + min-width: 32em; + } -#content #solr-applied-facets { - width: 100%; -} + #footer-text{ + flex-flow: column; + } -#content #solr-applied-facets ul { - display: flex; - flex-direction: column; -} + #footer-text .logos{ + flex-basis: 100%; + } -#solr-facets .Creator ul li > a:first-of-type { - margin-right: 5px; -} + #footer-text .links{ + flex-flow: row wrap; + justify-content: center; + width: 100%; + text-align: center; + border-left: none; + border-right: none; + border-top: 1px dotted lightgray; + border-top-width: 0.2em; + border-bottom: 1px dotted lightgray; + border-bottom-width: 0.2em; + } -#previous-item, #next-item { - display: flex; - align-items: center; - justify-content: center; -} + #footer-text .links a{ + margin: 1em; + min-width: 5em; + } -/* ____________________________________________________________________________ - FOOTER - ____________________________________________________________________________ -*/ -footer { - padding: 0; - border-top: none; - background-color: var(--lightbeige); -} + #footer-text .license{ + width: 95%; + } -#footer-text { - display: flex; - flex-flow: row wrap; - align-items: center; + #description-box .collection-description p{ + width: 100%; + } } -body footer #footer-text * { - padding-top: 0; -} +@media screen and (max-width: 1024px){ + #content #search-narrow-by-fields .inputs .search-entry, #search_block #search #search-narrow-by-fields .inputs .search-entry{ + flex-direction: column; + } -/* padding des 3 parties */ -#footer-text div, #footer-text p:first-of-type { - padding: 1em; -} + #content #advanced-search-form #search-narrow-by-fields .inputs .search-entry select, #content #advanced-search-form #search-narrow-by-fields .inputs .search-entry .advanced-search-terms, #search_block #search-narrow-by-fields .inputs .search-entry select, #search-narrow-by-fields .advanced-search-terms{ + width: 100%; + margin-bottom: 1.5em; + } -/* logos */ -#footer-text .footer-logos { - display: flex; - flex-basis: 60%; - flex-flow: row wrap; - justify-content: center; -} + #content #advanced-search-form #search-narrow-by-fields .inputs .search-entry select.advanced-search-joiner, #search_block #search-narrow-by-fields .inputs .search-entry select.advanced-search-joiner { + width: 10%; + } -#footer-text .footer-logos span { - display: flex; - /* flex: 1;*/ + #advanced-search-form #search-narrow-by-fields .search-entry:first-child .advanced-search-joiner, #search #search-narrow-by-fields .search-entry:first-child .advanced-search-joiner{ + display: none; + } } -/* dimensions des logos */ -#footer-text .footer-logos img { - margin: 1.5em; - max-height: 80px; -} - -/* liens */ -#footer-text .links { - display: flex; - flex: 1; - flex-flow: column wrap; - align-content: center; - border-right: 1px dotted #ccc; - border-left: 1px dotted #ccc; - border-width: 0.2em; - padding: 1em; - line-height: normal; -} - -#footer-text .footer-logos a { - margin: auto; -} - -/* mise en former des liens */ -#footer-text .links a { - font-size: 13px; - font-weight: bold; - color: var(--darkgray)333; /*var(--mainColor)*/ -} - -#footer-text .links a:hover { - transform: scale(1.02); - color: orange; -} - -#footer-text .license { - display: flex; - align-items: center; - text-align: justify; - width: 30%; - font-size: 0.8em; - margin: 0; - padding-bottom: 0; -} - -#footer-text .license img { - margin-right: 1em; -} - -#footer-text .license p { - width: 100%; -} - -/* Fièrement propulsé par Omeka, il y a un float left qui le place de base */ -#footer-text > p:last-child { - display: none; -} - -/* ____________________________________________________________________________ - COOKIES - ____________________________________________________________________________ -*/ -/* mettre une couleur de fond */ -#cookies { - z-index: 7; - position: fixed; - bottom: 0; - display: flex; - width: 100%; - background-color: lightgray; - align-items: center; - text-align: center; -} - -/* mettre une couleur pour le fond et la police des boutons */ -#cookies button, #cookies a { - width: auto; - margin-right: 10px; - border-radius: 10px; - background-color: var(--mainColor); - color: white; - text-decoration: none; -} - -/* mettre la police du site */ -#cookies button { - font-family: 'Questrial', sans-serif; -} - -#cookies a { - padding: 5px; -} - -#cookies p { - font-size: small; - flex-basis: 80%; - color: black; - margin: 0; -} - -/* ____________________________________________________________________________ - RESPONSIVE - ____________________________________________________________________________ -*/ -@media screen { - #primary-nav ul.navigation > li a { - border: none; - display: block; - padding: 0.75em 1em; - } - - .collections.browse #content { - width: 80%; - margin: 0 auto; - float: none; - } - - .items.browse #content, - .items.tags #content, - #scripto-index { - width: 80%; - margin: 0 auto; - float: none; - } - - .map.browse #content #search_block, - .map.browse #content #search_block #search { - width: 90%; - } -} - -@media screen and (min-width: 1360px) { - header .shareMenu { - right: auto; - left: auto; - } -} +@media screen and (min-width: 768px){ + #search-narrow-by-fields .inputs .remove_search::after{ + content: "\f00d"; + font-family: "FontAwesome"; + text-indent: 0; + text-align: center; + width: 100%; + top: 0; + left: 0; + position: absolute; + line-height: 30px; + } -@media screen and (min-width: 550px)and (max-width: 1585px) { - header .header-icons { - position: absolute; - right: 1em; - top: 0.25em; - } + #search .field .remove_search{ + text-indent: -9999px; + margin-top: 0; + width: 1.875em; + float: right; + clear: none; + } } -/*____________________________________________________________________________*/ -@media screen and (max-width: 1585px) { - header { - flex-direction: column; - z-index: 1003; - } +@media screen and (max-width: 768px){ + header{ + background-color: white; + top: 0; + z-index: 1003; + border-bottom: 1px solid lightgray; + flex-wrap: wrap; + } - header #site-title { - display: flex; - justify-content: center; - margin: 0 auto; - } + header #site-title{ + order:1; + } - header #search-container { - width: 60%; - margin: 0 auto 0.5em auto; - } + #site-title a img{ + min-width: 180px; + padding: 0.5rem; + max-height: 70px; + } - header .header-icons { - justify-content: center; - margin: 0.3em 0; - } + header .header-icons{ + order:2; + margin: 0.5rem; + } - header .shareMenu { - top: 40px; - right: 10px; - } + header #search-container{ + order: 3; + flex-basis: 50%; + } - #primary-nav ul.navigation { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - width: 100%; - border-bottom: 1px solid #ccc; - } + header .shareMenu{ + right: 10px; + } - #primary-nav ul.navigation > li { - padding: 0; - width: auto; - background-color: transparent; - } + #bandeauTitre h1{ + font-size: 1.5em; + } - #primary-nav ul.navigation > li.active a { - color: orange; - } + body #primary-nav .navigation{ + display: none; + width: 100%; + text-align: center; + background-color: var(--lightbeige); + } - #primary-nav ul.navigation > li a { - color: black; - font-weight: bold; - width: auto; - } + body #primary-nav .navigation li{ + background-color: transparent; + } + + body #primary-nav .navigation.nav-menu > a:first-of-type, body #primary-nav .navigation.nav-menu > li:first-of-type{ + display: none; + } - #primary-nav ul.navigation > li a:hover { - color: orange; - } + body #primary-nav .navigation > a:first-of-type,b ody #primary-nav .navigation > li:first-of-type{ + display: none; + } - /*___________________________*/ - #primary .imgune { - min-width: 32em; - } + #primary-nav ul.navigation.nav-menu a.nav-item{ + display: none; + margin: 0 auto; + padding: 0.75em 1em; + } - /*___________________________*/ - #footer-text { - flex-flow: column; - } + #primary-nav ul.navigation > li a:hover, #primary-nav ul.navigation > li.active a{ + color: orange; + background-color: transparent; + } - #footer-text .logos { - flex-basis: 100%; - } + #primary-nav ul.navigation.nav-menu > li:not(:last-child) a{ + border-bottom: 1px dotted lightgray; + border-bottom-width: 0.2em; + display: block; + } - #footer-text .links { - flex-flow: row wrap; - justify-content: center; - width: 100%; - text-align: center; - border-left: none; - border-right: none; - border-top: 1px dotted lightgray; - border-top-width: 0.2em; - border-bottom: 1px dotted lightgray; - border-bottom-width: 0.2em; - } + #primary-nav ul.navigation.nav-menu{ + display: none; + } - #footer-text .links a { - margin: 1em; - min-width: 5em; - } + #content, #credits #content, #mentions-legales #content, #politique-confidentialite #content, .collections.show #content .collections.browse #content, .items.browse #content, .items.tags #content, #scripto-index{ + padding: 0.5rem; + width: 100%; + } - #footer-text .links a:hover { - transform: scale(1.05); - } + #home #content{ + justify-content: center; + padding-top: 1em; + width: 100%; + } - #footer-text .license { - width: 95%; - } + #wrap #content #primary, #wrap #content #secondary{ + margin: 0; + height: auto; + } - #description-box .collection-description p { - width: 100%; - } -} + #primary .imgune{ + min-height: 17.5em; + } -@media screen and (max-width: 1024px) { + #home #content #secondary{ + border-left: none; + flex-flow: row wrap; + } - #content #search-narrow-by-fields .inputs .search-entry, - #search_block #search #search-narrow-by-fields .inputs .search-entry { - flex-direction: column; - } + #home #secondary, #home #secondary #featured-item{ + justify-content: center; + width: 100%; + margin: 2em 0; + padding: 0; + } - #content #advanced-search-form #search-narrow-by-fields .inputs .search-entry select, - #content #advanced-search-form #search-narrow-by-fields .inputs .search-entry .advanced-search-terms, - #search_block #search-narrow-by-fields .inputs .search-entry select, - #search-narrow-by-fields .advanced-search-terms { - width: 100%; - } + #home #secondary #featured-item .item.record{ + width: 82%; + } - #content #advanced-search-form #search-narrow-by-fields .inputs .search-entry .advanced-search-joiner { - width: 10%; - } -} + #home #secondary #featured-item .item.record img{ + width: 70%; + } -/*____________________________________________________________________________*/ -@media screen and (max-width: 768px) { - header { - background-color: white; - top: 0; - z-index: 1003; - } + #content #solr-facets, #content #solr-facets h2, #content #solr-results{ + min-width: 100%; + } - #content { - padding: 0; - } + .item.show #wrap #content{ + flex-basis: 100%; + } - .item.show #wrap #content { - flex-basis: 100%; - padding: 1em; - } + .item.show #wrap #rightDiv{ + flex-basis: 100%; + } - .item.show #wrap #rightDiv { - flex-basis: 100%; - } + #advanced-search-form{ + width: 100%; + padding: 0; + } - #advanced-search-form { - width: 100%; - padding: 0; - } + .items.advanced-search #wrap{ + min-width: 95vw; + } - .items.advanced-search #wrap { - min-width: 95vw; - } + .items.advanced-search #wrap, .items.advanced-search #content{ + padding: 0; + } - .items.advanced-search #wrap, - .items.advanced-search #content { - width: 100%; - padding: 0; - } + .items.advanced-search #content #advanced-search-form{ + padding: 1em; + } - .items.advanced-search #content #advanced-search-form { - padding: 1em; - } - - .collections.show #content { - width: 100%; - } - - .collections h2 { - text-align: left; - } - - .items-nav.navigation.secondary-nav { - border-bottom: 1px solid lightgray; - margin-bottom: 2em; - margin-left: 0; - } - - .items-nav.navigation.secondary-nav ul { - margin: 0 0 -1px 0; - } - - .items-nav.navigation.secondary-nav li { - border: 1px solid lightgray; - padding: 0 5px; - } + /* carte */ + #search_block{ + width: 100%; flex-basis: 100%; + } - .items-nav.navigation.secondary-nav .active { - border-bottom-color: white; - } + #advanced-search-form .field .remove_search{ + margin: 0; + } - /* cookies */ - #cookies { - flex-flow: row wrap; - align-items: center; - } + .collections h2{ + text-align: left; + } - #cookies p { - flex-basis: 100%; - } + .items-nav.navigation.secondary-nav{ + border-bottom: 1px solid lightgray; + margin-bottom: 2em; + margin-left: 0; + } - #cookies button { - margin-left: auto; - } + .items-nav.navigation.secondary-nav ul{ + margin: 0 0 -1px 0; + } - #cookies a { - margin-right: auto; - } -} + .items-nav.navigation.secondary-nav li{ + border: 1px solid lightgray; + padding: 0 5px; + } -@media screen and (max-width: 1400px) { - #advanced-search-form { - column-count: 1 !important; - } + .items-nav.navigation.secondary-nav .active{ + border-bottom-color: white; + } - #content #advanced-search-form > div { - height: auto; - display: block; - } -} + /* cookies */ + #cookies{ + flex-flow: row wrap; + align-items: center; + } -/*____________________________________________________________________________*/ -@media screen and (max-width: 1300px) { - #bandeauTitre { - height: auto; - } + #cookies p{ + flex-basis: 100%; + } - #content .collection .image { - margin: 0.5em auto; - box-shadow: none; - } + #cookies button{ + margin-left: auto; + } - .items.browse #content, - .items.tags #content, - .collections.browse #content, - .map.browse #content { - width: 100%; - margin: 0 auto; - padding: 0; - float: none; - } + #cookies a{ + margin-right: auto; + } } -/*____________________________ Max 767 px ____________________________________*/ -@media screen and (max-width: 767px) { - header{ - border-bottom: 1px solid lightgray; - } +@media screen and (max-width:549px){ + #primary .imgune{ + min-width: 13em; + } - header .shareMenu { - right: 10px; - } + header{ + position: sticky; + } - header #search-container { - width: 100%; - margin: 0 auto 0.5em auto; - } + #bandeauTitre{ + display: none; + } - /*___________________________*/ - #home #wrap #content #primary { - height: auto; - } - - #primary .imgune { - min-height: 17.5em; - } - - #home #content #secondary { - border-left: none; - } - - /*___________________________*/ - body #primary-nav .navigation { - display: none; - width: 100%; - text-align: center; - background-color: var(--lightbeige); - } - - body #primary-nav .navigation li { - background-color: transparent; - } - - /*cache la maison et l'accueil dans le menu lors de la navigation telephone - ici .navigation.nav-menu et .navigation car le selecteur change selon si l'on - est sur l'accueil ou pas*/ - body #primary-nav .navigation.nav-menu > a:first-of-type, - body #primary-nav .navigation.nav-menu > li:first-of-type { - display: none; - } - - body #primary-nav .navigation > a:first-of-type, - body #primary-nav .navigation > li:first-of-type { - display: none; - } - - #primary-nav ul.navigation.nav-menu a.nav-item { - display: none; - margin: 0 auto; - } - - #primary-nav ul.navigation > li a:hover, - #primary-nav ul.navigation > li.active a { - color: orange; - background-color: transparent; - } - - #primary-nav ul.navigation > li:not(:last-child) a { - border-bottom: 1px dotted lightgray; - border-bottom-width: 0.2em; - display: block; - padding: 0.75em 1em; - } - - /*___________________________*/ - #home #content { - justify-content: center; - } - - #wrap #content #primary, #wrap #content #secondary { - margin: 0; - } - - #primary-nav ul.navigation.nav-menu { - display: none; - } - - #home #secondary { - flex-flow: row wrap; - } - - #home #secondary, #home #secondary #featured-item { - justify-content: center; - width: 100%; - margin: 2em 0; - padding: 0; - } - - #home #secondary #featured-item .item.record { - width: 82%; - } - - #home #secondary #featured-item .item.record img { - width: 70%; - } - - #content #solr-facets, #content #solr-facets h2, - #content #solr-results { - min-width: 100%; - } -} - -/*____________________________________________________________________________*/ -@media screen and (max-width:549px) { - #primary .imgune { - min-width: 13em; - } - - header { - position: sticky; - } - - header .shareMenu { - top: 178px; - right: auto; - left: auto; - } + #search-container input#query{ + width: 100%; + } } -/*____________________________________________________________________________*/ -@media screen and (max-width:464px) { - #footer-text .license { - flex-direction: column; - } +@media screen and (max-width:480px){ + #footer-text .license{ + flex-direction: column; + padding-top: 1em; + } - #footer-text .license .license-logo a img { - min-width: 9em; - } - - #footer-text .license { - padding-top: 1em; - } -} + #footer-text .license .license-logo a img{ + min-width: 9em; + } +} \ No newline at end of file diff --git a/themes/default/geolocation/ajax-loader.gif b/themes/default/geolocation/ajax-loader.gif new file mode 100644 index 0000000..3288d10 --- /dev/null +++ b/themes/default/geolocation/ajax-loader.gif Binary files differ diff --git a/themes/default/geolocation/javascripts/map.js b/themes/default/geolocation/javascripts/map.js deleted file mode 100644 index a6bf65b..0000000 --- a/themes/default/geolocation/javascripts/map.js +++ /dev/null @@ -1,415 +0,0 @@ -function OmekaMap(mapDivId, center, options) { - this.mapDivId = mapDivId; - this.center = center; - this.options = options; -} - -OmekaMap.prototype = { - - map: null, - mapDivId: null, - markers: [], - options: {}, - center: null, - markerBounds: null, - infoWindow: null, - - addMarker: function (lat, lng, options, bindHtml) - { - if (!options) { - options = {}; - } - options.position = new google.maps.LatLng(lat, lng); - options.map = this.map; - options.icon = { - url : "/custom/themes/default/logos_img/icones/mapPins/orange-map-pin.svg.hi.png", - /*modification ne pas utiliser le pointeur orange-map-pin.svg.hi_2.png car pixelise*/ - // size: new google.maps.Size(50, 50), - origin: new google.maps.Point(0, 0), - // anchor: new google.maps.Point(25, 25), - scaledSize: new google.maps.Size(15, 25) - } - - var marker = new google.maps.Marker(options); - - if (bindHtml) { - var that = this; - google.maps.event.addListener(marker, 'click', function () { - // Prevent multiple windows from being open at once. - that.infoWindow.setContent(bindHtml); - that.infoWindow.open(this.map, marker); - }); - } - - this.markers.push(marker); - this.markerBounds.extend(options.position); - return marker; - }, - - fitMarkers: function () { - if (this.markers.length == 1) { - this.map.setCenter(this.markers[0].getPosition()); - } else { - this.map.fitBounds(this.markerBounds); - } - }, - - initMap: function () { - if (!this.center) { - alert('Error: The center of the map has not been set!'); - return; - } - - // Build the map. - var mapOptions = { - zoom: this.center.zoomLevel, - center: new google.maps.LatLng(this.center.latitude, this.center.longitude), - }; - - switch (this.options.mapType) { - case 'hybrid': - mapOptions.mapTypeId = google.maps.MapTypeId.HYBRID; - break; - case 'satellite': - mapOptions.mapTypeId = google.maps.MapTypeId.SATELLITE; - break; - case 'terrain': - mapOptions.mapTypeId = google.maps.MapTypeId.TERRAIN; - break; - case 'roadmap': - default: - mapOptions.mapTypeId = google.maps.MapTypeId.ROADMAP; - } - - jQuery.extend(mapOptions, this.options.mapOptions); - - this.map = new google.maps.Map(document.getElementById(this.mapDivId), mapOptions); - this.markerBounds = new google.maps.LatLngBounds(); - this.infoWindow = new google.maps.InfoWindow(); - - // Show the center marker if we have that enabled. - if (this.center.show) { - this.addMarker(this.center.latitude, - this.center.longitude, - {title: "(" + this.center.latitude + ',' + this.center.longitude + ")"}, - this.center.markerHtml); - } - } -}; - -function OmekaMapBrowse(mapDivId, center, options) { - var omekaMap = new OmekaMap(mapDivId, center, options); - jQuery.extend(true, this, omekaMap); - this.initMap(); - - //XML loads asynchronously, so need to call for further config only after it has executed - this.loadKmlIntoMap(this.options.uri, this.options.params); -} - -OmekaMapBrowse.prototype = { - - afterLoadItems: function () { - if (this.options.fitMarkers) { - this.fitMarkers(); - } - - if (!this.options.list) { - return; - } - var listDiv = jQuery('#' + this.options.list); - - if (!listDiv.size()) { - alert('Error: You have no map links div!'); - } else { - //Create HTML links for each of the markers - this.buildListLinks(listDiv); - } - }, - - /* Need to parse KML manually b/c Google Maps API cannot access the KML - behind the admin interface */ - loadKmlIntoMap: function (kmlUrl, params) { - var that = this; - jQuery.ajax({ - type: 'GET', - dataType: 'xml', - url: kmlUrl, - data: params, - success: function(data) { - var xml = jQuery(data); - - /* KML can be parsed as: - kml - root element - Placemark - namewithlink - description - Point - longitude,latitude - */ - var placeMarks = xml.find('Placemark'); - - // If we have some placemarks, load them - if (placeMarks.size()) { - // Retrieve the balloon styling from the KML file - that.browseBalloon = that.getBalloonStyling(xml); - - // Build the markers from the placemarks - jQuery.each(placeMarks, function (index, placeMark) { - placeMark = jQuery(placeMark); - that.buildMarkerFromPlacemark(placeMark); - }); - - // We have successfully loaded some map points, so continue setting up the map object - return that.afterLoadItems(); - } else { - // @todo Elaborate with an error message - return false; - } - } - }); - }, - - getBalloonStyling: function (xml) { - return xml.find('BalloonStyle text').text(); - }, - - // Build a marker given the KML XML Placemark data - // I wish we could use the KML file directly, but it's behind the admin interface so no go - buildMarkerFromPlacemark: function (placeMark) { - // Get the info for each location on the map - var title = placeMark.find('name').text(); - var titleWithLink = placeMark.find('namewithlink').text(); - var body = placeMark.find('description').text(); - var snippet = placeMark.find('Snippet').text(); - - // Extract the lat/long from the KML-formatted data - var coordinates = placeMark.find('Point coordinates').text().split(','); - var longitude = coordinates[0]; - var latitude = coordinates[1]; - - // Use the KML formatting (do some string sub magic) - var balloon = this.browseBalloon; - balloon = balloon.replace('$[namewithlink]', titleWithLink).replace('$[description]', body).replace('$[Snippet]', snippet); - - // Build a marker, add HTML for it - this.addMarker(latitude, longitude, {title: title}, balloon); - }, - - // Calculate the zoom level given the 'range' value - // Not currently used by this class, but possibly useful - // http://throwless.wordpress.com/2008/02/23/gmap-geocoding-zoom-level-and-accuracy/ - calculateZoom: function (range, width, height) { - var zoom = 18 - Math.log(3.3 * range / Math.sqrt(width * width + height * height)) / Math.log(2); - return zoom; - }, - - buildListLinks: function (container) { - var that = this; - var list = jQuery(''); - list.appendTo(container); - - //tri de la liste (localeCompare prend en compte les caractètes accentuées et la différence minuscule/majuscule contrairement à juste (chaineA > chaineB) ) - this.markers.sort(function(a,b){ - if(a.title.localeCompare(b.title) > 0) return 1; - else return -1; - }); - - - // Loop through all the markers - jQuery.each(this.markers, function (index, marker) { - var listElement = jQuery('
  • '); - - // Make an tag, give it a class for styling - var link = jQuery(''); - link.addClass('item-link'); - - // Links open up the markers on the map, clicking them doesn't actually go anywhere - link.attr('href', 'javascript:void(0);'); - - // Each
  • starts with the title of the item - link.html(marker.getTitle()); - - // Clicking the link should take us to the map - link.bind('click', {}, function (event) { - google.maps.event.trigger(marker, 'click'); - that.map.panTo(marker.getPosition()); - }); - - link.appendTo(listElement); - listElement.appendTo(list); - }); - } -}; - -function OmekaMapSingle(mapDivId, center, options) { - var omekaMap = new OmekaMap(mapDivId, center, options); - jQuery.extend(true, this, omekaMap); - this.initMap(); -} - -function OmekaMapForm(mapDivId, center, options) { - var that = this; - var omekaMap = new OmekaMap(mapDivId, center, options); - jQuery.extend(true, this, omekaMap); - this.initMap(); - - this.formDiv = jQuery('#' + this.options.form.id); - - // Make the map clickable to add a location point. - google.maps.event.addListener(this.map, 'click', function (event) { - // If we are clicking a new spot on the map - if (!that.options.confirmLocationChange || that.markers.length === 0 || confirm('Are you sure you want to change the location of the item?')) { - var point = event.latLng; - var marker = that.setMarker(point); - jQuery('#geolocation_address').val(''); - } - }); - - // Make the map update on zoom changes. - google.maps.event.addListener(this.map, 'zoom_changed', function () { - that.updateZoomForm(); - }); - - // Make the Find By Address button lookup the geocode of an address and add a marker. - jQuery('#geolocation_find_location_by_address').bind('click', function (event) { - var address = jQuery('#geolocation_address').val(); - that.findAddress(address); - - //Don't submit the form - event.stopPropagation(); - return false; - }); - - // Make the return key in the geolocation address input box click the button to find the address. - jQuery('#geolocation_address').bind('keydown', function (event) { - if (event.which == 13) { - jQuery('#geolocation_find_location_by_address').click(); - event.stopPropagation(); - return false; - } - }); - - // Add the existing map point. - if (this.options.point) { - this.map.setZoom(this.options.point.zoomLevel); - - var point = new google.maps.LatLng(this.options.point.latitude, this.options.point.longitude); - var marker = this.setMarker(point); - this.map.setCenter(marker.getPosition()); - } -} - -OmekaMapForm.prototype = { - /* Get the geolocation of the address and add marker. */ - findAddress: function (address) { - var that = this; - - function setFoundAddress(point) { - // If required, ask the user if they want to add a marker to the geolocation point of the address. - // If so, add the marker, otherwise clear the address. - if (!that.options.confirmLocationChange || that.markers.length === 0 || confirm('Are you sure you want to change the location of the item?')) { - var marker = that.setMarker(point); - } else { - jQuery('#geolocation_address').val(''); - jQuery('#geolocation_address').focus(); - } - } - - // Use lat/lng pair - var latLngMatch = address.trim().match(/^(-?[\d]+(?:\.[\d]+)?)[\s]*[,;][\s]*(-?[\d]+(?:\.[\d]+)?)$/); - if (latLngMatch && Math.abs(latLngMatch[1]) <= 90 && Math.abs(latLngMatch[2]) <= 180) { - var point = new google.maps.LatLng(latLngMatch[1], latLngMatch[2]); - setFoundAddress(point); - return; - } - if (!this.geocoder) { - this.geocoder = new google.maps.Geocoder(); - } - this.geocoder.geocode({'address': address}, function (results, status) { - // If the point was found, then put the marker on that spot - if (status == google.maps.GeocoderStatus.OK) { - var point = results[0].geometry.location; - setFoundAddress(point); - } else { - // If no point was found, give us an alert - alert('Error: "' + address + '" was not found!'); - return null; - } - }); - }, - - /* Set the marker to the point. */ - setMarker: function (point) { - var that = this; - - // Get rid of existing markers. - this.clearForm(); - - // Add the marker - var marker = this.addMarker(point.lat(), point.lng()); - marker.setAnimation(google.maps.Animation.DROP); - - // Pan the map to the marker - that.map.panTo(point); - - // Make the marker clear the form if clicked. - google.maps.event.addListener(marker, 'click', function (event) { - if (!that.options.confirmLocationChange || confirm('Are you sure you want to remove the location of the item?')) { - that.clearForm(); - } - }); - - this.updateForm(point); - return marker; - }, - - /* Update the latitude, longitude, and zoom of the form. */ - updateForm: function (point) { - var latElement = document.getElementsByName('geolocation[latitude]')[0]; - var lngElement = document.getElementsByName('geolocation[longitude]')[0]; - var zoomElement = document.getElementsByName('geolocation[zoom_level]')[0]; - - // If we passed a point, then set the form to that. If there is no point, clear the form - if (point) { - latElement.value = point.lat(); - lngElement.value = point.lng(); - zoomElement.value = this.map.getZoom(); - } else { - latElement.value = ''; - lngElement.value = ''; - zoomElement.value = this.map.getZoom(); - } - }, - - /* Update the zoom input of the form to be the current zoom on the map. */ - updateZoomForm: function () { - var zoomElement = document.getElementsByName('geolocation[zoom_level]')[0]; - zoomElement.value = this.map.getZoom(); - }, - - /* Clear the form of all markers. */ - clearForm: function () { - // Remove the markers from the map - for (var i = 0; i < this.markers.length; i++) { - this.markers[i].setMap(null); - } - - // Clear the markers array - this.markers = []; - - // Update the form - this.updateForm(); - }, - - /* Resize the map and center it on the first marker. */ - resize: function () { - google.maps.event.trigger(this.map, 'resize'); - var point; - if (this.markers.length) { - var marker = this.markers[0]; - point = marker.getPosition(); - } else { - point = new google.maps.LatLng(this.center.latitude, this.center.longitude); - } - this.map.setCenter(point); - } -}; diff --git a/themes/default/geolocation/layers.js b/themes/default/geolocation/layers.js new file mode 100644 index 0000000..2cd58fb --- /dev/null +++ b/themes/default/geolocation/layers.js @@ -0,0 +1,123 @@ +var layers = { + "outdoors": { + "title": "Outdoors", + "url": "https://api.tiles.mapbox.com/v4/mapbox.outdoors/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", + "attribution": "Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "light": { + "title": "Light", + "url": "https://api.tiles.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", + "attribution": "Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "dark": { + "title": "Dark", + "url": "https://api.tiles.mapbox.com/v4/mapbox.dark/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", + "attribution": "Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "streets": { + "title": "Streets", + "url": "https://api.tiles.mapbox.com/v4/mapbox.streets/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", + "attribution": "Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "satellite": { + "title": "Satellite", + "url": "https://api.tiles.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", + "attribution": "Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "openTopoMap": { + "title": "OpenTopoMap", + "url": "https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png", + "attribution": "Map data: © OpenStreetMap contributors, SRTM | Map style: © OpenTopoMap (CC-BY-SA)", + "minZoom": 1, + "maxZoom": 17, + "visible": true + }, + "esriWorldImagery": { + "title": "ESRI Imagery", + "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", + "attribution": "Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "esriWorldStreet": { + "title": "ESRI Streets", + "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}", + "attribution": "Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "esriTerrain": { + "title": "ESRI Terrain", + "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}", + "attribution": "Tiles © Esri — Source: USGS, Esri, TANA, DeLorme, and NPS", + "minZoom": 0, + "maxZoom": 13, + "visible": true + }, + "esriShadeRelief": { + "title": "ESRI Shade Refief", + "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}", + "attribution": "Tiles © Esri — Source: Esri", + "minZoom": 0, + "maxZoom": 13, + "visible": true + }, + "stamenTerrain": { + "title": "Terrain", + "url": "https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}{r}.png", + "attribution": "Map tiles by Stamen Design, CC BY 3.0 — Map data © OpenStreetMap contributors", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "openStreetMapFr": { + "title": "OSM France", + "url": "https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png", + "attribution": "© Openstreetmap France | © OpenStreetMap contributors", + "minZoom": 0, + "maxZoom": 20, + "visible": true, + "default": true + }, + "openStreetMapDe": { + "title": "OSM DE", + "url": "https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png", + "attribution": "© OpenStreetMap contributors", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "hyddaFull": { + "title": "Hydda Full", + "url": "https://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png", + "attribution": "Tiles courtesy of OpenStreetMap Sweden — Map data © OpenStreetMap contributors", + "minZoom": 0, + "maxZoom": 18, + "visible": true + }, + "nasagibsAtNight": { + "title": "NASAGIBS At Night", + "url": "https://map1.vis.earthdata.nasa.gov/wmts-webmerc/VIIRS_CityLights_2012/default//GoogleMapsCompatible_Level{maxZoom}/{z}/{y}/{x}.jpg", + "attribution": "Imagery provided by services from the Global Imagery Browse Services (GIBS), operated by the NASA/GSFC/Earth Science Data and Information System (ESDIS) with funding provided by NASA/HQ.", + "minZoom": 1, + "maxZoom": 8, + "visible": true + } +}; \ No newline at end of file diff --git a/themes/default/geolocation/map/browse.php b/themes/default/geolocation/map/browse.php deleted file mode 100644 index f27da9b..0000000 --- a/themes/default/geolocation/map/browse.php +++ /dev/null @@ -1,24 +0,0 @@ - $title, 'bodyclass' => 'map browse')); -?> - -

    - - - - - -
    - googleMap('map_browse', array('list' => 'map-links', 'params' => $params)); ?> - -
    -
    - 'search'), $_SERVER['REQUEST_URI']); ?> -
    - \ No newline at end of file diff --git a/themes/default/img/amu.png b/themes/default/img/amu.png new file mode 100644 index 0000000..111a659 --- /dev/null +++ b/themes/default/img/amu.png Binary files differ diff --git a/themes/default/img/ccj.png b/themes/default/img/ccj.png new file mode 100644 index 0000000..57a5155 --- /dev/null +++ b/themes/default/img/ccj.png Binary files differ diff --git a/themes/default/img/cnrs.png b/themes/default/img/cnrs.png new file mode 100644 index 0000000..5341194 --- /dev/null +++ b/themes/default/img/cnrs.png Binary files differ diff --git a/themes/default/img/creativeCommons.png b/themes/default/img/creativeCommons.png new file mode 100644 index 0000000..55e348a --- /dev/null +++ b/themes/default/img/creativeCommons.png Binary files differ diff --git a/themes/default/img/frantiq.png b/themes/default/img/frantiq.png new file mode 100644 index 0000000..1d507cd --- /dev/null +++ b/themes/default/img/frantiq.png Binary files differ diff --git a/themes/default/img/parcourirpetit.png b/themes/default/img/parcourirpetit.png new file mode 100644 index 0000000..d00179d --- /dev/null +++ b/themes/default/img/parcourirpetit.png Binary files differ diff --git a/themes/default/javascripts/custom.js b/themes/default/javascripts/custom.js index fba4f8e..1ed6bb4 100644 --- a/themes/default/javascripts/custom.js +++ b/themes/default/javascripts/custom.js @@ -1,570 +1,546 @@ -jQuery(document).ready(function(){ - //icones reseaux Sociaux + fluxRSS - var barreIcones = jQuery('
    '); +jQuery(document).ready(function () { + //for all pages + jQuery(".breadcrumb").remove(); + jQuery("#simple-pages-breadcrumbs").remove(); + jQuery("p:empty").remove(); - barreIcones.ajouterIcone = function(lien, id, classe, title){ - this.append('' + ''); + //header + icones(); + SearchBar("header .header-icons"); // Permet le positionnement de la barre de RECHERCHE dans le header + bandeauPersonnalise(); // Ajout et positionnement de la barre de titre personnalisée + deplacerNavBarVers("#bandeauTitre"); // Permet le positionnement de la barre de NAVIGATION ailleurs que dans le header + jQuery('#primary-nav > ul.navigation').prepend(jQuery('
  • ')); + + // home + if (jQuery("#home").length) { + //Positionnement de la #featured-item dans la partie secondary. Correspond au contenu, collection et exposition mis en avant. + jQuery("#featured-item").prependTo(jQuery("#secondary")); + jQuery("#featured-collection").appendTo(jQuery("#secondary")); + jQuery("#featured-exhibit").appendTo(jQuery("#secondary")); + jQuery("#recent-items").appendTo(jQuery("#secondary")); + jQuery("#recent-items .item.record").each(function(){ + if(jQuery(this).children("a")){ + jQuery(this).children("h3").before(jQuery(this).children("a")); + } + }); + // cache les boites "vides" + if (jQuery('#primary').children().length == 0){ + jQuery('#primary').remove(); + } + if (jQuery('#secondary').children().length == 0){ + jQuery('#secondary').remove(); + } + + // bloc collection prive avec liens + if (!jQuery('#admin-bar').length) { + jQuery('.prive').remove(); + } + } + + // page items + if (jQuery(".items.browse").length) { + jQuery("#content").prepend(jQuery("#item-filters")); + //formats de sortie + jQuery('.outputs-label').text("Formats d'export des métadonnées"); + //jQuery('#content .items-nav.navigation.secondary-nav').remove(); + } + // page items browse et tags + if (jQuery('.items.browse').length || jQuery('.items.tags').length) { + jQuery("#content .items-nav.navigation.secondary-nav ul li:last-of-type").remove(); + } + + // page item + if (jQuery('.item.show').length) { + var pageTitle = jQuery('#content > h1').first().text(); + jQuery('head').append(jQuery('' + pageTitle + '')); + + //traduction francaise des titres champs item + jQuery("#dublin-core-creator h3").text("Créateur"); + jQuery("#dublin-core-publisher h3").text("Éditeur"); + jQuery("#dublin-core-provenance h3").text("Lieu de conservation"); + jQuery("#dublin-core-description h3").text("Description"); + jQuery("#dublin-core-date h3").text("Date de découverte"); + jQuery("#dublin-core-spatial-coverage h3").text("Lieu"); + jQuery("#dublin-core-temporal-coverage h3").text("Datation"); + jQuery("#dublin-core-type h3").text("Type de document"); + jQuery("#dublin-core-medium h3").text("Type de support"); + jQuery("#dublin-core-date-created h3").text("Date de création"); + jQuery("#dublin-core-references h3").text("Cité dans"); + jQuery("#dublin-core-rights h3").text("Droits"); + jQuery("#dublin-core-subject h3").text("Sujet"); + jQuery("#dublin-core-date-created h3").text("Date de création"); + jQuery("#dublin-core-relation h3").text("N° du négatif"); + jQuery("#dublin-core-format h3").text("Format"); + jQuery("#pactols-item-type-metadata-pactols-anthroponymes h3").text("Anthroponymes"); + jQuery("#pactols-item-type-metadata-pactols-oeuvres h3").text("Oeuvres"); + jQuery("#pactols-item-type-metadata-pactols-peuples h3").text("Peuples"); + jQuery("#pactols-item-type-metadata-pactols-chronologie h3").text("Chronologie"); + jQuery("#pactols-item-type-metadata-pactols-lieux h3").text("Lieu"); + jQuery("#pactols-item-type-metadata-pactols-sujets h3").text("Sujets"); + jQuery("#pactols-item-type-metadata-identifiant-original h3").text("Identifiant original"); + jQuery("#collection h3").text("Collection"); + jQuery("#item-citation h3").text("Citer ce document"); + + if (jQuery('#pactols-item-type-metadata-pactols-sujets').children().length == 2) { + jQuery('#pactols-item-type-metadata-pactols-sujets').css('display', 'block'); + } + + // traitement citation + if (jQuery('#item-citation').length) { + jQuery("#item-citation .element-text").text(jQuery("#item-citation .element-text").text().replace(",”", "”,")); + let contents = jQuery("#item-citation .element-text"); + let split = jQuery(contents).html().split(","); + split.shift(); + jQuery(contents).empty(); + jQuery(split).each(function (i) { + if (i == 1) { + jQuery(contents).append(" dans " + split[i] + ""); + jQuery(contents).append(", " + jQuery("#collection .element-text").text()); + } else { + jQuery(contents).append(split[i]); + } + if (i < split.length - 1) { + jQuery(contents).append(", "); + } + }); + } + reorganiserDisposition(); + splitURL(); + } + + // page scripto-transcription + if (jQuery(".scripto").length) { + jQuery("body").addClass("pageScripto"); + } + + //nuage de mots clés ??? à vérifier pour corea + if (jQuery(".items.tags").length) { + jQuery(".hTagcloud .popularity").html(jQuery(".hTagcloud .popularity").children().sort(tri)); + jQuery(".hTagcloud .popularity li a").each(function () { + jQuery(this).css("color", '#' + (Math.random() * 0xFFFFFF << 0).toString(16)); + }); + } + + //nav for collections and collection-tree + var nav = jQuery('
    '); + // page collections + if (jQuery('.collections.browse').length) { + + if (jQuery(".collections.browse #content h1").length) { + jQuery(".collections #content #sort-links").before(nav); + jQuery("#views a:first-of-type i").addClass("active"); + } + jQuery(".view-items-link a").each(function () { + countItems(jQuery(this)); + }); + + jQuery('
    ').insertAfter(jQuery('.collections.browse #wrap #content .collection h2')); + jQuery(".collection").each(function () { + if (jQuery(this).find(".image").length) { + jQuery(this).find(".image").prependTo(jQuery(jQuery(this).find("#description-box"))); + } + if (jQuery(this).find(".image").length) { + jQuery('.image').attr('title', 'Description de la collection'); + jQuery('.image img').attr('title', 'Description de la collection'); + jQuery('.image img').attr('alt', 'Description de la collection'); + } + if (jQuery(this).find(".collection-description").length) { + jQuery(this).find(".collection-description").appendTo(jQuery(jQuery(this).find("#description-box"))); + } + }); + } + + // collection-tree + if (jQuery("#collection-tree").length) { + jQuery("body").addClass("collection-tree"); + jQuery("#collection-tree li > a:first-of-type").each(function () { + collectionTree(jQuery(this)); + jQuery(this).addClass("hasH2"); + }); + jQuery("#collection-tree").before(nav); + jQuery(nav).before("

    Hiérarchie des collections

    "); + jQuery("#views a:nth-of-type(2) i").addClass("active"); } - barreIcones.ajouterIcone("/items/browse?output=rss2", "rss-icon", "rss-square"); - barreIcones.ajouterIcone("/admin/", "user-icon", "user-circle"); + // page collection + if (jQuery(".collections.show").length) { + jQuery("#content > h2").remove(); + jQuery(".item.hentry").remove(); + jQuery("#collection-items h2 a").text("Voir les contenus"); + countItems(jQuery("#collection-items h2 a")); + jQuery(".collections.show h1:nth-of-type(2)").remove(); + jQuery("#views").remove(); + jQuery("#collection-tree").remove(); + } - var partage = jQuery(''); - barreIcones.prepend(partage); + // advanced-search (y compris pour map) - à vérifier + epuration(); + if (jQuery('.items.advanced-search').length || jQuery('.map.browse').length) { + var titreStrong = jQuery('#content #search-narrow-by-fields .advanced-search-element').children(); + titreStrong.each(function () { + var modif = jQuery(this).text().split(/Terme/); + jQuery(this).text(modif[0]); - var shareMenu = jQuery('
    '); - barreIcones.append(shareMenu); - partage.css("cursor", "pointer"); - shareMenu.append('

    Partager sur :

    '); - shareMenu.append(jQuery('
    Twitter
    ')); - shareMenu.append(jQuery('
    Facebook
    ')); + if (jQuery(this).text() == 'PACTOLS Peuples URI'/*||this.getAttribute('value')=='95'*/) { + jQuery(this).remove(); + } + ; - let copyButton = jQuery('
    Copier l\'URL
    ') - copyButton.on('click', function(){ - let fant = document.createElement("textarea"); - shareMenu.append(fant); - fant.value = location.href; - fant.select(); - document.execCommand("copy"); - fant.remove(); - }); - shareMenu.append(copyButton); + if (jQuery(this).text() == 'Date Created'/*||this.getAttribute('value')=='57'*/) { + jQuery(this).text('Date de création'); + } + ; + }); - jQuery(document).on('click', function(e){ - if(shareMenu.css('display') === 'block' && !jQuery(e.target).is(partage)){ - shareMenu.toggle(); - } - }); + var champ1 = jQuery(' #content #search-narrow-by-fields .advanced-search-element').children()[0]; + champ1.innerHTML = '-- Sélectionner un champ --'; - partage.on("click", function(){ - if(navigator.share === undefined){ - shareMenu.toggle(); - } else { - navigator.share({ - title: 'share', - url: location.href - }); - } - }); - jQuery('header').append(barreIcones); + var champ2 = jQuery('#content #search-narrow-by-fields .advanced-search-type option:first-child'); + champ2.remove(); + jQuery(champ2).attr('selected', 'true'); - //____________________________________________________________________________________________ - deplacerIconesHeader('header .header-icons', '#site-title'); // Permet de mettre les icones User,Flux et Share dans le Header; - bandeauPersonnalise(); // Ajout et positionnement de la barre de titre personnalisée - deplacerNavBarVers("#bandeauTitre"); // Permet le positionnement de la barre de NAVIGATION ailleurs que dans le header - deplacerSearchBarVers("header .header-icons"); // Permet le positionnement de la barre de RECHERCHE dans le header - reorganiserContenu(); // Réorganise et améliore l'affichage des div d'omeka (met #featured-item,#featured-collection et #featured-exhibit dans le #secondary) - renommerChamps(); // Les champs titres Recherche de Contenu et Search the Collection pour une meilleur UX - reorganiserDisposition(); // Permet de réorganiser le contenu sur la page items/browse/ - epuration(); //Permet de supprimer le troplus de barres de recherches dans recherche sous carte et recherche avancée + var champ3 = jQuery('#content #search-narrow-by-fields .advanced-search-terms'); + champ3.attr('placeholder', 'exemple: Jacques Gascou'); - jQuery('#search-container #submit_search').attr('title', 'Rechercher ou afficher directement tout le contenu'); - jQuery('#share-icon').attr('title', 'Partager ce site'); - jQuery('#rss-icon').attr('title', 'Flux RSS'); - jQuery('#user-icon').attr('title', 'Se connecter'); + var champ4 = jQuery('#collection-search').children()[0]; + champ4.innerHTML = '-- Sélectionner une collection --'; + + jQuery(".items.advanced-search #content h1:first-of-type").text("Recherche avancée"); + jQuery("#search-keywords label").text("Rechercher dans tous les champs"); + jQuery(".inputs #keyword-search").attr('placeholder', "Entrer le(s) terme(s) à rechercher"); + jQuery("#content .items-nav.navigation.secondary-nav ul").remove(); + jQuery("#content #search-narrow-by-fields .label:first-of-type").text("(et/ou) Restreindre à des champs particuliers"); + jQuery("#content label[for=collection-search]").text("Restreindre à une collection particulière"); + jQuery("#content #submit_search_advanced").attr('value', "Lancer la recherche"); + + if (jQuery('.items.advanced-search').length && jQuery("#content .items-nav.navigation.secondary-nav ul li:last-of-type a").length) { + var remplacementRechercheContenus = document.querySelector("#content .items-nav.navigation.secondary-nav ul li:last-of-type a"); + remplacementRechercheContenus.innerHTML = 'Recherche avancée'; + } + } - jQuery('#primary-nav > ul.navigation').prepend(jQuery(' ')); + // solr + if (jQuery('.solr').length) { + jQuery("#solr-search-form").remove(); + var pagination = jQuery(".pagination-nav").clone(); + jQuery("#solr-results h2").before(pagination); + jQuery("#content h1:first-of-type").text("Résultats de recherche"); + jQuery("#solr-facets > h2:first-of-type").text("Filtrer les résultats"); + jQuery("#solr-applied-facets ul li a").each(function(){ + jQuery(this).html(""); + }); + jQuery("#solr-applied-facets ul li").each(function(){ + jQuery(this).html(jQuery(this).html().replace("(", "")); + jQuery(this).html(jQuery(this).html().replace(")", "")); + }); + solrWrapFacettes(); + solrPlus(5); + jQuery(".Creator strong").text("Auteur"); + jQuery("#solr-results h2").text(jQuery("#solr-results h2").text().replace("results", "résultats")); + } - jQuery('footer #footer-text .license div a').attr({ - target: "_blank", - title: "Licence Creative Commons" - }); + // footer + jQuery('footer #footer-text .license div a').attr({ + target: "_blank", + title: "Licence Creative Commons" + }); + jQuery("footer #footer-text > p").last().remove(); - if(jQuery('#admin-bar').length){ - jQuery('.header-icons').css('top', '3em'); - } + // cookies + cookies(); +}); +/*----function ---- */ +// header +function icones() { + var barreIcones = jQuery("
    "); + function ajouterIcone(lien, id, classe, title) { + jQuery(barreIcones).append('' + ''); + } + jQuery(barreIcones).append(''); + ajouterIcone("/admin/", "user-icon", "user-circle", "Se connecter"); + var partage = jQuery(""); + barreIcones.prepend(partage); + var shareMenu = jQuery("

    Partager sur :

    "); + barreIcones.append(shareMenu); + shareMenu.append(jQuery("
    Twitter
    ")); + shareMenu.append(jQuery("
    Facebook
    ")); + let copyButton = jQuery(""); + copyButton.on('click', function () { + let fant = document.createElement("textarea"); + shareMenu.append(fant); + fant.value = window.location.href; + fant.select(); + document.execCommand("copy"); + fant.remove(); + }); + shareMenu.append(copyButton); + jQuery(document).on("click", function (e) { + if (shareMenu.css("display") == "block" && !jQuery(e.target).is(partage)) { + shareMenu.toggle(); + } + }); + partage.on("click", function () { + if (navigator.share === undefined) { + shareMenu.toggle(); + } else { + navigator.share({url: window.location.href}); + } + }); + jQuery('header').append(barreIcones); +} - //page d'accueil - if(jQuery('#home')){ - // cache les boites "vides" - if(jQuery('#primary').children().length == 0) - jQuery('#primary').css('display', "none"); - if(jQuery('#secondary').children().length == 0) - jQuery('#secondary').css('display', "none"); +// Positionnement et personnalisation de la barre de recherche +function SearchBar(lieu) { + jQuery('#search-container').insertBefore(jQuery(lieu)); + jQuery('#search-container #submit_search').attr('title', 'Rechercher ou afficher directement tout le contenu'); + jQuery("#search-container #search-form #query").attr('placeholder', "Rechercher ou cliquer sur la loupe ");// UX- Ajout d'un texte de base grisé dans la barre de recherche +} +function bandeauPersonnalise() { + jQuery("

    Corpus & Ressources Archéologiques

    ").insertBefore(jQuery("#wrap")); + jQuery("

    du centre Camille Jullian

    ").appendTo(jQuery("#bandeauTitre")); +} +// Positionnement de la barre de navigation après le bandeau de titre personnalisé +function deplacerNavBarVers(lieu) { + jQuery('#primary-nav').insertAfter(jQuery(lieu)); + // Positionnement de la barre noire "Menu" avant le la barre de navigation(pour le responsive) + jQuery(".menu-button.button").insertBefore("#primary-nav"); +} +// home +//item show +function reorganiserDisposition() { + //rightDiv + jQuery('
    ').insertAfter(jQuery(".item.show #wrap #content")); - // bloc collection avec liens - var liens = [ - ["/collections/show/1", "files/square_thumbnails/0a4bdef65d2605a944e1f40ff91200b6.jpg", "Archives J. Gascou"], - //["/collections/show/2", "files/square_thumbnails/0a4bdef65d2605a944e1f40ff91200b6.jpg", "Impact de bombardements"], - ["/collections/show/3", "files/square_thumbnails/0a4bdef65d2605a944e1f40ff91200b6.jpg", "Archives P. Leveau"] - ]; + //geolocation + jQuery('.item.show #geolocation').prependTo(jQuery('#rightDiv')); + jQuery('#item-output-formats').appendTo(jQuery('#rightDiv')); - if(jQuery('#admin-bar').length){ - liens.push(["/collections/show/2", "files/square_thumbnails/0a4bdef65d2605a944e1f40ff91200b6.jpg", "Impact de bombardements"]); - } + //fichiers + jQuery('
    ').insertBefore(jQuery('#item-output-formats')); + jQuery('#itemfiles').appendTo(jQuery('#fichiers')); + jQuery('#itemfiles h3').css('font-variant', 'small-caps').css('font-weight', 'bold'); + jQuery('#item-images a').attr('target', '_blank'); - blocCollections(liens); - splitURL(); - } + if (jQuery('#itemfiles').length) { + jQuery('ol li a').each(function (i) { + jQuery("#item-images div:nth-of-type(" + (i + 1) + ")").append(jQuery(this).text('Transcrire')); + }); + jQuery('ol').remove(); + } - if(jQuery('.items.advanced-search').length || jQuery('.map.browse').length){ - - var titreStrong = jQuery('#content #search-narrow-by-fields .advanced-search-element').children(); - titreStrong.each(function(){ - var modif= jQuery(this).text().split(/Terme/); - jQuery(this).text(modif[0]); + //relations + jQuery('.item.show #item-relations-display-item-relations').insertAfter(jQuery('#fichiers')); + jQuery('.item.show #wrap #content h2').prependTo(jQuery('#item-relations-display-item-relations')); - if(jQuery(this).text() =='PACTOLS Peuples URI'/*||this.getAttribute('value')=='95'*/){ - jQuery(this).remove(); - }; + //transciption + jQuery('#scripto-transcription').insertBefore(jQuery('#item-relations-display-item-relations')); - if(jQuery(this).text() =='Date Created'/*||this.getAttribute('value')=='57'*/){ - jQuery(this).text('Date de création'); - }; - }); + if (jQuery('#scripto-transcription .element-text pre').length == 0 && jQuery('#scripto-transcription .element-text p').length == 0) { + jQuery('
    ').insertAfter(jQuery('#scripto-transcription .element-text'));
    +        jQuery('#scripto-transcription > pre').prependTo(jQuery('#scripto-transcription .element-text'));
    +    }
     
    -		var champ1 = jQuery(' #content #search-narrow-by-fields .advanced-search-element').children()[0];
    -		champ1.innerHTML = '-- Sélectionner un champ --';
    +    if (jQuery('#scripto-transcription .element-text pre').text().trim().length == 0) {
    +        jQuery('#scripto-transcription .element-text pre').text("Aucune transciption n'est disponible");
    +        jQuery('#scripto-transcription .element-text pre').css('font-family', 'inherit');
    +    }
    +    //format de sortie
    +    if (jQuery('#item-output-formats').length) {
    +        jQuery('.item.show #item-output-formats h2').text("Formats d'export des métadonnées");
    +    }
     
    -		var champ2 = jQuery('#content #search-narrow-by-fields .advanced-search-type option:first-child');
    -		champ2.remove();
    -		jQuery(champ2).attr('selected', 'true');
    +    jQuery('#pactols-item-type-metadata-identifiant-original').insertAfter(jQuery('#dublin-core-date-created'));
    +    jQuery('h2').css('font-weight', 'bold');
    +    jQuery('.item.show #item-relations-display-item-relations h2').html("Document(s) en relation");
    +    jQuery('#collection').prependTo(jQuery('#content .element-set:nth-of-type(1)'));
    +    jQuery('#item-relations-display-item-relations table tbody tr td span').parent().parent().remove();
    +    jQuery('

    Mots-clés PACTOLS

    ').prependTo(jQuery('#pactols-item-type-metadata-pactols-peuples').parent()); - var champ3 = jQuery('#content #search-narrow-by-fields .advanced-search-terms'); - champ3.attr('placeholder', 'exemple: Jacques Gascou'); + //réorganisation de l'affichage des images dans le tableau Documents en relation + jQuery('#item-relations-display-item-relations table tbody tr td:first-of-type').empty(); + var imgTable = jQuery('#item-relations-display-item-relations table tbody tr td:not(:first-of-type) img'); + var destinationImgTable = jQuery('#item-relations-display-item-relations table tbody tr').children(); - var champ4 = jQuery('#collection-search').children()[0]; - champ4.innerHTML = '-- Sélectionner une collection --'; - } + for (var i = 0, j = 0; i < imgTable.length; i++, j += 2) { + var imgClass = jQuery(imgTable[i]).attr("class"); + var imgStyle = jQuery(imgTable[i]).attr("style"); + var imgSrc = jQuery(imgTable[i]).attr("src"); + var imgLink = jQuery(imgTable[i]).attr("title"); + var imgAlt = jQuery(imgTable[i]).attr("alt"); - if(jQuery('.collections.browse').length){ - jQuery('
    ').insertAfter(jQuery('.collections.browse #wrap #content .collection h2')); + jQuery(destinationImgTable[j]).html(''); + jQuery(imgTable[i]).remove(); + } + jQuery('#item-relations-display-item-relations table tbody tr td img.thumbnail').css('width', 'auto').css('height', '60px').css('float', 'none').css('padding', '0'); + jQuery('#item-relations-display-item-relations table tr td a').attr('target', '_blank'); + //Formats de sortie + jQuery('.item.show #wrap #content nav').insertBefore(jQuery('footer')); +} +// transformation des url dans la fiche item +function splitURL() { + var regexURL = /http.*/; //expression régulière récupérant tout ce qui commence par http + var toSplit1 = jQuery('#dublin-core-creator .element-text').text(); + var checkCreatorURLCreator = regexURL.test(toSplit1); //vérifie que le contenu de l'expression régulère existe - jQuery(".collection").each(function(){ - if(jQuery(this).find(".image").length){ - jQuery(this).find(".image").prependTo(jQuery(jQuery(this).find("#description-box"))); - } - if(jQuery(this).find(".image").length){ - jQuery('.image').attr('title','Description de la collection'); - jQuery('.image img').attr('title','Description de la collection'); - jQuery('.image img').attr('alt','Description de la collection'); - } + if (checkCreatorURLCreator) { + var split1 = regexURL.exec(toSplit1); + var lienISNI = ''; + var regResult = toSplit1.replace(regexURL, lienISNI); + jQuery('#dublin-core-creator .element-text').html(regResult); + } - if(jQuery(this).find(".collection-description").length){ - jQuery(this).find(".collection-description").appendTo(jQuery(jQuery(this).find("#description-box"))); - } - }); - } + var toSplit3 = jQuery('#dublin-core-references .element-text').text(); + var checkReferencesURLReferences = regexURL.test(toSplit3); //vérifie que le contenu de l'expression régulère existe - if(jQuery('.outputs-label').length){ - jQuery('.outputs-label').text("Format d'export des métadonnées"); - } + if (checkReferencesURLReferences) { + var split3 = regexURL.exec(toSplit3); + var lienARK = ''; + var regResult = toSplit3.replace(regexURL, lienARK); + jQuery('#dublin-core-references .element-text').html(regResult); + } - cookies(); + var emplacement = jQuery("#content .element-set:nth-of-type(n+2) .element .element-text a"); - jQuery("#accept").on('click', function(){ - jQuery("#cookies").hide(1000); - localStorage.setItem("bannerCookies", true); - }); + emplacement.each(function () { + var split2 = jQuery(this).text().split(/(http:\/\/|https:\/\/)/); + if (split2.length > 1) { + jQuery(this).html(split2[0].trim()); + jQuery(this).parent().append(''); + } + }); +} +// collections +function countItems(element) { + var url = document.location.origin + "/api/collections/" + element.attr("href").split("=")[1]; + jQuery.get(url, function (data) { + element.text(element.text() + " (" + data.items.count + ")"); + }); +} +function collectionTree(element) { + var id = element.attr("href").split("/")[3]; + var url = document.location.origin + "/api/collections/" + id; + jQuery.get(url, function (data) { + var lienContenus = jQuery("Voir les contenus"); + element.after(jQuery("").prepend(lienContenus)); + //element.after(lienContenus); + countItems(lienContenus); + //description + var element_texts = data.element_texts; + if(element_texts[1]){ + var text = element_texts[1].text; + if (text.length > 200) { + text = text.substr(0, 200) + " ..."; + if(text.includes("" + img + "

    " + text + "

    "); + } + else{ + element.after("

    " + text + "

    "); + } + } + } +}); +} +// advanced-search (y compris pour map) - à vérifier +//Permet de supprimer le troplus de barres de recherches dans recherche sous carte et recherche avancée +function epuration() { + if (jQuery('.items.advanced-search').length || jQuery('.map.browse').length) { + jQuery('.field').each(function (i) { + if (i == 2 || i >= 4) { + jQuery(this).remove(); + } + }); + } +} +// solr +var solrWrapFacettes = function () { + jQuery("#solr-facets strong").each(function () { + let nomFacette = jQuery(this); + let classFacette = nomFacette.text().replace(/\s/g, ''); + let listeFacettes = nomFacette.next(); + let affPlus = listeFacettes.next(); - function cookies(){ - if(!localStorage.getItem("bannerCookies")){ - var banniere = jQuery("

    En poursuivant votre navigation, vous acceptez le dépôt de cookies destinés à mesurer la fréquentation du site grâce au logiciel Matomo.
    Cliquez sur 'OK' pour continuer.

    En savoir plus
    ") - jQuery("body").append(banniere) - } - } - - //remplacer texte, donner le selecteur précis dans lequel il n'y a que le texte a remplacer, pas la boite parent - function remplacerTexte(selecteur, texte){ - jQuery(selecteur).text(texte); - } - //document.location.pathname.startsWith("/items/show/") - if(jQuery('.item.show').length){ - var pageTitle = jQuery('#content > h1').first().text(); - jQuery('head').append(jQuery('' + pageTitle + '')); - - //traduction francaise des titres champs item - remplacerTexte("#dublin-core-creator h3", "Créateur :"); - remplacerTexte("#dublin-core-publisher h3", "Éditeur :"); - remplacerTexte("#dublin-core-provenance h3", "Lieu de conservation :"); - remplacerTexte("#dublin-core-description h3", "Description :"); - remplacerTexte("#dublin-core-date h3", "Date de découverte :"); - remplacerTexte("#dublin-core-spatial-coverage h3", "Lieu :"); - remplacerTexte("#dublin-core-temporal-coverage h3", "Datation :"); - remplacerTexte("#dublin-core-type h3", "Type de document :"); - remplacerTexte("#dublin-core-medium h3", "Type de support :"); - remplacerTexte("#dublin-core-date-created h3", "Date de création :"); - remplacerTexte("#dublin-core-references h3", "Cité dans :"); - remplacerTexte("#dublin-core-rights h3", "Droits :"); - remplacerTexte("#dublin-core-subject h3", "Sujet :"); - remplacerTexte("#dublin-core-date-created h3", "Date de création :"); - remplacerTexte("#dublin-core-relation h3", "N° du négatif :"); - remplacerTexte("#dublin-core-format h3", "Format :"); - remplacerTexte("#pactols-item-type-metadata-pactols-anthroponymes h3", "Anthroponymes :"); - remplacerTexte("#pactols-item-type-metadata-pactols-oeuvres h3", "Oeuvres :"); - remplacerTexte("#pactols-item-type-metadata-pactols-peuples h3", "Peuples :"); - remplacerTexte("#pactols-item-type-metadata-pactols-chronologie h3", "Chronologie :"); - remplacerTexte("#pactols-item-type-metadata-pactols-lieux h3", "Lieu :"); - remplacerTexte("#pactols-item-type-metadata-pactols-sujets h3", "Sujets :"); - remplacerTexte("#pactols-item-type-metadata-identifiant-original h3", "Identifiant original :"); - remplacerTexte("#collection h3", "Collection :"); - remplacerTexte("#item-citation h3", "Citer ce document :"); - - if(jQuery('#pactols-item-type-metadata-pactols-sujets').children().length == 2){ - jQuery('#pactols-item-type-metadata-pactols-sujets').css('display', 'block'); - } - - // traitement citation - if(jQuery('#item-citation').length){ - jQuery("#item-citation .element-text").text(jQuery("#item-citation .element-text").text().replace(",”", "”,")); - let contents = jQuery("#item-citation .element-text"); - let split = jQuery(contents).html().split(","); - split.shift(); - jQuery(contents).empty(); - jQuery(split).each(function(i){ - if(i == 1){ - jQuery(contents).append(" dans " + split[i] + ""); - jQuery(contents).append(", " + jQuery("#collection .element-text").text()); - } - else{ - jQuery(contents).append(split[i]); - } - if(i < split.length - 1){ - jQuery(contents).append(", "); - } - }); - } - } - - if(jQuery('.solr').length){ - solrWrapFacettes(); - solrPlus(5); - jQuery("#solr-results h2").text(jQuery("#solr-results h2").text().replace("results", "résultats")); - } - - if(jQuery('#scripto-transcribe').length && jQuery('#scripto-transcription')){ - } + nomFacette.wrap('
    '); + jQuery('.' + classFacette + '').append(listeFacettes); + if (affPlus.hasClass('more')) { + jQuery('.' + classFacette + '').append(affPlus); +} +}); + jQuery('.facet-value').each(function () { + jQuery(this).html(jQuery(this).text().trim()); }); -/* _______________________________________________________________________________ - * FUNCTIONS - */ - var solrWrapFacettes = function(){ - jQuery("#solr-facets strong").each(function(){ - let nomFacette = jQuery(this); - let classFacette = nomFacette.text().replace(/\s/g, ''); - let listeFacettes = nomFacette.next(); - let affPlus = listeFacettes.next(); + var place = jQuery('#solr-facets .Creator ul li a'); - nomFacette.wrap('
    '); - jQuery('.' + classFacette + '').append(listeFacettes); - if(affPlus.hasClass('more')){ - jQuery('.' + classFacette + '').append(affPlus); + place.each(function () { + var split = jQuery(this).text().split("http://"); + if (split.length > 1) { + jQuery(this).html(split[0].trim()); + jQuery('').insertAfter(jQuery(this)); +} +}); + + var titreStrong = jQuery('#solr-facets div strong'); + + titreStrong.each(function () { + var modified = jQuery(this).text().split(/Terme/); + jQuery(this).text(modified[0]); + + if (jQuery(this).text() == "Creator") { + jQuery(this).text("Créateur"); +} +; +if (jQuery(this).text() == "Medium") { + jQuery(this).text("Type de support"); +} +; +}); +}; +function solrPlus(nbFacettes){ + var ul = jQuery("#solr-facets ul"); + ul.each(function () { + var li = jQuery(this).children(); + var longueur = li.length; + if (longueur > nbFacettes) { + var cache = li.slice(nbFacettes, longueur); + cache.hide(); + var diff = longueur - nbFacettes; + var afficherPlus = jQuery("
    Afficher tout (" + diff + ")
    "); + jQuery(this).after(afficherPlus); + afficherPlus.on("click", function () { + cache.toggle(); + var texte = afficherPlus.html(); + if (texte.includes("tout")){ + afficherPlus.text("Afficher moins"); + } + else{ + afficherPlus.text("Afficher tout (" + diff + ")"); + } + }); } }); +}; +// cookies +function cookies() { + if (!localStorage.getItem("bannerCookies")) { + jQuery("body").append(jQuery("

    En poursuivant votre navigation, vous acceptez le dépôt de cookies destinés à mesurer la fréquentation du site grâce au logiciel Matomo.
    Cliquez sur 'OK' pour continuer.

    En savoir plus
    ")); + } + jQuery("#cookies button#accept").on("click", function () { + jQuery("#cookies").hide(1000); + localStorage.setItem("bannerCookies", true); + }); +} - var solrGlobal = jQuery('.facet-value'); - solrGlobal.each(function(){ - jQuery(this).html(jQuery(this).text().trim()); - }); - - var place = jQuery('#solr-facets .Creator ul li a'); - - place.each(function(){ - var split = jQuery(this).text().split("http://"); - if(split.length > 1){ - jQuery(this).html(split[0].trim()); - jQuery('').insertAfter(jQuery(this)); - } - }); - - var titreStrong = jQuery('#solr-facets div strong'); - - titreStrong.each(function(){ - var modified = jQuery(this).text().split(/Terme/); - jQuery(this).text(modified[0]); - - if(jQuery(this).text()=="Creator"){ - jQuery(this).text("Créateur"); - }; - if(jQuery(this).text()=="Medium"){ - jQuery(this).text("Type de support"); - }; - }); - } - - var solrPlus = function(param){ - var allUl = jQuery("#solr-facets ul"); - - allUl.each(function(){ - var ul = jQuery(this); - var allLi = ul.children(); - var longueur = allLi.length; - if(longueur > param){ - var cache = allLi.slice(param, longueur); - cache.hide(); - let diff = longueur - param; - let afficherPlus = jQuery('
    Afficher tout (' + diff + ')
    '); - ul.after(afficherPlus); - afficherPlus.on("click", function(){ - cache.toggle(); - let texte = afficherPlus.html(); - if(texte.includes("tout")) - afficherPlus.html(texte.replace("tout", "moins")); - else - afficherPlus.html(texte.replace("tout", "plus")); - }); - } - }); - - } - - function deplacerIconesHeader(objetADeplacer, endroit){ - jQuery(objetADeplacer).insertAfter(jQuery(endroit)); - } - - function deplacerNavBarVers(lieu){ - jQuery('#primary-nav').insertAfter(jQuery(lieu)); // Positionnement de la barre de navigation après le bandeau de titre personnalisé - jQuery(".menu-button.button").insertBefore("#primary-nav");// Positionnement de la barre noire "Menu" avant le la barre de navigation(pour le responsive) - } - - function deplacerSearchBarVers(lieu){ - jQuery('#search-container').insertBefore(jQuery(lieu)); // Positionnement et personnalisation de la barre de recherche - jQuery("#search-container #search-form #query").attr('placeholder', "Rechercher ou cliquer sur la loupe ");// UX- Ajout d'un texte de base grisé dans la barre de recherche - } - - function bandeauPersonnalise(){ - jQuery("

    Corpus & Ressources Archéologiques

    ").insertBefore(jQuery("#wrap")); - jQuery("

    du centre Camille Jullian

    ").appendTo(jQuery("#bandeauTitre")); - } - - function reorganiserContenu(){ - //Positionnement de la #featured-item dans la partie secondary. Correspond au contenu, collection et exposition mis en avant. - jQuery("#featured-item").prependTo(jQuery("#secondary")); - jQuery("#featured-collection").appendTo(jQuery("#secondary")); - jQuery("#featured-exhibit").appendTo(jQuery("#secondary")); - jQuery("#recent-items").appendTo(jQuery("#secondary")); - - //parcourir les collections - var nav = jQuery('
    '); - - if(jQuery(".collections.browse #content h1").length){ - jQuery(".collections #content #sort-links").before(nav); - jQuery("#views a:first-of-type i").addClass("active"); - jQuery(".view-items-link a").each(function(){ - countItems(jQuery(this)); - }); - } - - if(jQuery('#content #collection-tree').length){ - jQuery('#content').css('min-height', '0').css('flex-direction', 'column').css('float', 'none').css('margin', '0 auto').css('width','80%'); - jQuery("#collection-tree").before(nav); - jQuery(nav).before("

    Hiérarchie des collections

    "); - jQuery("#views a:nth-of-type(2) i").addClass("active"); - jQuery("#collection-tree ul li a").each(function(){ - var linkTree = jQuery(this); - var url = document.location.origin + "/api/collections/" + linkTree.attr("href").split("/")[3]; - // on recupere les items et on les compte - jQuery.get(url, function(data){ - linkTree.after(" (contenu : " + data.items.count + " total)"); - }); - }); - } - } - - function renommerChamps(){ - var remplacement_h1 = document.querySelector("#wrap #content h1:first-of-type"); - var remplacement_h2 = document.querySelector("#solr-facets > h2:first-of-type"); - - if(jQuery('.map.browse').length){ - document.querySelector(".remove_search").innerHTML = (''); - } - - if(jQuery('.items.advanced-search').length && jQuery("#content .items-nav.navigation.secondary-nav ul li:last-of-type a").length){ - var remplacementRechercheContenus = document.querySelector("#content .items-nav.navigation.secondary-nav ul li:last-of-type a"); - remplacementRechercheContenus.innerHTML = 'Recherche avancée'; - } - - if(jQuery('#content .solr').length){ - remplacement_h1.innerHTML = 'Résultats de recherche'; - } - - if(remplacement_h2){ - remplacement_h2.innerHTML = 'Filtrer les résultats'; - } - - if(jQuery('.items.advanced-search').length){ - remplacement_h1.innerHTML = 'Recherche avancée'; - } - - if(jQuery('.items.advanced-search').length || jQuery('.map.browse').length){ - jQuery("#search-keywords label").text("Rechercher dans tous les champs"); - jQuery(".inputs #keyword-search").attr('placeholder', "Entrer le(s) terme(s) à rechercher"); - jQuery("#content .items-nav.navigation.secondary-nav ul").remove(); - jQuery("#content #search-narrow-by-fields .label:first-of-type").text("(et/ou) Restreindre à des champs particuliers"); - jQuery("#content label[for=collection-search]").text("(et/ou) Restreindre à une collection particulière"); - jQuery("#content #submit_search_advanced").attr('value', "Lancer la recherche"); - } - - if(jQuery('.items.browse').length || jQuery('.items.tags').length){ - jQuery("#content .items-nav.navigation.secondary-nav ul li:last-of-type").remove(); - } - } - - //items et collections /show - function reorganiserDisposition(){ - //rightDiv - jQuery('
    ').insertAfter(jQuery(".item.show #wrap #content")); - - //geolocation - jQuery('.item.show #geolocation').prependTo(jQuery('#rightDiv')); - jQuery('#item-output-formats').appendTo(jQuery('#rightDiv')); - - //fichiers - jQuery('
    ').insertBefore(jQuery('#item-output-formats')); - jQuery('#itemfiles').appendTo(jQuery('#fichiers')); - jQuery('#itemfiles h3').css('font-variant','small-caps').css('font-weight','bold'); - jQuery('#item-images a').attr('target', '_blank'); - - if(jQuery('#itemfiles').length){ - jQuery('ol li a').each(function(i){ - jQuery("#item-images div:nth-of-type("+(i+1)+")").append(jQuery(this).text('Transcrire')); - }); - jQuery('ol').remove(); - } - - //relations - jQuery('.item.show #item-relations-display-item-relations').insertAfter(jQuery('#fichiers')); - jQuery('.item.show #wrap #content h2').prependTo(jQuery('#item-relations-display-item-relations')); - - //transciption - if(jQuery('.item.show').length){ - jQuery('#scripto-transcription').insertBefore(jQuery('#item-relations-display-item-relations')); - - if(jQuery('#scripto-transcription .element-text pre').length == 0 && jQuery('#scripto-transcription .element-text p').length == 0){ - jQuery('
    ').insertAfter(jQuery('#scripto-transcription .element-text'));
    -			jQuery('#scripto-transcription > pre').prependTo(jQuery('#scripto-transcription .element-text'));
    -		}
    -
    -		if(jQuery('#scripto-transcription .element-text pre').text().trim().length == 0){
    -		  jQuery('#scripto-transcription .element-text pre').text("Aucune transciption n'est disponible");
    -		  jQuery('#scripto-transcription .element-text pre').css('font-family', 'inherit');
    -		}
    -	  }
    -
    -	  //format de sortie
    -	  if(jQuery('#item-output-formats').length){
    -		jQuery('.item.show #item-output-formats h2').text("Format d'export des métadonnées");
    -	  }
    -	  if(jQuery('.items.browse').length){
    -		jQuery('#content .items-nav.navigation.secondary-nav').remove();
    -	  }
    -
    -	  if(jQuery('.item.show').length){
    -		jQuery('#pactols-item-type-metadata-identifiant-original').insertAfter(jQuery('#dublin-core-date-created'));
    -		jQuery('h2').css('font-weight','bold');
    -		jQuery('.item.show #item-relations-display-item-relations h2').html("Document(s) en relation");
    -		jQuery('#collection').prependTo(jQuery('#content .element-set:nth-of-type(1)'));
    -		jQuery('#item-relations-display-item-relations table tbody tr td span').parent().parent().remove();
    -		jQuery('

    Mots-clés PACTOLS

    ').prependTo(jQuery('#pactols-item-type-metadata-pactols-peuples').parent()); - - //réorganisation de l'affichage des images dans le tableau Documents en relation - jQuery('#item-relations-display-item-relations table tbody tr td:first-of-type').empty(); - var imgTable = jQuery('#item-relations-display-item-relations table tbody tr td:not(:first-of-type) img'); - var destinationImgTable = jQuery('#item-relations-display-item-relations table tbody tr').children(); - - for (var i = 0, j = 0; i < imgTable.length; i++, j += 2){ - var imgClass = jQuery(imgTable[i]).attr("class"); - var imgStyle = jQuery(imgTable[i]).attr("style"); - var imgSrc = jQuery(imgTable[i]).attr("src"); - var imgLink = jQuery(imgTable[i]).attr("title"); - var imgAlt = jQuery(imgTable[i]).attr("alt"); - - jQuery(destinationImgTable[j]).html(''); - jQuery(imgTable[i]).remove(); - } - jQuery('#item-relations-display-item-relations table tbody tr td img.thumbnail').css('width', 'auto').css('height', '60px').css('float', 'none').css('padding', '0'); - jQuery('#item-relations-display-item-relations table tr td a').attr('target', '_blank'); - } - - //Formats de sortie - jQuery('.item.show #wrap #content nav').insertBefore(jQuery('footer')); - - //collections/shows -> épuration - if(jQuery(".collections.show").length){ - countItems(jQuery('.collections.show #collection-items h2 a')); - jQuery('.collections.show #collection-items .item.hentry').remove(); - jQuery('.admin-bar.collections.show #collection-items .item.hentry').remove(); - } - } - - // transformation des url dans la fiche item - function splitURL(){ - var regexURL = /http.*/; //expression régulière récupérant tout ce qui commence par http - - if(jQuery('.item.show').length){ - var toSplit1 = jQuery('#dublin-core-creator .element-text').text(); - var checkCreatorURLCreator = regexURL.test(toSplit1); //vérifie que le contenu de l'expression régulère existe - - if(checkCreatorURLCreator){ - var split1 = regexURL.exec(toSplit1); - var lienISNI = ''; - var regResult = toSplit1.replace(regexURL, lienISNI); - jQuery('#dublin-core-creator .element-text').html(regResult); - } - - var toSplit3 = jQuery('#dublin-core-references .element-text').text(); - var checkReferencesURLReferences = regexURL.test(toSplit3); //vérifie que le contenu de l'expression régulère existe - - if(checkReferencesURLReferences){ - var split3 = regexURL.exec(toSplit3); - var lienARK = ''; - var regResult = toSplit3.replace(regexURL, lienARK); - jQuery('#dublin-core-references .element-text').html(regResult); - } - - var emplacement = jQuery("#content .element-set:nth-of-type(n+2) .element .element-text a"); - - emplacement.each(function(){ - var split2 = jQuery(this).text().split(/(http:\/\/|https:\/\/)/); - if(split2.length > 1){ - jQuery(this).html(split2[0].trim()); - jQuery(this).parent().append(''); - } - }); - - } - } - - function epuration(){ /*Recherche avancée*/ - if(jQuery('.items.advanced-search').length || jQuery('.map.browse').length){ - jQuery('.field').each(function(i){ - if(i == 2 || i >= 4){ - jQuery(this).remove(); - } - }); - } - } - // collections dans la page d'accueil - function blocCollections(liens){ - var div = jQuery("
    "); - jQuery(liens).each(function(){ - // s'il y a un lien - if(this[0]){ - var element = ""; - } - element += ""; - div.append(jQuery(element)); - } - }); - jQuery('

    Collections

    ').prependTo(div); - jQuery("#home #content #primary").append(div); - } - - // affiche le nombre d'items d'une collection entre parenthèses - function countItems(element){ - var url = document.location.origin + "/api/collections/" + element.attr("href").split("=")[1]; - jQuery.get(url, function(data){ - element.text(element.text() + " (" + data.items.count + ")"); - }); - } \ No newline at end of file +// tri ordre alphabétique des mots clés +function tri(a, b) { + if (jQuery(a).text() < jQuery(b).text()) { + return -1; + } + if (jQuery(a).text() > jQuery(b).text()) { + return 1; + } + return 0; +} \ No newline at end of file diff --git a/themes/default/logos_img/icones/RSS.png b/themes/default/logos_img/icones/RSS.png deleted file mode 100644 index 8475b49..0000000 --- a/themes/default/logos_img/icones/RSS.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/Twitter.png b/themes/default/logos_img/icones/Twitter.png deleted file mode 100644 index c61ca13..0000000 --- a/themes/default/logos_img/icones/Twitter.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/blank_new_tab.png b/themes/default/logos_img/icones/blank_new_tab.png deleted file mode 100644 index bf8d5b9..0000000 --- a/themes/default/logos_img/icones/blank_new_tab.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/facebookIcon.png b/themes/default/logos_img/icones/facebookIcon.png deleted file mode 100644 index 0d1f43d..0000000 --- a/themes/default/logos_img/icones/facebookIcon.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/hypotheses.png b/themes/default/logos_img/icones/hypotheses.png deleted file mode 100644 index 45cd565..0000000 --- a/themes/default/logos_img/icones/hypotheses.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/maison_icone.png b/themes/default/logos_img/icones/maison_icone.png deleted file mode 100644 index 3ae0161..0000000 --- a/themes/default/logos_img/icones/maison_icone.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/maison_icone_bleu.png b/themes/default/logos_img/icones/maison_icone_bleu.png deleted file mode 100644 index 07c0141..0000000 --- a/themes/default/logos_img/icones/maison_icone_bleu.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/maison_icone_bleu_ccj.png b/themes/default/logos_img/icones/maison_icone_bleu_ccj.png deleted file mode 100644 index e99a86a..0000000 --- a/themes/default/logos_img/icones/maison_icone_bleu_ccj.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/bleuClairPin.png b/themes/default/logos_img/icones/mapPins/bleuClairPin.png deleted file mode 100644 index 0726f38..0000000 --- a/themes/default/logos_img/icones/mapPins/bleuClairPin.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/bleuPin.png b/themes/default/logos_img/icones/mapPins/bleuPin.png deleted file mode 100644 index f17a179..0000000 --- a/themes/default/logos_img/icones/mapPins/bleuPin.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/bleufonce.png b/themes/default/logos_img/icones/mapPins/bleufonce.png deleted file mode 100644 index bc7fdfd..0000000 --- a/themes/default/logos_img/icones/mapPins/bleufonce.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/noirPin.png b/themes/default/logos_img/icones/mapPins/noirPin.png deleted file mode 100644 index 07c39f4..0000000 --- a/themes/default/logos_img/icones/mapPins/noirPin.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/orange-map-pin.svg.hi.png b/themes/default/logos_img/icones/mapPins/orange-map-pin.svg.hi.png deleted file mode 100644 index 4b89e0e..0000000 --- a/themes/default/logos_img/icones/mapPins/orange-map-pin.svg.hi.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/orange-map-pin.svg.hi_2.png b/themes/default/logos_img/icones/mapPins/orange-map-pin.svg.hi_2.png deleted file mode 100644 index 9acbc89..0000000 --- a/themes/default/logos_img/icones/mapPins/orange-map-pin.svg.hi_2.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/orangePin.png b/themes/default/logos_img/icones/mapPins/orangePin.png deleted file mode 100644 index 8833e83..0000000 --- a/themes/default/logos_img/icones/mapPins/orangePin.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/pinBleuFull.png b/themes/default/logos_img/icones/mapPins/pinBleuFull.png deleted file mode 100644 index 7171dce..0000000 --- a/themes/default/logos_img/icones/mapPins/pinBleuFull.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/rosePin.png b/themes/default/logos_img/icones/mapPins/rosePin.png deleted file mode 100644 index 91f35b6..0000000 --- a/themes/default/logos_img/icones/mapPins/rosePin.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/rougePin.png b/themes/default/logos_img/icones/mapPins/rougePin.png deleted file mode 100644 index 162e256..0000000 --- a/themes/default/logos_img/icones/mapPins/rougePin.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/vertClairPin.png b/themes/default/logos_img/icones/mapPins/vertClairPin.png deleted file mode 100644 index 1e145a9..0000000 --- a/themes/default/logos_img/icones/mapPins/vertClairPin.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/vertPin.png b/themes/default/logos_img/icones/mapPins/vertPin.png deleted file mode 100644 index 8d15f71..0000000 --- a/themes/default/logos_img/icones/mapPins/vertPin.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/mapPins/vertfonce.png b/themes/default/logos_img/icones/mapPins/vertfonce.png deleted file mode 100644 index c08e249..0000000 --- a/themes/default/logos_img/icones/mapPins/vertfonce.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/new_tab.png b/themes/default/logos_img/icones/new_tab.png deleted file mode 100644 index 69dbc72..0000000 --- a/themes/default/logos_img/icones/new_tab.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/partage.png b/themes/default/logos_img/icones/partage.png deleted file mode 100644 index c4ef1fe..0000000 --- a/themes/default/logos_img/icones/partage.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/pinChateau.gif b/themes/default/logos_img/icones/pinChateau.gif deleted file mode 100644 index 70d0021..0000000 --- a/themes/default/logos_img/icones/pinChateau.gif +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/pressePapier.png b/themes/default/logos_img/icones/pressePapier.png deleted file mode 100644 index 694c1ea..0000000 --- a/themes/default/logos_img/icones/pressePapier.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/user_icon.png b/themes/default/logos_img/icones/user_icon.png deleted file mode 100644 index 487aafb..0000000 --- a/themes/default/logos_img/icones/user_icon.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/icones/user_icons.png b/themes/default/logos_img/icones/user_icons.png deleted file mode 100644 index 3119212..0000000 --- a/themes/default/logos_img/icones/user_icons.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/img/Leveau_Cherchell.jpg b/themes/default/logos_img/img/Leveau_Cherchell.jpg deleted file mode 100644 index a20cf88..0000000 --- a/themes/default/logos_img/img/Leveau_Cherchell.jpg +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/img/Leveau_Cherchell_necroocc.jpg b/themes/default/logos_img/img/Leveau_Cherchell_necroocc.jpg deleted file mode 100644 index b2e837d..0000000 --- a/themes/default/logos_img/img/Leveau_Cherchell_necroocc.jpg +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/img/imgaccueil.jpg b/themes/default/logos_img/img/imgaccueil.jpg deleted file mode 100644 index befd311..0000000 --- a/themes/default/logos_img/img/imgaccueil.jpg +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/img/parcourirpetit.png b/themes/default/logos_img/img/parcourirpetit.png deleted file mode 100644 index d00179d..0000000 --- a/themes/default/logos_img/img/parcourirpetit.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/2-LOGO_CNRS_2019_RVB_petit.png b/themes/default/logos_img/logos/2-LOGO_CNRS_2019_RVB_petit.png deleted file mode 100644 index 5341194..0000000 --- a/themes/default/logos_img/logos/2-LOGO_CNRS_2019_RVB_petit.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/AMU2017.jpg b/themes/default/logos_img/logos/AMU2017.jpg deleted file mode 100644 index c2de37d..0000000 --- a/themes/default/logos_img/logos/AMU2017.jpg +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/CCJ_logo+tex1_coul_vect.png b/themes/default/logos_img/logos/CCJ_logo+tex1_coul_vect.png deleted file mode 100644 index 57a5155..0000000 --- a/themes/default/logos_img/logos/CCJ_logo+tex1_coul_vect.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/LOGO_CNRS_2019_RVB.png b/themes/default/logos_img/logos/LOGO_CNRS_2019_RVB.png deleted file mode 100644 index 4667e1e..0000000 --- a/themes/default/logos_img/logos/LOGO_CNRS_2019_RVB.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/ccj.jpg b/themes/default/logos_img/logos/ccj.jpg deleted file mode 100644 index aa5a85f..0000000 --- a/themes/default/logos_img/logos/ccj.jpg +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/grand_est_developpe_couleur.png b/themes/default/logos_img/logos/grand_est_developpe_couleur.png deleted file mode 100644 index c6a097b..0000000 --- a/themes/default/logos_img/logos/grand_est_developpe_couleur.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/grand_logoCNRS.png b/themes/default/logos_img/logos/grand_logoCNRS.png deleted file mode 100644 index 1e59763..0000000 --- a/themes/default/logos_img/logos/grand_logoCNRS.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/logoCNRS.png b/themes/default/logos_img/logos/logoCNRS.png deleted file mode 100644 index f2a6f18..0000000 --- a/themes/default/logos_img/logos/logoCNRS.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/logo_amu_rvb.png b/themes/default/logos_img/logos/logo_amu_rvb.png deleted file mode 100644 index 111a659..0000000 --- a/themes/default/logos_img/logos/logo_amu_rvb.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/logo_corea_modified.png b/themes/default/logos_img/logos/logo_corea_modified.png deleted file mode 100644 index 006108c..0000000 --- a/themes/default/logos_img/logos/logo_corea_modified.png +++ /dev/null Binary files differ diff --git a/themes/default/logos_img/logos/logo_frantiq.png b/themes/default/logos_img/logos/logo_frantiq.png deleted file mode 100644 index 1d507cd..0000000 --- a/themes/default/logos_img/logos/logo_frantiq.png +++ /dev/null Binary files differ