364 lines
5.4 KiB
Text
Executable file
364 lines
5.4 KiB
Text
Executable file
/*
|
|
|
|
Ce fichier fait partie de LibreQR.
|
|
|
|
LibreQR est un logiciel libre ; vous pouvez le redistribuer ou le modifier
|
|
suivant les termes de la GNU Affero General Public License
|
|
telle que publiée par la Free Software Foundation ; soit la version 3
|
|
de la licence, soit (à votre gré) toute version ultérieure.
|
|
|
|
LibreQR est distribué dans l'espoir qu'il sera utile,
|
|
mais SANS AUCUNE GARANTIE ; sans même la garantie tacite de
|
|
QUALITÉ MARCHANDE ou d'ADÉQUATION à UN BUT PARTICULIER.
|
|
Consultez la GNU Affero General Public License pour plus de détails.
|
|
|
|
Vous devez avoir reçu une copie de la GNU Affero General Public License
|
|
en même temps que LibreQR ; si ce n'est pas le cas,
|
|
consultez <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
* {
|
|
font-family: "Ubuntu", sans-serif;
|
|
scrollbar-color: @text @bg;
|
|
scrollbar-width: auto;
|
|
}
|
|
|
|
a {
|
|
color: @text;
|
|
text-decoration: underline;
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
font-weight: 500;
|
|
}
|
|
|
|
#firstWrapper {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
#menusDeroulants {
|
|
text-align: center;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
#codeQR {
|
|
max-width: 500px;
|
|
}
|
|
|
|
#lienCodeQR {
|
|
text-align: center;
|
|
}
|
|
|
|
.centrer {
|
|
text-align: center;
|
|
}
|
|
|
|
.bouton {
|
|
padding: 3px 10px 3px 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
form {
|
|
display: block;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.center {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
width: 814px;
|
|
}
|
|
|
|
html, body {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
background-color: @bg;
|
|
color: @text;
|
|
font-weight: normal;
|
|
font-size: 1em;
|
|
|
|
& h1 {
|
|
color: @text;
|
|
text-decoration: none;
|
|
}
|
|
|
|
}
|
|
|
|
label {
|
|
font-size: 20px;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
height: 48px;
|
|
}
|
|
|
|
header > a {
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
h1, #logo {
|
|
margin: 0px;
|
|
font-size: 35px;
|
|
}
|
|
|
|
h1 {
|
|
padding: auto;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#titre {
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.param {
|
|
padding: 10px;
|
|
padding-left: 0px;
|
|
margin-left: 0px;
|
|
padding-right: 0px;
|
|
margin-right: 0px;
|
|
}
|
|
|
|
#logo {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
.conteneurInputColor {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
::selection {
|
|
color: @bg;
|
|
background-color: @text;
|
|
}
|
|
|
|
#couleurs {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
text-align: center;
|
|
|
|
& .param {
|
|
text-align: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
footer, .info {
|
|
color: @secondaryText;
|
|
text-align: left;
|
|
transition: color 0.12s cubic-bezier(0.42, 0.0, 1.0, 1.0);
|
|
position: fixed;
|
|
width: 400px;
|
|
|
|
& a:link {
|
|
transition: color 0.12s cubic-bezier(0.42, 0.0, 1.0, 1.0);
|
|
color: @secondaryText;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
&:hover, &:hover a:link {
|
|
color: @text;
|
|
}
|
|
|
|
}
|
|
|
|
footer {
|
|
font-size: 14px;
|
|
bottom: 20px;
|
|
left: 20px;
|
|
}
|
|
|
|
.info {
|
|
font-size: 16px;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
|
|
& strong {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 850px) { // Version écran moyen
|
|
|
|
footer, .info {
|
|
width: 100%;
|
|
position: relative;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
top: 0px;
|
|
margin: 0px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.info {
|
|
color: @text;
|
|
margin-bottom: 20px;
|
|
|
|
& a:link {
|
|
color: @text;
|
|
}
|
|
}
|
|
|
|
#firstWrapper {
|
|
flex-direction: column;
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 500px) { // Version mobile
|
|
|
|
#couleurs {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.center {
|
|
width: auto;
|
|
}
|
|
|
|
html, body {
|
|
width: 95%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 28px;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 415px) {
|
|
|
|
h1 {
|
|
padding: 0px;
|
|
}
|
|
|
|
|
|
}
|
|
/* Inputs */
|
|
|
|
#redondancy, #margin, #text, #size, input[type=color], input[type=submit], .bouton {
|
|
border: 2px @border solid;
|
|
border-radius: 10px;
|
|
font-size: 20px;
|
|
padding-left: 10px;
|
|
font-weight: normal;
|
|
color: @text;
|
|
transition: border 0.1s linear;
|
|
background-color: @bgField;
|
|
margin-top: 8px;
|
|
|
|
&:hover {
|
|
border: 2px @borderHover solid;
|
|
}
|
|
|
|
&:focus {
|
|
border: 2px @borderFocus solid;
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
#redondancy, #size, #margin {
|
|
background-color: @bgField;
|
|
width: 250px;
|
|
height: 40px;
|
|
}
|
|
|
|
#text {
|
|
background-color: @bgTextField;
|
|
color: @text;
|
|
padding: 10px;
|
|
margin: 10px;
|
|
width: 500px;
|
|
scrollbar-color: @text @bgTextField;
|
|
scrollbar-width: auto;
|
|
|
|
@media (max-width: 500px) {
|
|
width: 85%;
|
|
}
|
|
}
|
|
|
|
input[type=submit] {
|
|
font-size: 34px;
|
|
padding: 10px;
|
|
padding-left: 14px;
|
|
padding-right: 14px;
|
|
}
|
|
|
|
#text::placeholder {
|
|
color: lighten(@bgTextField, 40%);
|
|
opacity: 1;
|
|
font-family: "Ubuntu", sans-serif;
|
|
font-weight: normal;
|
|
font-size: 1em;
|
|
}
|
|
|
|
input[type=color] {
|
|
height: 60px;
|
|
width: 84px;
|
|
padding: 5px;
|
|
border: 2px @border solid;
|
|
}
|
|
|
|
/* Infobulle */
|
|
|
|
svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.boutonAide {
|
|
height: 0px;
|
|
width: 0px;
|
|
color: @text;
|
|
cursor: help;
|
|
}
|
|
|
|
.contenuAide {
|
|
max-width: 500px;
|
|
|
|
@media (max-width: 500px) {
|
|
width: 100%;
|
|
}
|
|
|
|
}
|
|
|
|
.conteneurAide .contenuAide {
|
|
position: absolute;
|
|
transform: scale(0) rotate(-12deg);
|
|
color: @text;
|
|
background: @bgHelp;
|
|
padding: 15px;
|
|
border-radius: 3px;
|
|
box-shadow: 0 0 10px rgba(0,0,0,.5);
|
|
margin-top: 23px;
|
|
margin-left: -35px;
|
|
transition: all .25s;
|
|
opacity: 0;
|
|
}
|
|
|
|
.conteneurAide:hover .contenuAide, .conteneurAide:focus-within .contenuAide {
|
|
transform: scale(1) rotate(0);
|
|
opacity: 1;
|
|
}
|