From a7f4a56e110758b13f1a0d3903718a9238173bf7 Mon Sep 17 00:00:00 2001 From: Olivia206 Date: Fri, 22 Jul 2022 12:35:12 +0200 Subject: [PATCH 1/3] Files --- assets/sass/_theme/blocks/files.sass | 72 ++++++++++++++-------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/assets/sass/_theme/blocks/files.sass b/assets/sass/_theme/blocks/files.sass index 53044e6be..e78889fc5 100644 --- a/assets/sass/_theme/blocks/files.sass +++ b/assets/sass/_theme/blocks/files.sass @@ -1,36 +1,36 @@ -// .block-files -// ul -// --bs-gutter-y: 1.5rem -// @extend .row -// list-style: none -// margin-bottom: 0 -// padding-left: 0 -// a -// @extend .icon -// @extend .icon-download -// align-items: center -// display: flex -// text-decoration: none -// &::before -// align-items: center -// border: $border-width solid $border-color -// display: flex -// flex-shrink: 0 -// height: px2rem(60) -// justify-content: center -// margin-right: px2rem(15) -// transition: background .3s ease -// width: px2rem(60) -// &::after -// content: none -// &:hover -// &::before -// background-color: $border-color -// span span -// @extend .small -// @include in-page-with-aside -// li -// @extend .col-md-6 -// @include in-page-without-aside -// li -// @extend .col-md-4 +.block-files + ul + --bs-gutter-y: 1.5rem + list-style: none + margin-bottom: 0 + padding-left: 0 + a + align-items: center + display: flex + @include icon("download", before) + text-decoration: none + &::before + align-items: center + border: 1px solid rgba($main-border-color, .1) + display: flex + flex-shrink: 0 + height: px2rem(60) + justify-content: center + // margin-right: px2rem(15) + transition: background .3s ease, border .3s ease + width: px2rem(60) + &::after + content: none + &:hover + &::before + background-color: rgba($main-border-color, .1) + border-color: transparent + span span + font-size: $small-font-size + + @include in-page-with-aside + ul + @include grid(2) + @include in-page-without-aside + ul + @include grid(3) From 9c2f25d96b05238d9b327744c97ce738170e9238 Mon Sep 17 00:00:00 2001 From: Olivia206 Date: Fri, 22 Jul 2022 12:45:36 +0200 Subject: [PATCH 2/3] Grid files --- assets/sass/_theme/blocks/files.sass | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/assets/sass/_theme/blocks/files.sass b/assets/sass/_theme/blocks/files.sass index e78889fc5..305a37b68 100644 --- a/assets/sass/_theme/blocks/files.sass +++ b/assets/sass/_theme/blocks/files.sass @@ -4,6 +4,10 @@ list-style: none margin-bottom: 0 padding-left: 0 + @include in-page-with-aside + @include grid(2) + @include in-page-without-aside + @include grid(3) a align-items: center display: flex @@ -26,11 +30,4 @@ background-color: rgba($main-border-color, .1) border-color: transparent span span - font-size: $small-font-size - - @include in-page-with-aside - ul - @include grid(2) - @include in-page-without-aside - ul - @include grid(3) + font-size: $small-font-size \ No newline at end of file From 9ff62735187bd32493c47bb65ce9c7424a4e6d14 Mon Sep 17 00:00:00 2001 From: Olivia206 Date: Fri, 22 Jul 2022 16:10:51 +0200 Subject: [PATCH 3/3] Files corrections --- assets/sass/_theme/blocks/files.sass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/sass/_theme/blocks/files.sass b/assets/sass/_theme/blocks/files.sass index 305a37b68..4932a855d 100644 --- a/assets/sass/_theme/blocks/files.sass +++ b/assets/sass/_theme/blocks/files.sass @@ -1,6 +1,5 @@ .block-files ul - --bs-gutter-y: 1.5rem list-style: none margin-bottom: 0 padding-left: 0 @@ -9,25 +8,25 @@ @include in-page-without-aside @include grid(3) a + @include icon("download", before) align-items: center display: flex - @include icon("download", before) text-decoration: none &::before align-items: center - border: 1px solid rgba($main-border-color, .1) + border: 1px solid $main-border-color display: flex flex-shrink: 0 height: px2rem(60) justify-content: center // margin-right: px2rem(15) - transition: background .3s ease, border .3s ease + transition: background 0.3s ease, border 0.3s ease width: px2rem(60) &::after content: none &:hover &::before - background-color: rgba($main-border-color, .1) + background-color: $main-border-color border-color: transparent span span font-size: $small-font-size \ No newline at end of file