Sha256: 37717868d4401c587aca6ee9d0505f56814aeab97d1d2f301bee1760c8d13ed8

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

view :raw do |args|
  bootstrap_path = "#{Cardio.gem_root}/mod/06_bootstrap/lib/stylesheets/bootstrap"

  # variables
  content = File.read("#{bootstrap_path}/_variables.scss")
  content += %{
      $bootstrap-sass-asset-helper: false;
      $icon-font-path: "#{card_url '/assets/fonts/'}";
    }
  # mixins
  content += Dir.glob("#{bootstrap_path}/mixins/*.scss").map do |name|
               File.read name
             end.join("\n")
  content += [
      # Reset and dependencies
      %w(normalize print glyphicons),
      # Core CSS
      %w(scaffolding type code grid tables forms buttons),
      # Components
      %w(component-animations dropdowns button-groups input-groups navs navbar breadcrumbs pagination pager labels badges jumbotron thumbnails alerts progress-bars media list-group panels responsive-embed wells close),
      # Components w/ JavaScript
      %w(modals tooltip popovers carousel),
      # Utility classes
      %w(utilities responsive-utilities)
    ].map do |names|
      names.map do |name|
        File.read File.join(bootstrap_path, "_#{name}.scss")
      end.join "\n"
    end.join "\n"

  content
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
card-1.15.5 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.15.4 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.15.3 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.15.2 mod/06_bootstrap/set/self/bootswatch_shared.rb