Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move breadcrumb styles to a modifier class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
- Loading branch information
1 parent
f568a72
commit 55c2b7a
Showing
17 changed files
with
94 additions
and
107 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
.breadcrumb { | ||
padding-left: 1.8rem; | ||
} | ||
.breadcrumb-navbar { | ||
padding: $breadcrumb-navbar-padding-y $breadcrumb-navbar-padding-x; | ||
margin-bottom: $breadcrumb-navbar-margin-bottom; | ||
background-color: $breadcrumb-navbar-bg; | ||
|
||
.breadcrumb-item { | ||
+ .breadcrumb-comment { | ||
padding-left: $breadcrumb-item-padding-x; | ||
} | ||
.breadcrumb-item { | ||
+ .breadcrumb-comment { | ||
padding-left: $breadcrumb-item-padding-x; | ||
} | ||
|
||
.icon { | ||
margin: 0; | ||
.icon { | ||
margin: 0; | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
// Variables | ||
|
||
$navigation-width: 240px; | ||
$navigation-width: 240px !default; | ||
|
||
// Breadcrumbs | ||
|
||
$breadcrumb-bg: #e9ecef; // $gray-200 | ||
$breadcrumb-padding-y: 0.5rem; | ||
$breadcrumb-margin-bottom: 0; | ||
$breadcrumb-border-radius: 0; | ||
$breadcrumb-navbar-padding-y: 0.5rem !default; | ||
$breadcrumb-navbar-padding-x: 1.8rem !default; | ||
$breadcrumb-navbar-margin-bottom: 0 !default; | ||
$breadcrumb-navbar-bg: #e9ecef !default; // $gray-200 |
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,32 @@ | ||
@import "../../bootstrap/scss/breadcrumb"; | ||
|
||
.breadcrumb-navbar { | ||
color: $button-color; | ||
|
||
a { | ||
color: inherit; | ||
|
||
&:hover { | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
.breadcrumb-item { | ||
+ .breadcrumb-item::before, | ||
&::before { | ||
width: 10px; | ||
color: #eee; | ||
|
||
/* The arrow "U+0203A" (SINGLE RIGHT-POINTING ANGLE QUOTATION MARK) */ | ||
content: "\203A"; | ||
} | ||
|
||
.icon { | ||
display: none; | ||
} | ||
} | ||
|
||
.breadcrumb-comment { | ||
font-style: italic; | ||
} | ||
} |
This file was deleted.
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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@import "../../bootstrap/scss/breadcrumb"; | ||
|
||
.breadcrumb-navbar { | ||
font-weight: bold; | ||
|
||
.breadcrumb-comment { | ||
color: #d6d6d6; | ||
font-weight: bold; | ||
font-style: italic; | ||
text-shadow: none; | ||
} | ||
} |
This file was deleted.
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
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 |
---|---|---|
@@ -1,25 +1,22 @@ | ||
.breadcrumb { | ||
padding-left: 2.2em; | ||
@import "../../bootstrap/scss/breadcrumb"; | ||
|
||
.breadcrumb-navbar { | ||
text-shadow: 0 1px 0 #000; | ||
} | ||
|
||
.breadcrumb-item { | ||
+ .breadcrumb-comment { | ||
padding-left: 0.5rem; | ||
} | ||
.breadcrumb-item { | ||
+ .breadcrumb-comment { | ||
padding-left: 0.5rem; | ||
} | ||
|
||
.icon { | ||
margin: 0; | ||
a { | ||
color: #fff; | ||
} | ||
} | ||
|
||
a { | ||
color: #fff; | ||
.breadcrumb-comment { | ||
color: #d6d6d6; | ||
font-weight: bold; | ||
font-style: italic; | ||
text-shadow: none; | ||
} | ||
} | ||
|
||
.breadcrumb-comment { | ||
color: #d6d6d6; | ||
font-weight: bold; | ||
font-style: italic; | ||
text-shadow: none; | ||
} |
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