-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#533938 fixed styles for managed classes (#1097)
- Loading branch information
1 parent
7698650
commit 1368878
Showing
9 changed files
with
217 additions
and
198 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/basic/_container.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,7 +1,7 @@ | ||
@import "@sass/abstracts/mixins"; | ||
@import "variables"; | ||
|
||
* { | ||
body { | ||
font-family: Roboto; | ||
color: $main-color; | ||
} | ||
|
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
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
90 changes: 47 additions & 43 deletions
90
...tecore-jss/src/templates/nextjs-sxa/src/assets/sass/components/_component-navigation.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,47 +1,51 @@ | ||
@import "@sass/abstracts/mixins"; | ||
@import "@sass/abstracts/vars"; | ||
|
||
.navigation { | ||
background: $nav-bg; | ||
.level1, .level0 { | ||
>.navigation-title>a { | ||
font-size: $navigation-font-basic; | ||
border-color: $nav-border-root; | ||
border-style: solid; | ||
border-width: 0 0 2px 0; | ||
padding-right: 3px; | ||
margin-right: 5px; | ||
&:hover { | ||
text-decoration: none; | ||
} | ||
} | ||
} | ||
a { | ||
color: $nav-color-root; | ||
.lt-ie9 &, .lt-ie9 & span { | ||
color: $nav-color-root; | ||
} | ||
&:focus, &:hover { | ||
color: $nav-color-root-active; | ||
} | ||
} | ||
li { | ||
&.submenu { | ||
margin-bottom: 0; | ||
} | ||
>.navigation-title { | ||
>a { | ||
padding: 3px 5px 3px 0; | ||
display: block; | ||
color: $nav-color-root; | ||
text-decoration: none; | ||
} | ||
} | ||
>ul a { | ||
font-size: $navigation-font-basic-submenu; | ||
} | ||
} | ||
.submenu>ul { | ||
padding-left: 10px; | ||
} | ||
@import "@sass/variants/navigation"; | ||
background: $nav-bg; | ||
ul { | ||
padding-left: 0; | ||
} | ||
.level0, .level1 { | ||
>.navigation-title>a { | ||
font-size: $navigation-font-basic; | ||
border-color: $nav-border-root; | ||
border-style: solid; | ||
border-width: 0 0 2px 0; | ||
padding-right: 3px; | ||
margin-right: 5px; | ||
&:hover { | ||
text-decoration: none; | ||
} | ||
} | ||
} | ||
a { | ||
color: $nav-color-root; | ||
.lt-ie9 &, .lt-ie9 & span { | ||
color: $nav-color-root; | ||
} | ||
&:focus, &:hover { | ||
color: $nav-color-root-active; | ||
} | ||
} | ||
li { | ||
&.submenu { | ||
margin-bottom: 0; | ||
} | ||
>.navigation-title { | ||
>a { | ||
padding: 3px 5px 3px 0; | ||
display: block; | ||
color: $nav-color-root; | ||
text-decoration: none; | ||
} | ||
} | ||
>ul a { | ||
font-size: $navigation-font-basic-submenu; | ||
} | ||
} | ||
.submenu>ul { | ||
padding-left: 10px; | ||
} | ||
} | ||
@import "@sass/components/navigation/"; |
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
Oops, something went wrong.