-
Notifications
You must be signed in to change notification settings - Fork 5
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 #7 from Adslot/remove-bootstrap-sass-loader
Remove bootstrap-sass-loader and reorganise styles
- Loading branch information
Showing
16 changed files
with
133 additions
and
151 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 was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
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,16 +1,25 @@ | ||
@import 'components/Button'; | ||
@import 'components/Modal'; | ||
@import 'components/Tab'; | ||
// For display of components during development. | ||
// This is not distributed. | ||
|
||
// Overall UI Library Styles | ||
body { | ||
font-family: 'Roboto', sans-serif; | ||
margin: 0; | ||
} | ||
|
||
h1 { | ||
margin: 40px 40px 0; | ||
} | ||
.index { | ||
$etalon-spacing: 40px; | ||
|
||
margin: 0 auto; | ||
max-width: 600px; | ||
min-width: 300px; | ||
padding: 0 $etalon-spacing $etalon-spacing; | ||
|
||
> h1 { | ||
margin-bottom: $etalon-spacing; | ||
margin-top: ($etalon-spacing * 2); | ||
} | ||
|
||
.btn-panel { | ||
margin: 40px; | ||
> .btn-panel + .btn-panel { | ||
margin-top: $etalon-spacing; | ||
} | ||
} |
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,58 @@ | ||
// AdslotUI variables | ||
@import './variable'; | ||
|
||
// Core variables and mixins | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables'; | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins'; | ||
|
||
// Reset and dependencies | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/normalize'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/print'; | ||
|
||
// Core CSS | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/scaffolding'; | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/type'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/code'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/grid'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/tables'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/forms'; | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/buttons'; | ||
|
||
// Components | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/component-animations'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/dropdowns'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/button-groups'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/input-groups'; | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/navs'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/navbar'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/breadcrumbs'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/pagination'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/pager'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/labels'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/badges'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/jumbotron'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/thumbnails'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/alerts'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/progress-bars'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/media'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/list-group'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/panels'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/responsive-embed'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/wells'; | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/close'; | ||
|
||
// Components w/ JavaScript | ||
@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/modals'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/tooltip'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/popovers'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/carousel'; | ||
// | ||
// // Utility classes | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/utilities'; | ||
// @import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/responsive-utilities'; | ||
|
||
|
||
// AdslotUI overrides | ||
@import './bootstrapOverrides/Button'; | ||
@import './bootstrapOverrides/Modal'; | ||
@import './bootstrapOverrides/Nav'; |
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
2 changes: 1 addition & 1 deletion
2
src/styles/components/Modal.scss → src/styles/bootstrapOverrides/Modal.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import 'color'; | ||
|
||
$border-lighter: 1px solid $color-border-lighter; |
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,3 @@ | ||
$font-weight-light: 100; | ||
$font-weight-medium: 300; | ||
$font-weight-bold: 500; |
Oops, something went wrong.