Module: Card::Set::All::Bootstrap::Wrapper::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- tmpsets/set/mod026-bootstrap/all/bootstrap/wrapper.rb
Instance Method Summary collapse
Instance Method Details
#frame ⇒ Object
9 10 11 12 13 |
# File 'tmpsets/set/mod026-bootstrap/all/bootstrap/wrapper.rb', line 9 def frame class_up "d0-card-header" , "card-header" class_up "d0-card-body", "card-body card-text" super end |
#panel_state ⇒ Object
24 25 |
# File 'tmpsets/set/mod026-bootstrap/all/bootstrap/wrapper.rb', line 24 def panel_state end |
#standard_frame(slot = true) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'tmpsets/set/mod026-bootstrap/all/bootstrap/wrapper.rb', line 15 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 |