CSS de la première fenêtre de recherche

This commit is contained in:
Vincent Calame 2023-07-08 00:20:31 +02:00 committed by root
parent 4e353d8729
commit 36b4178bb9
5 changed files with 121 additions and 143 deletions

View File

@ -40,48 +40,51 @@ Structure du client
<!-- main --> <!-- main -->
<!-- main.main-form --> <!-- main.main-form -->
<form data-scrutari-form="mainsearch"> <form data-scrutari-form="mainsearch" role="search">
<!-- main.main-form.area-input --> <!-- main.main-form.area-input -->
<div data-scrutari-area="input" class="scrutari-lav-Input"> <div data-scrutari-area="input" class="lav-input-Area">
<input type="search" class="scrutari-input-Text" size="40" name="q" value="" placeholder="Chercher un sujet, un-e intervenant-e…"> <span class="lav-input-Block">
<button type="submit" class="btn scrutari-lav-Submit">Rechercher</button> <i class="fas fa-search"></i>
<input type="search" class="lav-input-Field" size="40" name="q" value="" placeholder="Chercher un sujet, un-e intervenant-e…">
</span>
<button type="submit" class="btn lav-input-Submit">Rechercher</button>
</div> </div>
<!-- /main.main-form.area-input --> <!-- /main.main-form.area-input -->
<!-- main.main-form.area-parameters --> <!-- main.main-form.area-parameters -->
<details data-scrutari-area="parameters" class="scrutari-lav-details-Container"> <details data-scrutari-area="parameters" class="lav-details-Container">
<summary class="scrutari-lav-details-Summary">Option de recherche avancée</summary> <summary class="lav-details-Summary">Option de recherche avancée</summary>
<div class="scrutari-lav-details-Body"> <div class="lav-details-Body">
<p> <p>
<button data-scrutari-button="showModal" data-scrutari-target="help_relation" type="button" title="Aide sur les relations"> <button data-scrutari-button="showModal" data-scrutari-target="help_relation" type="button" title="Aide sur les relations">
<i class="fas fa-question-circle"></i> <i class="fas fa-question-circle"></i>
</button> </button>
<span>Relations :</span> <span>Relations :</span>
<label class="scrutari-Label"><input type="radio" name="q-mode" value="intersection" checked> Et</label> <label><input type="radio" name="q-mode" value="intersection" checked> Et</label>
<label class="scrutari-Label"><input type="radio" name="q-mode" value="union"> Ou</label> <label><input type="radio" name="q-mode" value="union"> Ou</label>
<label class="scrutari-Label"><input type="radio" name="q-mode" value="operation"> Avancée</label> <label><input type="radio" name="q-mode" value="operation"> Avancée</label>
</p> </p>
<p> <p>
<button data-scrutari-button="showModal" data-scrutari-target="help_ponderation" type="button" title="Aide sur la priorité"> <button data-scrutari-button="showModal" data-scrutari-target="help_ponderation" type="button" title="Aide sur la priorité">
<i class="fas fa-question-circle"></i> <i class="fas fa-question-circle"></i>
</button> </button>
<span>Priorité :</span> <span>Priorité :</span>
<label class="scrutari-Label"><input type="radio" name="ponderation" value="pertinence" checked> Pertinence</label> <label><input type="radio" name="ponderation" value="pertinence" checked> Pertinence</label>
<label class="scrutari-Label"><input type="radio" name="ponderation" value="date"> Date</label> <label><input type="radio" name="ponderation" value="date"> Date</label>
</p> </p>
<p> <p>
<button data-scrutari-button="showModal" data-scrutari-target="help_periode" type="button" title="Aide sur la période"> <button data-scrutari-button="showModal" data-scrutari-target="help_periode" type="button" title="Aide sur la période">
<i class="fas fa-question-circle"></i> <i class="fas fa-question-circle"></i>
</button> </button>
<span>Période :</span> <span>Période :</span>
<input type="text" class="scrutari-input-Text" name="periode" value="" size="20"> <input type="text" class="lav-details-Input" name="periode" value="" size="20">
</p> </p>
<p> <p>
<button data-scrutari-button="showModal" data-scrutari-target="help_elargir" type="button" title="Aide sur « élargir »"> <button data-scrutari-button="showModal" data-scrutari-target="help_elargir" type="button" title="Aide sur « élargir »">
<i class="fas fa-question-circle"></i> <i class="fas fa-question-circle"></i>
</button> </button>
<span>Élargir :</span> <span>Élargir :</span>
<label class="scrutari-Label"><input type="radio" name="wildchar" value="end" checked> Oui*</label> <label><input type="radio" name="wildchar" value="end" checked> Oui*</label>
<label class="scrutari-Label"><input type="radio" name="wildchar" value="none"> Non</label> <label><input type="radio" name="wildchar" value="none"> Non</label>
</p> </p>
</div> </div>
</details> </details>
@ -92,25 +95,25 @@ Structure du client
<div data-scrutari-area="result" class="scrutari-area-Result"> <div data-scrutari-area="result" class="scrutari-area-Result">
<div class="scrutari-Hidden" data-scrutari-hidden="empty"> <div class="scrutari-Hidden" data-scrutari-hidden="empty">
<h3>Votre recherche :</h3> <h3>Votre recherche :</h3>
<p id="scrutari_lav_sequence" class="scrutari-lav-Sequence"></p> <p id="scrutari_lav_sequence" class="lav-Sequence"></p>
</div> </div>
<div class="scrutari-Hidden scrutari-lav-Filtre" data-scrutari-hidden="empty"> <div class="scrutari-Hidden lav-Filtre" data-scrutari-hidden="empty">
<p>Filtrer les résultats : <p>Filtrer les résultats :
<label class="scrutari-lav-FiltreLabel"><input type="radio" name="lav-site" value="tous" checked> Tous</label> <label class="lav-FiltreLabel"><input type="radio" name="lav-site" value="tous" checked> Tous</label>
<span data-scrutari-count="total-tous" class="scrutari-lav-Total">(<span data-scrutari-component="value"></span>)</span> <span data-scrutari-count="total-tous" class="lav-Total">(<span data-scrutari-component="value"></span>)</span>
<label class="scrutari-lav-FiltreLabel"><input type="radio" name="lav-site" value="libreavous" class="scrutari-lav-Total"> Libre à vous !</label> <label class="lav-FiltreLabel"><input type="radio" name="lav-site" value="libreavous" class="lav-Total"> Libre à vous !</label>
<span data-scrutari-count="total-libreavous" class="scrutari-lav-Total">(<span data-scrutari-component="value"></span>)</span> <span data-scrutari-count="total-libreavous" class="lav-Total">(<span data-scrutari-component="value"></span>)</span>
<label class="scrutari-lav-FiltreLabel"><input type="radio" name="lav-site" value="librealire"> Libre à lire</label> <label class="lav-FiltreLabel"><input type="radio" name="lav-site" value="librealire"> Libre à lire</label>
<span data-scrutari-count="total-librealire" class="scrutari-lav-Total">(<span data-scrutari-component="value"></span>)</span> <span data-scrutari-count="total-librealire" class="lav-Total">(<span data-scrutari-component="value"></span>)</span>
</p> </p>
</div> </div>
<!-- main.area-result.result-history --> <!-- main.area-result.result-history -->
<div class="scrutari-Hidden scrutari-lav-history-Container" data-scrutari-hidden="start"> <div class="scrutari-Hidden lav-history-Container" data-scrutari-hidden="start">
<span class="scrutari-lav-history-Label">Votre historique :</span> <span class="lav-history-Label">Votre historique :</span>
<div data-scrutari-block="historyList" class="scrutari-lav-history-List"> <div data-scrutari-block="historyList" class="lav-history-List">
</div> </div>
<span> <span>
<button class="scrutari-lav-history-Clear" data-scrutari-button="clearHistory" title="Vider lhistorique"><i class="fas fa-trash"></i></button> <button class="lav-history-Clear" data-scrutari-button="clearHistory" title="Vider lhistorique"><i class="fas fa-trash"></i></button>
</span> </span>
</div> </div>
<!-- /main.area-result.result-history --> <!-- /main.area-result.result-history -->
@ -124,7 +127,7 @@ Structure du client
</p> </p>
</div> </div>
<!-- /main.area-result.result-links --> <!-- /main.area-result.result-links -->
<div class="scrutari-Hidden scrutari-lav-TitreResultats" data-scrutari-hidden="empty"> <div class="scrutari-Hidden lav-TitreResultats" data-scrutari-hidden="empty">
<h3>Vos résultats</h3> <h3>Vos résultats</h3>
</div> </div>
<div data-scrutari-block="paginationBlock"></div> <div data-scrutari-block="paginationBlock"></div>
@ -138,7 +141,6 @@ Structure du client
<!-- /main --> <!-- /main -->
</div> </div>
</article> </article>

View File

@ -1,12 +1,12 @@
var SCRUTARI_HTML = { var SCRUTARI_HTML = {
_name:'_default', _name:'_default',
structure:{ structure:{
'area-input':'<div data-scrutari-area="input"> <input type="text" class="scrutari-input-Text" size="40" name="q" value=""> <button type="submit">_ button_submit</button> <button type="button" data-scrutari-button="parametersDisplay" class="scrutari-Hidden" data-scrutari-state="off"> _ button_parameters </button> </div>', 'area-input':'<div data-scrutari-area="input" class="scrutari-area-Input"> <input type="search" size="40" name="q" value=""> <button type="submit">_ button_submit</button> <button type="button" data-scrutari-button="parametersDisplay" class="scrutari-Hidden" data-scrutari-state="off"> _ button_parameters </button> </div> ',
'area-parameters':'<div data-scrutari-area="parameters" class="scrutari-area-Parameters scrutari-Hidden"> {{panel-options}} {{panel-corpus}} {{panel-base}} {{panel-lang}} {{panel-category}} <div class="scrutari-area-Resubmit"> <button type="submit">_ button_resubmit</button> </div> </div>', 'area-parameters':'<div data-scrutari-area="parameters" class="scrutari-area-Parameters scrutari-Hidden"> {{panel-options}} {{panel-corpus}} {{panel-base}} {{panel-lang}} {{panel-category}} <div class="scrutari-area-Resubmit"> <button type="submit">_ button_resubmit</button> </div> </div>',
'area-result':'<div data-scrutari-area="result" class="scrutari-area-Result"> <div data-scrutari-block="paginationBlock"></div> <div class="scrutari-Hidden" data-scrutari-hidden="empty"> {{result-links}} </div> {{result-history}} <div class="scrutari-Hidden" data-scrutari-hidden="threshold"> {{result-subsearch}} </div> <div class="scrutari-Hidden" data-scrutari-hidden="empty"> {{result-poweredby}} </div> </div>', 'area-result':'<div data-scrutari-area="result" class="scrutari-area-Result"> <div data-scrutari-block="paginationBlock"></div> <div class="scrutari-Hidden" data-scrutari-hidden="empty"> {{result-links}} </div> {{result-history}} <div class="scrutari-Hidden" data-scrutari-hidden="threshold"> {{result-subsearch}} </div> <div class="scrutari-Hidden" data-scrutari-hidden="empty"> {{result-poweredby}} </div> </div>',
'area-stats':'<div data-scrutari-area="stats" class="scrutari-area-Stats"> {{stats-table}} </div> ', 'area-stats':'<div data-scrutari-area="stats" class="scrutari-area-Stats"> {{stats-table}} </div> ',
'area-title':'<div data-scrutari-area="title" class="scrutari-area-Title"> <p class="scrutari-title-Main" data-scrutari-title="main"></p> </div> ', 'area-title':'<div data-scrutari-area="title" class="scrutari-area-Title"> <p class="scrutari-title-Main" data-scrutari-title="main"></p> </div> ',
'main-form':'<form data-scrutari-form="mainsearch"> {{area-input}} {{area-parameters}} </form>', 'main-form':'<form data-scrutari-form="mainsearch" role="search"> {{area-input}} {{area-parameters}} </form>',
'main':'{{area-title}} {{main-form}} {{area-stats}} {{area-result}} {{modal-*}}', 'main':'{{area-title}} {{main-form}} {{area-stats}} {{area-result}} {{modal-*}}',
'modal-help_mode':'<aside class="scrutari-Hidden" data-scrutari-modal="help_mode" aria-hidden="true"> <header> _ mode_help </header> <div> _ help_mode.html </div> </aside>', 'modal-help_mode':'<aside class="scrutari-Hidden" data-scrutari-modal="help_mode" aria-hidden="true"> <header> _ mode_help </header> <div> _ help_mode.html </div> </aside>',
'modal-help_periode':'<aside class="scrutari-Hidden" data-scrutari-modal="help_periode" aria-hidden="true"> <header> _ periode_help </header> <div> _ help_periode.html </div> </aside>', 'modal-help_periode':'<aside class="scrutari-Hidden" data-scrutari-modal="help_periode" aria-hidden="true"> <header> _ periode_help </header> <div> _ help_periode.html </div> </aside>',
@ -16,11 +16,11 @@ structure:{
'panel-category':'<section class="scrutari-Hidden" data-scrutari-panel="category"> <header> <h1 data-scrutari-button="toggleBlock" data-scrutari-state="off" data-scrutari-target="categoryPanelBody"> _ title_filter_category <span data-scrutari-label="categoryFilter" class="scrutari-panel-State scrutari-Disabled" data-scrutari-alternate="_ filter_on">_ filter_off</span> </h1> </header> <div class="scrutari-Hidden" data-scrutari-block="categoryPanelBody"> <div> <span> <button type="button" data-scrutari-button="enablePanel" data-scrutari-target="category" data-scrutari-state="off"> <span data-scrutari-alternate="_ button_filter_off">_ button_filter_on</span> </button> </span> <span> <button type="button" data-scrutari-button="checkAll" data-scrutari-target="category" disabled>_ button_check_all</button> <button type="button" data-scrutari-button="uncheckAll" data-scrutari-target="category" disabled>_ button_uncheck_all</button> </span> </div> <div > <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="categoryColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="categoryColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="categoryColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="categoryColumns"></div> </div> </div> </section>', 'panel-category':'<section class="scrutari-Hidden" data-scrutari-panel="category"> <header> <h1 data-scrutari-button="toggleBlock" data-scrutari-state="off" data-scrutari-target="categoryPanelBody"> _ title_filter_category <span data-scrutari-label="categoryFilter" class="scrutari-panel-State scrutari-Disabled" data-scrutari-alternate="_ filter_on">_ filter_off</span> </h1> </header> <div class="scrutari-Hidden" data-scrutari-block="categoryPanelBody"> <div> <span> <button type="button" data-scrutari-button="enablePanel" data-scrutari-target="category" data-scrutari-state="off"> <span data-scrutari-alternate="_ button_filter_off">_ button_filter_on</span> </button> </span> <span> <button type="button" data-scrutari-button="checkAll" data-scrutari-target="category" disabled>_ button_check_all</button> <button type="button" data-scrutari-button="uncheckAll" data-scrutari-target="category" disabled>_ button_uncheck_all</button> </span> </div> <div > <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="categoryColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="categoryColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="categoryColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="categoryColumns"></div> </div> </div> </section>',
'panel-corpus':'<section class="scrutari-Hidden" data-scrutari-panel="corpus"> <header> <h1 data-scrutari-button="toggleBlock" data-scrutari-state="off" data-scrutari-target="corpusPanelBody"> _ title_filter_corpus <span data-scrutari-label="corpusFilter" class="scrutari-panel-State scrutari-Disabled" data-scrutari-alternate="_ filter_on">_ filter_off</span> </h1> </header> <div class="scrutari-Hidden" data-scrutari-block="corpusPanelBody"> <div> <span> <button type="button" data-scrutari-button="enablePanel" data-scrutari-target="corpus" data-scrutari-state="off"> <span data-scrutari-alternate="_ button_filter_off">_ button_filter_on</span> </button> </span> <span> <button type="button" data-scrutari-button="checkAll" data-scrutari-target="corpus" disabled>_ button_check_all</button> <button type="button" data-scrutari-button="uncheckAll" data-scrutari-target="corpus" disabled>_ button_uncheck_all</button> </span> </div> <div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="corpusColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="corpusColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="corpusColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="corpusColumns"></div> </div> </div> </section>', 'panel-corpus':'<section class="scrutari-Hidden" data-scrutari-panel="corpus"> <header> <h1 data-scrutari-button="toggleBlock" data-scrutari-state="off" data-scrutari-target="corpusPanelBody"> _ title_filter_corpus <span data-scrutari-label="corpusFilter" class="scrutari-panel-State scrutari-Disabled" data-scrutari-alternate="_ filter_on">_ filter_off</span> </h1> </header> <div class="scrutari-Hidden" data-scrutari-block="corpusPanelBody"> <div> <span> <button type="button" data-scrutari-button="enablePanel" data-scrutari-target="corpus" data-scrutari-state="off"> <span data-scrutari-alternate="_ button_filter_off">_ button_filter_on</span> </button> </span> <span> <button type="button" data-scrutari-button="checkAll" data-scrutari-target="corpus" disabled>_ button_check_all</button> <button type="button" data-scrutari-button="uncheckAll" data-scrutari-target="corpus" disabled>_ button_uncheck_all</button> </span> </div> <div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="corpusColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="corpusColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="corpusColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="corpusColumns"></div> </div> </div> </section>',
'panel-lang':'<section class="scrutari-Hidden" data-scrutari-panel="lang"> <header> <h1 data-scrutari-button="toggleBlock" data-scrutari-state="off" data-scrutari-target="langPanelBody"> _ title_filter_lang <span data-scrutari-label="langFilter" class="scrutari-panel-State scrutari-Disabled" data-scrutari-alternate="_ filter_on">_ filter_off</span> </h1> </header> <div class="scrutari-Hidden" data-scrutari-block="langPanelBody"> <div> <span> <button type="button" data-scrutari-button="enablePanel" data-scrutari-target="lang" data-scrutari-state="off"> <span data-scrutari-alternate="_ button_filter_off">_ button_filter_on</span> </button> </span> <span> <button type="button" data-scrutari-button="checkAll" data-scrutari-target="lang" disabled>_ button_check_all</button> <button type="button" data-scrutari-button="uncheckAll" data-scrutari-target="lang" disabled>_ button_uncheck_all</button> </span> </div> <div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="langColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="langColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="langColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="langColumns"></div> </div> </div> </section>', 'panel-lang':'<section class="scrutari-Hidden" data-scrutari-panel="lang"> <header> <h1 data-scrutari-button="toggleBlock" data-scrutari-state="off" data-scrutari-target="langPanelBody"> _ title_filter_lang <span data-scrutari-label="langFilter" class="scrutari-panel-State scrutari-Disabled" data-scrutari-alternate="_ filter_on">_ filter_off</span> </h1> </header> <div class="scrutari-Hidden" data-scrutari-block="langPanelBody"> <div> <span> <button type="button" data-scrutari-button="enablePanel" data-scrutari-target="lang" data-scrutari-state="off"> <span data-scrutari-alternate="_ button_filter_off">_ button_filter_on</span> </button> </span> <span> <button type="button" data-scrutari-button="checkAll" data-scrutari-target="lang" disabled>_ button_check_all</button> <button type="button" data-scrutari-button="uncheckAll" data-scrutari-target="lang" disabled>_ button_uncheck_all</button> </span> </div> <div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="langColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="langColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="langColumns"></div> <div class="scrutari-panel-ColumnDisabled" data-scrutari-group="langColumns"></div> </div> </div> </section>',
'panel-options':'<section data-scrutari-panel="options"> <header> <h1 data-scrutari-button="toggleBlock" data-scrutari-state="off" data-scrutari-target="optionsPanelBody"> _ title_options </h1> </header> <div class="scrutari-Hidden" data-scrutari-block="optionsPanelBody"> <div> <div> <p><span>_ mode_title</span><button data-scrutari-button="showModal" data-scrutari-target="help_mode" type="button" title="_ mode_help">?</button></p> <p><label class="scrutari-Label"><input type="radio" name="q-mode" value="intersection" checked> _ mode_intersection</label></p> <p><label class="scrutari-Label"><input type="radio" name="q-mode" value="union"> _ mode_union</label></p> <p><label class="scrutari-Label"><input type="radio" name="q-mode" value="operation"> _ mode_operation</label></p> <p><label class="scrutari-Label"><input type="checkbox" name="wildchar" value="end" checked> _ wildchar_end</label></p> </div> <div> <p><span>_ ponderation_title</span><button data-scrutari-button="showModal" data-scrutari-target="help_ponderation" type="button" title="_ ponderation_help">?</button></p> <p><label class="scrutari-Label"><input type="radio" name="ponderation" value="pertinence" checked> _ ponderation_pertinence</label></p> <p><label class="scrutari-Label"><input type="radio" name="ponderation" value="date"> _ ponderation_date</label></p> </div> <div> <p><span>_ periode_title</span><button data-scrutari-button="showModal" data-scrutari-target="help_periode" type="button" title="_ periode_help">?</button></p> <p><input type="text" class="scrutari-input-Text" name="periode" value="" size="20"></p> </div> </div> </div> </section>', 'panel-options':'<section data-scrutari-panel="options"> <header> <h1 data-scrutari-button="toggleBlock" data-scrutari-state="off" data-scrutari-target="optionsPanelBody"> _ title_options </h1> </header> <div class="scrutari-Hidden" data-scrutari-block="optionsPanelBody"> <div> <div> <p><span>_ mode_title</span><button data-scrutari-button="showModal" data-scrutari-target="help_mode" type="button" title="_ mode_help">?</button></p> <p><label><input type="radio" name="q-mode" value="intersection" checked> _ mode_intersection</label></p> <p><label><input type="radio" name="q-mode" value="union"> _ mode_union</label></p> <p><label><input type="radio" name="q-mode" value="operation"> _ mode_operation</label></p> <p><label><input type="checkbox" name="wildchar" value="end" checked> _ wildchar_end</label></p> </div> <div> <p><span>_ ponderation_title</span><button data-scrutari-button="showModal" data-scrutari-target="help_ponderation" type="button" title="_ ponderation_help">?</button></p> <p><label><input type="radio" name="ponderation" value="pertinence" checked> _ ponderation_pertinence</label></p> <p><label><input type="radio" name="ponderation" value="date"> _ ponderation_date</label></p> </div> <div> <p><span>_ periode_title</span><button data-scrutari-button="showModal" data-scrutari-target="help_periode" type="button" title="_ periode_help">?</button></p> <p><input type="text" name="periode" value="" size="20"></p> </div> </div> </div> </section>',
'result-history':'<div class="scrutari-Hidden" data-scrutari-hidden="start"> <p class="scrutari-links-Title">_ title_history</p> <div data-scrutari-block="historyList"> </div> </div>', 'result-history':'<div class="scrutari-Hidden" data-scrutari-hidden="start"> <p class="scrutari-links-Title">_ title_history</p> <div data-scrutari-block="historyList"> </div> </div>',
'result-links':'<p class="scrutari-links-Title">_ title_share</p> <p class="scrutari-links-Permalink"> <a href="#" data-scrutari-link="permalink" target="_blank" title="_ link_permalink" > <span data-scrutari-label="permalinkValue"></span> </a> </p> <p class="scrutari-links-Title">_ title_download</p> <p> <a href="#" data-scrutari-link="ods" target="_blank" title="_ link_ods" class="scrutari-links-ButtonLike">ods</a> <a href="#" data-scrutari-link="csv" target="_blank" title="_ link_csv" class="scrutari-links-ButtonLike">csv</a> </p> <p class="scrutari-links-Title">_ title_feed</p> <p> <a href="#" data-scrutari-link="atom" target="_blank" title="_ link_atom" class="scrutari-links-ButtonLike">atom</a> </p>', 'result-links':'<p class="scrutari-links-Title">_ title_share</p> <p class="scrutari-links-Permalink"> <a href="#" data-scrutari-link="permalink" target="_blank" title="_ link_permalink" > <span data-scrutari-label="permalinkValue"></span> </a> </p> <p class="scrutari-links-Title">_ title_download</p> <p> <a href="#" data-scrutari-link="ods" target="_blank" title="_ link_ods" class="scrutari-links-ButtonLike">ods</a> <a href="#" data-scrutari-link="csv" target="_blank" title="_ link_csv" class="scrutari-links-ButtonLike">csv</a> </p> <p class="scrutari-links-Title">_ title_feed</p> <p> <a href="#" data-scrutari-link="atom" target="_blank" title="_ link_atom" class="scrutari-links-ButtonLike">atom</a> </p>',
'result-poweredby':'<p class="scrutari-links-Poweredby"><a href="http://www.scrutari.net" target="_blank"><span class="scrutari-icon-Logo"></span> _ link_poweredby</a></p>', 'result-poweredby':'<p class="scrutari-links-Poweredby"><a href="http://www.scrutari.net" target="_blank"><span class="scrutari-icon-Logo"></span> _ link_poweredby</a></p>',
'result-subsearch':'<form data-scrutari-form="subsearch"> <p class="scrutari-subsearch-Title">_ title_subsearch</p> <input type="text" class="scrutari-input-Text" size="40" name="q"> <button type="submit">_ button_subsearch</button> </form>', 'result-subsearch':'<form data-scrutari-form="subsearch"> <p class="scrutari-subsearch-Title">_ title_subsearch</p> <input type="search" size="40" name="q"> <button type="submit">_ button_subsearch</button> </form>',
'stats-filter':'<tr class="scrutari-Hidden" data-scrutari-hidden="filter" data-scrutari-count="stats-filter"> <td class="scrutari-stats-Cell"><abbr class="scrutari-stats-Abbr" title="_ stats_filter_title">_ stats_filter_short</abbr></td> <td class="scrutari-stats-Cell scrutari-stats-Number"><span class="scrutari-stats-Count" data-scrutari-component="value"></span></td> <td class="scrutari-stats-Cell scrutari-stats-Titles"><span data-scrutari-component="titles"></span></td> </tr>', 'stats-filter':'<tr class="scrutari-Hidden" data-scrutari-hidden="filter" data-scrutari-count="stats-filter"> <td class="scrutari-stats-Cell"><abbr class="scrutari-stats-Abbr" title="_ stats_filter_title">_ stats_filter_short</abbr></td> <td class="scrutari-stats-Cell scrutari-stats-Number"><span class="scrutari-stats-Count" data-scrutari-component="value"></span></td> <td class="scrutari-stats-Cell scrutari-stats-Titles"><span data-scrutari-component="titles"></span></td> </tr>',
'stats-global':'<tr class="scrutari-Hidden" data-scrutari-hidden="init" data-scrutari-count="stats-global"> <td class="scrutari-stats-Cell"><abbr class="scrutari-stats-Abbr" title="_ stats_global_title">_ stats_global_short</abbr></td> <td class="scrutari-stats-Cell scrutari-stats-Number"><span class="scrutari-stats-Count" data-scrutari-component="value"></span></td> </tr>', 'stats-global':'<tr class="scrutari-Hidden" data-scrutari-hidden="init" data-scrutari-count="stats-global"> <td class="scrutari-stats-Cell"><abbr class="scrutari-stats-Abbr" title="_ stats_global_title">_ stats_global_short</abbr></td> <td class="scrutari-stats-Cell scrutari-stats-Number"><span class="scrutari-stats-Count" data-scrutari-component="value"></span></td> </tr>',
'stats-result':'<tr class="scrutari-Hidden" data-scrutari-hidden="start" data-scrutari-count="stats-result"> <td class="scrutari-stats-Cell"><abbr class="scrutari-stats-Abbr" title="_ stats_result_title">_ stats_result_short</abbr></td> <td class="scrutari-stats-Cell scrutari-stats-Number"><span class="scrutari-stats-Count" data-scrutari-component="value"></span></td> </tr>', 'stats-result':'<tr class="scrutari-Hidden" data-scrutari-hidden="start" data-scrutari-count="stats-result"> <td class="scrutari-stats-Cell"><abbr class="scrutari-stats-Abbr" title="_ stats_result_title">_ stats_result_short</abbr></td> <td class="scrutari-stats-Cell scrutari-stats-Number"><span class="scrutari-stats-Count" data-scrutari-component="value"></span></td> </tr>',

View File

@ -11,6 +11,11 @@ kbd {
font-size: 14px; font-size: 14px;
} }
input[type="text"], input[type="search"] {
background-color: #edf1f5;
color: #005184;
}
@ -70,16 +75,6 @@ kbd {
} }
/*****************************************************
* .scrutari-input : Surcharge de classes Scrutari par défaut
******************************************************/
.scrutari-input-Text {
background-color: #edf1f5;
color: #005184;
}
/***************************************************** /*****************************************************
* .scrutari-overlay : Surcharge de classes Scrutari par défaut * .scrutari-overlay : Surcharge de classes Scrutari par défaut
******************************************************/ ******************************************************/
@ -148,95 +143,90 @@ kbd {
/***************************************************** /*****************************************************
* .scrutari-lav- : Classes spécifiques à la version * .lav- : Classes spécifiques à la version
* pour Libre à vous * pour Libre à vous
******************************************************/ ******************************************************/
.scrutari-lav-Filtre { .lav-Filtre {
padding-bottom: 5px; padding-bottom: 5px;
border-bottom: solid 1px #eaeef3; border-bottom: solid 1px #eaeef3;
} }
.scrutari-lav-FiltreLabel { .lav-FiltreLabel {
display: inline-block; display: inline-block;
margin-left: 5px; margin-left: 5px;
} }
.scrutari-lav-Input { .lav-Operateur {
display: grid;
grid-template-columns: 1fr max-content;
column-gap: 30px;
}
.scrutari-lav-Operateur {
color: #acd0f9; color: #acd0f9;
} }
.scrutari-lav-Sequence { .lav-Sequence {
font-size: 2.5em; font-size: 2.5em;
margin-bottom: 15px; margin-bottom: 15px;
} }
.scrutari-lav-Submit { .lav-TitreResultats {
background: #f7651a;
color: #FFF !important;
}
.scrutari-lav-TitreResultats {
margin-bottom: 25px; margin-bottom: 25px;
margin-top: 50px; margin-top: 50px;
} }
.scrutari-lav-Total { .lav-Total {
font-size: 0.85em; font-size: 0.85em;
} }
/***************************************************** /*****************************************************
* .scrutari-lav-details- : Options de recherche * .lav-details- : Options de recherche
******************************************************/ ******************************************************/
.scrutari-lav-details-Container { .lav-details-Container {
border-bottom: solid 1px #eaeef3; border-bottom: solid 1px #eaeef3;
margin-top: 10px; margin-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
margin-bottom: 35px; margin-bottom: 35px;
} }
.scrutari-lav-details-Body { .lav-details-Body {
padding-left: 15px; padding-left: 15px;
margin-top: 10px; margin-top: 10px;
display: grid; display: grid;
grid-template-columns: max-content; grid-template-columns: max-content;
} }
.scrutari-lav-details-Body p { .lav-details-Body p {
border-bottom: solid 1px #eaeef3; border-bottom: solid 1px #eaeef3;
margin: 0; margin: 0;
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
} }
.scrutari-lav-details-Body button { .lav-details-Body button {
background: transparent; background: transparent;
padding: 0; padding: 0;
margin: 0; margin: 0;
border: none; border: none;
} }
.scrutari-lav-details-Body .fas { .lav-details-Body .fas {
color: #acd0f9; color: #acd0f9;
} }
.scrutari-lav-details-Body .fas:hover { .lav-details-Body .fas:hover {
color: #00c4f5; color: #00c4f5;
} }
.scrutari-lav-details-Body p:last-child { .lav-details-Body p:last-child {
border-bottom: none; border-bottom: none;
} }
.scrutari-lav-details-Summary { .lav-details-Input {
border-color: #bbbcbc;
border-style: solid;
border-width: 1px;
}
.lav-details-Summary {
cursor: pointer; cursor: pointer;
font-family: 'Metropolis',sans-serif; font-family: 'Metropolis',sans-serif;
font-weight: 700; font-weight: 700;
@ -244,10 +234,10 @@ kbd {
/***************************************************** /*****************************************************
* .scrutari-lav-history- : Historique * .lav-history- : Historique
******************************************************/ ******************************************************/
.scrutari-lav-history-Container { .lav-history-Container {
display: flex; display: flex;
align-items: baseline; align-items: baseline;
padding-top: 5px; padding-top: 5px;
@ -256,27 +246,56 @@ kbd {
margin-bottom: 5px; margin-bottom: 5px;
} }
.scrutari-lav-history-List { .lav-history-List {
flex-grow: 1; flex-grow: 1;
} }
.scrutari-lav-history-Label { .lav-history-Label {
flex-shrink: 0; flex-shrink: 0;
} }
.scrutari-lav-history-Clear { .lav-history-Clear {
flex-shrink: 0; flex-shrink: 0;
background-color: transparent; background-color: transparent;
} }
.scrutari-lav-history-Clear .fas { .lav-history-Clear .fas {
color: #acd0f9; color: #acd0f9;
} }
.scrutari-lav-history-Clear .fas:hover { .lav-history-Clear .fas:hover {
color: #00c4f5; color: #00c4f5;
} }
/*****************************************************
* .lav-input- : Traitement
******************************************************/
.lav-input-Area {
display: grid;
grid-template-columns: 1fr max-content;
column-gap: 30px;
}
.lav-input-Block {
display: flex;
align-items: center;
padding: 5px;
border-color: #bbbcbc;
border-style: solid;
border-width: 1px;
background-color: #edf1f5;
}
.lav-input-Field {
border: none;
flex-grow: 1;
margin-left: 5px
}
.lav-input-Submit {
background: #f7651a;
color: #FFF !important;
font-weight: 700;
}

View File

@ -18,54 +18,6 @@ background-color: #e9e9e9;
} }
/*****************************************************
* .scrutari-area
******************************************************/
.scrutari-area-Parameters {
margin-top: 5px;
margin-bottom: 25px;
}
.scrutari-area-Result {
margin-bottom: 10px;
}
.scrutari-area-Stats {
margin-top: 15px;
margin-bottom: 15px;
}
.scrutari-area-Title {
}
.scrutari-area-Resubmit {
margin-top: 5px;
text-align: right;
}
/*****************************************************
* .scrutari-category
******************************************************/
.scrutari-group-Tab {
display: inline-block;
padding-left: 4px;
padding-right: 4px;
cursor: pointer;
}
.scrutari-group-Tab:hover {
background-color: #e9e9e9;
}
.scrutari-group-Tab.scrutari-On {
cursor: auto;
background-color: #e9e9e9;
}
/***************************************************** /*****************************************************
* .scrutari-fiche * .scrutari-fiche
******************************************************/ ******************************************************/
@ -188,6 +140,27 @@ margin-left: 15px;
} }
/*****************************************************
* .scrutari-group
******************************************************/
.scrutari-group-Tab {
display: inline-block;
padding-left: 4px;
padding-right: 4px;
cursor: pointer;
}
.scrutari-group-Tab:hover {
background-color: #e9e9e9;
}
.scrutari-group-Tab.scrutari-On {
cursor: auto;
background-color: #e9e9e9;
}
/***************************************************** /*****************************************************
* .scrutari-history * .scrutari-history
******************************************************/ ******************************************************/
@ -241,22 +214,6 @@ height: 32px;
} }
/*****************************************************
* .scrutari-input
******************************************************/
.scrutari-input-Text {
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
padding: 2px;
border-style: solid;
border-width: 1px;
border-color: #dfdfdf;
border-top-color: #a0a0a0;
border-left-color: #a0a0a0;
}
/***************************************************** /*****************************************************
* .scrutari-label * .scrutari-label
******************************************************/ ******************************************************/

View File

@ -1,4 +1,4 @@
/* version: 4195 */ /* version: 4198 */
var Scrutari = {}; var Scrutari = {};
Scrutari.log = function (msg) { Scrutari.log = function (msg) {
if ((console) && (console.log)) { if ((console) && (console.log)) {
@ -2981,7 +2981,7 @@ Scrutari.Process.prototype.processEmpty = function ($paginationBlock) {
var scrutariResult = this.scrutariResult; var scrutariResult = this.scrutariResult;
client.$hidden("empty", 'hide'); client.$hidden("empty", 'hide');
let withFilter; let withFilter;
if (searchOrigin === "subsearch") { if (this.searchOrigin === "subsearch") {
withFilter = true; withFilter = true;
} else { } else {
withFilter = Scrutari.Utils.hasFilter(scrutariResult.requestParameters); withFilter = Scrutari.Utils.hasFilter(scrutariResult.requestParameters);