qrcode.chapril.org/style.less

279 lines
3.8 KiB
Plaintext
Raw Normal View History

2019-08-13 21:17:08 +02:00
* {
font-family: "Ubuntu", sans-serif;
2019-01-26 14:23:19 +01:00
}
2019-08-13 21:17:08 +02:00
h1 {
font-weight: 700;
}
#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-08-13 21:17:08 +02:00
.topRight {
position: fixed;
top: 5px;
right: 5px;
2019-01-26 14:23:19 +01:00
}
2019-08-13 21:17:08 +02:00
.bouton {
2019-01-26 14:23:19 +01:00
padding: 3px 10px 3px 10px;
}
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-08-13 21:17:08 +02:00
html, body {
width: 500px;
margin-left: auto;
margin-right: auto;
background-color: @fond;
color: @texte;
2019-01-26 14:23:19 +01:00
font-weight: normal;
font-size: 1em;
2019-08-13 21:17:08 +02:00
& h1 {
color: @texte;
text-decoration: none;
}
2019-01-26 14:23:19 +01:00
}
label {
font-size: 20px;
2019-08-13 21:17:08 +02:00
height: 60px;
2019-01-26 14:23:19 +01:00
}
2019-08-13 21:17:08 +02:00
.topRight {
color: @texteLienCodeSource;
2019-01-26 15:17:36 +01:00
font-size: 12px;
margin-bottom: -20px;
text-align: right;
2019-08-13 21:17:08 +02:00
transition: color 0.2s;
&:hover {
color: lighten(@texteLienCodeSource, 10%);
}
2019-01-26 15:17:36 +01:00
}
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-08-13 21:17:08 +02:00
height: 48px;
2019-02-24 19:11:31 +01:00
}
header > a {
display: flex;
2019-08-13 21:17:08 +02:00
flex-direction: row;
2019-02-24 19:11:31 +01:00
}
h1, #logo {
margin: auto;
font-size: 35px;
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
}
@media (max-width: 640px) { // Version mobile
html {
margin: 10px;
width: 100%;
}
#texte {
width: 90%;
2019-01-26 14:23:19 +01:00
}
h1 {
font-size: 25px;
}
}
#logo {
2019-03-28 22:44:06 +01:00
width: 48px;
2019-08-13 21:17:08 +02:00
height: 48px;
}
.conteneurInputColor {
display: flex;
flex-direction: row;
justify-content: center;
width: 250px;
}
::selection {
color: @fond;
background-color: @texte;
}
:link {
text-decoration: none;
}
#couleurs {
display: flex;
flex-direction: row;
justify-content: space-between;
text-align: center;
}
.info {
color: grey;
position: absolute;
bottom: 20px;
right: 20px;
width: 300px;
& a {
color: grey;
}
&:hover, &:hover a {
color: @texte;
}
}
/* Inputs */
#redondance, #marge, #texte, #taille, input[type=color], input[type=submit], .bouton {
border: 2px @bordure solid;
border-radius: 10px;
font-size: 20px;
padding-left: 10px;
font-weight: normal;
color: @texteForm;
transition: border 0.1s linear;
background-color: @fondChamp;
margin-top: 8px;
&:hover {
border: 2px @bordureHover solid;
}
&:focus {
border: 2px @bordureFocus solid;
}
}
#redondance, #taille, #marge {
background-color: @fondChamp;
width: 250px;
height: 40px;
}
#texte {
background-color: @fondChampTexte;
color: @texteForm;
padding-top: 6px;
width: 500px;
}
#redondance:hover, #marge:hover, #texte:hover, #taille:hover, input[type=submit]:hover, .bouton:hover {
2019-01-26 14:23:19 +01:00
}
2019-08-13 21:17:08 +02:00
#texte:focus, input[type=submit]:focus, .bouton:focus {
}
#texte::placeholder {
color: lighten(@fondChampTexte, 40%);
opacity: 1;
2019-08-13 21:17:08 +02:00
font-family: "Ubuntu";
2019-03-28 22:44:06 +01:00
font-weight: normal;
font-size: 1em;
}
2019-08-13 21:17:08 +02:00
input[type=color] {
height: 50px;
width: 50px;
padding: 5px;
background-color: @fondChamp;
border: 2px @bordure solid;
}
input[type=color]:hover {
border: 2px @bordureHover solid;
}
input[type=color]:focus {
border: 2px @bordureFocus solid;
}
2019-01-26 14:23:19 +01:00
/* Infobulle */
2019-08-13 21:17:08 +02:00
svg {
width: 18px;
height: 18px;
}
.boutonAide {
height: 18px;
width: 18px;
color: @texte;
cursor: help;
}
.contenuAide {
max-width: 500px;
}
2019-01-26 14:23:19 +01:00
.conteneurAide {
color: #ccc;
}
.conteneurAide:hover, .conteneurAide:focus {
background: rgba(0,0,0,.4);
}
.conteneurAide .contenuAide {
position: absolute;
transform: scale(0) rotate(-12deg);
color: #FFFFFF;
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;
}
.conteneurAide, .conteneurAide:hover {
background-color: @fond;
2019-01-26 14:23:19 +01:00
text-decoration: none;
}