2019-03-17 16:03:43 +01:00
|
|
|
/*
|
|
|
|
Code publié sous licence Apache 2.0
|
|
|
|
https://code.antopie.org/miraty/qr
|
|
|
|
*/
|
2019-01-26 14:23:19 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: "ubuntu-dl";
|
|
|
|
src: url('ubuntu-dl.ttf');
|
|
|
|
}
|
|
|
|
|
|
|
|
#redondance, #marge, #texte, #taille {
|
2019-02-11 19:26:31 +01:00
|
|
|
border: 2px @bordure solid;
|
2019-01-26 14:23:19 +01:00
|
|
|
border-radius: 7px;
|
|
|
|
font-size: 20px;
|
|
|
|
padding-left: 10px;
|
|
|
|
font-weight: normal;
|
2019-02-11 19:26:31 +01:00
|
|
|
color: @texteForm;
|
2019-01-26 14:23:19 +01:00
|
|
|
margin-top: 8px;
|
|
|
|
transition: border 0.2s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
#redondance, #taille, #marge {
|
2019-02-11 19:26:31 +01:00
|
|
|
background-color: @fondChamp;
|
2019-01-26 14:23:19 +01:00
|
|
|
width: 250px;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#texte {
|
2019-02-11 19:26:31 +01:00
|
|
|
background-color: @fondChampTexte;
|
|
|
|
color: @texteForm;
|
2019-01-26 14:23:19 +01:00
|
|
|
padding-top: 6px;
|
2019-02-11 19:26:31 +01:00
|
|
|
width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menusDeroulants {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#codeQR {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lienCodeQR {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.centrer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2019-01-26 14:23:19 +01:00
|
|
|
|
2019-02-11 19:26:31 +01:00
|
|
|
footer {
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 5px;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
2019-01-26 15:45:25 +01:00
|
|
|
input[type=submit], .bouton {
|
2019-02-11 19:26:31 +01:00
|
|
|
background-color: @fondChamp;
|
|
|
|
border: 2px @bordure solid;
|
|
|
|
color: @texteForm;
|
2019-01-26 14:23:19 +01:00
|
|
|
padding: 3px 10px 3px 10px;
|
|
|
|
border-radius: 3px;
|
2019-01-26 15:17:36 +01:00
|
|
|
font-size: 1.2em;
|
2019-01-26 14:23:19 +01:00
|
|
|
text-decoration: none;
|
|
|
|
display: inline;
|
2019-02-11 19:26:31 +01:00
|
|
|
transition: border 0.2s linear;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
2019-02-11 19:26:31 +01:00
|
|
|
#redondance:hover, #marge:hover, #texte:hover, #taille:hover, input[type=submit]:hover, .bouton:hover {
|
|
|
|
border: 2px @bordureHover solid;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
2019-02-11 19:26:31 +01:00
|
|
|
#texte:focus, input[type=submit]:focus, .bouton:focus {
|
|
|
|
border: 2px @bordureFocus solid;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
display: inline;
|
2019-01-26 15:17:36 +01:00
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
2019-02-11 19:26:31 +01:00
|
|
|
html {
|
|
|
|
width: 500px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
background-color: @fond;
|
|
|
|
color: @texte;
|
2019-01-26 14:23:19 +01:00
|
|
|
font-family: "ubuntu", "ubuntu-dl";
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1em;
|
2019-02-11 19:26:31 +01:00
|
|
|
|
|
|
|
& a {
|
|
|
|
color: @texte;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
font-size: 20px;
|
|
|
|
margin-bottom: 100px;
|
|
|
|
}
|
|
|
|
|
2019-01-26 15:17:36 +01:00
|
|
|
|
2019-02-11 19:26:31 +01:00
|
|
|
.lienCodeSource {
|
|
|
|
color: @texteLienCodeSource;
|
2019-01-26 15:17:36 +01:00
|
|
|
font-size: 12px;
|
|
|
|
margin-bottom: -20px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2019-02-24 19:11:31 +01:00
|
|
|
header {
|
|
|
|
text-align: center;
|
2019-01-26 15:17:36 +01:00
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
2019-02-24 19:11:31 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
header > a {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, #logo {
|
|
|
|
margin: auto;
|
2019-02-11 19:26:31 +01:00
|
|
|
font-size: 35px;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
2019-02-11 19:26:31 +01:00
|
|
|
|
2019-01-26 14:23:19 +01:00
|
|
|
.param {
|
|
|
|
padding: 10px;
|
2019-01-26 15:17:36 +01:00
|
|
|
padding-left: 0px;
|
|
|
|
margin-left: 0px;
|
|
|
|
padding-right: 0px;
|
|
|
|
margin-right: 0px;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
2019-02-11 19:26:31 +01:00
|
|
|
@media (max-width: 640px) { // Version mobile
|
|
|
|
|
|
|
|
html {
|
|
|
|
margin: 10px;
|
2019-03-17 16:03:43 +01:00
|
|
|
width: 100%;
|
2019-02-11 19:26:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#texte {
|
2019-03-17 16:03:43 +01:00
|
|
|
width: 90%;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
2019-02-11 19:26:31 +01:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#logo {
|
2019-02-24 19:11:31 +01:00
|
|
|
width: 64px;
|
2019-01-26 14:23:19 +01:00
|
|
|
}
|
|
|
|
|
2019-02-13 19:27:34 +01:00
|
|
|
::placeholder {
|
2019-03-17 16:03:43 +01:00
|
|
|
color: fadeout(@texte, 50%);
|
|
|
|
opacity: 1;
|
2019-02-13 19:27:34 +01:00
|
|
|
}
|
|
|
|
|
2019-01-26 14:23:19 +01:00
|
|
|
/* Infobulle */
|
|
|
|
|
|
|
|
.conteneurAide {
|
|
|
|
color: #ccc;
|
|
|
|
text-shadow: 0 -1px 0 black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.conteneurAide:hover, .conteneurAide:focus {
|
|
|
|
background: rgba(0,0,0,.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.conteneurAide .contenuAide {
|
|
|
|
position: absolute;
|
|
|
|
transform: scale(0) rotate(-12deg);
|
|
|
|
color: #FFFFFF;
|
2019-03-17 16:03:43 +01:00
|
|
|
background: rgba(0,0,0,1);
|
2019-01-26 14:23:19 +01:00
|
|
|
padding: 15px;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 0 2px rgba(0,0,0,.5);
|
|
|
|
margin-top: 23px;
|
|
|
|
margin-left: -35px;
|
|
|
|
transition: all .25s;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.conteneurAide:hover .contenuAide, .conteneurAide:focus .contenuAide {
|
|
|
|
transform: scale(1) rotate(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2019-02-11 19:26:31 +01:00
|
|
|
.conteneurAide, .conteneurAide:hover {
|
|
|
|
background-color: @fond;
|
2019-01-26 14:23:19 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|