Modif style bouton meeting #48

Merged
florent.lesaout merged 1 commits from meeting into master 2023-04-17 21:37:54 +02:00
2 changed files with 13 additions and 21 deletions

View File

@ -1,5 +1,5 @@
<section id="Meeting" class="[ meeting ]"> <section id="Meeting" class="[ meeting ]">
<a class="[ meeting__link ]" href="https://framaforms.org/reunion-dinformation-collective-astrolabe-cae-1591805443" target="_blank"> <a class="[ meeting__link btn btn-secondary ]" href="https://framaforms.org/reunion-dinformation-collective-astrolabe-cae-1591805443" target="_blank">
Réunions d'information&nbsp; Réunions d'information&nbsp;
<svg width="18" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.602 5.823L12.05.376a1.357 1.357 0 00-1.875 0 1.295 1.295 0 000 1.84l3.278 3.235H1.326C.587 5.451 0 6.027 0 6.752s.587 1.302 1.326 1.302h12.127l-3.278 3.215a1.295 1.295 0 000 1.84 1.349 1.349 0 001.894 0l5.533-5.427c.246-.242.398-.576.398-.93 0-.353-.133-.687-.398-.93z" fill="#FFF"></path></svg> <svg width="18" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.602 5.823L12.05.376a1.357 1.357 0 00-1.875 0 1.295 1.295 0 000 1.84l3.278 3.235H1.326C.587 5.451 0 6.027 0 6.752s.587 1.302 1.326 1.302h12.127l-3.278 3.215a1.295 1.295 0 000 1.84 1.349 1.349 0 001.894 0l5.533-5.427c.246-.242.398-.576.398-.93 0-.353-.133-.687-.398-.93z" fill="#FFF"></path></svg>
</a> </a>

View File

@ -3,45 +3,37 @@
position: fixed; position: fixed;
right: 0; right: 0;
top: 20%; top: 20%;
background-color: var(--color-theme-secondary);
border-top-left-radius: 1.75rem;
border-bottom-left-radius: 1.75rem;
border: 2px solid var(--color-light);
border-right: 0;
z-index: 10; z-index: 10;
line-height: 1.25rem;
text-align: center;
text-decoration: none;
font-size: 1.125rem;
font-weight: 700;
@media (max-width: 991.98px) { @media (max-width: 991.98px) {
top: unset; top: unset;
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-bottom: 0;
border-left: 0;
border-right: 0;
} }
&__link { &__link {
display: block; display: block;
flex: 1 1 auto; flex: 1 1 auto;
border-radius: 0;
border-top-left-radius: 1.75rem;
border-bottom-left-radius: 1.75rem;
border: 2px solid var(--color-light);
border-right: 0;
color: var(--color-white); color: var(--color-white);
text-decoration: none;
padding: 1.125rem 1rem 1.125rem 2rem; padding: 1.125rem 1rem 1.125rem 2rem;
@media (max-width: 991.98px) { @media (max-width: 991.98px) {
padding: 1.125rem 2rem; padding: 1.125rem 2rem;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-bottom: 0;
border-left: 0;
border-right: 0;
} }
&:hover, &:hover {
&:focus { border-color: var(--color-white);
color: var(--color-white);
text-decoration: underline;
} }
} }
} }