-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#539379 check and fix comments from Rob
- Loading branch information
1 parent
e770788
commit 192acbf
Showing
9 changed files
with
249 additions
and
57 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/basic/_about.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,18 @@ | ||
@import "variables"; | ||
|
||
.about-page { | ||
padding-bottom: 20px; | ||
|
||
.title { | ||
display: block; | ||
font-size:$text-size-36; | ||
font-weight: 600; | ||
line-height: 72px; | ||
} | ||
.text { | ||
display: block; | ||
font-size: $text-size-16; | ||
font-weight: 500; | ||
line-height: 32px; | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/basic/_common.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 |
---|---|---|
@@ -1,3 +1,75 @@ | ||
@import "@sass/abstracts/mixins"; | ||
@import "variables"; | ||
|
||
* { | ||
font-family: Roboto; | ||
} | ||
|
||
main { | ||
position: relative; | ||
min-height: calc(100vh - 352px); | ||
margin-bottom: 50px; | ||
padding-top: 50px; | ||
|
||
@include respond-to(all-mobile) { | ||
padding-top: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
#container { | ||
margin-top: 60px; | ||
} | ||
|
||
.rich-text { | ||
.main-header { | ||
margin-bottom: 30px; | ||
|
||
@include respond-to(all-mobile) { | ||
margin-bottom: 0px; | ||
} | ||
|
||
.title { | ||
font-size: $text-size-24; | ||
font-weight: 500; | ||
line-height: 50px; | ||
margin-bottom: 30px; | ||
|
||
@include respond-to(all-mobile) { | ||
font-size: $text-size-16; | ||
line-height: 32px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.main-news { | ||
padding-top: 50px; | ||
|
||
@include respond-to(all-mobile) { | ||
padding-top: 0; | ||
} | ||
|
||
.title { | ||
display: block; | ||
font-size: $text-size-36; | ||
font-weight: 500; | ||
line-height: 62px; | ||
|
||
@include respond-to(all-mobile) { | ||
font-size: $text-size-18; | ||
line-height: 22px; | ||
} | ||
} | ||
|
||
.text { | ||
font-size: $text-size-16; | ||
font-weight: 500; | ||
|
||
@include respond-to(all-mobile) { | ||
font-size: $text-size-14; | ||
line-height: 24px; | ||
font-weight: 400; | ||
} | ||
} | ||
} | ||
} |
7 changes: 6 additions & 1 deletion
7
packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/basic/_footer.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
46 changes: 25 additions & 21 deletions
46
packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/basic/_header.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
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
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 |
---|---|---|
|
@@ -18,6 +18,14 @@ | |
padding: 15px 10px 10px 25px; | ||
} | ||
} | ||
|
||
.promo-text { | ||
.field-promotext { | ||
p { | ||
margin: 10px 0; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
10 changes: 7 additions & 3 deletions
10
packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/basic/_rich-text.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
7 changes: 7 additions & 0 deletions
7
packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/basic/_variables.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,7 @@ | ||
$text-size-14: 14px; | ||
$text-size-16: 16px; | ||
$text-size-18: 18px; | ||
$text-size-24: 24px; | ||
$text-size-30: 30px; | ||
$text-size-36: 36px; | ||
$text-size-48: 48px; |
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 |
---|---|---|
|
@@ -5,3 +5,6 @@ | |
@import "component"; | ||
@import "rich-text"; | ||
@import "footer"; | ||
|
||
/**pages**/ | ||
@import "about"; |