@ -0,0 +1,4 @@
|
||||
#PageLobbyMulti {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
@ -0,0 +1,115 @@
|
||||
|
||||
#pageGame {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.menuhaut {
|
||||
height: 10vh;
|
||||
width: inherit;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/*Partie Menu du haut*/
|
||||
.menu{
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
.retourstp {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#Redistribution{
|
||||
position:relative;
|
||||
top:-3vw;
|
||||
}
|
||||
|
||||
|
||||
#affSolution {
|
||||
text-align: center;
|
||||
font-family: Montserrat, impact, Arial Black;
|
||||
font-size: 2.5vw;
|
||||
color: var(--lightsedonca);
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
#textjouer2 {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
font-family: Montserrat, impact, Arial Black;
|
||||
margin-top: 0.6vw;
|
||||
color: var(--lightsedonca);
|
||||
width: inherit;
|
||||
|
||||
}
|
||||
|
||||
#btnvalider2 {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
font-family: Montserrat, impact, Arial Black;
|
||||
font-size: 2.5vw;
|
||||
margin-top: 0.2vw;
|
||||
margin-left: 0.2vw;
|
||||
color: var(--lightsedonca);
|
||||
}
|
||||
|
||||
#btnvalider3 {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
font-family: Montserrat, impact, Arial Black;
|
||||
font-size: 2.5vw;
|
||||
margin-top: 0.2vw;
|
||||
margin-left: 0.2vw;
|
||||
color: var(--lightsedonca);
|
||||
}
|
||||
|
||||
#Redistribution2 {
|
||||
position: relative;
|
||||
top:-3vw;
|
||||
left:68%;
|
||||
}
|
||||
|
||||
#Redistribution3 {
|
||||
position: relative;
|
||||
top:-3vw;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
#idGameMulti {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.bouttonvalider2:hover {
|
||||
box-shadow: 0 0 0 8px var(--lightsedonca);
|
||||
font-size: 100%;
|
||||
position: relative;
|
||||
transition: box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
#progressbar
|
||||
{
|
||||
position : relative;
|
||||
width: 1100px;
|
||||
padding:1px;
|
||||
background-color:white;
|
||||
border:1px solid black;
|
||||
height:10px;
|
||||
border-radius: 5px;
|
||||
margin-top: 40px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
|
||||
}
|
||||
|
||||
#indicateur
|
||||
{
|
||||
width: 800px;
|
||||
background-color : green;
|
||||
height:10px;
|
||||
margin: 0;
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,84 @@
|
||||
/*Ecran*/
|
||||
@media screen and (min-width: 960px) {
|
||||
/*ROND*/
|
||||
.anneau {
|
||||
position: relative;
|
||||
background-color: var(--colorbase);
|
||||
border-radius: var(--v);
|
||||
height: var(--v);
|
||||
width: var(--v);
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.anneau2 {
|
||||
position: relative;
|
||||
background-color: white;
|
||||
border-radius: var(--v);
|
||||
height: var(--v);
|
||||
width: var(--v);
|
||||
left : calc((var(--u) - var(--v))/2);
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.anneau3 {
|
||||
position: relative;
|
||||
background-color: var(--colorbase);
|
||||
border-radius: var(--v);
|
||||
height: var(--v);
|
||||
width: var(--v);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.rondinterieur {
|
||||
background-color: var(--lighttercia);
|
||||
height: var(--w);
|
||||
width: var(--w);
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
border-radius: var(--w);
|
||||
}
|
||||
.rond {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
background-color: var(--colorbase);
|
||||
height: var(--w);
|
||||
width: var(--w);
|
||||
border-radius: var(--w);
|
||||
}
|
||||
|
||||
.rondcache {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
background-color: black;
|
||||
border-radius: var(--y);
|
||||
}
|
||||
.rond2 {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
background-color: white;
|
||||
height: var(--w);
|
||||
width: var(--w);
|
||||
border-radius: var(--w);
|
||||
}
|
||||
.rond3 {
|
||||
position: relative;
|
||||
top : calc((var(--v) - var(--w))/ 2);
|
||||
left : calc((var(--v) - var(--w))/2);
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
background-color: white;
|
||||
height: var(--w);
|
||||
width: var(--w);
|
||||
border-radius: var(--w);
|
||||
}
|
||||
.rond4 {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
background-color: var(--colorbase);
|
||||
height: var(--w);
|
||||
width: var(--w);
|
||||
border-radius: var(--w);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,114 @@
|
||||
:root{
|
||||
/*couleur héhé*/
|
||||
--lightprima: #DEDEDE;
|
||||
--lightsedonca: #B7B7B7;
|
||||
--lighttercia: #E6E6E6;
|
||||
/*Couleur bases*/
|
||||
--colorbase : #e75259;
|
||||
--colorcarre : #30C0DE;
|
||||
--colorone : #00CBFF;
|
||||
--colortwo : #00FF6E;
|
||||
--colorthree : #C800FF;
|
||||
--colorfour : #E6DA27;
|
||||
--colorfive : #2E6DB4;
|
||||
--colorsix : #E6792F;
|
||||
/*Les formes*/
|
||||
--u: calc(var(--x) / 2.75);
|
||||
--v: calc(var(--y) / 2.75);
|
||||
--w: calc(var(--z) / 2.75);
|
||||
/*Les formes settings*/
|
||||
--x : 10vw;
|
||||
--y : 7vw;
|
||||
--z : 3.75vw;
|
||||
}
|
||||
|
||||
.test{
|
||||
color: black;
|
||||
}
|
||||
|
||||
a {
|
||||
cursor: pointer;
|
||||
z-index: 60;
|
||||
}
|
||||
|
||||
|
||||
|
||||
body {
|
||||
background-color: var(--lightprima);
|
||||
height: 100%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
/*Desactiver la selection*/
|
||||
-webkit-user-select: none; /* Chrome / Safari */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* IE 10+ */
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
||||
#ContainBottom {
|
||||
position: absolute;
|
||||
margin-left: 25vw;
|
||||
height: 12vw;
|
||||
width: auto;
|
||||
bottom: 0;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
#clic{
|
||||
position: absolute;
|
||||
left: 55vw;
|
||||
top : 7vw;
|
||||
height: auto;
|
||||
width: 15vw;
|
||||
}
|
||||
|
||||
#card-conteneur{
|
||||
z-index: 20;
|
||||
position: absolute;
|
||||
left: 0vw;
|
||||
}
|
||||
|
||||
.flex-container {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
|
||||
-webkit-flex-flow: row wrap;
|
||||
justify-content: space-around;
|
||||
margin-top: -7vw;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,315 @@
|
||||
/*Ecran*/
|
||||
@media screen and (min-width: 992px) {
|
||||
|
||||
:root {
|
||||
--taille: 10vw;
|
||||
}
|
||||
|
||||
/*PARTIE FORMES*/
|
||||
.containform3 {
|
||||
position: relative;
|
||||
height: var(--x);
|
||||
width: var(--x);
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.containinte {
|
||||
/*PROBLEME SIZE*/
|
||||
top: calc((var(--y) - var(--z)) / 2);
|
||||
left: calc((var(--y) - var(--z)) / 2);
|
||||
height: var(--z);
|
||||
width: var(--z);
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.cache {
|
||||
top: calc((var(--x) - var(--y)) / 2.8);
|
||||
left: calc((var(--x) - var(--y)) / 2.2);
|
||||
height: calc(var(--y)*1.05);
|
||||
width: calc(var(--y)*1.05);
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
#choosemode {
|
||||
height: 4vw;
|
||||
width: 16vw;
|
||||
position: absolute;
|
||||
left: 42vw;
|
||||
top: 50vh;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
#choosedimension {
|
||||
height: 4vw;
|
||||
width: 16vw;
|
||||
position: absolute;
|
||||
left: 42vw;
|
||||
top: 55vh;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
#conteneurmode {
|
||||
width: 80%;
|
||||
height: 2vw;
|
||||
left: 10%;
|
||||
top: 25%;
|
||||
position: absolute;
|
||||
margin: 0 auto;
|
||||
background-color: var(--lightsedonca);
|
||||
border-radius: 5vw;
|
||||
}
|
||||
|
||||
#triangleprec {
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin: 0.25vw auto 0 auto;
|
||||
border-top: 0.75vw solid transparent;
|
||||
border-right: 1.25vw solid grey;
|
||||
border-bottom: 0.75vw solid transparent;
|
||||
}
|
||||
|
||||
#trianglesuiv {
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin: 0.25vw auto 0 auto;
|
||||
border-top: 0.75vw solid transparent;
|
||||
border-left: 1.25vw solid grey;
|
||||
border-bottom: 0.75vw solid transparent;
|
||||
}
|
||||
|
||||
#textmode {
|
||||
font-family: Lucida Console, Arial Black, Arial;
|
||||
font-size: 1vw;
|
||||
color: #707070;
|
||||
text-align: center;
|
||||
margin: 5% auto 0 auto;
|
||||
}
|
||||
|
||||
#textdimension {
|
||||
font-family: Lucida Console, Arial Black, Arial;
|
||||
font-size: 1vw;
|
||||
color: #707070;
|
||||
text-align: center;
|
||||
margin: 5% auto 0 auto;
|
||||
}
|
||||
|
||||
#formSize {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
height: 3vw;
|
||||
}
|
||||
|
||||
.slider-container .bar .fill {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
background-color: #6200ee;
|
||||
}
|
||||
|
||||
.slider-container .slider {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
-webkit-appearance: none;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.slider.container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.slider-container .bar {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
background-color: #c6aee7;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
/*Moz*/
|
||||
.slider-container .slider::-moz-range-thumb {
|
||||
-webkit-appearance: none;
|
||||
width: 1vw;
|
||||
height: 1vw;
|
||||
background-color: #6200ee;
|
||||
border-radius: 1vw;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 0 rgba(98, 0,238, .1);
|
||||
transition: .3s ease-in-out;
|
||||
}
|
||||
|
||||
.slider-container .slider::-moz-range-thumb:hover {
|
||||
box-shadow: 0 0 0 10px rgba(98,0,238,.1);
|
||||
}
|
||||
|
||||
.slider-container .slider:active::-moz-range-thumb {
|
||||
box-shadow: 0 0 0 20px rgba(98,0,238,.2);
|
||||
}
|
||||
|
||||
/*===========================================*/
|
||||
|
||||
.logoboutton {
|
||||
font-size: 2vw;
|
||||
color: var(--lightprima);
|
||||
margin: 0.25vw;
|
||||
}
|
||||
|
||||
/*Externe*/
|
||||
.bouttonMenuHaut {
|
||||
height: 4vw;
|
||||
width: 4vw;
|
||||
background-color: var(--lightsedonca);
|
||||
border-radius: 50%;
|
||||
margin: 0 auto;
|
||||
margin-top: 0.45vw;
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#affPoints {
|
||||
text-align: center;
|
||||
font-family: Montserrat, impact, Arial Black;
|
||||
font-size: 2vw;
|
||||
margin-top: 1.2vw;
|
||||
color: var(--lightsedonca);
|
||||
}
|
||||
|
||||
.divmenu {
|
||||
width: 10vw;
|
||||
height: inherit;
|
||||
margin-right: 1vw;
|
||||
}
|
||||
|
||||
.containButtonForm {
|
||||
height: 2.5vw;
|
||||
width: 2.5vw;
|
||||
margin: 0.75vw;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.buttonretour {
|
||||
position: relative;
|
||||
height: 4vh;
|
||||
width: 4vh;
|
||||
border-radius: 55vw;
|
||||
background-color: var(--lightsedonca);
|
||||
z-index: 5;
|
||||
margin-left: 2vw;
|
||||
top: 1.75vw;
|
||||
}
|
||||
|
||||
.flex-item {
|
||||
background: var(--lightsedonca);
|
||||
width: var(--taille);
|
||||
border-radius: 0.75vw;
|
||||
padding-right: 0.15vw;
|
||||
padding-left: 0.15vw;
|
||||
padding-bottom: 0.25vw;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
margin-right: 0.4vw;
|
||||
margin-left: 0.4vw;
|
||||
margin-bottom: 1vw;
|
||||
-webkit-flex-flow: row wrap;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.item-form {
|
||||
width: 3vw;
|
||||
padding-left: 0.1vw;
|
||||
margin-top: 0.25vw;
|
||||
height: 3vw;
|
||||
border-radius: 10px;
|
||||
background-color: var(--lighttercia);
|
||||
}
|
||||
|
||||
.containcards {
|
||||
overflow-x: auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-top: 1vw;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.logop2 img {
|
||||
width: 20vh;
|
||||
padding-top: 1vh;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.txt {
|
||||
position: absolute;
|
||||
font-family: Arial Black;
|
||||
color: var(--lightprima);
|
||||
font-size: 1.5vw;
|
||||
left: 0.4vw;
|
||||
top: -1.6vh;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
position: absolute;
|
||||
width: 12vw;
|
||||
left: 44vw;
|
||||
top: 13%;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
.mounts img {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
pointer-events: none;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
#contourbuttonvalider {
|
||||
position: absolute;
|
||||
border-radius: 45px;
|
||||
left: 9.2vw;
|
||||
top: 3.5vw;
|
||||
height: 4vw;
|
||||
width: 12vw;
|
||||
background-color: var(--lightsedonca);
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
.bouttonvalider {
|
||||
position: absolute;
|
||||
height: 3.4vw;
|
||||
width: 11.4vw;
|
||||
top: 0.3vw;
|
||||
left: 0.3vw;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.violet {
|
||||
background-color: #B130DE;
|
||||
}
|
||||
|
||||
.vert {
|
||||
background-color: #00CC66;
|
||||
}
|
||||
|
||||
#textjouer {
|
||||
font-family: Montserrat, impact, Arial Black;
|
||||
position: absolute;
|
||||
font-size: 2.5vw;
|
||||
margin-top: 0.2vw;
|
||||
color: var(--lightsedonca);
|
||||
text-align: center;
|
||||
width: inherit;
|
||||
}
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
.containform {
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.ajustementPetiteForme{
|
||||
margin-top: 25%;
|
||||
}
|
||||
|
||||
.ajustementGrandeForme{
|
||||
margin-top: 0.2vw;
|
||||
margin-left: 0.2vw;
|
||||
}
|
||||
|
||||
.containform2{
|
||||
position: relative;
|
||||
height: var(--x);
|
||||
width: var(--x);
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
background-color: black;
|
||||
}
|
||||
/*ROND*/
|
||||
.containexte{
|
||||
height: var(--y);
|
||||
width: var(--y);
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
top: calc(var(--x)/8);
|
||||
}
|
||||
|
||||
#cacherond{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rond{
|
||||
-webkit-clip-path: circle(50% at 50% 50%);
|
||||
clip-path: circle(50% at 50% 50%);
|
||||
}
|
||||
|
||||
.round{
|
||||
border-radius: 5vw;
|
||||
}
|
||||
|
||||
.cb{
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.cn{
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.formeinte{
|
||||
height: 90%;
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.formeexte{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.carre{
|
||||
-webkit-clip-path: inset(0 0 0 0);
|
||||
clip-path: inset(0 0 0 0);
|
||||
}
|
||||
|
||||
.triangle{
|
||||
-webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
|
||||
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
|
||||
}
|
||||
|
||||
.castriangle{
|
||||
margin-top: calc( (var(--y) - var(--z)) / 5);
|
||||
}
|
||||
|
||||
.caspenta{
|
||||
margin-top: calc( (var(--y) - var(--z)) / 10);
|
||||
}
|
||||
|
||||
.losange{
|
||||
-webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
|
||||
clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
|
||||
}
|
||||
|
||||
.croix{
|
||||
-webkit-clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
|
||||
clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
|
||||
}
|
||||
|
||||
.croixinte{
|
||||
-webkit-clip-path: polygon(26% 23%, 22% 27%, 45% 50%, 22% 74%, 27% 78%, 50% 55%, 74% 78%, 78% 73%, 55% 50%, 78% 27%, 73% 23%, 50% 46%);
|
||||
clip-path: polygon(26% 23%, 22% 27%, 45% 50%, 22% 74%, 27% 78%, 50% 55%, 74% 78%, 78% 73%, 55% 50%, 78% 27%, 73% 23%, 50% 46%);
|
||||
|
||||
}
|
||||
|
||||
.penta{
|
||||
-webkit-clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
|
||||
clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
|
||||
}
|
||||
|
||||
.hexa{
|
||||
-webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
|
||||
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
|
||||
}
|
||||
|
||||
.hocto{
|
||||
-webkit-clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
|
||||
clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
|
||||
}
|
||||
|
@ -0,0 +1,6 @@
|
||||
/*Demi Ecran*/
|
||||
@media screen and (max-width: 768px) {
|
||||
body{
|
||||
background-color: green;
|
||||
}
|
||||
}
|
@ -0,0 +1,306 @@
|
||||
/*DemTéléphone 1i Ecran*/
|
||||
@media screen and (min-width: 669px) and (max-width: 992px) {
|
||||
|
||||
:root{
|
||||
--taille : 14vh;
|
||||
}
|
||||
|
||||
.containform3 {
|
||||
position: relative;
|
||||
height: calc(1.25*var(--x));
|
||||
width: calc(2*var(--x));
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
left: -2vw;
|
||||
}
|
||||
|
||||
.containinte{
|
||||
/*PROBLEME SIZE*/
|
||||
top: calc(1.5*((var(--y) - var(--z)) / 2));
|
||||
left: calc(1.5*((var(--y) - var(--z)) / 2));
|
||||
height: calc(1.5*var(--z));
|
||||
width: calc(1.5*var(--z));
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.cache{
|
||||
top: calc(0.91*((var(--x) - var(--y)) / 2.8));
|
||||
left: calc(4.55*((var(--x) - var(--y)) / 2.2));
|
||||
height: calc(1.5*var(--y)*1.05);
|
||||
width: calc(1.5*var(--y)*1.05);
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
#formSize{
|
||||
margin : 0 auto;
|
||||
width: 100%;
|
||||
height: 3vw;
|
||||
position: relative;
|
||||
top: 3vw;
|
||||
}
|
||||
|
||||
.slider-container .bar .fill {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
background-color: #6200ee;
|
||||
}
|
||||
|
||||
.slider-container .slider {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
-webkit-appearance: none;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
outline: none;
|
||||
top: -0.25vw;
|
||||
background-color: transparent;
|
||||
}
|
||||
.slider.container{
|
||||
position: relative;
|
||||
}
|
||||
.slider-container .bar {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
background-color: #c6aee7;
|
||||
overflow: hidden;
|
||||
}
|
||||
/*Moz*/
|
||||
.slider-container .slider::-moz-range-thumb {
|
||||
-webkit-appearance: none;
|
||||
width: 2vw;
|
||||
height: 2vw;
|
||||
background-color: #6200ee;
|
||||
border-radius: 1vw;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 0 rgba(98, 0 ,238, .1);
|
||||
transition: .3s ease-in-out;
|
||||
}
|
||||
|
||||
.slider-container .slider::-moz-range-thumb:hover {
|
||||
box-shadow: 0 0 0 10px rgba(98,0,238,.1);
|
||||
}
|
||||
.slider-container .slider:active::-moz-range-thumb {
|
||||
box-shadow: 0 0 0 20px rgba(98,0,238,.2);
|
||||
}
|
||||
|
||||
.logop2 img {
|
||||
width: 20vh;
|
||||
padding-top: 1vh;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.txt {
|
||||
position: absolute;
|
||||
font-family: Arial Black;
|
||||
color: var(--lightprima);
|
||||
font-size: 5.5vw;
|
||||
left: 2.25vw;
|
||||
top: -1vh;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
position: absolute;
|
||||
width: 45vw;
|
||||
left: 28vw;
|
||||
top: 13%;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
.mounts img {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
pointer-events: none;
|
||||
margin-left: -1vw;
|
||||
margin-top: -1vw;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
#contourbuttonvalider {
|
||||
position: absolute;
|
||||
border-radius: 45px;
|
||||
left: -10vw;
|
||||
top: 5.5vw;
|
||||
height: 15vw;
|
||||
width: 50vw;
|
||||
background-color: var(--lightsedonca);
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
.bouttonvalider {
|
||||
position: absolute;
|
||||
height: 13vw;
|
||||
width: 47vw;
|
||||
top: 1.1vw;
|
||||
left: 1.5vw;
|
||||
border-radius: 30px;
|
||||
background-color: #B130DE;
|
||||
}
|
||||
|
||||
.bouttonvalider2 {
|
||||
position: absolute;
|
||||
height: 6.8vw;
|
||||
width: 22.8vw;
|
||||
top: 1.1vw;
|
||||
left: 1.1vw;
|
||||
border-radius: 30px;
|
||||
background-color: #00CC66;
|
||||
}
|
||||
|
||||
#textjouer {
|
||||
font-family: Montserrat, impact, Arial Black;
|
||||
position: absolute;
|
||||
font-size: 10vw;
|
||||
margin-top: 0.2vw;
|
||||
width: inherit;
|
||||
text-align: center;
|
||||
color: var(--lightsedonca);
|
||||
}
|
||||
|
||||
#choosemode {
|
||||
height: 7vw;
|
||||
width: 50vw;
|
||||
position: absolute;
|
||||
left: 25vw;
|
||||
top: 50vh;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
#choosedimension {
|
||||
height: 7vw;
|
||||
width: 50vw;
|
||||
position: absolute;
|
||||
left: 25vw;
|
||||
top: 60vh;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
#conteneurmode{
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
left : 10%;
|
||||
top : 45%;
|
||||
position: absolute;
|
||||
background-color: var(--lightsedonca);
|
||||
border-radius: 5vw;
|
||||
}
|
||||
|
||||
#triangleprec{
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin: 0.25vw auto 0 auto;
|
||||
border-top: 2vw solid transparent;
|
||||
border-right: 4vw solid grey;
|
||||
border-bottom: 2vw solid transparent;
|
||||
margin-top: 0.75vw;
|
||||
}
|
||||
|
||||
#trianglesuiv{
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin: 0.25vw auto 0 auto;
|
||||
border-top: 2vw solid transparent;
|
||||
border-left: 4vw solid grey;
|
||||
border-bottom: 2vw solid transparent;
|
||||
margin-top: 0.75vw;
|
||||
}
|
||||
|
||||
#textmode {
|
||||
font-family: Lucida Console, Arial Black, Arial;
|
||||
font-size: 3vw;
|
||||
color: #707070;
|
||||
text-align:center;
|
||||
margin: 5% auto 0 auto;
|
||||
}
|
||||
|
||||
#textdimension {
|
||||
font-family: Lucida Console, Arial Black, Arial;
|
||||
font-size: 3vw;
|
||||
color: #707070;
|
||||
text-align:center;
|
||||
margin: 5% auto 0 auto;
|
||||
}
|
||||
|
||||
.logoboutton{
|
||||
font-size: 2vw;
|
||||
color: var(--lightprima);
|
||||
margin: 1vw;
|
||||
}
|
||||
|
||||
/*Externe*/
|
||||
.bouttonMenuHaut{
|
||||
height: 4vw;
|
||||
width: 4vw;
|
||||
background-color: var(--lightsedonca);
|
||||
border-radius: 50%;
|
||||
margin: 0 auto;
|
||||
margin-top: 2.5vw;
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.divmenu {
|
||||
width: 25vw;
|
||||
height: inherit;
|
||||
margin-right: 1vw;
|
||||
}
|
||||
|
||||
|
||||
#affPoints {
|
||||
text-align: center;
|
||||
font-family: Montserrat, impact, Arial Black;
|
||||
font-size: 2vw;
|
||||
margin-top: 3.5vw;
|
||||
color: var(--lightsedonca);
|
||||
}
|
||||
|
||||
.containcards {
|
||||
overflow-x: auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-top: 2vw;
|
||||
justify-content: center;
|
||||
width: 70vh;
|
||||
margin: 0 auto;
|
||||
grid-row-gap: 0vw;
|
||||
column-gap: 2vw;
|
||||
}
|
||||
|
||||
.flex-item {
|
||||
flex-grow: 1;
|
||||
background: var(--lightsedonca);
|
||||
width: var(--taille);
|
||||
border-radius: 0.75vw;
|
||||
padding-right: 0.15vw;
|
||||
padding-left: 0.15vw;
|
||||
padding-bottom: 0.25vw;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
margin-right: 0.4vw;
|
||||
margin-left: 0.4vw;
|
||||
margin-bottom: 1vw;
|
||||
-webkit-flex-flow: row wrap;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.item-form {
|
||||
width: 4vh;
|
||||
height: 4vh;
|
||||
padding-left: 0.1vw;
|
||||
margin-top: 0.25vw;
|
||||
border-radius: 10px;
|
||||
background-color: var(--lighttercia);
|
||||
}
|
||||
|
||||
}
|
After Width: | Height: | Size: 9.4 KiB |
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 24 KiB |
@ -0,0 +1,62 @@
|
||||
var FormeSelect = [];
|
||||
var ListeCouleur = ["colorbase","colorcarre","colorone","colortwo","colorthree"]
|
||||
var ListeClassForme = ["rond","carre","triangle","losange","croix","penta","hexa","hocto"]
|
||||
|
||||
//3 modes : 0 = couleurs // 1 = formes // 2 = personnaliser les cartes
|
||||
var mode = 0;
|
||||
var valRange;
|
||||
|
||||
function settingOpen(){
|
||||
var elements = document.getElementsByClassName("pcr-button");
|
||||
for (var i = 0; i < elements.length; i++) {
|
||||
elements[i].classList.add(ListeClassForme[i]);
|
||||
}
|
||||
}
|
||||
|
||||
function disableCache(formName){
|
||||
cacheName = "cache"+formName;
|
||||
document.getElementById(cacheName).style.display = "none";
|
||||
FormeSelect.push(form);
|
||||
|
||||
//document.getElementById("SettingName").innerHTML = FormeSelect.length;
|
||||
}
|
||||
|
||||
function changeContour(value){
|
||||
var newvalue = value * 0.055 + 1;
|
||||
document.documentElement.style.setProperty('--z', newvalue+'vw');
|
||||
//document.getElementById("SettingName").innerHTML = newvalue;
|
||||
}
|
||||
|
||||
function ableCache(formName){
|
||||
cacheName = "cache"+formName;
|
||||
const pos = FormeSelect.indexOf(formName);
|
||||
if (pos > -1) {
|
||||
FormeSelect.splice(pos, 1);
|
||||
}
|
||||
document.getElementById(cacheName).style.display = "block";
|
||||
}
|
||||
|
||||
function getVarColor(color){
|
||||
var getvar = color;
|
||||
getvar = getvar.substring(6,getvar.length-1);
|
||||
|
||||
return getvar;
|
||||
}
|
||||
|
||||
function varColorToHex(color){
|
||||
hex = getComputedStyle(document.documentElement).getPropertyValue(color);
|
||||
hex = hex.substring(1,hex.length);
|
||||
return hex;
|
||||
}
|
||||
function myFunction() {
|
||||
/* Get the text field */
|
||||
var copyText = document.getElementById("myInput");
|
||||
|
||||
/* Select the text field */
|
||||
copyText.select();
|
||||
copyText.setSelectionRange(0, 99999); /* For mobile devices */
|
||||
|
||||
/* Copy the text inside the text field */
|
||||
document.execCommand("copy");
|
||||
}
|
||||
|