Skip to content
Extraits de code Groupes Projets
Valider c4633f09 rédigé par Juliana's avatar Juliana
Parcourir les fichiers

[MIG]Change less to scss files

parent cbe3a8cb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!1Refactor reports
/***************************
/** Fonts
***************************/
@font-face {
$font-face {
font-family: 'Lato';
src: url(../fonts/Lato/Lato-Regular.ttf);
font-weight: normal;
font-style: normal;
}
@font-face {
$font-face {
font-family: 'Lato';
src: url(../fonts/Lato/Lato-Light.ttf);
font-weight: 300;
font-style: normal;
}
@font-face {
$font-face {
font-family: 'Lato';
src: url(../fonts/Lato/Lato-Bold.ttf);
font-weight: bold;
font-style: normal;
}
@font-face {
$font-face {
font-family: 'Lekton';
src: url(../fonts/Lekton/Lekton-Regular.ttf);
font-weight: normal;
font-style: normal;
}
@font-face {
$font-face {
font-family: 'Lekton';
src: url(../fonts/Lekton/Lekton-Bold.ttf);
font-weight: bold;
......@@ -35,11 +35,11 @@
/***************************
/** Variables
***************************/
@typo_body: 'Lato',sans-serif;
@typo_1: 'Lekton', sans-serif;
$typo_body: 'Lato',sans-serif;
$typo_1: 'Lekton', sans-serif;
@color1: #1C2F82;
@color2: rgb(0, 180, 149);
$color1: #1C2F82;
$color2: rgb(0, 180, 149);
/***************************
......@@ -55,7 +55,7 @@ body, table, td, span, div {
}
.attendance, .attendance td, .convention, .convention td {
font-family: @typo_body;
font-family: $typo_body;
font-weight: 300;
}
......@@ -63,7 +63,7 @@ body, table, td, span, div {
border-top: 1px solid #eee;
padding-top: 10px;
font-size: 11px;
font-family: @typo_1;
font-family: $typo_1;
text-align: center;
color: #333;
}
......@@ -72,32 +72,32 @@ body, table, td, span, div {
/** Attendance
***************************/
.attendance h1 {
color: @color2;
color: $color2;
font-size: 26px;
font-family: @typo_1;
font-family: $typo_1;
text-transform: uppercase;
}
.attendance h2 {
color: @color1;
color: $color1;
font-size: 22px;
font-family: @typo_1;
font-family: $typo_1;
}
/***************************
/** Convention
***************************/
.convention h1 {
background-color: @color2;
background-color: $color2;
color: #fff;
padding: 5px 0;
font-size: 26px;
font-family: @typo_1;
font-family: $typo_1;
text-transform: uppercase;
}
.convention h2 {
color: @color1;
color: $color1;
font-size: 22px;
font-family: @typo_1;
font-family: $typo_1;
text-transform: uppercase;
}
.convention h3 {
......
......@@ -5,19 +5,19 @@
<template id="training_assets" inherit_id="web.report_assets_common">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/lefilament_training/static/src/less/style.less"/>
<link rel="stylesheet" href="/lefilament_training/static/src/scss/style.scss"/>
</xpath>
</template>
<template id="training_assets_common" name="training_assets" inherit_id="web.report_assets_pdf">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/lefilament_training/static/src/less/style.less"/>
<link rel="stylesheet" href="/lefilament_training/static/src/scss/style.scss"/>
</xpath>
</template>
<template id="report_assets_common_custom_fonts" name="Custom QWeb fonts" inherit_id="web.report_assets_common">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/lefilament_training/static/src/less/style.less"/>
<link rel="stylesheet" href="/lefilament_training/static/src/scss/style.scss"/>
</xpath>
</template>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter