Sha256: 0b12a4cb35f60820877f88da3a176538bdf0b16c1613469a563db81716c7176a

Contents?: true

Size: 1.62 KB

Versions: 37

Compression:

Stored size: 1.62 KB

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class Self; module BootswatchShared; extend Card::Set
# ~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/bootstrap/set/self/bootswatch_shared.rb ~~
include_set Abstract::CodeFile

view :raw do |_args|
  bootstrap_path = File.join Cardio.gem_root, "mod",
                             card.file_content_mod_name, "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|
      path = File.join(bootstrap_path, "_#{name}.scss")
      Rails.logger.info "reading file: #{path}"
      File.read path
    end.join "\n"
  end.join "\n"

  content
end


# ~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/bootstrap/set/self/bootswatch_shared.rb ~~
end;end;end;end;

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
card-1.99.6 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.99.5 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.97.0.1 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.97.0 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.8 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.7 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.6 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.5 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.4 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.3 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.2 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.1 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.96.0 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.95.3 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.95.2 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.95.1 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.95.0 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.94.1 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.94.0 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb
card-1.93.13 tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb