mise à jours de gulp

This commit is contained in:
armansansd 2021-09-15 11:27:17 +02:00
parent f24ba9e0db
commit 7c78fb39f4
20 changed files with 38094 additions and 15884 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,11 +0,0 @@
@media (min-width: 48rem) {
:root {
font-size: calc(1rem + ((1vw - .48rem) * 1.389));
/* .48rem = viewportWidthMinimum /100 */
/* 1.389rem = 100 * fontSizeDifference / viewportWidthDifference */ } }
@media (min-width: 120em) {
:root {
font-size: 2rem; } }
/*# sourceMappingURL=variables.css.map */

View File

@ -1 +0,0 @@
{"version":3,"file":"variables.css","sources":["setup/variables.scss"],"sourcesContent":["$font-extra: 2rem;\n$font-big: 1.2rem;\n$font-medium: .8rem;\n$font-normal: .6rem;\n@media (min-width: 48rem) {\n\t:root {\n\t font-size: calc(1rem + ((1vw - .48rem) * 1.389));\n\t /* .48rem = viewportWidthMinimum /100 */\n\t /* 1.389rem = 100 * fontSizeDifference / viewportWidthDifference */\n\t}\n }\n \n @media (min-width: 120em) {\n\t:root {\n\t font-size: 2rem;\n\t}\n }"],"mappings":"AAIA,MAAM,EAAL,SAAS,EAAE,KAAK;EAChB,AAAA,KAAK,CAAC;IACJ,SAAS,EAAE,qCAAI;IACf,wCAAwC;IACxC,mEAAmE,EACpE;;AAGA,MAAM,EAAL,SAAS,EAAE,KAAK;EAClB,AAAA,KAAK,CAAC;IACJ,SAAS,EAAE,IAAK,GACjB","names":[]}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,51 +1,39 @@
const {
src,
dest,
parallel,
series,
watch
} = require('gulp');
var gulp = require('gulp'); const uglify = require('gulp-uglify');
var livereload = require('gulp-livereload') const rename = require('gulp-rename');
var uglify = require('gulp-uglifyjs'); const sass = require('gulp-sass')(require('sass'));
var sass = require('gulp-sass'); const autoprefixer = require('gulp-autoprefixer');
var autoprefixer = require('gulp-autoprefixer'); const cssnano = require('gulp-cssnano');
var sourcemaps = require('gulp-sourcemaps'); const concat = require('gulp-concat');
var imagemin = require('gulp-imagemin'); const clean = require('gulp-clean');
var pngquant = require('imagemin-pngquant'); //const imagemin = require('gulp-imagemin');
const changed = require('gulp-changed');
const browsersync = require('browser-sync').create();
const webpack = require('webpack'); const webpack = require('webpack');
const webpackStream = require('webpack-stream'); const webpackStream = require('webpack-stream');
const compiler = require('webpack') const compiler = require('webpack')
gulp.task('imagemin', function () { function clear() {
return gulp.src('./images/*') return src('./assets/*', {
.pipe(imagemin({ read: false
progressive: true, })
svgoPlugins: [{removeViewBox: false}], .pipe(clean());
use: [pngquant()] }
}))
.pipe(gulp.dest('./images'));
});
// JS function
gulp.task('sass', function () { function js() {
gulp.src('./sass/**/*.scss') const source = './lib/*.js';
.pipe(sourcemaps.init()) return src(source)
.pipe(sass({
//outputStyle: 'compressed',
includePaths: ['node_modules/foundation-sites/scss']
}).on('error', sass.logError))
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest('./css'));
});
/*gulp.task('uglify', function() {
gulp.src('./lib/*.js')
.pipe(uglify('main.js'))
.pipe(gulp.dest('./js'))
});*/
gulp.task('packing', function () {
return gulp
.src('./lib/*.js')
.pipe(webpackStream({ .pipe(webpackStream({
mode: "production", mode: "production",
plugins: [ plugins: [
@ -70,16 +58,36 @@ gulp.task('packing', function () {
} }
)) ))
.pipe(gulp.dest('js/')); .pipe(dest('./assets/js/'));
}); }
// CSS function
gulp.task('watch', function(){ function css() {
livereload.listen(); const source = './sass/**/*.scss';
gulp.watch('./sass/**/**/*.scss', ['sass']); return src(source)
gulp.watch('./lib/*.js', ['packing']); .pipe(changed(source))
gulp.watch(['./css/style.css', './**/*.twig', './js/*.js'], function (files){ .pipe(sass({
livereload.changed(files) outputStyle: 'compressed',
}); includePaths: ['./node_modules/foundation-sites/scss']}
}); ))
.pipe(autoprefixer({
overrideBrowserslist: ['last 2 versions', 'ie >= 9', 'android >= 4.4', 'ios >= 7'],
cascade: false
}))
.pipe(rename({
extname: '.min.css'
}))
.pipe(cssnano())
.pipe(dest('./assets/css/'))
.pipe(browsersync.stream());
}
function watchFiles() {
watch('./sass/**/**/*.scss', css);
watch('./lib/*.js', js);
}
exports.default = series(clear, parallel(js, css));
exports.watch = parallel(watchFiles);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -4,24 +4,33 @@
"description": "Gulp dependencies for Popsu d9", "description": "Gulp dependencies for Popsu d9",
"main": "gulpfile.js", "main": "gulpfile.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": ""
}, },
"author": "Armansansd", "author": "",
"license": "GPL", "license": "ISC",
"devDependencies": { "devDependencies": {
"css-loader": "^5.2.6", "browser-sync": "^2.27.5",
"foundation-sites": "^6.6.3", "foundation-sites": "^6.7.2",
"gulp": "^3.9.0", "glob-parent": "^5.1.2",
"gulp-autoprefixer": "^3.0.2", "gulp": "^4.0.2",
"gulp-imagemin": "^2.3.0", "gulp-autoprefixer": "^8.0.0",
"gulp-livereload": "^3.8.0", "gulp-changed": "^4.0.3",
"gulp-sass": "^2.0.4", "gulp-clean": "^0.4.0",
"gulp-sourcemaps": "^1.5.2", "gulp-cli": "^2.3.0",
"gulp-uglifyjs": "^0.6.2", "gulp-concat": "^2.6.1",
"imagemin-pngquant": "^4.2.0", "gulp-cssnano": "^2.1.3",
"gulp-imagemin": "^8.0.0",
"gulp-rename": "^2.0.0",
"gulp-sass": "^5.0.0",
"gulp-uglify": "^3.0.2",
"lodash": "^4.17.21",
"minimatch": "^3.0.2",
"node": "^16.9.1",
"sass": "^1.40.1",
"sass-migrator": "^1.5.2",
"slick-carousel": "^1.8.1", "slick-carousel": "^1.8.1",
"style-loader": "^2.0.0", "webpack": "^5.52.1",
"webpack": "^5.38.1", "webpack-stream": "^7.0.0",
"webpack-stream": "^6.1.2" "yargs-parser": "^18.1.1"
} }
} }

View File

@ -1,9 +1,9 @@
global-css: global-css:
css: css:
theme: theme:
css/styles.css: {} assets/css/styles.min.css: {}
global-js: global-js:
js: js:
js/main.js: {} assets/js/main.js: {}
dependencies: dependencies:
- core/jquery - core/jquery

View File

@ -277,7 +277,7 @@
height: 7rem; height: 7rem;
position: relative; position: relative;
// background: red; // background: red;
background: center / contain no-repeat url(../images/popsu-home-logo.png); background: center / contain no-repeat url(../../images/popsu-home-logo.png);
margin: -9% 0 3rem 0 !important; margin: -9% 0 3rem 0 !important;
@include breakpoint(small down) { @include breakpoint(small down) {
margin: -20% 0 3rem 0 !important; margin: -20% 0 3rem 0 !important;

View File

@ -159,7 +159,7 @@
} }
} }
.main_logo{ .main_logo{
background: center / contain no-repeat url(../images/POPSU_1.svg); background: center / contain no-repeat url(../../images/POPSU_1.svg);
} }
} }
&.programme-2{ &.programme-2{
@ -169,7 +169,7 @@
} }
} }
.main_logo{ .main_logo{
background: center / contain no-repeat url(../images/POPSU_2.svg); background: center / contain no-repeat url(../../images/POPSU_2.svg);
} }
} }
&.programme-3{ &.programme-3{
@ -180,7 +180,7 @@
} }
.main_logo{ .main_logo{
background: center / contain no-repeat url(../images/POPSU_Europe.svg); background: center / contain no-repeat url(../../images/POPSU_Europe.svg);
} }
} }
&.programme-4{ &.programme-4{
@ -191,7 +191,7 @@
} }
.main_logo{ .main_logo{
background: center / contain no-repeat url(../images/POPSU_logo.svg); background: center / contain no-repeat url(../../images/POPSU_logo.svg);
} }
} }
&.programme-5{ &.programme-5{
@ -202,7 +202,7 @@
} }
.main_logo{ .main_logo{
background: center / contain no-repeat url(../images/POPSU_monde.svg); background: center / contain no-repeat url(../../images/POPSU_monde.svg);
} }
} }
&.programme-6{ &.programme-6{
@ -213,7 +213,7 @@
} }
.main_logo{ .main_logo{
background: center / contain no-repeat url(../images/POPSU_territoires.svg); background: center / contain no-repeat url(../../images/POPSU_territoires.svg);
} }
} }
&.programme-7{ &.programme-7{
@ -224,7 +224,7 @@
} }
.main_logo{ .main_logo{
background: center / contain no-repeat url(../images/POPSU_metropoles.svg); background: center / contain no-repeat url(../../images/POPSU_metropoles.svg);
} }
} }
.layout-content{ .layout-content{

View File

@ -154,7 +154,7 @@
display: block; display: block;
font-size: 0; font-size: 0;
color: transparent; color: transparent;
background: left / contain no-repeat url(../images/POPSU_logo.svg); background: left / contain no-repeat url(../../images/POPSU_logo.svg);
} }
} }
@ -348,14 +348,14 @@ footer{
display: block; display: block;
color: transparent; color: transparent;
font-size: 0; font-size: 0;
background: left / contain no-repeat url(../images/gouv.svg); background: left / contain no-repeat url(../../images/gouv.svg);
} }
.logo-puca{ .logo-puca{
height: 100%; height: 100%;
display: block; display: block;
color: transparent; color: transparent;
font-size: 0; font-size: 0;
background: left / contain no-repeat url(../images/puca.svg); background: left / contain no-repeat url(../../images/puca.svg);
margin-top: .5rem; margin-top: .5rem;
} }
@ -390,21 +390,21 @@ footer{
display: block; display: block;
font-size: 0; font-size: 0;
color: transparent; color: transparent;
background: left / contain no-repeat url(../images/tw.svg); background: left / contain no-repeat url(../../images/tw.svg);
} }
a[href*='linkedin']{ a[href*='linkedin']{
height: 100%; height: 100%;
display: block; display: block;
font-size: 0; font-size: 0;
color: transparent; color: transparent;
background: left / contain no-repeat url(../images/ln.svg); background: left / contain no-repeat url(../../images/ln.svg);
} }
a[href*='youtube']{ a[href*='youtube']{
height: 100%; height: 100%;
display: block; display: block;
font-size: 0; font-size: 0;
color: transparent; color: transparent;
background: left / contain no-repeat url(../images/yt.svg); background: left / contain no-repeat url(../../images/yt.svg);
} }
} }
} }

View File

@ -1,6 +1,6 @@
@font-face { @font-face {
font-family: 'duke'; font-family: 'duke';
src: url('../fonts/Duke_Fill.otf') format('opentype'); src: url('../../fonts/Duke_Fill.otf') format('opentype');
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
} }
@ -9,8 +9,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenobd-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenobd-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenobd-webfont.woff') format('woff'); url('../../fonts/trueno/truenobd-webfont.woff') format('woff');
font-weight: 600; font-weight: 600;
font-style: normal; font-style: normal;
@ -21,8 +21,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenobdit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenobdit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenobdit-webfont.woff') format('woff'); url('../../fonts/trueno/truenobdit-webfont.woff') format('woff');
font-weight: 600; font-weight: 600;
font-style: italic; font-style: italic;
@ -33,8 +33,8 @@
@font-face { @font-face {
font-family: 'trueno_outline'; font-family: 'trueno_outline';
src: url('../fonts/trueno/truenobdol-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenobdol-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenobdol-webfont.woff') format('woff'); url('../../fonts/trueno/truenobdol-webfont.woff') format('woff');
font-weight: 600; font-weight: 600;
font-style: normal; font-style: normal;
@ -45,8 +45,8 @@
@font-face { @font-face {
font-family: 'trueno_outline'; font-family: 'trueno_outline';
src: url('../fonts/trueno/truenobdolit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenobdolit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenobdolit-webfont.woff') format('woff'); url('../../fonts/trueno/truenobdolit-webfont.woff') format('woff');
font-weight: 600; font-weight: 600;
font-style: italic; font-style: italic;
@ -57,8 +57,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenoblk-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoblk-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoblk-webfont.woff') format('woff'); url('../../fonts/trueno/truenoblk-webfont.woff') format('woff');
font-weight: 800; font-weight: 800;
font-style: normal; font-style: normal;
@ -69,8 +69,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenoblkit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoblkit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoblkit-webfont.woff') format('woff'); url('../../fonts/trueno/truenoblkit-webfont.woff') format('woff');
font-weight: 800; font-weight: 800;
font-style: italic; font-style: italic;
@ -81,8 +81,8 @@
@font-face { @font-face {
font-family: 'trueno_outline'; font-family: 'trueno_outline';
src: url('../fonts/trueno/truenoblkol-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoblkol-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoblkol-webfont.woff') format('woff'); url('../../fonts/trueno/truenoblkol-webfont.woff') format('woff');
font-weight: 800; font-weight: 800;
font-style: normal; font-style: normal;
@ -93,8 +93,8 @@
@font-face { @font-face {
font-family: 'trueno_outline'; font-family: 'trueno_outline';
src: url('../fonts/trueno/truenoblkolit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoblkolit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoblkolit-webfont.woff') format('woff'); url('../../fonts/trueno/truenoblkolit-webfont.woff') format('woff');
font-weight: 800; font-weight: 800;
font-style: italic; font-style: italic;
@ -105,8 +105,8 @@
@font-face { @font-face {
font-family: 'truenoextrabold'; font-family: 'truenoextrabold';
src: url('../fonts/trueno/truenoexbd-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoexbd-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoexbd-webfont.woff') format('woff'); url('../../fonts/trueno/truenoexbd-webfont.woff') format('woff');
font-weight: 900; font-weight: 900;
font-style: normal; font-style: normal;
@ -117,8 +117,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenoexbdit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoexbdit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoexbdit-webfont.woff') format('woff'); url('../../fonts/trueno/truenoexbdit-webfont.woff') format('woff');
font-weight: 900; font-weight: 900;
font-style: italic; font-style: italic;
@ -129,8 +129,8 @@
@font-face { @font-face {
font-family: 'trueno_outline'; font-family: 'trueno_outline';
src: url('../fonts/trueno/truenoexbdol-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoexbdol-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoexbdol-webfont.woff') format('woff'); url('../../fonts/trueno/truenoexbdol-webfont.woff') format('woff');
font-weight: 900; font-weight: 900;
font-style: normal; font-style: normal;
@ -139,8 +139,8 @@
@font-face { @font-face {
font-family: 'trueno_outline'; font-family: 'trueno_outline';
src: url('../fonts/trueno/truenoexbdolit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoexbdolit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoexbdolit-webfont.woff') format('woff'); url('../../fonts/trueno/truenoexbdolit-webfont.woff') format('woff');
font-weight: 900; font-weight: 900;
font-style: italic; font-style: italic;
@ -149,8 +149,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenolt-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenolt-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenolt-webfont.woff') format('woff'); url('../../fonts/trueno/truenolt-webfont.woff') format('woff');
font-weight: 300; font-weight: 300;
font-style: normal; font-style: normal;
@ -161,8 +161,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenoltit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoltit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoltit-webfont.woff') format('woff'); url('../../fonts/trueno/truenoltit-webfont.woff') format('woff');
font-weight: 300; font-weight: 300;
font-style: italic; font-style: italic;
@ -173,8 +173,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenorg-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenorg-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenorg-webfont.woff') format('woff'); url('../../fonts/trueno/truenorg-webfont.woff') format('woff');
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
@ -185,8 +185,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenorgit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenorgit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenorgit-webfont.woff') format('woff'); url('../../fonts/trueno/truenorgit-webfont.woff') format('woff');
font-weight: 400; font-weight: 400;
font-style: italic; font-style: italic;
@ -197,8 +197,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenosbd-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenosbd-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenosbd-webfont.woff') format('woff'); url('../../fonts/trueno/truenosbd-webfont.woff') format('woff');
font-weight: 500; font-weight: 500;
font-style: normal; font-style: normal;
@ -209,8 +209,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenosbdit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenosbdit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenosbdit-webfont.woff') format('woff'); url('../../fonts/trueno/truenosbdit-webfont.woff') format('woff');
font-weight: 500; font-weight: 500;
font-style: italic; font-style: italic;
@ -221,8 +221,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenoultblk-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoultblk-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoultblk-webfont.woff') format('woff'); url('../../fonts/trueno/truenoultblk-webfont.woff') format('woff');
font-weight: 1000; font-weight: 1000;
font-style: normal; font-style: normal;
@ -233,8 +233,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenoultblkit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoultblkit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoultblkit-webfont.woff') format('woff'); url('../../fonts/trueno/truenoultblkit-webfont.woff') format('woff');
font-weight: 1000; font-weight: 1000;
font-style: italic; font-style: italic;
@ -245,8 +245,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenoultlt-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoultlt-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoultlt-webfont.woff') format('woff'); url('../../fonts/trueno/truenoultlt-webfont.woff') format('woff');
font-weight: 100; font-weight: 100;
font-style: normal; font-style: normal;
@ -257,8 +257,8 @@
@font-face { @font-face {
font-family: 'trueno'; font-family: 'trueno';
src: url('../fonts/trueno/truenoultltit-webfont.woff2') format('woff2'), src: url('../../fonts/trueno/truenoultltit-webfont.woff2') format('woff2'),
url('../fonts/trueno/truenoultltit-webfont.woff') format('woff'); url('../../fonts/trueno/truenoultltit-webfont.woff') format('woff');
font-weight: 100; font-weight: 100;
font-style: italic; font-style: italic;

View File

@ -104,9 +104,9 @@ iframe{
.slick-arrow{ .slick-arrow{
font-size: 0; font-size: 0;
background: center / 40% no-repeat url(../images/fleche.svg); background: center / 40% no-repeat url(../../images/fleche.svg);
@include breakpoint(small down) { @include breakpoint(small down) {
background: center / 100% no-repeat url(../images/fleche.svg); background: center / 100% no-repeat url(../../images/fleche.svg);
} }
} }

View File

@ -463,7 +463,7 @@ $input-background-focus: $white;
$input-background-disabled: $light-gray; $input-background-disabled: $light-gray;
$input-border: 1px solid $medium-gray; $input-border: 1px solid $medium-gray;
$input-border-focus: 1px solid $dark-gray; $input-border-focus: 1px solid $dark-gray;
$input-padding: $form-spacing / 2; $input-padding: $form-spacing * 0.5;
$input-shadow: inset 0 1px 2px rgba($black, 0.1); $input-shadow: inset 0 1px 2px rgba($black, 0.1);
$input-shadow-focus: 0 0 5px $medium-gray; $input-shadow-focus: 0 0 5px $medium-gray;
$input-cursor-disabled: not-allowed; $input-cursor-disabled: not-allowed;
@ -809,7 +809,7 @@ $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-h
$table-is-striped: true; $table-is-striped: true;
$table-striped-background: smart-scale($table-background, $table-color-scale); $table-striped-background: smart-scale($table-background, $table-color-scale);
$table-stripe: even; $table-stripe: even;
$table-head-background: smart-scale($table-background, $table-color-scale / 2); $table-head-background: smart-scale($table-background, $table-color-scale * 0.5);
$table-head-row-hover: darken($table-head-background, $table-hover-scale); $table-head-row-hover: darken($table-head-background, $table-hover-scale);
$table-foot-background: smart-scale($table-background, $table-color-scale); $table-foot-background: smart-scale($table-background, $table-color-scale);
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale); $table-foot-row-hover: darken($table-foot-background, $table-hover-scale);

View File

@ -14,7 +14,7 @@ $col-1: #61ab32;
$bck-col: #eff2f9; $bck-col: #eff2f9;
$lightblue: #98d0d9; $lightblue: #98d0d9;
$trame: center/80% linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(../images/motif_croix.svg) ; $trame: center/80% linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(../../images/motif_croix.svg) ;
@media (min-width: 48rem) { @media (min-width: 48rem) {