From 8474dad8bc2630b969d77e290e3d5dfaf95b0c96 Mon Sep 17 00:00:00 2001 From: ouidade Date: Wed, 22 Dec 2021 21:53:25 +0100 Subject: [PATCH] revert last commit --- web/themes/custom/eql/css-compiled/styles.css | 8 +++----- .../custom/eql/scss/pages/_toutesactualites.scss | 14 +++++++------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 196366e..33d2255 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -975,13 +975,11 @@ a { display: flex; flex-direction: column; } .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(1) { - order: 3; } - .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(2) { order: 1; } - .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(3) { - order: 2; } .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(4) { - order: 4; } + order: 2; } + .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(5) { + order: 3; } .path-actualites .block-region-content .block-views .node-type-actualite div:first-child a { color: #09398b; } .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-images .field__item img { diff --git a/web/themes/custom/eql/scss/pages/_toutesactualites.scss b/web/themes/custom/eql/scss/pages/_toutesactualites.scss index 3ade1e5..dadc6a5 100644 --- a/web/themes/custom/eql/scss/pages/_toutesactualites.scss +++ b/web/themes/custom/eql/scss/pages/_toutesactualites.scss @@ -34,15 +34,15 @@ display: flex; flex-direction: column; - // :nth-child(1) { order: 1; } + :nth-child(1) { order: 1; } - // :nth-child(4) { order: 2; } - // :nth-child(5) { order: 3; } + :nth-child(4) { order: 2; } + :nth-child(5) { order: 3; } - :nth-child(1) { order: 3; } - :nth-child(2) { order: 1; } - :nth-child(3) { order: 2; } - :nth-child(4) { order: 4; } + // :nth-child(1) { order: 3; } + // :nth-child(2) { order: 1; } + // :nth-child(3) { order: 2; } + // :nth-child(4) { order: 4; } a{ color: $blue-dark; }