Sha256: 2521c25a1a7d3805c58875cf0a2b5970725612232ec993182f741144783cfb95

Contents?: true

Size: 359 Bytes

Versions: 25

Compression:

Stored size: 359 Bytes

Contents

format :html do
  def frame
    class_up "d0-card-header", "card-header"
    class_up "d0-card-body", "card-body card-text"
    super
  end

  def standard_frame slot=true
    if panel_state
      class_up "d0-card-frame", "card bg-#{panel_state} text-white"
    else
      class_up "d0-card-frame", "card"
    end
    super
  end

  def panel_state; end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.18.1 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.18.0 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.17.0 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.16.0 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.6 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.5 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.4 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.3 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.1.2 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.2.pre1 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.1.1 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.1 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.15.0 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.14.2 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.14.1 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.14.0 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.13.4 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.13.3 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.13.2 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.13.1 set/all/bootstrap/wrapper.rb