generated from nimblehq/git-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
15 changed files
with
172 additions
and
191 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Site variables will be stored here |
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,36 +1,18 @@ | ||
/* This file is for your main application css. */ | ||
@import "./phoenix.css"; | ||
// Variables | ||
@import 'variables'; | ||
|
||
/* Alerts and form errors */ | ||
.alert { | ||
padding: 15px; | ||
margin-bottom: 20px; | ||
border: 1px solid transparent; | ||
border-radius: 4px; | ||
} | ||
.alert-info { | ||
color: #31708f; | ||
background-color: #d9edf7; | ||
border-color: #bce8f1; | ||
} | ||
.alert-warning { | ||
color: #8a6d3b; | ||
background-color: #fcf8e3; | ||
border-color: #faebcc; | ||
} | ||
.alert-danger { | ||
color: #a94442; | ||
background-color: #f2dede; | ||
border-color: #ebccd1; | ||
} | ||
.alert p { | ||
margin-bottom: 0; | ||
} | ||
.alert:empty { | ||
display: none; | ||
} | ||
.invalid-feedback { | ||
color: #a94442; | ||
display: block; | ||
margin: -1rem 0 2rem; | ||
} | ||
// Dependencies | ||
@import 'vendor/bootstrap/bootstrap'; | ||
|
||
// Functions | ||
@import 'functions/sizing'; | ||
|
||
// Mixins | ||
|
||
// Base | ||
|
||
// Layouts | ||
@import 'layouts/app'; | ||
// Components | ||
|
||
// Screens |
Empty file.
Empty file.
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,29 @@ | ||
@function em($values, $base-font-size: 16px) { | ||
$list: (); | ||
|
||
@each $value in $values { | ||
@if ($value == 0 or $value == auto) { | ||
$list: append($list, $value); | ||
} @else { | ||
$em-value: ($value / $base-font-size) + em; | ||
$list: append($list, $em-value); | ||
} | ||
} | ||
|
||
@return $list; | ||
} | ||
|
||
@function rem($values, $base-font-size: 16px) { | ||
$list: (); | ||
|
||
@each $value in $values { | ||
@if ($value == 0 or $value == auto) { | ||
$list: append($list, $value); | ||
} @else { | ||
$rem-value: ($value / $base-font-size) + rem; | ||
$list: append($list, $rem-value); | ||
} | ||
} | ||
|
||
@return $list; | ||
} |
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 @@ | ||
.app-content { | ||
padding: rem(20px); | ||
} |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// By default every component is imported | ||
// But DO NOT import the whole framework but instead | ||
// pick what the project requires | ||
// and comment out the rest. | ||
|
||
@import '~bootstrap/scss/functions'; | ||
@import '~bootstrap/scss/variables'; | ||
@import '~bootstrap/scss/mixins'; | ||
@import '~bootstrap/scss/reboot'; | ||
@import '~bootstrap/scss/utilities'; | ||
// | ||
//// Components | ||
// | ||
@import '~bootstrap/scss/grid'; | ||
@import '~bootstrap/scss/nav'; | ||
@import '~bootstrap/scss/navbar'; | ||
// Re-enable these if needed. | ||
|
||
//@import '~bootstrap/scss/forms'; | ||
//@import '~bootstrap/scss/buttons'; | ||
//@import '~bootstrap/scss/dropdown'; | ||
//@import '~bootstrap/scss/transitions'; | ||
//@import '~bootstrap/scss/card'; | ||
//@import '~bootstrap/scss/type'; | ||
//@import '~bootstrap/scss/breadcrumb'; | ||
//@import '~bootstrap/scss/badge'; | ||
//@import '~bootstrap/scss/modal'; | ||
//@import '~bootstrap/scss/popover'; | ||
//@import '~bootstrap/scss/button-group'; | ||
//@import '~bootstrap/scss/input-group'; | ||
//@import '~bootstrap/scss/images'; | ||
//@import '~bootstrap/scss/tables'; | ||
//@import '~bootstrap/scss/custom-forms'; | ||
//@import '~bootstrap/scss/code'; | ||
//@import '~bootstrap/scss/pagination'; | ||
//@import '~bootstrap/scss/root'; | ||
//@import '~bootstrap/scss/tooltip'; | ||
//@import '~bootstrap/scss/popover'; | ||
//@import '~bootstrap/scss/carousel'; | ||
//@import '~bootstrap/scss/spinners'; | ||
//@import '~bootstrap/scss/progress'; | ||
//@import '~bootstrap/scss/jumbotron'; | ||
//@import '~bootstrap/scss/toasts'; | ||
//@import '~bootstrap/scss/alert'; | ||
//@import '~bootstrap/scss/media'; | ||
//@import '~bootstrap/scss/list-group'; | ||
//@import '~bootstrap/scss/close'; |
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,13 @@ | ||
import bootstrap from 'bootstrap.native/dist/bootstrap-native'; | ||
|
||
export const Alert = bootstrap.Alert; | ||
export const Button = bootstrap.Button; | ||
export const Carousel = bootstrap.Carousel; | ||
export const Collapse = bootstrap.Collapse; | ||
export const Dropdown = bootstrap.Dropdown; | ||
export const Modal = bootstrap.Modal; | ||
export const Popover = bootstrap.Popover; | ||
export const ScrollSpy = bootstrap.ScrollSpy; | ||
export const Tab = bootstrap.Tab; | ||
export const Toast = bootstrap.Toast; | ||
export const Tooltip = bootstrap.Tooltip; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.