diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6a69074 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,65 @@ +name: CI + +on: + push: + pull_request: + branches: [master, main] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + gem: + name: gem (ruby ${{ matrix.ruby }}) + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby: ["3.0", "3.1", "3.2", "3.3"] + steps: + - uses: actions/checkout@v4 + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + + - name: Build gem + run: gem build select2-foundation.gemspec + + - name: Install built gem (with runtime deps) + run: | + gem install select2-foundation-*.gem + gem list select2-foundation + + - name: Run gem test suite against test/styleguide06 + run: bundle exec rake test + + npm: + name: npm (node ${{ matrix.node }}) + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node: ["18", "20", "22"] + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + + - name: Install npm dependencies + run: npm install --no-audit --no-fund + + - name: Build SCSS + run: npm run build + + - name: Verify dist output + run: | + test -s dist/select2-foundation-theme.css || { echo "dev CSS not produced"; exit 1; } + test -s dist/select2-foundation-theme.min.css || { echo "prod CSS not produced"; exit 1; } + echo "dev: $(wc -c < dist/select2-foundation-theme.css) bytes" + echo "prod: $(wc -c < dist/select2-foundation-theme.min.css) bytes" diff --git a/.gitignore b/.gitignore index ff2a39d..c3de1de 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ log/*.log pkg/ node_modules/ +package-lock.json +*.gem test/styleguide*/db/*.sqlite3 test/styleguide*/db/*.sqlite3-journal test/styleguide*/log/*.log diff --git a/Gemfile b/Gemfile index 087ba3e..d9d010e 100644 --- a/Gemfile +++ b/Gemfile @@ -5,5 +5,12 @@ source 'https://rubygems.org' # development dependencies will be added by default to the :development group. gemspec -# To use a debugger -# gem 'byebug', group: [:development, :test] +# Dependencies needed to run `rake test` against the test/styleguide06 +# sample Rails app. The test app is a pure asset-pipeline host, so we only +# need the railties needed for action_controller + sprockets. +group :development, :test do + gem 'rails', '~> 7.1.0' + gem 'sprockets-rails' + gem 'sassc-rails' + gem 'jquery-rails' +end diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index c216a71..0000000 --- a/Gruntfile.js +++ /dev/null @@ -1,40 +0,0 @@ -module.exports = function(grunt) { - grunt.initConfig({ - sass: { - options: { - sourceMap: false, - sourceComments: false - }, - development: { - options: { - style: 'nested', - }, - files: { - 'dist/select2-foundation-theme.css': 'src/sass/select2-foundation.scss' - } - }, - production: { - options: { - style: 'compressed', - }, - files: { - 'dist/select2-foundation-theme.min.css': 'src/sass/select2-foundation.scss' - } - } - }, - watch: { - sass: { - files: 'lib/assets/stylesheets/select2/**/*.scss', - tasks: ['sass'] - }, - } - }); - - grunt.loadNpmTasks('grunt-contrib-sass'); - grunt.loadNpmTasks('grunt-contrib-watch'); - - //Sass Task - grunt.registerTask('sass-Dev', ['sass:development']); - grunt.registerTask('sass-Build', ['sass:production']); - -}; diff --git a/README.md b/README.md index 1e853d0..e1e65e1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Select2-Foundation -select2 (v4) Theme for Zurb Foundation (v6) +[](https://github.com/mpasternak/select2-foundation/actions/workflows/ci.yml) +[](./MIT-LICENSE) + +select2 (v4) Theme for Zurb Foundation (v6.9) [Examples](https://select2-foundation.herokuapp.com/ "select2-foundation examples") @@ -13,13 +16,20 @@ In order to apply select2-foundation theme to your project, add the following fi +### npm (from git) + +`select2-foundation` is not published on npm. Pull it directly from this repository: + + npm install foundation-sites select2 \ + "select2-foundation@github:zflat/select2-foundation" + ### Bower
"dependencies": {
- "foundation-sites" : "^6.0.0",
- "select2" : "latest",
- "select2-foundation" : "https://github.com/egemensarica/select2-foundation.git#v6"
+ "foundation-sites" : "^6.9.0",
+ "select2" : "^4.0.13",
+ "select2-foundation" : "https://github.com/zflat/select2-foundation.git"
}
-
+
### Rails (ruby gem)
Installation is similar to installing foundation-rails.
@@ -67,15 +77,22 @@ Navigate to the root path to view the demo page.
Install build tools:
-* npm
-* grunt-cli
+* npm (Node 18+)
-Run grunt tasks. See grunt help for available tasks.
+Then:
- grunt sass
+ npm install
+ npm run build # builds both expanded and compressed CSS
+ npm run watch # watch mode (expanded only)
## Changelog
+### 0.2.0
+ * Target Foundation 6.9 (`foundation-sites ^6.9.0`, `foundation-rails ~> 6.9`)
+ * Replace grunt build with `sass` (dart-sass) via npm scripts
+ * Drop direct `sass` gem dependency
+ * GitHub Actions CI for gem install and npm build
+
### 0.1.1
* Release to ruby gems
diff --git a/Rakefile b/Rakefile
index 2b67ae5..7d28940 100644
--- a/Rakefile
+++ b/Rakefile
@@ -14,11 +14,9 @@ RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('lib/**/*.rb')
end
-APP_RAKEFILE = File.expand_path("../test/styleguide/Rakefile", __FILE__)
+APP_RAKEFILE = File.expand_path("../test/styleguide06/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'
-load 'rails/tasks/statistics.rake'
-
Bundler::GemHelper.install_tasks
require 'rake/testtask'
diff --git a/bower.json b/bower.json
index 4bf6edf..47ece46 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "select2-foundation",
- "version": "0.0.2",
+ "version": "0.2.0",
"description": "Select2 Foundation Theme",
"main": [
"./dist/select2-foundation-theme.css"
@@ -8,22 +8,22 @@
"author": {
"name": "William Wedler"
},
+ "license": "MIT",
"dependencies": {
-"foundation-sites" : "^6.0.0",
-"select2" : "latest"
- },
- "devDependencies": {
- "grunt": "~0.4.5"
+ "foundation-sites": "^6.9.0",
+ "select2": "^4.0.13"
},
"keywords": [
"Select2 Foundation",
"select2",
"Foundation"
],
- "ignore": [
+ "ignore": [
".gitignore",
".gitkeep",
+ ".github",
"Gemfile",
+ "Gemfile.lock",
"README.md",
"Rakefile",
"select2-foundation.gemspec",
@@ -33,5 +33,5 @@
"lib/select2-foundation/",
"lib/tasks",
"lib/select2-foundation.rb"
- ]
+ ]
}
diff --git a/dist/select2-foundation-theme.css b/dist/select2-foundation-theme.css
index a165e87..2047100 100644
--- a/dist/select2-foundation-theme.css
+++ b/dist/select2-foundation-theme.css
@@ -1,142 +1,190 @@
span.select2-container--foundation {
- vertical-align: top; }
+ vertical-align: top;
+}
span.select2-container--foundation .selection {
- margin: 0 0 1rem; }
+ margin: 0 0 1rem;
+}
+.select2-container--foundation .select2-selection {
+ background-color: #fefefe;
+ border: 1px solid #cacaca;
+ border-radius: 0;
+ color: #0a0a0a;
+ font-family: inherit;
+ font-size: 1rem;
+ background: #fefefe;
+ outline: 0;
+}
.select2-container--foundation {
/**
* Search field in the Select2 dropdown.
*/
+}
+.select2-container--foundation .select2-search--dropdown .select2-search__field {
+ background-color: #fefefe;
+ border: 1px solid #cacaca;
+ border-radius: 0;
+ color: #0a0a0a;
+ font-family: inherit;
+ font-size: 1rem;
+ border-radius: 0;
+}
+.select2-container--foundation {
/**
* No outline for all search fields - in the dropdown
* and inline in multi Select2s.
*/
+}
+.select2-container--foundation .select2-search__field {
+ outline: 0;
+}
+.select2-container--foundation .select2-search__field::-webkit-input-placeholder {
+ color: #8a8a8a;
+}
+.select2-container--foundation .select2-search__field {
+ /* Firefox 18- */
+}
+.select2-container--foundation .select2-search__field:-moz-placeholder {
+ color: #8a8a8a;
+}
+.select2-container--foundation .select2-search__field {
+ /**
+ * Firefox 19+
+ *
+ * @see http://stackoverflow.com/questions/24236240/color-for-styled-placeholder-text-is-muted-in-firefox
+ */
+}
+.select2-container--foundation .select2-search__field::-moz-placeholder {
+ color: #8a8a8a;
+ opacity: 1;
+}
+.select2-container--foundation .select2-search__field:-ms-input-placeholder {
+ color: #8a8a8a;
+}
+.select2-container--foundation .select2-results__option[role=group] {
+ padding: 0;
+}
+.select2-container--foundation .select2-results__option[role=group] strong {
+ padding-left: 0.125rem;
+}
+.select2-container--foundation .select2-results__option {
+ /**
+ * Disabled results.
+ *
+ * @see https://select2.github.io/examples.html#disabled-results
+ */
+}
+.select2-container--foundation .select2-results__option[aria-disabled=true] {
+ color: #8a8a8a;
+ cursor: default;
+}
+.select2-container--foundation .select2-results__option {
+ /**
+ * Hover state.
+ */
+}
+.select2-container--foundation .select2-results__option {
+ /**
+ * Selected state.
+ */
+}
+.select2-container--foundation .select2-results__option--highlighted[aria-selected] {
+ background-color: #2199e8;
+ color: foreground(#2199e8);
+}
+.select2-container--foundation.select2-container--focus .select2-selection {
+ border: 1px solid #8a8a8a;
+}
+.select2-container--foundation.select2-container--open .select2-selection {
+ border: 1px solid #8a8a8a;
+ border-radius: 0;
+}
+.select2-container--foundation.select2-container--open {
+ /**
+ * Make the dropdown arrow point up while the dropdown is visible.
+ */
+}
+.select2-container--foundation.select2-container--open .select2-selection__arrow b {
+ transform: rotate(180deg);
+}
+.select2-container--foundation .select2-choice {
+ box-shadow: none;
+ background-image: none;
+}
+.select2-container--foundation .select2-choice div {
+ background-clip: padding-box;
+}
+.select2-container--foundation .select2-choice .select2-arrow {
+ border: 0px;
+ border-radius: 0px;
+ background: transparent;
+ background-image: none;
+}
+.select2-container--foundation *:focus {
+ outline: 0px;
+}
+.select2-container--foundation {
/* Clear the selection. */
+}
+.select2-container--foundation .select2-selection__clear {
+ color: #8a8a8a;
+ cursor: pointer;
+ float: left;
+ font-weight: bold;
+ margin-right: 0px;
+}
+.select2-container--foundation .select2-selection__clear:hover {
+ color: #333;
+}
+.select2-container--foundation {
/**
* Address disabled Select2 styles.
*
* @see https://select2.github.io/examples.html#disabled
* @see http://getbootstrap.com/css/#forms-control-disabled
*/
+}
+.select2-container--foundation.select2-container--disabled .select2-selection {
+ border: 1px solid #cacaca;
+}
+.select2-container--foundation.select2-container--disabled .select2-selection,
+.select2-container--foundation.select2-container--disabled .select2-search__field {
+ cursor: default;
+}
+.select2-container--foundation.select2-container--disabled .select2-selection,
+.select2-container--foundation.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
+ background-color: #e6e6e6;
+ color: foreground(#e6e6e6);
+}
+.select2-container--foundation.select2-container--disabled .select2-selection__clear,
+.select2-container--foundation.select2-container--disabled .select2-selection--multiple .select2-selection__choice__remove {
+ display: none;
+}
+.select2-container--foundation {
/*------------------------------------*\
#DROPDOWN
- \*------------------------------------*/ }
- .select2-container--foundation .select2-selection {
- background-color: #fefefe;
- border: 1px solid #cacaca;
- border-radius: 0;
- color: #0a0a0a;
- font-family: inherit;
- font-size: 1rem;
- background: #fefefe;
- outline: 0; }
- .select2-container--foundation .select2-search--dropdown .select2-search__field {
- background-color: #fefefe;
- border: 1px solid #cacaca;
- border-radius: 0;
- color: #0a0a0a;
- font-family: inherit;
- font-size: 1rem;
- border-radius: 0; }
- .select2-container--foundation .select2-search__field {
- outline: 0;
- /* Firefox 18- */
- /**
- * Firefox 19+
- *
- * @see http://stackoverflow.com/questions/24236240/color-for-styled-placeholder-text-is-muted-in-firefox
- */ }
- .select2-container--foundation .select2-search__field::-webkit-input-placeholder {
- color: #8a8a8a; }
- .select2-container--foundation .select2-search__field:-moz-placeholder {
- color: #8a8a8a; }
- .select2-container--foundation .select2-search__field::-moz-placeholder {
- color: #8a8a8a;
- opacity: 1; }
- .select2-container--foundation .select2-search__field:-ms-input-placeholder {
- color: #8a8a8a; }
- .select2-container--foundation .select2-results__option {
- /**
- * Disabled results.
- *
- * @see https://select2.github.io/examples.html#disabled-results
- */
- /**
- * Hover state.
- */
- /**
- * Selected state.
- */ }
- .select2-container--foundation .select2-results__option[role=group] {
- padding: 0; }
- .select2-container--foundation .select2-results__option[role=group] strong {
- padding-left: 0.125rem; }
- .select2-container--foundation .select2-results__option[aria-disabled=true] {
- color: #8a8a8a;
- cursor: default; }
- .select2-container--foundation .select2-results__option--highlighted[aria-selected] {
- background-color: #2199e8;
- color: foreground(#2199e8); }
- .select2-container--foundation.select2-container--focus .select2-selection {
- border: 1px solid #8a8a8a; }
- .select2-container--foundation.select2-container--open .select2-selection {
- border: 1px solid #8a8a8a;
- border-radius: 0; }
- .select2-container--foundation.select2-container--open {
- /**
- * Make the dropdown arrow point up while the dropdown is visible.
- */ }
- .select2-container--foundation.select2-container--open .select2-selection__arrow b {
- transform: rotate(180deg); }
- .select2-container--foundation .select2-choice {
- box-shadow: none;
- background-image: none; }
- .select2-container--foundation .select2-choice div {
- background-clip: padding-box; }
- .select2-container--foundation .select2-choice .select2-arrow {
- border: 0px;
- border-radius: 0px;
- background: transparent;
- background-image: none; }
- .select2-container--foundation *:focus {
- outline: 0px; }
- .select2-container--foundation .select2-selection__clear {
- color: #8a8a8a;
- cursor: pointer;
- float: left;
- font-weight: bold;
- margin-right: 0px; }
- .select2-container--foundation .select2-selection__clear:hover {
- color: #333; }
- .select2-container--foundation.select2-container--disabled .select2-selection {
- border: 1px solid #cacaca; }
- .select2-container--foundation.select2-container--disabled .select2-selection,
- .select2-container--foundation.select2-container--disabled .select2-search__field {
- cursor: default; }
- .select2-container--foundation.select2-container--disabled .select2-selection,
- .select2-container--foundation.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
- background-color: #e6e6e6;
- color: foreground(#e6e6e6); }
- .select2-container--foundation.select2-container--disabled .select2-selection__clear,
- .select2-container--foundation.select2-container--disabled .select2-selection--multiple .select2-selection__choice__remove {
- display: none; }
- .select2-container--foundation .select2-dropdown {
- border: 1px solid #8a8a8a;
- border-top: 1px solid #cacaca;
- background: #fefefe;
- border-radius: 0;
- overflow-x: hidden;
- margin-top: -0.0625rem; }
- .select2-container--foundation .select2-dropdown--above {
- margin-top: 0.0625rem;
- border-radius: 0;
- border-top: 1px solid #8a8a8a;
- border-bottom: 1px solid #cacaca; }
- .select2-container--foundation .select2-results > .select2-results__options {
- /* Limit the dropdown height. */
- max-height: 200px;
- overflow-y: auto; }
+ \*------------------------------------*/
+}
+.select2-container--foundation .select2-dropdown {
+ border: 1px solid #8a8a8a;
+ border-top: 1px solid #cacaca;
+ background: #fefefe;
+ border-radius: 0;
+ overflow-x: hidden;
+ margin-top: -0.0625rem;
+}
+.select2-container--foundation .select2-dropdown--above {
+ margin-top: 0.0625rem;
+ border-radius: 0;
+ border-top: 1px solid #8a8a8a;
+ border-bottom: 1px solid #cacaca;
+}
+.select2-container--foundation .select2-results > .select2-results__options {
+ /* Limit the dropdown height. */
+ max-height: 200px;
+ overflow-y: auto;
+}
/**
* Temporary fix for https://github.com/select2/select2-bootstrap-theme/issues/9
@@ -149,101 +197,117 @@ span.select2-container--foundation .selection {
*/
.form-control.select2-hidden-accessible {
position: absolute !important;
- width: 1px !important; }
+ width: 1px !important;
+}
/**
* Display override for inline forms
*/
.input-group span.select2-container--foundation {
margin: 0;
- vertical-align: middle; }
- .input-group span.select2-container--foundation .selection .select2-selection {
- vertical-align: middle;
- border-radius: 0; }
+ vertical-align: middle;
+}
+.input-group span.select2-container--foundation .selection .select2-selection {
+ vertical-align: middle;
+ border-radius: 0;
+}
/****** Single SCSS *******/
.select2-container--foundation .select2-selection--single,
.select2-container--foundation .selection .select2-selection--single {
height: 2.4375rem;
line-height: 1.5;
- padding: 0.5rem; }
- .select2-container--foundation .select2-selection--single .select2-selection__rendered,
- .select2-container--foundation .selection .select2-selection--single .select2-selection__rendered {
- color: #0a0a0a; }
- .select2-container--foundation .select2-selection--single .select2-selection__arrow,
- .select2-container--foundation .selection .select2-selection--single .select2-selection__arrow {
- height: 2.4375rem;
- position: absolute;
- top: 0;
- right: 1px;
- width: 20px; }
- .select2-container--foundation .select2-selection--single .select2-selection__arrow b,
- .select2-container--foundation .selection .select2-selection--single .select2-selection__arrow b {
- border-color: #333 transparent transparent transparent;
- top: 50%;
- border-style: solid;
- border-width: 6px 4px 0 4px;
- height: 0;
- left: 50%;
- margin-left: -4px;
- margin-top: -2px;
- position: absolute;
- width: 0; }
- .select2-container--foundation .select2-selection--single .select2-selection__placeholder,
- .select2-container--foundation .selection .select2-selection--single .select2-selection__placeholder {
- color: #8a8a8a; }
- .select2-container--foundation .select2-selection--single .select2-selection__clear,
- .select2-container--foundation .selection .select2-selection--single .select2-selection__clear {
- cursor: pointer;
- float: right;
- font-weight: bold; }
+ padding: 0.5rem;
+}
+.select2-container--foundation .select2-selection--single .select2-selection__rendered,
+.select2-container--foundation .selection .select2-selection--single .select2-selection__rendered {
+ color: #0a0a0a;
+}
+.select2-container--foundation .select2-selection--single .select2-selection__arrow,
+.select2-container--foundation .selection .select2-selection--single .select2-selection__arrow {
+ height: 2.4375rem;
+ position: absolute;
+ top: 0;
+ right: 1px;
+ width: 20px;
+}
+.select2-container--foundation .select2-selection--single .select2-selection__arrow b,
+.select2-container--foundation .selection .select2-selection--single .select2-selection__arrow b {
+ border-color: #333 transparent transparent transparent;
+ top: 50%;
+ border-style: solid;
+ border-width: 6px 4px 0 4px;
+ height: 0;
+ left: 50%;
+ margin-left: -4px;
+ margin-top: -2px;
+ position: absolute;
+ width: 0;
+}
+.select2-container--foundation .select2-selection--single .select2-selection__placeholder,
+.select2-container--foundation .selection .select2-selection--single .select2-selection__placeholder {
+ color: #8a8a8a;
+}
+.select2-container--foundation .select2-selection--single .select2-selection__clear,
+.select2-container--foundation .selection .select2-selection--single .select2-selection__clear {
+ cursor: pointer;
+ float: right;
+ font-weight: bold;
+}
/****** Multiple SCSS *******/
+.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove:hover {
+ cursor: pointer;
+}
+.select2-container--foundation .select2-selection--multiple ul.select2-selection__rendered,
+.select2-container--foundation .select2-selection--multiple .select2-selection__rendered {
+ display: inherit;
+ box-sizing: border-box;
+ list-style: none;
+ margin: 0;
+ padding: 0 5px;
+ width: 100%;
+}
+.select2-container--foundation .select2-selection--multiple .select2-selection__choice {
+ border-radius: 0;
+ padding: 0.1875rem 0.3125rem;
+ cursor: default;
+ float: left;
+ margin-right: 0.3125rem;
+ margin-top: 0.125rem;
+ margin-bottom: 0.125rem;
+ border: 1px solid #8a8a8a;
+}
+.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove {
+ margin-right: 6px;
+ margin-left: 6px;
+ float: right;
+}
+.select2-container--foundation .select2-selection--multiple .select2-search--inline .select2-search__field {
+ background: transparent;
+ line-height: 1.5;
+ border: 0;
+ margin-top: 0;
+ min-width: 5rem;
+ height: 2.375rem;
+ box-shadow: none;
+ margin: 0;
+ margin-right: -2rem;
+}
+.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove {
+ color: #8a8a8a;
+ cursor: pointer;
+ display: inline-block;
+ font-weight: bold;
+ margin-right: 0.25rem;
+}
+.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove:hover {
+ color: #333;
+}
.select2-container--foundation .select2-selection--multiple {
- /* Clear the selection. */ }
- .select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove:hover {
- cursor: pointer; }
- .select2-container--foundation .select2-selection--multiple ul.select2-selection__rendered,
- .select2-container--foundation .select2-selection--multiple .select2-selection__rendered {
- display: inherit;
- box-sizing: border-box;
- list-style: none;
- margin: 0;
- padding: 0 5px;
- width: 100%; }
- .select2-container--foundation .select2-selection--multiple .select2-selection__choice {
- border-radius: 0;
- padding: 0.1875rem 0.3125rem;
- cursor: default;
- float: left;
- margin-right: 0.3125rem;
- margin-top: 0.125rem;
- margin-bottom: 0.125rem;
- border: 1px solid #8a8a8a; }
- .select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove {
- margin-right: 6px;
- margin-left: 6px;
- float: right; }
- .select2-container--foundation .select2-selection--multiple .select2-search--inline .select2-search__field {
- background: transparent;
- line-height: 1.5;
- border: 0;
- margin-top: 0;
- min-width: 5rem;
- height: 2.375rem;
- box-shadow: none;
- margin: 0;
- margin-right: -2rem; }
- .select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove {
- color: #8a8a8a;
- cursor: pointer;
- display: inline-block;
- font-weight: bold;
- margin-right: 0.25rem; }
- .select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove:hover {
- color: #333; }
- .select2-container--foundation .select2-selection--multiple .select2-selection__clear {
- margin-right: 0.1875rem;
- margin-top: 0.5rem; }
-
-/*# sourceMappingURL=select2-foundation-theme.css.map */
+ /* Clear the selection. */
+}
+.select2-container--foundation .select2-selection--multiple .select2-selection__clear {
+ margin-right: 0.1875rem;
+ margin-top: 0.5rem;
+}
diff --git a/dist/select2-foundation-theme.css.map b/dist/select2-foundation-theme.css.map
deleted file mode 100644
index 6d0c68a..0000000
--- a/dist/select2-foundation-theme.css.map
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-"version": 3,
-"mappings": "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",
-"sources": ["../lib/assets/stylesheets/select2/_common-select2-foundation.scss","../lib/generators/select2_foundation/templates/_settings_select2.scss","../lib/assets/stylesheets/select2/_single-select2-foundation.scss","../lib/assets/stylesheets/select2/_multiple-select2-foundation.scss"],
-"names": [],
-"file": "select2-foundation-theme.css"
-}
diff --git a/dist/select2-foundation-theme.min.css b/dist/select2-foundation-theme.min.css
index 62d28b4..120d21d 100644
--- a/dist/select2-foundation-theme.min.css
+++ b/dist/select2-foundation-theme.min.css
@@ -1,2 +1 @@
-span.select2-container--foundation{vertical-align:top}span.select2-container--foundation .selection{margin:0 0 1rem}.select2-container--foundation .select2-selection{background-color:#fefefe;border:1px solid #cacaca;border-radius:0;color:#0a0a0a;font-family:inherit;font-size:1rem;background:#fefefe;outline:0}.select2-container--foundation .select2-search--dropdown .select2-search__field{background-color:#fefefe;border:1px solid #cacaca;border-radius:0;color:#0a0a0a;font-family:inherit;font-size:1rem;border-radius:0}.select2-container--foundation .select2-search__field{outline:0}.select2-container--foundation .select2-search__field::-webkit-input-placeholder{color:#8a8a8a}.select2-container--foundation .select2-search__field:-moz-placeholder{color:#8a8a8a}.select2-container--foundation .select2-search__field::-moz-placeholder{color:#8a8a8a;opacity:1}.select2-container--foundation .select2-search__field:-ms-input-placeholder{color:#8a8a8a}.select2-container--foundation .select2-results__option[role=group]{padding:0}.select2-container--foundation .select2-results__option[role=group] strong{padding-left:.125rem}.select2-container--foundation .select2-results__option[aria-disabled=true]{color:#8a8a8a;cursor:default}.select2-container--foundation .select2-results__option--highlighted[aria-selected]{background-color:#2199e8;color:foreground(#2199e8)}.select2-container--foundation.select2-container--focus .select2-selection{border:1px solid #8a8a8a}.select2-container--foundation.select2-container--open .select2-selection{border:1px solid #8a8a8a;border-radius:0}.select2-container--foundation.select2-container--open .select2-selection__arrow b{transform:rotate(180deg)}.select2-container--foundation .select2-choice{box-shadow:none;background-image:none}.select2-container--foundation .select2-choice div{background-clip:padding-box}.select2-container--foundation .select2-choice .select2-arrow{border:0px;border-radius:0px;background:transparent;background-image:none}.select2-container--foundation *:focus{outline:0px}.select2-container--foundation .select2-selection__clear{color:#8a8a8a;cursor:pointer;float:left;font-weight:bold;margin-right:0px}.select2-container--foundation .select2-selection__clear:hover{color:#333}.select2-container--foundation.select2-container--disabled .select2-selection{border:1px solid #cacaca}.select2-container--foundation.select2-container--disabled .select2-selection,.select2-container--foundation.select2-container--disabled .select2-search__field{cursor:default}.select2-container--foundation.select2-container--disabled .select2-selection,.select2-container--foundation.select2-container--disabled .select2-selection--multiple .select2-selection__choice{background-color:#e6e6e6;color:foreground(#e6e6e6)}.select2-container--foundation.select2-container--disabled .select2-selection__clear,.select2-container--foundation.select2-container--disabled .select2-selection--multiple .select2-selection__choice__remove{display:none}.select2-container--foundation .select2-dropdown{border:1px solid #8a8a8a;border-top:1px solid #cacaca;background:#fefefe;border-radius:0;overflow-x:hidden;margin-top:-.0625rem}.select2-container--foundation .select2-dropdown--above{margin-top:.0625rem;border-radius:0;border-top:1px solid #8a8a8a;border-bottom:1px solid #cacaca}.select2-container--foundation .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.form-control.select2-hidden-accessible{position:absolute !important;width:1px !important}.input-group span.select2-container--foundation{margin:0;vertical-align:middle}.input-group span.select2-container--foundation .selection .select2-selection{vertical-align:middle;border-radius:0}.select2-container--foundation .select2-selection--single,.select2-container--foundation .selection .select2-selection--single{height:2.4375rem;line-height:1.5;padding:.5rem}.select2-container--foundation .select2-selection--single .select2-selection__rendered,.select2-container--foundation .selection .select2-selection--single .select2-selection__rendered{color:#0a0a0a}.select2-container--foundation .select2-selection--single .select2-selection__arrow,.select2-container--foundation .selection .select2-selection--single .select2-selection__arrow{height:2.4375rem;position:absolute;top:0;right:1px;width:20px}.select2-container--foundation .select2-selection--single .select2-selection__arrow b,.select2-container--foundation .selection .select2-selection--single .select2-selection__arrow b{border-color:#333 transparent transparent transparent;top:50%;border-style:solid;border-width:6px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;width:0}.select2-container--foundation .select2-selection--single .select2-selection__placeholder,.select2-container--foundation .selection .select2-selection--single .select2-selection__placeholder{color:#8a8a8a}.select2-container--foundation .select2-selection--single .select2-selection__clear,.select2-container--foundation .selection .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove:hover{cursor:pointer}.select2-container--foundation .select2-selection--multiple ul.select2-selection__rendered,.select2-container--foundation .select2-selection--multiple .select2-selection__rendered{display:inherit;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--foundation .select2-selection--multiple .select2-selection__choice{border-radius:0;padding:.1875rem .3125rem;cursor:default;float:left;margin-right:.3125rem;margin-top:.125rem;margin-bottom:.125rem;border:1px solid #8a8a8a}.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove{margin-right:6px;margin-left:6px;float:right}.select2-container--foundation .select2-selection--multiple .select2-search--inline .select2-search__field{background:transparent;line-height:1.5;border:0;margin-top:0;min-width:5rem;height:2.375rem;box-shadow:none;margin:0;margin-right:-2rem}.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove{color:#8a8a8a;cursor:pointer;display:inline-block;font-weight:bold;margin-right:.25rem}.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--foundation .select2-selection--multiple .select2-selection__clear{margin-right:.1875rem;margin-top:.5rem}
-/*# sourceMappingURL=select2-foundation-theme.min.css.map */
+span.select2-container--foundation{vertical-align:top}span.select2-container--foundation .selection{margin:0 0 1rem}.select2-container--foundation .select2-selection{background-color:#fefefe;border:1px solid #cacaca;border-radius:0;color:#0a0a0a;font-family:inherit;font-size:1rem;background:#fefefe;outline:0}.select2-container--foundation .select2-search--dropdown .select2-search__field{background-color:#fefefe;border:1px solid #cacaca;border-radius:0;color:#0a0a0a;font-family:inherit;font-size:1rem;border-radius:0}.select2-container--foundation .select2-search__field{outline:0}.select2-container--foundation .select2-search__field::-webkit-input-placeholder{color:#8a8a8a}.select2-container--foundation .select2-search__field:-moz-placeholder{color:#8a8a8a}.select2-container--foundation .select2-search__field::-moz-placeholder{color:#8a8a8a;opacity:1}.select2-container--foundation .select2-search__field:-ms-input-placeholder{color:#8a8a8a}.select2-container--foundation .select2-results__option[role=group]{padding:0}.select2-container--foundation .select2-results__option[role=group] strong{padding-left:.125rem}.select2-container--foundation .select2-results__option[aria-disabled=true]{color:#8a8a8a;cursor:default}.select2-container--foundation .select2-results__option--highlighted[aria-selected]{background-color:#2199e8;color:foreground(#2199e8)}.select2-container--foundation.select2-container--focus .select2-selection{border:1px solid #8a8a8a}.select2-container--foundation.select2-container--open .select2-selection{border:1px solid #8a8a8a;border-radius:0}.select2-container--foundation.select2-container--open .select2-selection__arrow b{transform:rotate(180deg)}.select2-container--foundation .select2-choice{box-shadow:none;background-image:none}.select2-container--foundation .select2-choice div{background-clip:padding-box}.select2-container--foundation .select2-choice .select2-arrow{border:0px;border-radius:0px;background:rgba(0,0,0,0);background-image:none}.select2-container--foundation *:focus{outline:0px}.select2-container--foundation .select2-selection__clear{color:#8a8a8a;cursor:pointer;float:left;font-weight:bold;margin-right:0px}.select2-container--foundation .select2-selection__clear:hover{color:#333}.select2-container--foundation.select2-container--disabled .select2-selection{border:1px solid #cacaca}.select2-container--foundation.select2-container--disabled .select2-selection,.select2-container--foundation.select2-container--disabled .select2-search__field{cursor:default}.select2-container--foundation.select2-container--disabled .select2-selection,.select2-container--foundation.select2-container--disabled .select2-selection--multiple .select2-selection__choice{background-color:#e6e6e6;color:foreground(#e6e6e6)}.select2-container--foundation.select2-container--disabled .select2-selection__clear,.select2-container--foundation.select2-container--disabled .select2-selection--multiple .select2-selection__choice__remove{display:none}.select2-container--foundation .select2-dropdown{border:1px solid #8a8a8a;border-top:1px solid #cacaca;background:#fefefe;border-radius:0;overflow-x:hidden;margin-top:-0.0625rem}.select2-container--foundation .select2-dropdown--above{margin-top:.0625rem;border-radius:0;border-top:1px solid #8a8a8a;border-bottom:1px solid #cacaca}.select2-container--foundation .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.form-control.select2-hidden-accessible{position:absolute !important;width:1px !important}.input-group span.select2-container--foundation{margin:0;vertical-align:middle}.input-group span.select2-container--foundation .selection .select2-selection{vertical-align:middle;border-radius:0}.select2-container--foundation .select2-selection--single,.select2-container--foundation .selection .select2-selection--single{height:2.4375rem;line-height:1.5;padding:.5rem}.select2-container--foundation .select2-selection--single .select2-selection__rendered,.select2-container--foundation .selection .select2-selection--single .select2-selection__rendered{color:#0a0a0a}.select2-container--foundation .select2-selection--single .select2-selection__arrow,.select2-container--foundation .selection .select2-selection--single .select2-selection__arrow{height:2.4375rem;position:absolute;top:0;right:1px;width:20px}.select2-container--foundation .select2-selection--single .select2-selection__arrow b,.select2-container--foundation .selection .select2-selection--single .select2-selection__arrow b{border-color:#333 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);top:50%;border-style:solid;border-width:6px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;width:0}.select2-container--foundation .select2-selection--single .select2-selection__placeholder,.select2-container--foundation .selection .select2-selection--single .select2-selection__placeholder{color:#8a8a8a}.select2-container--foundation .select2-selection--single .select2-selection__clear,.select2-container--foundation .selection .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove:hover{cursor:pointer}.select2-container--foundation .select2-selection--multiple ul.select2-selection__rendered,.select2-container--foundation .select2-selection--multiple .select2-selection__rendered{display:inherit;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--foundation .select2-selection--multiple .select2-selection__choice{border-radius:0;padding:.1875rem .3125rem;cursor:default;float:left;margin-right:.3125rem;margin-top:.125rem;margin-bottom:.125rem;border:1px solid #8a8a8a}.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove{margin-right:6px;margin-left:6px;float:right}.select2-container--foundation .select2-selection--multiple .select2-search--inline .select2-search__field{background:rgba(0,0,0,0);line-height:1.5;border:0;margin-top:0;min-width:5rem;height:2.375rem;box-shadow:none;margin:0;margin-right:-2rem}.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove{color:#8a8a8a;cursor:pointer;display:inline-block;font-weight:bold;margin-right:.25rem}.select2-container--foundation .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--foundation .select2-selection--multiple .select2-selection__clear{margin-right:.1875rem;margin-top:.5rem}
diff --git a/dist/select2-foundation-theme.min.css.map b/dist/select2-foundation-theme.min.css.map
deleted file mode 100644
index 5fa2e92..0000000
--- a/dist/select2-foundation-theme.min.css.map
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-"version": 3,
-"mappings": "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",
-"sources": ["../lib/assets/stylesheets/select2/_common-select2-foundation.scss","../lib/generators/select2_foundation/templates/_settings_select2.scss","../lib/assets/stylesheets/select2/_single-select2-foundation.scss","../lib/assets/stylesheets/select2/_multiple-select2-foundation.scss"],
-"names": [],
-"file": "select2-foundation-theme.min.css"
-}
diff --git a/lib/select2-foundation/version.rb b/lib/select2-foundation/version.rb
index 5de36e0..024bad5 100644
--- a/lib/select2-foundation/version.rb
+++ b/lib/select2-foundation/version.rb
@@ -1,3 +1,3 @@
module Select2Foundation
- VERSION = "0.1.1"
+ VERSION = "0.2.0"
end
diff --git a/package.json b/package.json
index a10960f..3d66987 100644
--- a/package.json
+++ b/package.json
@@ -1,22 +1,45 @@
{
- "name": "select2-foundation_theme",
- "version": "0.0.2",
+ "name": "select2-foundation-theme",
+ "version": "0.2.0",
+ "description": "Select2 Foundation Theme",
"author": {
- "name": "William Wedler",
- "url": ""
+ "name": "William Wedler"
},
- "description": "Select2 Foundation Theme",
- "dependencies": {
- "grunt-contrib-watch": "^0.6.1",
- "grunt-contrib-sass": "^1.0.0"
+ "license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/zflat/select2-foundation.git"
+ },
+ "main": "dist/select2-foundation-theme.css",
+ "scripts": {
+ "build": "npm run build:dev && npm run build:prod",
+ "build:dev": "sass --no-source-map --load-path=node_modules/foundation-sites/scss --style=expanded src/sass/select2-foundation.scss dist/select2-foundation-theme.css",
+ "build:prod": "sass --no-source-map --load-path=node_modules/foundation-sites/scss --style=compressed src/sass/select2-foundation.scss dist/select2-foundation-theme.min.css",
+ "watch": "sass --load-path=node_modules/foundation-sites/scss --watch src/sass/select2-foundation.scss:dist/select2-foundation-theme.css"
+ },
+ "peerDependencies": {
+ "foundation-sites": "^6.9.0",
+ "select2": "^4.0.13"
+ },
+ "peerDependenciesMeta": {
+ "foundation-sites": {
+ "optional": false
+ },
+ "select2": {
+ "optional": false
+ }
},
"devDependencies": {
- "grunt": "~0.4.5"
+ "foundation-sites": "^6.9.0",
+ "sass": "^1.77.0"
},
"keywords": [
- "Select2-Foundation-Theme"
+ "select2",
+ "foundation",
+ "foundation-sites",
+ "theme"
],
"engines": {
- "node": ">=0.8.15"
+ "node": ">=16"
}
}
diff --git a/select2-foundation.gemspec b/select2-foundation.gemspec
index d152cdd..6646167 100644
--- a/select2-foundation.gemspec
+++ b/select2-foundation.gemspec
@@ -12,15 +12,15 @@ Gem::Specification.new do |s|
s.description = "Simple css to make select2 widgets fit in with foundation"
s.license = "MIT"
- s.files = Dir["{lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
+ s.files = Dir["{lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["test/**/*"]
- s.add_dependency "sass", [">= 3.3.0", "< 3.5"]
- s.add_dependency "railties", [">= 3.1.0"]
+ s.required_ruby_version = ">= 2.7"
+
+ s.add_dependency "railties", ">= 5.0", "< 9"
s.add_dependency "select2-rails", "~> 4.0"
- s.add_dependency "foundation-rails", [">= 5", "<7"]
+ s.add_dependency "foundation-rails", ">= 6.9", "< 7"
- s.add_development_dependency "bundler", "~> 1.3"
- s.add_development_dependency "rails", "~>4.2"
- s.add_development_dependency "rake"
+ s.add_development_dependency "bundler", "~> 2.0"
+ s.add_development_dependency "rake", "~> 13.0"
end
diff --git a/test/styleguide/Gemfile b/test/styleguide/Gemfile
deleted file mode 100644
index 9e52255..0000000
--- a/test/styleguide/Gemfile
+++ /dev/null
@@ -1,39 +0,0 @@
-# -*- mode: ruby -*-
-source 'https://rubygems.org'
-
-gem 'bundler'
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.5'
-
-gem 'sass-rails', '~> 5.0'
-gem 'uglifier', '>= 1.3.0'
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-gem 'jquery-rails'
-gem 'turbolinks'
-
-
-gem 'foundation-rails', '~> 6.1.2.0'
-gem 'select2-rails', '~> 4.0.1'
-# 'select2-foundation'
-gem 'select2-foundation', :git => 'https://github.com/zflat/select2-foundation'
-
-group :development, :test do
- gem 'sqlite3'
- gem "minitest-rails"
- gem 'spring'
-end
-
-group :test do
- gem 'minitest-rg', require: false
-end
-
-group :production do
- gem 'pg'
- gem 'rails_12factor'
-end
-ruby "2.2.0"
-
-
diff --git a/test/styleguide/Gemfile.lock b/test/styleguide/Gemfile.lock
deleted file mode 100644
index e9af9aa..0000000
--- a/test/styleguide/Gemfile.lock
+++ /dev/null
@@ -1,168 +0,0 @@
-GIT
- remote: https://github.com/zflat/select2-foundation
- revision: 8923e82a6fca68051cf8eaedc9c2d9a9f59c4340
- specs:
- select2-foundation (0.0.1)
- foundation-rails (>= 5)
- railties (>= 3.1.0)
- sass (>= 3.3.0, < 3.5)
- select2-rails (~> 4.0.1)
-
-GEM
- remote: https://rubygems.org/
- specs:
- actionmailer (4.2.5)
- actionpack (= 4.2.5)
- actionview (= 4.2.5)
- activejob (= 4.2.5)
- mail (~> 2.5, >= 2.5.4)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- actionpack (4.2.5)
- actionview (= 4.2.5)
- activesupport (= 4.2.5)
- rack (~> 1.6)
- rack-test (~> 0.6.2)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (4.2.5)
- activesupport (= 4.2.5)
- builder (~> 3.1)
- erubis (~> 2.7.0)
- rails-dom-testing (~> 1.0, >= 1.0.5)
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
- activejob (4.2.5)
- activesupport (= 4.2.5)
- globalid (>= 0.3.0)
- activemodel (4.2.5)
- activesupport (= 4.2.5)
- builder (~> 3.1)
- activerecord (4.2.5)
- activemodel (= 4.2.5)
- activesupport (= 4.2.5)
- arel (~> 6.0)
- activesupport (4.2.5)
- i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
- minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
- tzinfo (~> 1.1)
- arel (6.0.3)
- builder (3.2.2)
- coffee-rails (4.1.1)
- coffee-script (>= 2.2.0)
- railties (>= 4.0.0, < 5.1.x)
- coffee-script (2.4.1)
- coffee-script-source
- execjs
- coffee-script-source (1.10.0)
- concurrent-ruby (1.0.0)
- erubis (2.7.0)
- execjs (2.6.0)
- foundation-rails (6.1.2.0)
- railties (>= 3.1.0)
- sass (>= 3.3.0, < 3.5)
- globalid (0.3.6)
- activesupport (>= 4.1.0)
- i18n (0.7.0)
- jquery-rails (4.1.0)
- rails-dom-testing (~> 1.0)
- railties (>= 4.2.0)
- thor (>= 0.14, < 2.0)
- json (1.8.3)
- loofah (2.0.3)
- nokogiri (>= 1.5.9)
- mail (2.6.3)
- mime-types (>= 1.16, < 3)
- mime-types (2.99)
- mini_portile2 (2.0.0)
- minitest (5.8.4)
- minitest-rails (2.2.0)
- minitest (~> 5.7)
- railties (~> 4.1)
- minitest-rg (5.2.0)
- minitest (~> 5.0)
- nokogiri (1.6.7.2)
- mini_portile2 (~> 2.0.0.rc2)
- pg (0.18.4)
- rack (1.6.4)
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (4.2.5)
- actionmailer (= 4.2.5)
- actionpack (= 4.2.5)
- actionview (= 4.2.5)
- activejob (= 4.2.5)
- activemodel (= 4.2.5)
- activerecord (= 4.2.5)
- activesupport (= 4.2.5)
- bundler (>= 1.3.0, < 2.0)
- railties (= 4.2.5)
- sprockets-rails
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
- rails-dom-testing (1.0.7)
- activesupport (>= 4.2.0.beta, < 5.0)
- nokogiri (~> 1.6.0)
- rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
- rails_12factor (0.0.3)
- rails_serve_static_assets
- rails_stdout_logging
- rails_serve_static_assets (0.0.5)
- rails_stdout_logging (0.0.4)
- railties (4.2.5)
- actionpack (= 4.2.5)
- activesupport (= 4.2.5)
- rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
- rake (10.5.0)
- sass (3.4.21)
- sass-rails (5.0.4)
- railties (>= 4.0.0, < 5.0)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
- select2-rails (4.0.1)
- thor (~> 0.14)
- spring (1.6.3)
- sprockets (3.5.2)
- concurrent-ruby (~> 1.0)
- rack (> 1, < 3)
- sprockets-rails (3.0.1)
- actionpack (>= 4.0)
- activesupport (>= 4.0)
- sprockets (>= 3.0.0)
- sqlite3 (1.3.11)
- thor (0.19.1)
- thread_safe (0.3.5)
- tilt (2.0.2)
- turbolinks (2.5.3)
- coffee-rails
- tzinfo (1.2.2)
- thread_safe (~> 0.1)
- uglifier (2.7.2)
- execjs (>= 0.3.0)
- json (>= 1.8.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- bundler
- coffee-rails (~> 4.1.0)
- foundation-rails (~> 6.1.2.0)
- jquery-rails
- minitest-rails
- minitest-rg
- pg
- rails (= 4.2.5)
- rails_12factor
- sass-rails (~> 5.0)
- select2-foundation!
- select2-rails (~> 4.0.1)
- spring
- sqlite3
- turbolinks
- uglifier (>= 1.3.0)
diff --git a/test/styleguide/Rakefile b/test/styleguide/Rakefile
deleted file mode 100644
index ba6b733..0000000
--- a/test/styleguide/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/test/styleguide/app/assets/images/.keep b/test/styleguide/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/test/styleguide/app/assets/javascripts/application.js b/test/styleguide/app/assets/javascripts/application.js
deleted file mode 100644
index fb494ff..0000000
--- a/test/styleguide/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require foundation
-//= require select2
-//= require turbolinks
-//= require_tree .
-
-$(function(){ $(document).foundation(); });
diff --git a/test/styleguide/app/assets/stylesheets/_settings.scss b/test/styleguide/app/assets/stylesheets/_settings.scss
deleted file mode 100644
index 10173de..0000000
--- a/test/styleguide/app/assets/stylesheets/_settings.scss
+++ /dev/null
@@ -1,548 +0,0 @@
-// Foundation for Sites Settings
-// -----------------------------
-//
-// Table of Contents:
-//
-// 1. Global
-// 2. Breakpoints
-// 3. The Grid
-// 4. Base Typography
-// 5. Typography Helpers
-// 6. Abide
-// 7. Accordion
-// 8. Accordion Menu
-// 9. Badge
-// 10. Breadcrumbs
-// 11. Button
-// 12. Button Group
-// 13. Callout
-// 14. Close Button
-// 15. Drilldown
-// 16. Dropdown
-// 17. Dropdown Menu
-// 18. Flex Video
-// 19. Forms
-// 20. Label
-// 21. Media Object
-// 22. Menu
-// 23. Off-canvas
-// 24. Orbit
-// 25. Pagination
-// 26. Progress Bar
-// 27. Reveal
-// 28. Slider
-// 29. Switch
-// 30. Table
-// 31. Tabs
-// 32. Thumbnail
-// 33. Title Bar
-// 34. Tooltip
-// 35. Top Bar
-
-@import 'util/util';
-
-// 1. Global
-// ---------
-
-$global-font-size: 100%;
-$global-width: rem-calc(1200);
-$global-lineheight: 1.5;
-$primary-color: #2199e8;
-$secondary-color: #777;
-$success-color: #3adb76;
-$warning-color: #ffae00;
-$alert-color: #ec5840;
-$light-gray: #e6e6e6;
-$medium-gray: #cacaca;
-$dark-gray: #8a8a8a;
-$black: #0a0a0a;
-$white: #fefefe;
-$body-background: $white;
-$body-font-color: $black;
-$body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
-$body-antialiased: true;
-$global-margin: 1rem;
-$global-padding: 1rem;
-$global-weight-normal: normal;
-$global-weight-bold: bold;
-$global-radius: 0;
-$global-text-direction: ltr;
-
-// 2. Breakpoints
-// --------------
-
-$breakpoints: (
- small: 0,
- medium: 640px,
- large: 1024px,
- xlarge: 1200px,
- xxlarge: 1440px,
-);
-$breakpoint-classes: (small medium large);
-
-// 3. The Grid
-// -----------
-
-$grid-row-width: $global-width;
-$grid-column-count: 12;
-$grid-column-responsive-gutter: (
- small: 20px,
- medium: 30px,
-);
-$grid-column-align-edge: true;
-$block-grid-max: 8;
-
-// 4. Base Typography
-// ------------------
-
-$header-font-family: $body-font-family;
-$header-font-weight: $global-weight-normal;
-$header-font-style: normal;
-$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
-$header-sizes: (
- small: (
- 'h1': 24,
- 'h2': 18,
- 'h3': 16,
- 'h4': 16,
- 'h5': 16,
- 'h6': 16,
- ),
- medium: (
- 'h1': 28,
- 'h2': 24,
- 'h3': 18,
- 'h4': 18,
- 'h5': 18,
- 'h6': 18,
- ),
-);
-$header-color: inherit;
-$header-lineheight: 1.4;
-$header-margin-bottom: 0.5rem;
-$header-text-rendering: optimizeLegibility;
-$small-font-size: 80%;
-$header-small-font-color: $medium-gray;
-$paragraph-lineheight: 1.6;
-$paragraph-margin-bottom: 1rem;
-$paragraph-text-rendering: optimizeLegibility;
-$code-color: $black;
-$code-font-family: $font-family-monospace;
-$code-font-weight: $global-weight-normal;
-$code-background: $light-gray;
-$code-border: 1px solid $medium-gray;
-$code-padding: rem-calc(2 5 1);
-$anchor-color: $primary-color;
-$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
-$anchor-text-decoration: none;
-$anchor-text-decoration-hover: none;
-$hr-width: $global-width;
-$hr-border: 1px solid $medium-gray;
-$hr-margin: rem-calc(20) auto;
-$list-lineheight: $paragraph-lineheight;
-$list-margin-bottom: $paragraph-margin-bottom;
-$list-style-type: disc;
-$list-style-position: outside;
-$list-side-margin: 1.25rem;
-$list-nested-side-margin: 1.25rem;
-$defnlist-margin-bottom: 1rem;
-$defnlist-term-weight: $global-weight-bold;
-$defnlist-term-margin-bottom: 0.3rem;
-$blockquote-color: $dark-gray;
-$blockquote-padding: rem-calc(9 20 0 19);
-$blockquote-border: 1px solid $medium-gray;
-$cite-font-size: rem-calc(13);
-$cite-color: $dark-gray;
-$keystroke-font: $font-family-monospace;
-$keystroke-color: $black;
-$keystroke-background: $light-gray;
-$keystroke-padding: rem-calc(2 4 0);
-$keystroke-radius: $global-radius;
-$abbr-underline: 1px dotted $black;
-
-// 5. Typography Helpers
-// ---------------------
-
-$lead-font-size: $global-font-size * 1.25;
-$lead-lineheight: 1.6;
-$subheader-lineheight: 1.4;
-$subheader-color: $dark-gray;
-$subheader-font-weight: $global-weight-normal;
-$subheader-margin-top: 0.2rem;
-$subheader-margin-bottom: 0.5rem;
-$stat-font-size: 2.5rem;
-
-// 6. Abide
-// --------
-
-$abide-inputs: true;
-$abide-labels: true;
-$input-background-invalid: $alert-color;
-$form-label-color-invalid: $alert-color;
-$input-error-color: $alert-color;
-$input-error-font-size: rem-calc(12);
-$input-error-font-weight: $global-weight-bold;
-
-// 7. Accordion
-// ------------
-
-$accordion-background: $white;
-$accordion-plusminus: true;
-$accordion-item-color: foreground($accordion-background, $primary-color);
-$accordion-item-background-hover: $light-gray;
-$accordion-item-padding: 1.25rem 1rem;
-$accordion-content-background: $white;
-$accordion-content-border: 1px solid $light-gray;
-$accordion-content-color: foreground($accordion-background, $primary-color);
-$accordion-content-padding: 1rem;
-
-// 8. Accordion Menu
-// -----------------
-
-$accordionmenu-arrows: true;
-$accordionmenu-arrow-color: $primary-color;
-
-// 9. Badge
-// --------
-
-$badge-background: $primary-color;
-$badge-color: foreground($badge-background);
-$badge-padding: 0.3em;
-$badge-minwidth: 2.1em;
-$badge-font-size: 0.6rem;
-
-// 10. Breadcrumbs
-// ---------------
-
-$breadcrumbs-margin: 0 0 $global-margin 0;
-$breadcrumbs-item-font-size: rem-calc(11);
-$breadcrumbs-item-color: $primary-color;
-$breadcrumbs-item-color-current: $black;
-$breadcrumbs-item-color-disabled: $medium-gray;
-$breadcrumbs-item-margin: 0.75rem;
-$breadcrumbs-item-uppercase: true;
-$breadcrumbs-item-slash: true;
-
-// 11. Button
-// ----------
-
-$button-padding: 0.85em 1em;
-$button-margin: 0 0 $global-margin 0;
-$button-fill: solid;
-$button-background: $primary-color;
-$button-background-hover: scale-color($button-background, $lightness: -15%);
-$button-color: #fff;
-$button-color-alt: #000;
-$button-radius: $global-radius;
-$button-sizes: (
- tiny: 0.6rem,
- small: 0.75rem,
- default: 0.9rem,
- large: 1.25rem,
-);
-$button-opacity-disabled: 0.25;
-
-// 12. Button Group
-// ----------------
-
-$buttongroup-margin: 1rem;
-$buttongroup-spacing: 1px;
-$buttongroup-child-selector: '.button';
-$buttongroup-expand-max: 6;
-
-// 13. Callout
-// -----------
-
-$callout-background: $white;
-$callout-background-fade: 85%;
-$callout-border: 1px solid rgba($black, 0.25);
-$callout-margin: 0 0 1rem 0;
-$callout-padding: 1rem;
-$callout-font-color: $body-font-color;
-$callout-font-color-alt: $body-background;
-$callout-radius: $global-radius;
-$callout-link-tint: 30%;
-
-// 14. Close Button
-// ----------------
-
-$closebutton-position: right top;
-$closebutton-offset-horizontal: 1rem;
-$closebutton-offset-vertical: 0.5rem;
-$closebutton-size: 2em;
-$closebutton-lineheight: 1;
-$closebutton-color: $dark-gray;
-$closebutton-color-hover: $black;
-
-// 15. Drilldown
-// -------------
-
-$drilldown-transition: transform 0.15s linear;
-$drilldown-arrows: true;
-$drilldown-arrow-color: $primary-color;
-$drilldown-background: $white;
-
-// 16. Dropdown
-// ------------
-
-$dropdown-padding: 1rem;
-$dropdown-border: 1px solid $medium-gray;
-$dropdown-font-size: 1rem;
-$dropdown-width: 300px;
-$dropdown-radius: $global-radius;
-$dropdown-sizes: (
- tiny: 100px,
- small: 200px,
- large: 400px,
-);
-
-// 17. Dropdown Menu
-// -----------------
-
-$dropdownmenu-arrows: true;
-$dropdownmenu-arrow-color: $anchor-color;
-$dropdownmenu-min-width: 200px;
-$dropdownmenu-background: $white;
-$dropdownmenu-border: 1px solid $medium-gray;
-
-// 18. Flex Video
-// --------------
-
-$flexvideo-margin-bottom: rem-calc(16);
-$flexvideo-ratio: 4 by 3;
-$flexvideo-ratio-widescreen: 16 by 9;
-
-// 19. Forms
-// ---------
-
-$fieldset-border: 1px solid $medium-gray;
-$fieldset-padding: rem-calc(20);
-$fieldset-margin: rem-calc(18 0);
-$legend-padding: rem-calc(0 3);
-$form-spacing: rem-calc(16);
-$helptext-color: #333;
-$helptext-font-size: rem-calc(13);
-$helptext-font-style: italic;
-$input-prefix-color: $black;
-$input-prefix-background: $light-gray;
-$input-prefix-border: 1px solid $medium-gray;
-$input-prefix-padding: 1rem;
-$form-label-color: $black;
-$form-label-font-size: rem-calc(14);
-$form-label-font-weight: $global-weight-normal;
-$form-label-line-height: 1.8;
-$select-background: $white;
-$select-triangle-color: #333;
-$select-radius: $global-radius;
-$input-color: $black;
-$input-font-family: inherit;
-$input-font-size: rem-calc(16);
-$input-background: $white;
-$input-background-focus: $white;
-$input-background-disabled: $light-gray;
-$input-border: 1px solid $medium-gray;
-$input-border-focus: 1px solid $dark-gray;
-$input-shadow: inset 0 1px 2px rgba($black, 0.1);
-$input-shadow-focus: 0 0 5px $medium-gray;
-$input-cursor-disabled: default;
-$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
-$input-number-spinners: true;
-$input-radius: $global-radius;
-
-// 20. Label
-// ---------
-
-$label-background: $primary-color;
-$label-color: foreground($label-background);
-$label-font-size: 0.8rem;
-$label-padding: 0.33333rem 0.5rem;
-$label-radius: $global-radius;
-
-// 21. Media Object
-// ----------------
-
-$mediaobject-margin-bottom: $global-margin;
-$mediaobject-section-padding: $global-padding;
-$mediaobject-image-width-stacked: 100%;
-
-// 22. Menu
-// --------
-
-$menu-margin: 0;
-$menu-margin-nested: 1rem;
-$menu-item-padding: 0.7rem 1rem;
-$menu-icon-spacing: 0.25rem;
-$menu-expand-max: 6;
-
-// 23. Off-canvas
-// --------------
-
-$offcanvas-size: 250px;
-$offcanvas-background: $light-gray;
-$offcanvas-zindex: -1;
-$offcanvas-transition-length: 0.5s;
-$offcanvas-transition-timing: ease;
-$offcanvas-fixed-reveal: true;
-$offcanvas-exit-background: rgba($white, 0.25);
-$maincontent-class: 'off-canvas-content';
-$maincontent-shadow: 0 0 10px rgba($black, 0.5);
-
-// 24. Orbit
-// ---------
-
-$orbit-bullet-background: $medium-gray;
-$orbit-bullet-background-active: $dark-gray;
-$orbit-bullet-diameter: 1.2rem;
-$orbit-bullet-margin: 0.1rem;
-$orbit-bullet-margin-top: 0.8rem;
-$orbit-bullet-margin-bottom: 0.8rem;
-$orbit-caption-background: rgba($black, 0.5);
-$orbit-caption-padding: 1rem;
-$orbit-control-background-hover: rgba($black, 0.5);
-$orbit-control-padding: 1rem;
-$orbit-control-zindex: 10;
-
-// 25. Pagination
-// --------------
-
-$pagination-font-size: rem-calc(14);
-$pagination-margin-bottom: $global-margin;
-$pagination-item-color: $black;
-$pagination-item-padding: rem-calc(3 10);
-$pagination-item-spacing: rem-calc(1);
-$pagination-radius: $global-radius;
-$pagination-item-background-hover: $light-gray;
-$pagination-item-background-current: $primary-color;
-$pagination-item-color-current: foreground($pagination-item-background-current);
-$pagination-item-color-disabled: $medium-gray;
-$pagination-ellipsis-color: $black;
-$pagination-mobile-items: false;
-$pagination-arrows: true;
-
-// 26. Progress Bar
-// ----------------
-
-$progress-height: 1rem;
-$progress-background: $medium-gray;
-$progress-margin-bottom: $global-margin;
-$progress-meter-background: $primary-color;
-$progress-radius: $global-radius;
-
-// 27. Reveal
-// ----------
-
-$reveal-background: $white;
-$reveal-width: 600px;
-$reveal-max-width: $global-width;
-$reveal-offset: rem-calc(100);
-$reveal-padding: $global-padding;
-$reveal-border: 1px solid $medium-gray;
-$reveal-radius: $global-radius;
-$reveal-zindex: 1005;
-$reveal-overlay-background: rgba($black, 0.45);
-
-// 28. Slider
-// ----------
-
-$slider-height: 0.5rem;
-$slider-width-vertical: $slider-height;
-$slider-background: $light-gray;
-$slider-fill-background: $medium-gray;
-$slider-handle-height: 1.4rem;
-$slider-handle-width: 1.4rem;
-$slider-handle-background: $primary-color;
-$slider-opacity-disabled: 0.25;
-$slider-radius: $global-radius;
-$slider-transition: all 0.2s ease-in-out;
-
-// 29. Switch
-// ----------
-
-$switch-background: $medium-gray;
-$switch-background-active: $primary-color;
-$switch-height: 2rem;
-$switch-height-tiny: 1.5rem;
-$switch-height-small: 1.75rem;
-$switch-height-large: 2.5rem;
-$switch-radius: $global-radius;
-$switch-margin: $global-margin;
-$switch-paddle-background: $white;
-$switch-paddle-offset: 0.25rem;
-$switch-paddle-radius: $global-radius;
-$switch-paddle-transition: all 0.25s ease-out;
-
-// 30. Table
-// ---------
-
-$table-background: $white;
-$table-color-scale: 5%;
-$table-border: 1px solid smart-scale($table-background, $table-color-scale);
-$table-padding: rem-calc(8 10 10);
-$table-hover-scale: 2%;
-$table-row-hover: darken($table-background, $table-hover-scale);
-$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
-$table-striped-background: smart-scale($table-background, $table-color-scale);
-$table-stripe: even;
-$table-head-background: smart-scale($table-background, $table-color-scale / 2);
-$table-foot-background: smart-scale($table-background, $table-color-scale);
-$table-head-font-color: $body-font-color;
-$show-header-for-stacked: false;
-
-// 31. Tabs
-// --------
-
-$tab-margin: 0;
-$tab-background: $white;
-$tab-background-active: $light-gray;
-$tab-border: $light-gray;
-$tab-item-color: foreground($tab-background, $primary-color);
-$tab-item-background-hover: $white;
-$tab-item-padding: 1.25rem 1.5rem;
-$tab-expand-max: 6;
-$tab-content-background: $white;
-$tab-content-border: $light-gray;
-$tab-content-color: foreground($tab-background, $primary-color);
-$tab-content-padding: 1rem;
-
-// 32. Thumbnail
-// -------------
-
-$thumbnail-border: solid 4px $white;
-$thumbnail-margin-bottom: $global-margin;
-$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
-$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
-$thumbnail-transition: box-shadow 200ms ease-out;
-$thumbnail-radius: $global-radius;
-
-// 33. Title Bar
-// -------------
-
-$titlebar-background: $black;
-$titlebar-color: $white;
-$titlebar-padding: 0.5rem;
-$titlebar-text-font-weight: bold;
-$titlebar-icon-color: $white;
-$titlebar-icon-color-hover: $medium-gray;
-$titlebar-icon-spacing: 0.25rem;
-
-// 34. Tooltip
-// -----------
-
-$has-tip-font-weight: $global-weight-bold;
-$has-tip-border-bottom: dotted 1px $dark-gray;
-$tooltip-background-color: $black;
-$tooltip-color: $white;
-$tooltip-padding: 0.75rem;
-$tooltip-font-size: $small-font-size;
-$tooltip-pip-width: 0.75rem;
-$tooltip-pip-height: $tooltip-pip-width * 0.866;
-$tooltip-pip-offset: 1.25rem;
-$tooltip-radius: $global-radius;
-
-// 35. Top Bar
-// -----------
-
-$topbar-padding: 0.5rem;
-$topbar-background: $light-gray;
-$topbar-title-spacing: 1rem;
-$topbar-input-width: 200px;
diff --git a/test/styleguide/app/assets/stylesheets/_settings_select2.scss b/test/styleguide/app/assets/stylesheets/_settings_select2.scss
deleted file mode 100644
index 52ae75e..0000000
--- a/test/styleguide/app/assets/stylesheets/_settings_select2.scss
+++ /dev/null
@@ -1,20 +0,0 @@
-// -*- mode: css -*-
-
-//////////////////////
-// foundation settings
-@import 'settings';
-@import 'foundation';
-
-/////////////////////////////
-// select2 defined settings
-
-$padding-base-horizontal: ($form-spacing / 2);
-$padding-base-vertical: ($form-spacing / 2);
-$input-height-base: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
-
-// color settings
-$clear-selection-color: $dark-gray;
-$dropdown-link-active-bg: $primary-color;
-$dropdown-link-active-color: foreground($dropdown-link-active-bg);
-$dropdown-link-disabled-color: $dark-gray;
-$input-color-placeholder: $dark-gray;
diff --git a/test/styleguide/app/assets/stylesheets/application.css b/test/styleguide/app/assets/stylesheets/application.css
deleted file mode 100644
index 942c475..0000000
--- a/test/styleguide/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require select2
- *= require foundation_and_overrides
- *= require select2/select2-foundation
- *= require_tree .
- *= require_self
- */
diff --git a/test/styleguide/app/assets/stylesheets/foundation_and_overrides.scss b/test/styleguide/app/assets/stylesheets/foundation_and_overrides.scss
deleted file mode 100644
index f175ce0..0000000
--- a/test/styleguide/app/assets/stylesheets/foundation_and_overrides.scss
+++ /dev/null
@@ -1,51 +0,0 @@
-@charset 'utf-8';
-
-@import 'settings';
-@import 'foundation';
-
-// If you'd like to include motion-ui, you need to install the motion-ui sass package.
-//
-// @import 'motion-ui/motion-ui';
-
-// We include everything by default. To slim your CSS, remove components you don't use.
-
-@include foundation-global-styles;
-@include foundation-grid;
-@include foundation-typography;
-@include foundation-button;
-@include foundation-forms;
-@include foundation-visibility-classes;
-@include foundation-float-classes;
-@include foundation-accordion;
-@include foundation-accordion-menu;
-@include foundation-badge;
-@include foundation-breadcrumbs;
-@include foundation-button-group;
-@include foundation-callout;
-@include foundation-close-button;
-@include foundation-drilldown-menu;
-@include foundation-dropdown;
-@include foundation-dropdown-menu;
-@include foundation-flex-video;
-@include foundation-label;
-@include foundation-media-object;
-@include foundation-menu;
-@include foundation-off-canvas;
-@include foundation-orbit;
-@include foundation-pagination;
-@include foundation-progress-bar;
-@include foundation-slider;
-@include foundation-sticky;
-@include foundation-reveal;
-@include foundation-switch;
-@include foundation-table;
-@include foundation-tabs;
-@include foundation-thumbnail;
-@include foundation-title-bar;
-@include foundation-tooltip;
-@include foundation-top-bar;
-
-// If you'd like to include motion-ui, you need to install the motion-ui sass package.
-//
-// @include motion-ui-transitions;
-// @include motion-ui-animations;
diff --git a/test/styleguide/app/controllers/application_controller.rb b/test/styleguide/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/test/styleguide/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/test/styleguide/app/controllers/concerns/.keep b/test/styleguide/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/test/styleguide/app/controllers/styleguide_controller.rb b/test/styleguide/app/controllers/styleguide_controller.rb
deleted file mode 100644
index 30ab334..0000000
--- a/test/styleguide/app/controllers/styleguide_controller.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class StyleguideController < ApplicationController #::ActionController::Base
- # layout false
- def show
- respond_to do |format|
- format.html
- format.json { render json: nil }
- end
- end
-end
diff --git a/test/styleguide/app/helpers/application_helper.rb b/test/styleguide/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/test/styleguide/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/test/styleguide/app/views/layouts/application.html.erb b/test/styleguide/app/views/layouts/application.html.erb
deleted file mode 100644
index 9d6fd2c..0000000
--- a/test/styleguide/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
- Demonstration page for a Select2 v4 <%= link_to 'theme', theme_url %> matching Zurb Foundation v6 form controls.
-Source: <%= link_to theme_url, theme_url %>
-You may have mistyped the address or the page may have moved.
-If you are the application owner check the logs for more information.
-Maybe you tried to change something you didn't have access to.
-If you are the application owner check the logs for more information.
-If you are the application owner check the logs for more information.
- tags
-// $code-color: $oil;
-// $code-font-family: $font-family-monospace;
-// $code-font-weight: $font-weight-normal;
-// $code-background-color: scale-color($secondary-color, $lightness: 70%);
-// $code-border-size: 1px;
-// $code-border-style: solid;
-// $code-border-color: scale-color($code-background-color, $lightness: -10%);
-// $code-padding: rem-calc(2) rem-calc(5) rem-calc(1);
-
-// We use these to style anchors
-// $anchor-text-decoration: none;
-// $anchor-text-decoration-hover: none;
-// $anchor-font-color: $primary-color;
-// $anchor-font-color-hover: scale-color($anchor-font-color, $lightness: -14%);
-
-// We use these to style the
element
-// $hr-border-width: 1px;
-// $hr-border-style: solid;
-// $hr-border-color: $gainsboro;
-// $hr-margin: rem-calc(20);
-
-// We use these to style lists
-// $list-font-family: $paragraph-font-family;
-// $list-font-size: $paragraph-font-size;
-// $list-line-height: $paragraph-line-height;
-// $list-margin-bottom: $paragraph-margin-bottom;
-// $list-style-position: outside;
-// $list-side-margin: 1.1rem;
-// $list-ordered-side-margin: 1.4rem;
-// $list-side-margin-no-bullet: 0;
-// $list-nested-margin: rem-calc(20);
-// $definition-list-header-weight: $font-weight-bold;
-// $definition-list-header-margin-bottom: .3rem;
-// $definition-list-margin-bottom: rem-calc(12);
-
-// We use these to style blockquotes
-// $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
-// $blockquote-padding: rem-calc(9 20 0 19);
-// $blockquote-border: 1px solid $gainsboro;
-// $blockquote-cite-font-size: rem-calc(13);
-// $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
-// $blockquote-cite-link-color: $blockquote-cite-font-color;
-
-// Acronym styles
-// $acronym-underline: 1px dotted $gainsboro;
-
-// We use these to control padding and margin
-// $microformat-padding: rem-calc(10 12);
-// $microformat-margin: rem-calc(0 0 20 0);
-
-// We use these to control the border styles
-// $microformat-border-width: 1px;
-// $microformat-border-style: solid;
-// $microformat-border-color: $gainsboro;
-
-// We use these to control full name font styles
-// $microformat-fullname-font-weight: $font-weight-bold;
-// $microformat-fullname-font-size: rem-calc(15);
-
-// We use this to control the summary font styles
-// $microformat-summary-font-weight: $font-weight-bold;
-
-// We use this to control abbr padding
-// $microformat-abbr-padding: rem-calc(0 1);
-
-// We use this to control abbr font styles
-// $microformat-abbr-font-weight: $font-weight-bold;
-// $microformat-abbr-font-decoration: none;
-
-// 01. Accordion
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-accordion-classes: $include-html-classes;
-
-// $accordion-navigation-padding: rem-calc(16);
-// $accordion-navigation-bg-color: $silver;
-// $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
-// $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
-// $accordion-navigation-active-font-color: $jet;
-// $accordion-navigation-font-color: $jet;
-// $accordion-navigation-font-size: rem-calc(16);
-// $accordion-navigation-font-family: $body-font-family;
-
-// $accordion-content-padding: ($column-gutter/2);
-// $accordion-content-active-bg-color: $white;
-
-// 02. Alert Boxes
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-alert-classes: $include-html-classes;
-
-// We use this to control alert padding.
-// $alert-padding-top: rem-calc(14);
-// $alert-padding-default-float: $alert-padding-top;
-// $alert-padding-opposite-direction: $alert-padding-top + rem-calc(10);
-// $alert-padding-bottom: $alert-padding-top;
-
-// We use these to control text style.
-// $alert-font-weight: $font-weight-normal;
-// $alert-font-size: rem-calc(13);
-// $alert-font-color: $white;
-// $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
-
-// We use this for close hover effect.
-// $alert-function-factor: -14%;
-
-// We use these to control border styles.
-// $alert-border-style: solid;
-// $alert-border-width: 1px;
-// $alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
-// $alert-bottom-margin: rem-calc(20);
-
-// We use these to style the close buttons
-// $alert-close-color: $oil;
-// $alert-close-top: 50%;
-// $alert-close-position: rem-calc(4);
-// $alert-close-font-size: rem-calc(22);
-// $alert-close-opacity: .3;
-// $alert-close-opacity-hover: .5;
-// $alert-close-padding: 9px 6px 4px;
-// $alert-close-background: inherit;
-
-// We use this to control border radius
-// $alert-radius: $global-radius;
-
-// $alert-transition-speed: 300ms;
-// $alert-transition-ease: ease-out;
-
-// 03. Block Grid
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-block-grid-classes: $include-html-classes;
-// $include-xl-html-block-grid-classes: false;
-
-// We use this to control the maximum number of block grid elements per row
-// $block-grid-elements: 12;
-// $block-grid-default-spacing: rem-calc(20);
-
-// $align-block-grid-to-grid: false;
-// @if $align-block-grid-to-grid {$block-grid-default-spacing: $column-gutter;}
-
-// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
-// $block-grid-media-queries: true;
-
-// 04. Breadcrumbs
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-nav-classes: $include-html-classes;
-
-// We use this to set the background color for the breadcrumb container.
-// $crumb-bg: scale-color($secondary-color, $lightness: 55%);
-
-// We use these to set the padding around the breadcrumbs.
-// $crumb-padding: rem-calc(9 14 9);
-// $crumb-side-padding: rem-calc(12);
-
-// We use these to control border styles.
-// $crumb-function-factor: -10%;
-// $crumb-border-size: 1px;
-// $crumb-border-style: solid;
-// $crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor);
-// $crumb-radius: $global-radius;
-
-// We use these to set various text styles for breadcrumbs.
-// $crumb-font-size: rem-calc(11);
-// $crumb-font-color: $primary-color;
-// $crumb-font-color-current: $oil;
-// $crumb-font-color-unavailable: $aluminum;
-// $crumb-font-transform: uppercase;
-// $crumb-link-decor: underline;
-
-// We use these to control the slash between breadcrumbs
-// $crumb-slash-color: $base;
-// $crumb-slash: "/";
-// $crumb-slash-position: 1px;
-
-// 05. Buttons
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-button-classes: $include-html-classes;
-
-// We use these to build padding for buttons.
-// $button-tny: rem-calc(10);
-// $button-sml: rem-calc(14);
-// $button-med: rem-calc(16);
-// $button-lrg: rem-calc(18);
-
-// We use this to control the display property.
-// $button-display: inline-block;
-// $button-margin-bottom: rem-calc(20);
-
-// We use these to control button text styles.
-// $button-font-family: $body-font-family;
-// $button-font-color: $white;
-// $button-font-color-alt: $oil;
-// $button-font-tny: rem-calc(11);
-// $button-font-sml: rem-calc(13);
-// $button-font-med: rem-calc(16);
-// $button-font-lrg: rem-calc(20);
-// $button-font-weight: $font-weight-normal;
-// $button-font-align: center;
-
-// We use these to control various hover effects.
-// $button-function-factor: -20%;
-
-// We use these to control button border styles.
-// $button-border-width: 0;
-// $button-border-style: solid;
-// $button-bg-color: $primary-color;
-// $button-bg-hover: scale-color($button-bg-color, $lightness: $button-function-factor);
-// $button-border-color: $button-bg-hover;
-// $secondary-button-bg-hover: scale-color($secondary-color, $lightness: $button-function-factor);
-// $secondary-button-border-color: $secondary-button-bg-hover;
-// $success-button-bg-hover: scale-color($success-color, $lightness: $button-function-factor);
-// $success-button-border-color: $success-button-bg-hover;
-// $alert-button-bg-hover: scale-color($alert-color, $lightness: $button-function-factor);
-// $alert-button-border-color: $alert-button-bg-hover;
-// $warning-button-bg-hover: scale-color($warning-color, $lightness: $button-function-factor);
-// $warning-button-border-color: $warning-button-bg-hover;
-// $info-button-bg-hover: scale-color($info-color, $lightness: $button-function-factor);
-// $info-button-border-color: $info-button-bg-hover;
-
-// We use this to set the default radius used throughout the core.
-// $button-radius: $global-radius;
-// $button-round: $global-rounded;
-
-// We use this to set default opacity and cursor for disabled buttons.
-// $button-disabled-opacity: .7;
-// $button-disabled-cursor: $cursor-default-value;
-
-// 06. Button Groups
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-button-classes: $include-html-classes;
-
-// Sets the margin for the right side by default, and the left margin if right-to-left direction is used
-// $button-bar-margin-opposite: rem-calc(10);
-// $button-group-border-width: 1px;
-
-// 07. Clearing
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-clearing-classes: $include-html-classes;
-
-// We use these to set the background colors for parts of Clearing.
-// $clearing-bg: $oil;
-// $clearing-caption-bg: $clearing-bg;
-// $clearing-carousel-bg: rgba(51,51,51,0.8);
-// $clearing-img-bg: $clearing-bg;
-
-// We use these to style the close button
-// $clearing-close-color: $iron;
-// $clearing-close-size: 30px;
-
-// We use these to style the arrows
-// $clearing-arrow-size: 12px;
-// $clearing-arrow-color: $clearing-close-color;
-
-// We use these to style captions
-// $clearing-caption-font-color: $iron;
-// $clearing-caption-font-size: .875em;
-// $clearing-caption-padding: 10px 30px 20px;
-
-// We use these to make the image and carousel height and style
-// $clearing-active-img-height: 85%;
-// $clearing-carousel-height: 120px;
-// $clearing-carousel-thumb-width: 120px;
-// $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255);
-
-// 08. Dropdown
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-dropdown-classes: $include-html-classes;
-
-// We use these to controls height and width styles.
-// $f-dropdown-max-width: 200px;
-// $f-dropdown-height: auto;
-// $f-dropdown-max-height: none;
-
-// Used for bottom position
-// $f-dropdown-margin-top: 2px;
-
-// Used for right position
-// $f-dropdown-margin-left: $f-dropdown-margin-top;
-
-// Used for left position
-// $f-dropdown-margin-right: $f-dropdown-margin-top;
-
-// Used for top position
-// $f-dropdown-margin-bottom: $f-dropdown-margin-top;
-
-// We use this to control the background color
-// $f-dropdown-bg: $white;
-
-// We use this to set the border styles for dropdowns.
-// $f-dropdown-border-style: solid;
-// $f-dropdown-border-width: 1px;
-// $f-dropdown-border-color: scale-color($white, $lightness: -20%);
-
-// We use these to style the triangle pip.
-// $f-dropdown-triangle-size: 6px;
-// $f-dropdown-triangle-color: $white;
-// $f-dropdown-triangle-side-offset: 10px;
-
-// We use these to control styles for the list elements.
-// $f-dropdown-list-style: none;
-// $f-dropdown-font-color: $charcoal;
-// $f-dropdown-font-size: rem-calc(14);
-// $f-dropdown-list-padding: rem-calc(5, 10);
-// $f-dropdown-line-height: rem-calc(18);
-// $f-dropdown-list-hover-bg: $smoke;
-// $dropdown-mobile-default-float: 0;
-
-// We use this to control the styles for when the dropdown has custom content.
-// $f-dropdown-content-padding: rem-calc(20);
-
-// Default radius for dropdown.
-// $f-dropdown-radius: $global-radius;
-
-
-// 09. Dropdown Buttons
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-button-classes: $include-html-classes;
-
-// We use these to set the color of the pip in dropdown buttons
-// $dropdown-button-pip-color: $white;
-// $dropdown-button-pip-color-alt: $oil;
-
-// We use these to set the size of the pip in dropdown buttons
-// $button-pip-tny: rem-calc(6);
-// $button-pip-sml: rem-calc(7);
-// $button-pip-med: rem-calc(9);
-// $button-pip-lrg: rem-calc(11);
-
-// We use these to style tiny dropdown buttons
-// $dropdown-button-padding-tny: $button-pip-tny * 7;
-// $dropdown-button-pip-size-tny: $button-pip-tny;
-// $dropdown-button-pip-opposite-tny: $button-pip-tny * 3;
-// $dropdown-button-pip-top-tny: (-$button-pip-tny / 2) + rem-calc(1);
-
-// We use these to style small dropdown buttons
-// $dropdown-button-padding-sml: $button-pip-sml * 7;
-// $dropdown-button-pip-size-sml: $button-pip-sml;
-// $dropdown-button-pip-opposite-sml: $button-pip-sml * 3;
-// $dropdown-button-pip-top-sml: (-$button-pip-sml / 2) + rem-calc(1);
-
-// We use these to style medium dropdown buttons
-// $dropdown-button-padding-med: $button-pip-med * 6 + rem-calc(3);
-// $dropdown-button-pip-size-med: $button-pip-med - rem-calc(3);
-// $dropdown-button-pip-opposite-med: $button-pip-med * 2.5;
-// $dropdown-button-pip-top-med: (-$button-pip-med / 2) + rem-calc(2);
-
-// We use these to style large dropdown buttons
-// $dropdown-button-padding-lrg: $button-pip-lrg * 5 + rem-calc(3);
-// $dropdown-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
-// $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5;
-// $dropdown-button-pip-top-lrg: (-$button-pip-lrg / 2) + rem-calc(3);
-
-// 10. Flex Video
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-media-classes: $include-html-classes;
-
-// We use these to control video container padding and margins
-// $flex-video-padding-top: rem-calc(25);
-// $flex-video-padding-bottom: 67.5%;
-// $flex-video-margin-bottom: rem-calc(16);
-
-// We use this to control widescreen bottom padding
-// $flex-video-widescreen-padding-bottom: 56.34%;
-
-// 11. Forms
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-form-classes: $include-html-classes;
-
-// We use this to set the base for lots of form spacing and positioning styles
-// $form-spacing: rem-calc(16);
-
-// We use these to style the labels in different ways
-// $form-label-pointer: pointer;
-// $form-label-font-size: rem-calc(14);
-// $form-label-font-weight: $font-weight-normal;
-// $form-label-line-height: 1.5;
-// $form-label-font-color: scale-color($black, $lightness: 30%);
-// $form-label-small-transform: capitalize;
-// $form-label-bottom-margin: 0;
-// $input-font-family: inherit;
-// $input-font-color: rgba(0,0,0,0.75);
-// $input-font-size: rem-calc(14);
-// $input-placeholder-font-color: #cccccc;
-// $input-bg-color: $white;
-// $input-focus-bg-color: scale-color($white, $lightness: -2%);
-// $input-border-color: scale-color($white, $lightness: -20%);
-// $input-focus-border-color: scale-color($white, $lightness: -40%);
-// $input-border-style: solid;
-// $input-border-width: 1px;
-// $input-border-radius: $global-radius;
-// $input-disabled-bg: $gainsboro;
-// $input-disabled-cursor: $cursor-default-value;
-// $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
-// $input-include-glowing-effect: false;
-
-// We use these to style the fieldset border and spacing.
-// $fieldset-border-style: solid;
-// $fieldset-border-width: 1px;
-// $fieldset-border-color: $gainsboro;
-// $fieldset-padding: rem-calc(20);
-// $fieldset-margin: rem-calc(18 0);
-
-// We use these to style the legends when you use them
-// $legend-bg: $white;
-// $legend-font-weight: $font-weight-bold;
-// $legend-padding: rem-calc(0 3);
-
-// We use these to style the prefix and postfix input elements
-// $input-prefix-bg: scale-color($white, $lightness: -5%);
-// $input-prefix-border-color: scale-color($white, $lightness: -20%);
-// $input-prefix-border-size: 1px;
-// $input-prefix-border-type: solid;
-// $input-prefix-overflow: hidden;
-// $input-prefix-font-color: $oil;
-// $input-prefix-font-color-alt: $white;
-
-// We use this setting to turn on/off HTML5 number spinners (the up/down arrows)
-// $input-number-spinners: true;
-
-// We use these to style the error states for inputs and labels
-// $input-error-message-padding: rem-calc(6 9 9);
-// $input-error-message-top: -1px;
-// $input-error-message-font-size: rem-calc(12);
-// $input-error-message-font-weight: $font-weight-normal;
-// $input-error-message-font-style: italic;
-// $input-error-message-font-color: $white;
-// $input-error-message-bg-color: $alert-color;
-// $input-error-message-font-color-alt: $oil;
-
-// We use this to style the glowing effect of inputs when focused
-// $glowing-effect-fade-time: .45s;
-// $glowing-effect-color: $input-focus-border-color;
-
-// We use this to style the transition when inputs are focused and when the glowing effect is disabled.
-// $input-transition-fade-time: 0.15s;
-// $input-transition-fade-timing-function: linear;
-
-// Select variables
-// $select-bg-color: $ghost;
-// $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%);
-
-
-// 12. Icon Bar
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// We use these to style the icon-bar and items
-// $icon-bar-bg: $oil;
-// $icon-bar-font-color: $white;
-// $icon-bar-font-color-hover: $icon-bar-font-color;
-// $icon-bar-font-size: 1rem;
-// $icon-bar-hover-color: $primary-color;
-// $icon-bar-icon-color: $white;
-// $icon-bar-icon-color-hover: $icon-bar-icon-color;
-// $icon-bar-icon-size: 1.875rem;
-// $icon-bar-image-width: 1.875rem;
-// $icon-bar-image-height: 1.875rem;
-// $icon-bar-active-color: $primary-color;
-// $icon-bar-item-padding: 1.25rem;
-
-// We use this to set default opacity and cursor for disabled icons.
-// $icon-bar-disabled-opacity: .7;
-
-// 13. Inline Lists
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-inline-list-classes: $include-html-classes;
-
-// We use this to control the margins and padding of the inline list.
-// $inline-list-top-margin: 0;
-// $inline-list-opposite-margin: 0;
-// $inline-list-bottom-margin: rem-calc(17);
-// $inline-list-default-float-margin: rem-calc(-22);
-// $inline-list-default-float-list-margin: rem-calc(22);
-
-// $inline-list-padding: 0;
-
-// We use this to control the overflow of the inline list.
-// $inline-list-overflow: hidden;
-
-// We use this to control the list items
-// $inline-list-display: block;
-
-// We use this to control any elements within list items
-// $inline-list-children-display: block;
-
-// 14. Joyride
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-joyride-classes: $include-html-classes;
-
-// Controlling default Joyride styles
-// $joyride-tip-bg: $oil;
-// $joyride-tip-default-width: 300px;
-// $joyride-tip-padding: rem-calc(18 20 24);
-// $joyride-tip-border: solid 1px $charcoal;
-// $joyride-tip-radius: 4px;
-// $joyride-tip-position-offset: 22px;
-
-// Here, we're setting the tip font styles
-// $joyride-tip-font-color: $white;
-// $joyride-tip-font-size: rem-calc(14);
-// $joyride-tip-header-weight: $font-weight-bold;
-
-// This changes the nub size
-// $joyride-tip-nub-size: 10px;
-
-// This adjusts the styles for the timer when its enabled
-// $joyride-tip-timer-width: 50px;
-// $joyride-tip-timer-height: 3px;
-// $joyride-tip-timer-color: $steel;
-
-// This changes up the styles for the close button
-// $joyride-tip-close-color: $monsoon;
-// $joyride-tip-close-size: 24px;
-// $joyride-tip-close-weight: $font-weight-normal;
-
-// When Joyride is filling the screen, we use this style for the bg
-// $joyride-screenfill: rgba(0,0,0,0.5);
-
-// 15. Keystrokes
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-keystroke-classes: $include-html-classes;
-
-// We use these to control text styles.
-// $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
-// $keystroke-font-size: inherit;
-// $keystroke-font-color: $jet;
-// $keystroke-font-color-alt: $white;
-// $keystroke-function-factor: -7%;
-
-// We use this to control keystroke padding.
-// $keystroke-padding: rem-calc(2 4 0);
-
-// We use these to control background and border styles.
-// $keystroke-bg: scale-color($white, $lightness: $keystroke-function-factor);
-// $keystroke-border-style: solid;
-// $keystroke-border-width: 1px;
-// $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
-// $keystroke-radius: $global-radius;
-
-// 16. Labels
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-label-classes: $include-html-classes;
-
-// We use these to style the labels
-// $label-padding: rem-calc(4 8 4);
-// $label-radius: $global-radius;
-
-// We use these to style the label text
-// $label-font-sizing: rem-calc(11);
-// $label-font-weight: $font-weight-normal;
-// $label-font-color: $oil;
-// $label-font-color-alt: $white;
-// $label-font-family: $body-font-family;
-
-// 17. Magellan
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-magellan-classes: $include-html-classes;
-
-// $magellan-bg: $white;
-// $magellan-padding: 10px;
-
-// 18. Off-canvas
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// Off Canvas Tab Bar Variables
-// $include-html-off-canvas-classes: $include-html-classes;
-
-// $tabbar-bg: $oil;
-// $tabbar-height: rem-calc(45);
-// $tabbar-icon-width: $tabbar-height;
-// $tabbar-line-height: $tabbar-height;
-// $tabbar-color: $white;
-// $tabbar-middle-padding: 0 rem-calc(10);
-
-// Off Canvas Divider Styles
-// $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
-// $tabbar-right-section-border: $tabbar-left-section-border;
-
-
-// Off Canvas Tab Bar Headers
-// $tabbar-header-color: $white;
-// $tabbar-header-weight: $font-weight-bold;
-// $tabbar-header-line-height: $tabbar-height;
-// $tabbar-header-margin: 0;
-
-// Off Canvas Menu Variables
-// $off-canvas-width: rem-calc(250);
-// $off-canvas-bg: $oil;
-// $off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%);
-// $off-canvas-bg-active: scale-color($tabbar-bg, $lightness: -30%);
-
-// Off Canvas Menu List Variables
-// $off-canvas-label-padding: .3rem rem-calc(15);
-// $off-canvas-label-color: $aluminum;
-// $off-canvas-label-text-transform: uppercase;
-// $off-canvas-label-font-size: rem-calc(12);
-// $off-canvas-label-font-weight: $font-weight-bold;
-// $off-canvas-label-bg: $tuatara;
-// $off-canvas-label-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%);
-// $off-canvas-label-border-bottom: none;
-// $off-canvas-label-margin:0;
-// $off-canvas-link-padding: rem-calc(10, 15);
-// $off-canvas-link-color: rgba($white, .7);
-// $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
-// $off-canvas-back-bg: #444;
-// $off-canvas-back-border-top: $off-canvas-label-border-top;
-// $off-canvas-back-border-bottom: $off-canvas-label-border-bottom;
-// $off-canvas-back-hover-bg: scale-color($off-canvas-back-bg, $lightness: -30%);
-// $off-canvas-back-hover-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%);
-// $off-canvas-back-hover-border-bottom: none;
-
-// Off Canvas Menu Icon Variables
-// $tabbar-menu-icon-color: $white;
-// $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
-
-// $tabbar-menu-icon-text-indent: rem-calc(35);
-// $tabbar-menu-icon-width: $tabbar-icon-width;
-// $tabbar-menu-icon-height: $tabbar-height;
-// $tabbar-menu-icon-padding: 0;
-
-// $tabbar-hamburger-icon-width: rem-calc(16);
-// $tabbar-hamburger-icon-left: false;
-// $tabbar-hamburger-icon-top: false;
-// $tabbar-hamburger-icon-thickness: 1px;
-// $tabbar-hamburger-icon-gap: 6px;
-
-// Off Canvas Back-Link Overlay
-// $off-canvas-overlay-transition: background 300ms ease;
-// $off-canvas-overlay-cursor: pointer;
-// $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, .5), 4px 0 4px rgba($black, .5);
-// $off-canvas-overlay-background: rgba($white, .2);
-// $off-canvas-overlay-background-hover: rgba($white, .05);
-
-// Transition Variables
-// $menu-slide: "transform 500ms ease";
-
-// 19. Orbit
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-orbit-classes: $include-html-classes;
-
-// We use these to control the caption styles
-// $orbit-container-bg: none;
-// $orbit-caption-bg: rgba(51,51,51, .8);
-// $orbit-caption-font-color: $white;
-// $orbit-caption-font-size: rem-calc(14);
-// $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
-// $orbit-caption-padding: rem-calc(10 14);
-// $orbit-caption-height: auto;
-
-// We use these to control the left/right nav styles
-// $orbit-nav-bg: transparent;
-// $orbit-nav-bg-hover: rgba(0,0,0,0.3);
-// $orbit-nav-arrow-color: $white;
-// $orbit-nav-arrow-color-hover: $white;
-
-// We use these to control the timer styles
-// $orbit-timer-bg: rgba(255,255,255,0.3);
-// $orbit-timer-show-progress-bar: true;
-
-// We use these to control the bullet nav styles
-// $orbit-bullet-nav-color: $iron;
-// $orbit-bullet-nav-color-active: $aluminum;
-// $orbit-bullet-radius: rem-calc(9);
-
-// We use these to controls the style of slide numbers
-// $orbit-slide-number-bg: rgba(0,0,0,0);
-// $orbit-slide-number-font-color: $white;
-// $orbit-slide-number-padding: rem-calc(5);
-
-// Graceful Loading Wrapper and preloader
-// $wrapper-class: "slideshow-wrapper";
-// $preloader-class: "preloader";
-
-// Hide controls on small
-// $orbit-nav-hide-for-small: true;
-// $orbit-bullet-hide-for-small: true;
-// $orbit-timer-hide-for-small: true;
-
-// 20. Pagination
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-pagination-classes: $include-html-classes;
-
-// We use these to control the pagination container
-// $pagination-height: rem-calc(24);
-// $pagination-margin: rem-calc(-5);
-
-// We use these to set the list-item properties
-// $pagination-li-float: $default-float;
-// $pagination-li-height: rem-calc(24);
-// $pagination-li-font-color: $jet;
-// $pagination-li-font-size: rem-calc(14);
-// $pagination-li-margin: rem-calc(5);
-
-// We use these for the pagination anchor links
-// $pagination-link-pad: rem-calc(1 10 1);
-// $pagination-link-font-color: $aluminum;
-// $pagination-link-active-bg: scale-color($white, $lightness: -10%);
-
-// We use these for disabled anchor links
-// $pagination-link-unavailable-cursor: default;
-// $pagination-link-unavailable-font-color: $aluminum;
-// $pagination-link-unavailable-bg-active: transparent;
-
-// We use these for currently selected anchor links
-// $pagination-link-current-background: $primary-color;
-// $pagination-link-current-font-color: $white;
-// $pagination-link-current-font-weight: $font-weight-bold;
-// $pagination-link-current-cursor: default;
-// $pagination-link-current-active-bg: $primary-color;
-
-// 21. Panels
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-panel-classes: $include-html-classes;
-
-// We use these to control the background and border styles
-// $panel-bg: scale-color($white, $lightness: -5%);
-// $panel-border-style: solid;
-// $panel-border-size: 1px;
-// $callout-panel-bg: scale-color($primary-color, $lightness: 94%);
-
-// We use this % to control how much we darken things on hover
-// $panel-border-color: scale-color($panel-bg, $lightness: -11%);
-
-// We use these to set default inner padding and bottom margin
-// $panel-margin-bottom: rem-calc(20);
-// $panel-padding: rem-calc(20);
-
-// We use these to set default font colors
-// $panel-font-color: $oil;
-// $panel-font-color-alt: $white;
-
-// $panel-header-adjust: true;
-// $callout-panel-link-color: $primary-color;
-// $callout-panel-link-color-hover: scale-color($callout-panel-link-color, $lightness: -14%);
-
-// 22. Pricing Tables
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-pricing-classes: $include-html-classes;
-
-// We use this to control the border color
-// $price-table-border: solid 1px $gainsboro;
-
-// We use this to control the bottom margin of the pricing table
-// $price-table-margin-bottom: rem-calc(20);
-
-// We use these to control the title styles
-// $price-title-bg: $oil;
-// $price-title-padding: rem-calc(15 20);
-// $price-title-align: center;
-// $price-title-color: $smoke;
-// $price-title-weight: $font-weight-normal;
-// $price-title-size: rem-calc(16);
-// $price-title-font-family: $body-font-family;
-
-// We use these to control the price styles
-// $price-money-bg: $vapor;
-// $price-money-padding: rem-calc(15 20);
-// $price-money-align: center;
-// $price-money-color: $oil;
-// $price-money-weight: $font-weight-normal;
-// $price-money-size: rem-calc(32);
-// $price-money-font-family: $body-font-family;
-
-
-// We use these to control the description styles
-// $price-bg: $white;
-// $price-desc-color: $monsoon;
-// $price-desc-padding: rem-calc(15);
-// $price-desc-align: center;
-// $price-desc-font-size: rem-calc(12);
-// $price-desc-weight: $font-weight-normal;
-// $price-desc-line-height: 1.4;
-// $price-desc-bottom-border: dotted 1px $gainsboro;
-
-// We use these to control the list item styles
-// $price-item-color: $oil;
-// $price-item-padding: rem-calc(15);
-// $price-item-align: center;
-// $price-item-font-size: rem-calc(14);
-// $price-item-weight: $font-weight-normal;
-// $price-item-bottom-border: dotted 1px $gainsboro;
-
-// We use these to control the CTA area styles
-// $price-cta-bg: $white;
-// $price-cta-align: center;
-// $price-cta-padding: rem-calc(20 20 0);
-
-// 23. Progress Bar
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-media-classes: $include-html-classes;
-
-// We use this to set the progress bar height
-// $progress-bar-height: rem-calc(25);
-// $progress-bar-color: $vapor;
-
-// We use these to control the border styles
-// $progress-bar-border-color: scale-color($white, $lightness: 20%);
-// $progress-bar-border-size: 1px;
-// $progress-bar-border-style: solid;
-// $progress-bar-border-radius: $global-radius;
-
-// We use these to control the margin & padding
-// $progress-bar-margin-bottom: rem-calc(10);
-
-// We use these to set the meter colors
-// $progress-meter-color: $primary-color;
-// $progress-meter-secondary-color: $secondary-color;
-// $progress-meter-success-color: $success-color;
-// $progress-meter-alert-color: $alert-color;
-
-// 24. Range Slider
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-range-slider-classes: $include-html-classes;
-
-// These variables define the slider bar styles
-// $range-slider-bar-width: 100%;
-// $range-slider-bar-height: rem-calc(16);
-
-// $range-slider-bar-border-width: 1px;
-// $range-slider-bar-border-style: solid;
-// $range-slider-bar-border-color: $gainsboro;
-// $range-slider-radius: $global-radius;
-// $range-slider-round: $global-rounded;
-// $range-slider-bar-bg-color: $ghost;
-// $range-slider-active-segment-bg-color: scale-color($secondary-color, $lightness: -1%);
-
-// Vertical bar styles
-// $range-slider-vertical-bar-width: rem-calc(16);
-// $range-slider-vertical-bar-height: rem-calc(200);
-
-// These variables define the slider handle styles
-// $range-slider-handle-width: rem-calc(32);
-// $range-slider-handle-height: rem-calc(22);
-// $range-slider-handle-position-top: rem-calc(-5);
-// $range-slider-handle-bg-color: $primary-color;
-// $range-slider-handle-border-width: 1px;
-// $range-slider-handle-border-style: solid;
-// $range-slider-handle-border-color: none;
-// $range-slider-handle-radius: $global-radius;
-// $range-slider-handle-round: $global-rounded;
-// $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
-// $range-slider-handle-cursor: pointer;
-
-// $range-slider-disabled-opacity: .7;
-// $range-slider-disabled-cursor: $cursor-disabled-value;
-
-// 25. Reveal
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-reveal-classes: $include-html-classes;
-
-// We use these to control the style of the reveal overlay.
-// $reveal-overlay-bg: rgba($black, .45);
-// $reveal-overlay-bg-old: $black;
-
-// We use these to control the style of the modal itself.
-// $reveal-modal-bg: $white;
-// $reveal-position-top: rem-calc(100);
-// $reveal-default-width: 80%;
-// $reveal-max-width: $row-width;
-// $reveal-modal-padding: rem-calc(20);
-// $reveal-box-shadow: 0 0 10px rgba($black,.4);
-
-// We use these to style the reveal close button
-// $reveal-close-font-size: rem-calc(40);
-// $reveal-close-top: rem-calc(10);
-// $reveal-close-side: rem-calc(22);
-// $reveal-close-color: $base;
-// $reveal-close-weight: $font-weight-bold;
-
-// We use this to set the default radius used throughout the core.
-// $reveal-radius: $global-radius;
-// $reveal-round: $global-rounded;
-
-// We use these to control the modal border
-// $reveal-border-style: solid;
-// $reveal-border-width: 1px;
-// $reveal-border-color: $steel;
-
-// $reveal-modal-class: "reveal-modal";
-// $close-reveal-modal-class: "close-reveal-modal";
-
-// 26. Side Nav
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-nav-classes: $include-html-classes;
-
-// We use this to control padding.
-// $side-nav-padding: rem-calc(14 0);
-
-// We use these to control list styles.
-// $side-nav-list-type: none;
-// $side-nav-list-position: outside;
-// $side-nav-list-margin: rem-calc(0 0 7 0);
-
-// We use these to control link styles.
-// $side-nav-link-color: $primary-color;
-// $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%);
-// $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
-// $side-nav-link-bg-hover: hsla(0, 0, 0, .025);
-// $side-nav-link-margin: 0;
-// $side-nav-link-padding: rem-calc(7 14);
-// $side-nav-font-size: rem-calc(14);
-// $side-nav-font-weight: $font-weight-normal;
-// $side-nav-font-weight-active: $side-nav-font-weight;
-// $side-nav-font-family: $body-font-family;
-// $side-nav-font-family-active: $side-nav-font-family;
-
-// We use these to control heading styles.
-// $side-nav-heading-color: $side-nav-link-color;
-// $side-nav-heading-font-size: $side-nav-font-size;
-// $side-nav-heading-font-weight: bold;
-// $side-nav-heading-text-transform: uppercase;
-
-// We use these to control border styles
-// $side-nav-divider-size: 1px;
-// $side-nav-divider-style: solid;
-// $side-nav-divider-color: scale-color($white, $lightness: 10%);
-
-// 27. Split Buttons
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-button-classes: $include-html-classes;
-
-// We use these to control different shared styles for Split Buttons
-// $split-button-function-factor: 10%;
-// $split-button-pip-color: $white;
-// $split-button-span-border-color: rgba(255,255,255,0.5);
-// $split-button-pip-color-alt: $oil;
-// $split-button-active-bg-tint: rgba(0,0,0,0.1);
-
-// We use these to control tiny split buttons
-// $split-button-padding-tny: $button-pip-tny * 10;
-// $split-button-span-width-tny: $button-pip-tny * 6;
-// $split-button-pip-size-tny: $button-pip-tny;
-// $split-button-pip-top-tny: $button-pip-tny * 2;
-// $split-button-pip-default-float-tny: rem-calc(-6);
-
-// We use these to control small split buttons
-// $split-button-padding-sml: $button-pip-sml * 10;
-// $split-button-span-width-sml: $button-pip-sml * 6;
-// $split-button-pip-size-sml: $button-pip-sml;
-// $split-button-pip-top-sml: $button-pip-sml * 1.5;
-// $split-button-pip-default-float-sml: rem-calc(-6);
-
-// We use these to control medium split buttons
-// $split-button-padding-med: $button-pip-med * 9;
-// $split-button-span-width-med: $button-pip-med * 5.5;
-// $split-button-pip-size-med: $button-pip-med - rem-calc(3);
-// $split-button-pip-top-med: $button-pip-med * 1.5;
-// $split-button-pip-default-float-med: rem-calc(-6);
-
-// We use these to control large split buttons
-// $split-button-padding-lrg: $button-pip-lrg * 8;
-// $split-button-span-width-lrg: $button-pip-lrg * 5;
-// $split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
-// $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5);
-// $split-button-pip-default-float-lrg: rem-calc(-6);
-
-// 28. Sub Nav
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-nav-classes: $include-html-classes;
-
-// We use these to control margin and padding
-// $sub-nav-list-margin: rem-calc(-4 0 18);
-// $sub-nav-list-padding-top: rem-calc(4);
-
-// We use this to control the definition
-// $sub-nav-font-family: $body-font-family;
-// $sub-nav-font-size: rem-calc(14);
-// $sub-nav-font-color: $aluminum;
-// $sub-nav-font-weight: $font-weight-normal;
-// $sub-nav-text-decoration: none;
-// $sub-nav-padding: rem-calc(3 16);
-// $sub-nav-border-radius: 3px;
-// $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
-
-
-// We use these to control the active item styles
-
-// $sub-nav-active-font-weight: $font-weight-normal;
-// $sub-nav-active-bg: $primary-color;
-// $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
-// $sub-nav-active-color: $white;
-// $sub-nav-active-padding: $sub-nav-padding;
-// $sub-nav-active-cursor: default;
-
-// $sub-nav-item-divider: "";
-// $sub-nav-item-divider-margin: rem-calc(12);
-
-// 29. Switch
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-form-classes: $include-html-classes;
-
-// Controlling background color for the switch container
-// $switch-bg: $gainsboro;
-
-// We use these to control the switch heights for our default classes
-// $switch-height-tny: 1.5rem;
-// $switch-height-sml: 1.75rem;
-// $switch-height-med: 2rem;
-// $switch-height-lrg: 2.5rem;
-// $switch-bottom-margin: 1.5rem;
-
-// We use these to style the switch-paddle
-// $switch-paddle-bg: $white;
-// $switch-paddle-transition-speed: .15s;
-// $switch-paddle-transition-ease: ease-out;
-// $switch-active-color: $primary-color;
-
-// 30. Tables
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-table-classes: $include-html-classes;
-
-// These control the background color for the table and even rows
-// $table-bg: $white;
-// $table-even-row-bg: $snow;
-
-// These control the table cell border style
-// $table-border-style: solid;
-// $table-border-size: 1px;
-// $table-border-color: $gainsboro;
-
-// These control the table head styles
-// $table-head-bg: $white-smoke;
-// $table-head-font-size: rem-calc(14);
-// $table-head-font-color: $jet;
-// $table-head-font-weight: $font-weight-bold;
-// $table-head-padding: rem-calc(8 10 10);
-
-// These control the table foot styles
-// $table-foot-bg: $table-head-bg;
-// $table-foot-font-size: $table-head-font-size;
-// $table-foot-font-color: $table-head-font-color;
-// $table-foot-font-weight: $table-head-font-weight;
-// $table-foot-padding: $table-head-padding;
-
-// These control the caption
-// $table-caption-bg: transparent;
-// $table-caption-font-color: $table-head-font-color;
-// $table-caption-font-size: rem-calc(16);
-// $table-caption-font-weight: bold;
-
-// These control the row padding and font styles
-// $table-row-padding: rem-calc(9 10);
-// $table-row-font-size: rem-calc(14);
-// $table-row-font-color: $jet;
-// $table-line-height: rem-calc(18);
-
-// These are for controlling the layout, display and margin of tables
-// $table-layout: auto;
-// $table-display: table-cell;
-// $table-margin-bottom: rem-calc(20);
-
-
-// 31. Tabs
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-tabs-classes: $include-html-classes;
-
-// $tabs-navigation-padding: rem-calc(16);
-// $tabs-navigation-bg-color: $silver;
-// $tabs-navigation-active-bg-color: $white;
-// $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
-// $tabs-navigation-font-color: $jet;
-// $tabs-navigation-active-font-color: $tabs-navigation-font-color;
-// $tabs-navigation-font-size: rem-calc(16);
-// $tabs-navigation-font-family: $body-font-family;
-
-// $tabs-content-margin-bottom: rem-calc(24);
-// $tabs-content-padding: ($column-gutter/2);
-
-// $tabs-vertical-navigation-margin-bottom: 1.25rem;
-
-// 32. Thumbnails
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-media-classes: $include-html-classes;
-
-// We use these to control border styles
-// $thumb-border-style: solid;
-// $thumb-border-width: 4px;
-// $thumb-border-color: $white;
-// $thumb-box-shadow: 0 0 0 1px rgba($black,.2);
-// $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
-
-// Radius and transition speed for thumbs
-// $thumb-radius: $global-radius;
-// $thumb-transition-speed: 200ms;
-
-// 33. Tooltips
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-tooltip-classes: $include-html-classes;
-
-// $has-tip-border-bottom: dotted 1px $iron;
-// $has-tip-font-weight: $font-weight-bold;
-// $has-tip-font-color: $oil;
-// $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
-// $has-tip-font-color-hover: $primary-color;
-// $has-tip-cursor-type: help;
-
-// $tooltip-padding: rem-calc(12);
-// $tooltip-bg: $oil;
-// $tooltip-font-size: rem-calc(14);
-// $tooltip-font-weight: $font-weight-normal;
-// $tooltip-font-color: $white;
-// $tooltip-line-height: 1.3;
-// $tooltip-close-font-size: rem-calc(10);
-// $tooltip-close-font-weight: $font-weight-normal;
-// $tooltip-close-font-color: $monsoon;
-// $tooltip-font-size-sml: rem-calc(14);
-// $tooltip-radius: $global-radius;
-// $tooltip-rounded: $global-rounded;
-// $tooltip-pip-size: 5px;
-// $tooltip-max-width: 300px;
-
-// 34. Top Bar
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-top-bar-classes: $include-html-classes;
-
-// Background color for the top bar
-// $topbar-bg-color: $oil;
-// $topbar-bg: $topbar-bg-color;
-
-// Height and margin
-// $topbar-height: rem-calc(45);
-// $topbar-margin-bottom: 0;
-
-// Controlling the styles for the title in the top bar
-// $topbar-title-weight: $font-weight-normal;
-// $topbar-title-font-size: rem-calc(17);
-
-// Set the link colors and styles for top-level nav
-// $topbar-link-color: $white;
-// $topbar-link-color-hover: $white;
-// $topbar-link-color-active: $white;
-// $topbar-link-color-active-hover: $white;
-// $topbar-link-weight: $font-weight-normal;
-// $topbar-link-font-size: rem-calc(13);
-// $topbar-link-hover-lightness: -10%; // Darken by 10%
-// $topbar-link-bg: $topbar-bg;
-// $topbar-link-bg-hover: $jet;
-// $topbar-link-bg-color-hover: $charcoal;
-// $topbar-link-bg-active: $primary-color;
-// $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
-// $topbar-link-font-family: $body-font-family;
-// $topbar-link-text-transform: none;
-// $topbar-link-padding: ($topbar-height / 3);
-// $topbar-back-link-size: rem-calc(18);
-// $topbar-link-dropdown-padding: rem-calc(20);
-// $topbar-button-font-size: .75rem;
-// $topbar-button-top: 7px;
-
-// Style the top bar dropdown elements
-// $topbar-dropdown-bg: $oil;
-// $topbar-dropdown-link-color: $white;
-// $topbar-dropdown-link-color-hover: $topbar-link-color-hover;
-// $topbar-dropdown-link-bg: $oil;
-// $topbar-dropdown-link-bg-hover: $jet;
-// $topbar-dropdown-link-weight: $font-weight-normal;
-// $topbar-dropdown-toggle-size: 5px;
-// $topbar-dropdown-toggle-color: $white;
-// $topbar-dropdown-toggle-alpha: .4;
-
-// $topbar-dropdown-label-color: $monsoon;
-// $topbar-dropdown-label-text-transform: uppercase;
-// $topbar-dropdown-label-font-weight: $font-weight-bold;
-// $topbar-dropdown-label-font-size: rem-calc(10);
-// $topbar-dropdown-label-bg: $oil;
-
-// Top menu icon styles
-// $topbar-menu-link-transform: uppercase;
-// $topbar-menu-link-font-size: rem-calc(13);
-// $topbar-menu-link-weight: $font-weight-bold;
-// $topbar-menu-link-color: $white;
-// $topbar-menu-icon-color: $white;
-// $topbar-menu-link-color-toggled: $jumbo;
-// $topbar-menu-icon-color-toggled: $jumbo;
-// $topbar-menu-icon-position: $opposite-direction; // Change to $default-float for a left menu icon
-
-// Transitions and breakpoint styles
-// $topbar-transition-speed: 300ms;
-// Using rem-calc for the below breakpoint causes issues with top bar
-// $topbar-breakpoint: #{lower-bound($medium-range)}; // Change to 9999px for always mobile layout
-// $topbar-media-query: "#{$screen} and (min-width:#{lower-bound($topbar-breakpoint)})";
-
-// Top-bar input styles
-// $topbar-input-height: rem-calc(28);
-
-// Divider Styles
-// $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
-// $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%);
-
-// Sticky Class
-// $topbar-sticky-class: ".sticky";
-// $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
-// $topbar-dropdown-arrows: true; //Set false to remove the \00bb >> text from dropdown subnavigation li//
-
-// 36. Visibility Classes
-// - - - - - - - - - - - - - - - - - - - - - - - - -
-
-// $include-html-visibility-classes: $include-html-classes;
-// $include-accessibility-classes: true;
-// $include-table-visibility-classes: true;
-// $include-legacy-visibility-classes: true;
-
-@import 'foundation';
diff --git a/test/styleguide05/app/controllers/application_controller.rb b/test/styleguide05/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e..0000000
--- a/test/styleguide05/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/test/styleguide05/app/controllers/concerns/.keep b/test/styleguide05/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/test/styleguide05/app/controllers/styleguide_controller.rb b/test/styleguide05/app/controllers/styleguide_controller.rb
deleted file mode 100644
index 30ab334..0000000
--- a/test/styleguide05/app/controllers/styleguide_controller.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class StyleguideController < ApplicationController #::ActionController::Base
- # layout false
- def show
- respond_to do |format|
- format.html
- format.json { render json: nil }
- end
- end
-end
diff --git a/test/styleguide05/app/helpers/application_helper.rb b/test/styleguide05/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/test/styleguide05/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/test/styleguide05/app/views/layouts/application.html.erb b/test/styleguide05/app/views/layouts/application.html.erb
deleted file mode 100644
index ae79acb..0000000
--- a/test/styleguide05/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- <%= content_for?(:title) ? yield(:title) : "foundation-rails" %> v5
-
- <%= stylesheet_link_tag "application" %>
- <%= javascript_include_tag "vendor/modernizr" %>
- <%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-
- <%= yield %>
-
-
-
diff --git a/test/styleguide05/app/views/styleguide/show.html.erb b/test/styleguide05/app/views/styleguide/show.html.erb
deleted file mode 100644
index fe3d80c..0000000
--- a/test/styleguide05/app/views/styleguide/show.html.erb
+++ /dev/null
@@ -1,2 +0,0 @@
-<% content_for :title, 'Styleguide' %>
-<%= render 'select2-foundation/styleguide/examples' %>
diff --git a/test/styleguide05/bin/bundle b/test/styleguide05/bin/bundle
deleted file mode 100755
index 66e9889..0000000
--- a/test/styleguide05/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/test/styleguide05/bin/rails b/test/styleguide05/bin/rails
deleted file mode 100755
index 5191e69..0000000
--- a/test/styleguide05/bin/rails
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env ruby
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/test/styleguide05/bin/rake b/test/styleguide05/bin/rake
deleted file mode 100755
index 1724048..0000000
--- a/test/styleguide05/bin/rake
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env ruby
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/test/styleguide05/bin/setup b/test/styleguide05/bin/setup
deleted file mode 100755
index acdb2c1..0000000
--- a/test/styleguide05/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/test/styleguide05/config.ru b/test/styleguide05/config.ru
deleted file mode 100644
index bd83b25..0000000
--- a/test/styleguide05/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/test/styleguide05/config/application.rb b/test/styleguide05/config/application.rb
deleted file mode 100644
index e134c00..0000000
--- a/test/styleguide05/config/application.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-Bundler.require(*Rails.groups)
-
-module Dummy
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
- end
-end
-
diff --git a/test/styleguide05/config/boot.rb b/test/styleguide05/config/boot.rb
deleted file mode 100644
index 6266cfc..0000000
--- a/test/styleguide05/config/boot.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Set up gems listed in the Gemfile.
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
-
-require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
-$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
diff --git a/test/styleguide05/config/database.yml b/test/styleguide05/config/database.yml
deleted file mode 100644
index 1c1a37c..0000000
--- a/test/styleguide05/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/test/styleguide05/config/environment.rb b/test/styleguide05/config/environment.rb
deleted file mode 100644
index ee8d90d..0000000
--- a/test/styleguide05/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/test/styleguide05/config/environments/development.rb b/test/styleguide05/config/environments/development.rb
deleted file mode 100644
index b55e214..0000000
--- a/test/styleguide05/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
- config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/test/styleguide05/config/environments/test.rb b/test/styleguide05/config/environments/test.rb
deleted file mode 100644
index 1c19f08..0000000
--- a/test/styleguide05/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/test/styleguide05/config/initializers/assets.rb b/test/styleguide05/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e6..0000000
--- a/test/styleguide05/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/test/styleguide05/config/initializers/backtrace_silencers.rb b/test/styleguide05/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/test/styleguide05/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/test/styleguide05/config/initializers/cookies_serializer.rb b/test/styleguide05/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458..0000000
--- a/test/styleguide05/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/test/styleguide05/config/initializers/filter_parameter_logging.rb b/test/styleguide05/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1..0000000
--- a/test/styleguide05/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/test/styleguide05/config/initializers/inflections.rb b/test/styleguide05/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf..0000000
--- a/test/styleguide05/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/test/styleguide05/config/initializers/mime_types.rb b/test/styleguide05/config/initializers/mime_types.rb
deleted file mode 100644
index dc18996..0000000
--- a/test/styleguide05/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/test/styleguide05/config/initializers/session_store.rb b/test/styleguide05/config/initializers/session_store.rb
deleted file mode 100644
index fdb684d..0000000
--- a/test/styleguide05/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_styleguide_session'
diff --git a/test/styleguide05/config/initializers/wrap_parameters.rb b/test/styleguide05/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e9..0000000
--- a/test/styleguide05/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/test/styleguide05/config/locales/en.yml b/test/styleguide05/config/locales/en.yml
deleted file mode 100644
index 0653957..0000000
--- a/test/styleguide05/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/test/styleguide05/config/routes.rb b/test/styleguide05/config/routes.rb
deleted file mode 100644
index c2c5ff2..0000000
--- a/test/styleguide05/config/routes.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-Rails.application.routes.draw do
- root to: "styleguide#show"
-end
diff --git a/test/styleguide05/config/secrets.yml b/test/styleguide05/config/secrets.yml
deleted file mode 100644
index db52f5c..0000000
--- a/test/styleguide05/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: c8a25dedb501825a752c0e22fc8d91f60ff6d572e2228dd5402114ec837a1130fa29a496215b29003edb6ff11ea65c78bb6832e45f72bcad7dfe9c1f8e626178
-
-test:
- secret_key_base: 93eb3d9410c297baa133e465ff343599247cf1fe16ab17150f06580aa7189f748790c0477b8e6e384c078f9ab79cae3653504e9bf35d660c52fc949a9838902e
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/test/styleguide05/log/.keep b/test/styleguide05/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/test/styleguide05/public/404.html b/test/styleguide05/public/404.html
deleted file mode 100644
index b612547..0000000
--- a/test/styleguide05/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
- The page you were looking for doesn't exist.
- You may have mistyped the address or the page may have moved.
-
- If you are the application owner check the logs for more information.
-
-
-
diff --git a/test/styleguide05/public/422.html b/test/styleguide05/public/422.html
deleted file mode 100644
index a21f82b..0000000
--- a/test/styleguide05/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
- The change you wanted was rejected.
- Maybe you tried to change something you didn't have access to.
-
- If you are the application owner check the logs for more information.
-
-
-
diff --git a/test/styleguide05/public/500.html b/test/styleguide05/public/500.html
deleted file mode 100644
index 061abc5..0000000
--- a/test/styleguide05/public/500.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
- We're sorry, but something went wrong (500)
-
-
-
-
-
-
-
-
- We're sorry, but something went wrong.
-
- If you are the application owner check the logs for more information.
-
-
-
diff --git a/test/styleguide05/public/favicon.ico b/test/styleguide05/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
diff --git a/test/styleguide06/Gemfile b/test/styleguide06/Gemfile
index eec0b6b..7025f96 100644
--- a/test/styleguide06/Gemfile
+++ b/test/styleguide06/Gemfile
@@ -1,34 +1,16 @@
# -*- mode: ruby -*-
source 'https://rubygems.org'
-# 'select2-foundation'
+# 'select2-foundation' itself (gem under test)
gemspec path: "../../"
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '4.2.5'
+gem 'rails', '~> 7.1.0'
-gem 'sass-rails', '~> 5.0'
-gem 'uglifier', '>= 1.3.0'
-gem 'coffee-rails', '~> 4.1.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
+# Asset pipeline
+gem 'sprockets-rails'
+gem 'sassc-rails'
gem 'jquery-rails'
-gem 'turbolinks'
-
-
-gem 'foundation-rails', '~> 6.1.2.0'
-gem 'select2-rails', '~> 4.0.1'
-
-group :development, :test do
- gem 'sqlite3'
- gem "minitest-rails"
- gem 'spring'
-end
-
-group :test do
- gem 'minitest-rg', require: false
-end
-
-
+gem 'foundation-rails', '~> 6.9'
+gem 'select2-rails', '~> 4.0'
diff --git a/test/styleguide06/config/application.rb b/test/styleguide06/config/application.rb
index e134c00..aaa3a8a 100644
--- a/test/styleguide06/config/application.rb
+++ b/test/styleguide06/config/application.rb
@@ -1,25 +1,17 @@
require File.expand_path('../boot', __FILE__)
-require 'rails/all'
+# select2-foundation is a pure asset-pipeline engine — only the railties we
+# actually need are loaded here so the test app boots without a database.
+require "rails"
+require "action_controller/railtie"
+require "action_view/railtie"
+require "sprockets/railtie"
Bundler.require(*Rails.groups)
module Dummy
class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
+ config.load_defaults 7.0
+ config.eager_load_paths = []
end
end
-
diff --git a/test/styleguide06/config/environments/development.rb b/test/styleguide06/config/environments/development.rb
index b55e214..1649f35 100644
--- a/test/styleguide06/config/environments/development.rb
+++ b/test/styleguide06/config/environments/development.rb
@@ -1,41 +1,14 @@
Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
config.cache_classes = false
-
- # Do not eager load code on boot.
config.eager_load = false
- # Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
- # Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
- # Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Debug mode disables concatenation and preprocessing of assets.
- # This option may cause significant delays in view rendering with a large
- # number of complex assets.
config.assets.debug = true
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
end
diff --git a/test/styleguide06/config/environments/test.rb b/test/styleguide06/config/environments/test.rb
index 1c19f08..49361c0 100644
--- a/test/styleguide06/config/environments/test.rb
+++ b/test/styleguide06/config/environments/test.rb
@@ -1,42 +1,18 @@
Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
config.eager_load = false
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
- # Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
+ config.action_dispatch.show_exceptions = :rescuable
config.action_controller.allow_forgery_protection = false
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
- # Randomize the order test cases are executed.
config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
end
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 7b1db76..4d82237 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,20 +1,11 @@
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
-require File.expand_path("../../test/styleguide/config/environment.rb", __FILE__)
-ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/styleguide/db/migrate", __FILE__)]
-ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
-require "rails/test_help"
+require File.expand_path("../../test/styleguide06/config/environment.rb", __FILE__)
+
+require "minitest/autorun"
+require "active_support/test_case"
# Filter out Minitest backtrace while allowing backtrace from other libraries
# to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
-
-# Load support files
-Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
-
-# Load fixtures from the engine
-if ActiveSupport::TestCase.respond_to?(:fixture_path=)
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
- ActiveSupport::TestCase.fixtures :all
-end