Sha256: a4f91c56049e53cd752bf2a4638ace1ce1faa7bf36c647c63177a1132566ccd2

Contents?: true

Size: 362 Bytes

Versions: 39

Compression:

Stored size: 362 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

39 entries across 39 versions & 2 rubygems

Version Path
card-mod-bootstrap-0.11.4 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.11.3 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.11.2 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.11.1 set/all/bootstrap/wrapper.rb
card-mod-bootstrap-0.11.0 set/all/bootstrap/wrapper.rb
card-1.100.0 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.99.6 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.99.5 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.99.4 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.99.3 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.99.2 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.99.1 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.99.0 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.98.3 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.98.2 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.98.1 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.98.0 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.97.0.1 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.97.0 mod/bootstrap/set/all/bootstrap/wrapper.rb
card-1.96.8 mod/bootstrap/set/all/bootstrap/wrapper.rb