-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supply obsolete bootstrap 3 variables so that scss will compile.
- Loading branch information
Showing
18 changed files
with
125 additions
and
30 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
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
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
100 changes: 100 additions & 0 deletions
100
app/assets/stylesheets/spotlight/_variables_bootstrap.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,106 @@ | ||
|
||
// These variables exist in bootstrap 3, but not bootstrap 4. However, the | ||
// spotlight styles use them throuought, so defining them here temporarily: | ||
$gray-base: #000 !default; | ||
$gray-darker: lighten($gray-base, 13.5%) !default; // #222 | ||
$gray-dark: lighten($gray-base, 20%) !default; // #333 | ||
$gray: lighten($gray-base, 33.5%) !default; // #555 | ||
$gray-light: lighten($gray-base, 46.7%) !default; // #777 | ||
$gray-lighter: lighten($gray-base, 93.5%) !default; // #eee | ||
|
||
$brand-primary: darken(#428bca, 6.5%) !default; // #337ab7 | ||
$brand-danger: #d9534f !default; | ||
|
||
$text-color: $gray-dark !default; | ||
|
||
$font-size-base: 1rem !default; | ||
$font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px | ||
$font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px | ||
|
||
// These could become $h*-font-size | ||
$font-size-h1: floor(($font-size-base * 2.15)) !default; // ~30px | ||
$font-size-h2: floor(($font-size-base * 1.7)) !default; // ~24px | ||
$font-size-h3: ceil(($font-size-base * 1.53)) !default; // ~201px | ||
$font-size-h4: ceil(($font-size-base * 1.21)) !default; // ~17px | ||
$font-size-h5: $font-size-base !default; | ||
$font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px | ||
|
||
$line-height-base: 1.428571429 !default; // 20/14 | ||
$line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px | ||
|
||
$padding-base-vertical: 6px !default; | ||
$padding-base-horizontal: 12px !default; | ||
|
||
$padding-large-vertical: 10px !default; | ||
$padding-large-horizontal: 16px !default; | ||
|
||
$padding-small-vertical: 5px !default; | ||
$padding-small-horizontal: 10px !default; | ||
|
||
$padding-xs-horizontal: 5px !default; | ||
|
||
$line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome | ||
|
||
$border-radius-base: 4px !default; | ||
$border-radius-large: 6px !default; | ||
$border-radius-small: 3px !default; | ||
|
||
$table-condensed-cell-padding: 5px !default; | ||
|
||
$btn-default-color: #333 !default; | ||
$btn-default-bg: #fff !default; | ||
|
||
$btn-primary-bg: $brand-primary !default; | ||
|
||
$btn-danger-color: #fff !default; | ||
$btn-danger-bg: $brand-danger !default; | ||
$btn-danger-border: darken($btn-danger-bg, 5%) !default; | ||
|
||
$legend-border-color: #e5e5e5 !default; | ||
|
||
$zindex-navbar: 1000 !default; | ||
|
||
$screen-sm: 768px !default; | ||
$screen-sm-min: $screen-sm !default; | ||
$screen-md: 992px !default; | ||
$screen-md-min: $screen-md !default; | ||
$screen-lg: 1200px !default; | ||
$screen-lg-min: $screen-lg !default; | ||
|
||
$screen-xs-max: ($screen-sm-min - 1) !default; | ||
$screen-sm-max: ($screen-md-min - 1) !default; | ||
$screen-md-max: ($screen-lg-min - 1) !default; | ||
|
||
$grid-gutter-width: 30px !default; | ||
|
||
$container-tablet: (720px + $grid-gutter-width) !default; | ||
$container-sm: $container-tablet !default; | ||
|
||
$container-desktop: (940px + $grid-gutter-width) !default; | ||
$container-md: $container-desktop !default; | ||
|
||
$container-large-desktop: (1140px + $grid-gutter-width) !default; | ||
|
||
$navbar-height: 50px !default; | ||
|
||
$navbar-default-bg: #f8f8f8 !default; | ||
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default; | ||
|
||
$navbar-default-toggle-hover-bg: #ddd !default; | ||
$navbar-default-toggle-icon-bar-bg: #888 !default; | ||
$navbar-default-toggle-border-color: #ddd !default; | ||
|
||
$nav-link-padding: 10px 15px !default; | ||
$nav-link-hover-bg: $gray-lighter !default; | ||
|
||
$state-info-text: #31708f !default; | ||
$state-info-bg: #d9edf7 !default; | ||
|
||
$panel-default-border: #ddd !default; | ||
$panel-default-heading-bg: #f5f5f5 !default; | ||
|
||
$panel-info-text: $state-info-text !default; | ||
$panel-info-heading-bg: $state-info-bg !default; | ||
|
||
$well-bg: #f5f5f5 !default; | ||
$well-border: darken($well-bg, 7%) !default; |
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,5 +1,4 @@ | ||
@import 'spotlight/variables_bootstrap'; | ||
@import "bootstrap-sprockets"; | ||
@import 'bootstrap'; | ||
@import 'sir-trevor/main'; | ||
@import 'spotlight/spotlight'; | ||
@import 'spotlight/spotlight'; |
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
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