-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1175 from prymitive/fix-scss-imports
fix(ui): avoid duplicating bootstrap styles
- Loading branch information
Showing
13 changed files
with
50 additions
and
45 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,4 +1,4 @@ | ||
@import "src/App.scss"; | ||
@import "src/Theme.scss"; | ||
|
||
.components-grid-alertgrid-alertgroup-alert { | ||
&:hover { | ||
|
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,4 +1,4 @@ | ||
@import "src/App.scss"; | ||
@import "src/Theme.scss"; | ||
|
||
.components-labelWithPercent-percent { | ||
padding-top: 0.25rem; | ||
|
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,4 +1,4 @@ | ||
@import "src/App.scss"; | ||
@import "src/Theme.scss"; | ||
|
||
.components-managed-silence { | ||
.card, | ||
|
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,4 +1,4 @@ | ||
@import "src/App.scss"; | ||
@import "src/Theme.scss"; | ||
|
||
.components-tab-inactive { | ||
&:hover { | ||
|
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,4 +1,4 @@ | ||
@import "src/App.scss"; | ||
@import "src/Theme.scss"; | ||
|
||
.navbar-brand { | ||
min-width: 2.5rem; | ||
|
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,4 +1,4 @@ | ||
@import "src/App.scss"; | ||
@import "src/Theme.scss"; | ||
|
||
.navbar-brand { | ||
&:hover, | ||
|
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,4 +1,4 @@ | ||
@import "src/App.scss"; | ||
@import "src/Theme.scss"; | ||
|
||
$alertgroup-body-bg: #5a6e7b; | ||
$alertgroup-header-bg: #515658; | ||
|
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,37 @@ | ||
$lead-font-weight: 400; | ||
|
||
// custom "dark" color, little less dark than flatly | ||
$blue: #455a64; | ||
// body background color should be same as navbar, so it blends into one | ||
$body-bg: $blue; | ||
// default is ~0.97rem | ||
$font-size-base: 1rem; | ||
|
||
// make links light gray by default instead of green | ||
$link-color: #7b8a8b; // $gray-700 | ||
|
||
// make dark darker, default it's $gray-700 | ||
$dark: #3b4247; | ||
|
||
// fix active tab color, for some reason it ends up with $primary as bg color | ||
$nav-tabs-link-active-bg: #fff; | ||
|
||
// pagination tweaks | ||
$pagination-color: #fff; | ||
$pagination-bg: #b4bcc2; // gray-500 | ||
$pagination-hover-color: #fff; | ||
$pagination-hover-bg: #7b8a8b; // gray-700 | ||
$pagination-active-bg: $pagination-hover-bg; | ||
$pagination-disabled-color: #fff; | ||
$pagination-disabled-bg: #dee2e6; // gray-300 | ||
|
||
$enable-shadows: true; | ||
|
||
$btn-box-shadow: 0; | ||
$btn-focus-box-shadow: 0; | ||
$btn-active-box-shadow: 0; | ||
|
||
@import "~bootswatch/dist/flatly/variables"; | ||
@import "~bootstrap/scss/functions"; | ||
@import "~bootstrap/scss/variables"; | ||
@import "~bootstrap/scss/mixins"; |