Skip to content

Commit

Permalink
Remove some useless css rules
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed May 7, 2024
1 parent 892da05 commit 1af68fc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 61 deletions.
4 changes: 0 additions & 4 deletions frontend/src/components/ContactExpert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,4 @@ function onClose () {
margin: auto !important;
}
.w-100 {
width: 100% !important;
}
</style>
36 changes: 3 additions & 33 deletions frontend/src/main.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
html {
--select-option-image-width: 13rem;
}

h1 {
font-size: 1.75rem
}
Expand Down Expand Up @@ -35,18 +31,6 @@ a {
width: 100%;
}

.footer-up {
top: 97%;
}

button {
white-space: nowrap;
display: inline-flex;
width: fit-content;
align-items: center;
gap: 0.5rem;
}

.footer-text {
padding: 10px;
text-align: center;
Expand All @@ -71,22 +55,6 @@ button {
z-index: 1
}

.action-group {
text-align: center;
cursor: pointer;
margin: 8px 0;
}

.action-group:hover {
color: #1212ff;
}

.action-group-text {
font-size: 14px;
font-weight: bold;
margin: 0
}

.img-deco {
margin-bottom: 2.5em;
width: 100%
Expand All @@ -107,4 +75,6 @@ h5 {
background-image: var(--underline-img), var(--underline-img) !important;
}


.w-100 {
width: 100% !important;
}
4 changes: 0 additions & 4 deletions frontend/src/views/GuideContactExpert/ExpertSituation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,4 @@ function buildMailto (email: string) {
background-color: #E3E3FD;
}
.w-100 {
width: 100% !important;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,4 @@ const alarmGunsOptions = alarmGuns.options.filter(gun => gun.typology === result
max-width: 95%;
}
.w-100 {
width: 100%;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -259,25 +259,15 @@ const openNextAccordion = (currentIndex: number) => {
</template>

<style scoped>
.img-deco {
margin-bottom: 1em;
margin-top: 0;
width: 75%;
}
.warning {
color : var(--red-marianne-425-625)
}
:deep(.fr-icon-home-3-line) {
color: var(--blue-france-sun-113-625);
}
.footer {
background-color: #fff;
box-shadow: 0 -4px 16px rgb(0 0 0 / 25%);
background-color: #fff;
box-shadow: 0 -4px 16px rgb(0 0 0 / 25%);
}
.footer button {
width: 50%;
width: 50%;
}
:deep(.fr-container) {
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/views/InstructionsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function onFileSelected (event: InputEvent & { target: InputEvent['target'] & {
<div class="footer">
<div
v-if="!loading"
class="btn-read-instruction text-center"
class="text-center"
>
<div
class="fr-col-11 fr-col-lg-6 mx-auto"
Expand All @@ -140,7 +140,7 @@ function onFileSelected (event: InputEvent & { target: InputEvent['target'] & {
@change="onFileSelected($event)"
>
<DsfrButton
class="flex justify-center"
class="flex justify-center w-100"
data-testid="take-a-picture"
label="Prendre la photo"
icon="ri-camera-fill"
Expand All @@ -151,7 +151,7 @@ function onFileSelected (event: InputEvent & { target: InputEvent['target'] & {
</div>
<div
v-else
class="text-center bold"
class="text-center"
>
<p class="loading font-bold">
Analyse en cours
Expand Down

0 comments on commit 1af68fc

Please sign in to comment.