From 561038ef36b5f9daf3392cc21f9cdc1a3e7314cf Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 3 Feb 2022 19:54:47 +0100 Subject: [PATCH] =?UTF-8?q?goutti=C3=A8re=20pagination=20#1240?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/app.scss | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/assets/css/app.scss b/assets/css/app.scss index 728c048..baff501 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -446,6 +446,7 @@ section[role="main-content"]{ padding-right: 0; >.wrapper{ padding-right: $pagenum_w*2; + outline: orange solid thin; } div#text{ // .infinite-loading-container{ @@ -509,21 +510,26 @@ section[role="main-content"]{ font-size: 16px; position: relative; float:right; - width: $pagenum_w; height:0; + width: $pagenum_w; height:$base-line/4; + border-bottom: 1px solid $bleuroilight; + border-right: 1px solid $bleuroilight; + // outline: solid red thin; // margin-left:calc(100% - #{$pagenum_w * 2}); // margin-left: 100%; - margin-right: - $pagenum_w; - &:after{ + margin-right: - $pagenum_w * 0.7; + &:before{ + // outline: solid green thin; content:attr(data-num); - border-top: 1px solid $bleuroilight; - position: absolute; - right:0; font-size: 0.630em; - width: $pagenum_w*2; height: $pagenum_w; - line-height: $pagenum_w; - border-right: 1px solid $bleuroilight; + line-height: $base-line/3; + position: absolute; + right: - $pagenum_w * 1.7; color: $bleuroi; - text-indent: $pagenum_w * 2.5; + // top:0; + // width: $pagenum_w*2; height: $pagenum_w; + // border-top: 1px solid $bleuroilight; + // border-right: 1px solid $bleuroilight; + // text-indent: $pagenum_w * 2.5; } }