Sha256: fd759f87fb1411c952d3db7896525daf878576b39b622767fe91a8f6f457acf1

Contents?: true

Size: 1.11 KB

Versions: 18

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_path '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

18 entries across 18 versions & 1 rubygems

Version Path
card-1.17.4 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.17.3 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.17.2 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.17.1 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.17.0 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.15 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.14 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.13 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.12 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.11 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.10 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.9 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.8 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.7 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.6 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.5 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.4 mod/06_bootstrap/set/self/bootswatch_shared.rb
card-1.16.3 mod/06_bootstrap/set/self/bootswatch_shared.rb