Merge pull request #243 from goat-code-cgn/master

Add !default to sb-admin-2 SCSS variables
This commit is contained in:
David Miller
2020-01-14 18:05:29 -05:00
committed by GitHub
2 changed files with 21 additions and 18 deletions

View File

@@ -2,20 +2,20 @@
// Toshi the dog from https://unsplash.com/@charlesdeluvio - what a funny dog... // Toshi the dog from https://unsplash.com/@charlesdeluvio - what a funny dog...
.bg-login-image { .bg-login-image {
background: url('https://source.unsplash.com/K4mSJ7kc0As/600x800'); background: url($login-image);
background-position: center; background-position: center center;
background-size: cover; background-size: cover;
} }
.bg-register-image { .bg-register-image {
background: url('https://source.unsplash.com/Mv9hjnEUHR4/600x800'); background: url($login-image);
background-position: center; background-position: center center;
background-size: cover; background-size: cover;
} }
.bg-password-image { .bg-password-image {
background: url('https://source.unsplash.com/oWTW-jNGl9I/600x800'); background: url($login-image);
background-position: center; background-position: center center;
background-size: cover; background-size: cover;
} }

View File

@@ -28,8 +28,8 @@ $teal: #20c9a6 !default;
$cyan: #36b9cc !default; $cyan: #36b9cc !default;
// Custom Colors // Custom Colors
$brand-google: #ea4335; $brand-google: #ea4335 !default;
$brand-facebook: #3b5998; $brand-facebook: #3b5998 !default;
// Set Contrast Threshold // Set Contrast Threshold
$yiq-contrasted-threshold: 195 !default; $yiq-contrasted-threshold: 195 !default;
@@ -50,27 +50,30 @@ $box-shadow: 0 0.15rem 1.75rem 0 rgba($gray-900, .15) !default;
// Borders Radius // Borders Radius
$border-radius: 0.35rem !default; $border-radius: 0.35rem !default;
$border-color: darken($gray-200, 2%); $border-color: darken($gray-200, 2%) !default;
// Spacing Variables // Spacing Variables
// Change below variable if the height of the navbar changes // Change below variable if the height of the navbar changes
$topbar-base-height: 4.375rem; $topbar-base-height: 4.375rem !default;
// Change below variable to change the width of the sidenav // Change below variable to change the width of the sidenav
$sidebar-base-width: 14rem; $sidebar-base-width: 14rem !default;
// Change below variable to change the width of the sidenav when collapsed // Change below variable to change the width of the sidenav when collapsed
$sidebar-collapsed-width: 6.5rem; $sidebar-collapsed-width: 6.5rem !default;
// Card // Card
$card-cap-bg: $gray-100; $card-cap-bg: $gray-100 !default;
$card-border-color: $border-color; $card-border-color: $border-color !default;
// Adjust column spacing for symmetry // Adjust column spacing for symmetry
$spacer: 1rem; $spacer: 1rem !default;
$grid-gutter-width: $spacer * 1.5; $grid-gutter-width: $spacer * 1.5 !default;
// Transitions // Transitions
$transition-collapse: height .15s ease !default; $transition-collapse: height .15s ease !default;
// Dropdowns // Dropdowns
$dropdown-font-size: 0.85rem; $dropdown-font-size: 0.85rem !default;
$dropdown-border-color: $border-color; $dropdown-border-color: $border-color !default;
// Images
$login-image: 'https://source.unsplash.com/K4mSJ7kc0As/600x800' !default;