Skip to content

Commit

Permalink
Correction de la taille des bouttons
Browse files Browse the repository at this point in the history
  • Loading branch information
salahinlibro committed Oct 2, 2023
1 parent cb4d6fe commit 90b4b6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 20 deletions.
16 changes: 5 additions & 11 deletions Koha/Plugin/Carrousel/opac-carrousel.tt
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]" title="[% item.title %]"><img class="cloudcarousel" src="[% item.url %]" alt="[% item.title %]" ></a>
[% END %]
[% END %]

<button class="[% carrousel.title || carrousel.name %]" aria-label="previous" style="float:left; height:175px" onclick="Right(this)" type="button">&lt;</button>
<button class="[% carrousel.title || carrousel.name %]" aria-label="next" style="float:right; height:175px" onclick="Left(this)" type="button">&gt;</button>
</div>
</div>
<div class="controls">
<button class="[% carrousel.title || carrousel.name %]" aria-label="previous" style="float:left" onclick="Right(this)" type="button">&lt;</button>
<button class="[% carrousel.title || carrousel.name %]" aria-label="next" style="float:right" onclick="Left(this)" type="button">&gt;</button>
</div>
[% END %]
</div>
[% END %]
Expand Down Expand Up @@ -260,7 +259,7 @@
width:100px;
}

#inlibro-carrousel .slider {
#inlibro-carrousel .slider style="position:relative;" {
overflow: hidden;
}

Expand Down Expand Up @@ -293,16 +292,11 @@

#inlibro-carrousel .images {
left: 0px;
position: relative;
position:relative;
white-space: nowrap;

}

#inlibro-carrousel .controls{
margin-bottom: 116px;
margin-top: 20px;
}

#inlibro-carrousel button{
color : #[%txtColor%];
background-color: #[%bgColor%];
Expand Down
13 changes: 4 additions & 9 deletions Koha/Plugin/Carrousel/opac-carrousel_fr-CA.tt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<div id="carrousel-[% loop.index %]" class="slider">
<H2>[% carrousel.title || carrousel.name %]</H2>
<hr>

[% IF (carrousel.documents.size() > 0) %]
<div id="[% carrousel.title || carrousel.name %]">
<div class="images">
Expand All @@ -36,12 +37,11 @@
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]" title="[% item.title %]"><img class="cloudcarousel" src="[% item.url %]" alt="[% item.title %]" ></a>
[% END %]
[% END %]

<button class="[% carrousel.title || carrousel.name %]" aria-label="previous" style="float:left; height:175px" onclick="Right(this)" type="button">&lt;</button>
<button class="[% carrousel.title || carrousel.name %]" aria-label="next" style="float:right; height:175px" onclick="Left(this)" type="button">&gt;</button>
</div>
</div>
<div class="controls">
<button class="[% carrousel.title || carrousel.name %]" aria-label="précédent" style="float:left" onclick="Right(this)" type="button">&lt;</button>
<button class="[% carrousel.title || carrousel.name %]" aria-label="suivant" style="float:right" onclick="Left(this)" type="button">&gt;</button>
</div>
[% END %]
</div>
[% END %]
Expand Down Expand Up @@ -298,11 +298,6 @@

}

#inlibro-carrousel .controls{
margin-bottom: 116px;
margin-top: 20px;
}

#inlibro-carrousel button{
color : #[%txtColor%];
background-color: #[%bgColor%];
Expand Down

0 comments on commit 90b4b6f

Please sign in to comment.