Commit 3d7cb6d0 authored by Jérémie Passerat's avatar Jérémie Passerat

Ameliorations 'responsive' de plusieurs elements

parent 689a5e29
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
<span :class="darktheme ? 'switchDark' : 'switch'" v-bind:style="!isModeRecu ? {'font-weight': 'bold'} : {'font-weight': 1}" @click="changerTabMaj" id="proposees">Proposees</span> <span :class="darktheme ? 'switchDark' : 'switch'" v-bind:style="!isModeRecu ? {'font-weight': 'bold'} : {'font-weight': 1}" @click="changerTabMaj" id="proposees">Proposees</span>
</div> </div>
<div v-show="!detailContenu"> <div v-show="!detailContenu">
<p> Vous êtes {{auteur}}</p>
<div id="detailRecues" v-show="isModeRecu"> <div id="detailRecues" v-show="isModeRecu">
<table> <table>
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</ul> </ul>
</div> </div>
<div id="ohHolyNight"> <div id="sectionPrincipale">
<br id="titreZero"> <br id="titreZero">
<h2 >OpenQuizz - Généralités</h2> <h2 >OpenQuizz - Généralités</h2>
<br> <br>
...@@ -534,27 +534,28 @@ export default { ...@@ -534,27 +534,28 @@ export default {
#menuLateral{ #menuLateral{
height: auto; height: auto;
width: 30vh; width: 14vw;
margin-left: 10vh; margin-left: 5vw;
margin-top: 5vh; margin-top: 5vh;
border: 1px solid black; border: 1px solid black;
position: fixed; position: fixed;
} }
#ohHolyNight { #sectionPrincipale {
width: 120vh; width: 75vw;
min-height: 100%; min-height: 100%;
height: 100%; height: 100%;
margin-top: 5vh; margin-top: 5vh;
margin-bottom: 5vh; margin-bottom: 5vh;
margin-left: 65vh; margin-left: 21vw;
border: 1px solid coral; border: 1px solid coral;
} }
img { img {
width: 119vh; width: 60vw;
border: 0.5px solid black; border: 0.5px solid black;
margin-bottom: 0.5vh; margin-bottom: 0.5vh;
} }
......
<template> <template>
<div v-bind:class="[darkMode ? 'dark' : '', etat === 'manuel' ? 'menuManuel' : 'menuHaut']"> <div v-bind:class="[darkMode ? 'dark' : '', etat === 'manuel' ? 'menuManuel' : 'menuHaut']">
<DarkModeSwitch v-bind:style="[etat === 'manuel' ? {'margin-top': '10px', 'padding-top': '0px', 'padding-bottom': '5px', 'padding-left': '4px'} : {'margin-top': '10px'}, {'margin-left': '10px'}]" @switched="onSwitched"/> <DarkModeSwitch id="switch" v-bind:style="[etat === 'manuel' ? {'margin-top': '10px', 'padding-top': '0px', 'padding-bottom': '5px', 'padding-left': '4px'} :
<Choix_Mode_Variante v-bind:darkMode="darkMode" class="menuVariante" v-show="variante && nouveauTitre !== 'Manuel d\'utilisation de l\'application OpenQuizz'"></Choix_Mode_Variante> {'margin-top': '10px'}, {'margin-left': '10px'}]" @switched="onSwitched"/>
<Choix_Mode_Variante v-bind:darkMode="darkMode" class="menuVariante" v-show="variante && nouveauTitre !== 'Manuel d\'utilisation de l\'application OpenQuizz'"/>
<span v-show="!variante || nouveauTitre === 'Manuel d\'utilisation de l\'application OpenQuizz'" :class="etat !== 'manuel' ? 'prout' : 'proutManuel'">{{ titrePage }}</span> <span v-show="!variante || nouveauTitre === 'Manuel d\'utilisation de l\'application OpenQuizz'" :class="etat !== 'manuel' ? 'prout' : 'proutManuel'">{{ titrePage }}</span>
<div class="notif" v-on:click="choixIconeNotification" v-show="isNotif === true" <div class="notif" v-on:click="choixIconeNotification" v-show="isNotif === true"
v-bind:style="[!variante ? {'margin-left': '90%'} : {'margin-left': '32%'}]"></div> v-bind:style="[!variante ? {'margin-left': '90%'} : {'margin-left': '32%'}]"></div>
<div class="circle" id="menuAuteur" v-if="etat !=='manuel'" v-on:click="isAffiche = !isAffiche" v-bind:style="styleCircle"> <div class="circle" id="menuAuteur" v-if="etat !=='manuel'" v-on:click="isAffiche = !isAffiche" >
<!-- v-bind:style="styleCircle">-->
</div> </div>
<div :class="darkMode ? 'circleVideDark' : 'circleVide'" v-else> </div> <div :class="darkMode ? 'circleVideDark' : 'circleVide'" v-else> </div>
...@@ -246,13 +248,13 @@ export default { ...@@ -246,13 +248,13 @@ export default {
.menuHaut{ .menuHaut{
display: flex; display: flex;
background-color: white; background-color: white;
justify-content: space-evenly; justify-content: space-between;
} }
.menuManuel{ .menuManuel{
display: flex; display: flex;
background-color: white; background-color: white;
justify-content: space-evenly; justify-content: space-between;
} }
.circle { .circle {
...@@ -260,9 +262,9 @@ export default { ...@@ -260,9 +262,9 @@ export default {
margin-top: 0.25%; margin-top: 0.25%;
margin-bottom: 0.25%; margin-bottom: 0.25%;
border-radius: 50%; border-radius: 50%;
display: flex; /* or inline-flex */ /* display: flex; !* or inline-flex *!
align-items: center; align-items: center;
justify-content: center; justify-content: center;*/
height: 4.2vh; height: 4.2vh;
width: 4.2vh; width: 4.2vh;
...@@ -276,9 +278,6 @@ export default { ...@@ -276,9 +278,6 @@ export default {
margin-top: 0.25%; margin-top: 0.25%;
margin-bottom: 0.25%; margin-bottom: 0.25%;
border-radius: 50%; border-radius: 50%;
display: flex; /* or inline-flex */
align-items: center;
justify-content: center;
height: 4.2vh; height: 4.2vh;
width: 4.2vh; width: 4.2vh;
margin-right: 0.25%; margin-right: 0.25%;
...@@ -289,9 +288,6 @@ export default { ...@@ -289,9 +288,6 @@ export default {
margin-top: 0.25%; margin-top: 0.25%;
margin-bottom: 0.25%; margin-bottom: 0.25%;
border-radius: 50%; border-radius: 50%;
display: flex; /* or inline-flex */
align-items: center;
justify-content: center;
height: 4.2vh; height: 4.2vh;
width: 4.2vh; width: 4.2vh;
margin-right: 0.25%; margin-right: 0.25%;
...@@ -309,9 +305,11 @@ export default { ...@@ -309,9 +305,11 @@ export default {
width: 100px; width: 100px;
background: white; background: white;
border: thin solid black; border: thin solid black;
margin-top: 46px; /* margin-top: 46px;
margin-left: 94.75%; margin-left: 94.75%;*/
position: fixed; position: absolute;
right: 0.1vw;
top: 5vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
text-align: center; text-align: center;
...@@ -344,8 +342,8 @@ export default { ...@@ -344,8 +342,8 @@ export default {
.prout { .prout {
display: flex; /*display: flex;*/
position: absolute; /*position: absolute;*/
margin-top: 0.5%; margin-top: 0.5%;
margin-bottom: 0.1%; margin-bottom: 0.1%;
} }
...@@ -361,4 +359,5 @@ export default { ...@@ -361,4 +359,5 @@ export default {
color: #eee; color: #eee;
border-color: white !important; border-color: white !important;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div>
<div id = "choixDuMode" class="contenusPersos" v-on:click="changerChoix" > <div id = "choixDuMode" class="contenusPersos" v-on:click="changerChoix" >
<div class= "contenusPanier" v-if="!darktheme" v-bind:class="{'clicked': contenuPanier, 'nonClicked': !contenuPanier}"> <div class= "contenusPanier" v-if="!darktheme" v-bind:class="{'clicked': contenuPanier, 'nonClicked': !contenuPanier}">
<p>Panier</p> <p>Panier</p>
...@@ -21,7 +20,6 @@ ...@@ -21,7 +20,6 @@
</div>
</div> </div>
</template> </template>
...@@ -69,7 +67,11 @@ export default { ...@@ -69,7 +67,11 @@ export default {
<style scoped> <style scoped>
#choixDuMode { #choixDuMode {
display: flex; display: flex;
z-index: 1; position: absolute;
bottom: 0;
left: 0;
right: 0;
/*z-index: 1;*/
} }
.contenusPanier, .contenusBanque { .contenusPanier, .contenusBanque {
...@@ -77,19 +79,19 @@ export default { ...@@ -77,19 +79,19 @@ export default {
flex-grow: 1; flex-grow: 1;
text-align: center; text-align: center;
vertical-align: bottom; vertical-align: bottom;
padding-bottom: 0px; /*padding-bottom: 0;*/
padding-top: 10px; padding-top: 1vh;
} }
.nonClicked { .nonClicked {
outline: 1px solid black; border: 1px solid black;
} }
.nonClickedDark { .nonClickedDark {
outline: 1px solid white; border: 1px solid white;
} }
.clicked { .clicked {
outline: 5px solid yellow; border: 5px solid yellow;
} }
</style> </style>
\ No newline at end of file
...@@ -1180,7 +1180,7 @@ tfoot { ...@@ -1180,7 +1180,7 @@ tfoot {
position: relative; position: relative;
width: 15vw; width: 15vw;
height: 56vh; height: 56vh;
border: 1px solid; border: 1px solid forestgreen;
margin-top: 2px; margin-top: 2px;
margin-left: 1vw; margin-left: 1vw;
margin-right: 1vw; margin-right: 1vw;
......
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
margin-top: -5%; margin-top: -5%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; /*justify-content: space-evenly;*/
} }
#detailFiltre { #detailFiltre {
...@@ -126,15 +126,13 @@ export default { ...@@ -126,15 +126,13 @@ export default {
display: inline-block; display: inline-block;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
margin-top: 15%; /*margin-top: 15%;*/
margin-bottom: 15%; /*margin-bottom: 15%;*/
overflow: auto; overflow: auto;
} }
#detailChoixMode { #detailChoixMode {
flex-basis: 10%; /*flex-basis: 10%;*/
} }
......
...@@ -371,7 +371,7 @@ export default { ...@@ -371,7 +371,7 @@ export default {
.editArborescenceLibre { .editArborescenceLibre {
margin-top: 5vh; margin-top: 5vh;
margin-left: 55vh; margin-left: 35vw;
} }
.tagsLibres { .tagsLibres {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment