This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #3208860 by DanielVeza, gareth.poole: Sector Blog integration
- Loading branch information
1 parent
6e61470
commit bf77903
Showing
8 changed files
with
96 additions
and
1 deletion.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
themes/sector_radix_starter/dist/components/comment/comment-form.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.comment-form{border:1px #dee2e6 solid;background-color:#f8f9fa;border-radius:.25rem;padding:1rem}*+.comment-form{margin-top:2rem} |
1 change: 1 addition & 0 deletions
1
themes/sector_radix_starter/dist/components/comment/comment.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
themes/sector_radix_starter/dist/components/promotion/promotion--blog-archive.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
themes/sector_radix_starter/src/components/comment/comment-form.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@import 'src/bootstrap/custom-bootstrap-variables'; | ||
|
||
.comment-form { | ||
border: 1px $border-color solid; | ||
background-color: $light; | ||
border-radius: $btn-border-radius;; | ||
padding: $spacer; | ||
|
||
* + & { | ||
margin-top: $spacer * 2; | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
themes/sector_radix_starter/src/components/comment/comment.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@import 'src/bootstrap/custom-bootstrap-variables'; | ||
@import 'bootstrap/scss/mixins/gradients'; | ||
@import 'bootstrap/scss/mixins/box-shadow'; | ||
@import 'bootstrap/scss/mixins/hover'; | ||
@import 'bootstrap/scss/mixins/buttons'; | ||
|
||
.comment { | ||
|
||
|
||
+ .comment, | ||
+ .indented { | ||
margin-top: $spacer * 1.25; | ||
} | ||
|
||
+ .indented { | ||
padding-left: $spacer; | ||
border-left: 8px $gray-200 solid; | ||
} | ||
|
||
* + .links { | ||
margin-top: $spacer * 0.5; | ||
} | ||
|
||
.links { | ||
font-size: 90%; | ||
|
||
> li:first-child > .nav-link { | ||
border-top-left-radius: $btn-border-radius; | ||
border-bottom-left-radius: $btn-border-radius; | ||
} | ||
> li:last-child > .nav-link { | ||
border-top-right-radius: $btn-border-radius; | ||
border-bottom-right-radius: $btn-border-radius; | ||
} | ||
|
||
.nav-link { | ||
@include button-variant($primary, $primary); | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
themes/sector_radix_starter/src/components/promotion/promotion--blog-archive.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@import 'src/bootstrap/custom-bootstrap-variables'; | ||
@import 'mixins/type'; | ||
|
||
.promotion--blog-archive { | ||
|
||
ul { | ||
margin: 0; | ||
display: flex; | ||
flex-wrap: wrap; | ||
list-style: none; | ||
padding: 0; | ||
@include font-smoothing; | ||
|
||
> li { | ||
margin-right: .75rem; | ||
} | ||
|
||
a { | ||
font-weight: $font-weight-bold; | ||
} | ||
} | ||
|
||
// dont need a pager here | ||
nav { | ||
display: none; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.